You are not logged in.

#1 2021-11-29 21:10:55

ohgodmanyo
Member
Registered: 2021-07-02
Posts: 14

No Database Issue MPD

Hello, I am trying to get mpd working, however, when I try to access it via ncmpc it says in the bottom left "No Database" My config file is here: http://paste.debian.net/1221269/ and when I run mpd --verbose, all it says is loaded config file. I am using version 0.23.4 and I have done multiple things to try to get it to work. I have allowed port 6600 in my firewall, chowned my music directory to the mpd user, and I have enabled mpd.service and mpd.socket with systemctl. Please help.

Offline

#2 2021-11-29 21:12:38

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: No Database Issue MPD

Are you trying to run mpd as a system service or a user service?
Did you follow the correct instructions depending on the answer to the above question?


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2021-11-29 21:26:08

ohgodmanyo
Member
Registered: 2021-07-02
Posts: 14

Re: No Database Issue MPD

Slithery wrote:

Are you trying to run mpd as a system service or a user service?
Did you follow the correct instructions depending on the answer to the above question?

Mpd is being run by systemctl on startup, and I'm running ncmpc as my home user. I also followed everything in the arch wiki.

Offline

#4 2021-11-29 22:06:05

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: No Database Issue MPD

ohgodmanyo wrote:

Mpd is being run by systemctl on startup

How?
As a system service or a user service?


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#5 2021-11-29 22:19:59

ohgodmanyo
Member
Registered: 2021-07-02
Posts: 14

Re: No Database Issue MPD

Slithery wrote:
ohgodmanyo wrote:

Mpd is being run by systemctl on startup

How?
As a system service or a user service?

I assume by this you mean weather i used systemctl --user mpd.service, or just normally. I didn't use the user flag, I used sudo systemctl enable mpd.service

Offline

#6 2021-11-29 22:22:02

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: No Database Issue MPD

So there's your problem then.

You're running mpd as a system service but then trying to connect from a user account. I suggest that you actually read the wiki page that explains all of this...


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#7 2021-11-29 22:37:26

ohgodmanyo
Member
Registered: 2021-07-02
Posts: 14

Re: No Database Issue MPD

Slithery wrote:

So there's your problem then.

You're running mpd as a system service but then trying to connect from a user account. I suggest that you actually read the wiki page that explains all of this...

Thank you so much! This fixed my problem. I should've looked at the wiki deeper, usually I just skim over the systemctl stuff because I've never seen it ask for any --user flag.

Offline

Board footer

Powered by FluxBB