-
-
Notifications
You must be signed in to change notification settings - Fork 501
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DietPi-Software | myMPD: Service start fails because of renamed setting #4256
Comments
Hi, Many thanks for your report. Are you using any other web server? I guess mympd is started by a service and it is not needed to run the command in CLI. |
Hi Michalng, thank you for your support. I installed a fresh dietpi image, additional software: pihole, shairport-sync and mympd. i use mympd in my browser (ip-adress:1333). because i could not access mympd i was trying 'mympd' in the terminal. this is where i found the warning and error message:
|
Joulinar is right that myMPD is started as system service. Starting it manually from the command line uses an unintended user and unintended options due to missing command arguments, like port 80 which is used by a regular webserver. To start/stop/restart myMPD, do it via its systemd service, like:
If you cannot access, debug it via:
|
as well you can check LISTEN ports to check if myMPD is running on correct port
|
this is what i did:
--> mympd is not running / listening |
looks like config option for web server port is incorrect. That's why
let me have a look |
ok found it, the web server port option changed. You would need to adjust remove Once done restart service |
Many thanks guys! Fix has been merged. I'll also add a MOTD hack fix, as it's a trivial string replace here 😉. Quick fix:
|
Also, we need to disable the option on Debian Stretch, since myMPD now requires MPD v0.20.0 at least, while Stretch ships v0.19.21:
... ah no wait, we ship own v0.20.23 packages for Stretch 👍: https://dietpi.com/downloads/binaries/all/ |
Thank you very much! |
ADMIN EDIT
Solution
Creating a bug report/issue
Required Information
DietPi version |
G_DIETPI_VERSION_CORE=7
G_DIETPI_VERSION_SUB=0
G_DIETPI_VERSION_RC=2
G_GITBRANCH='master'
G_GITOWNER='MichaIng'
Distro version | buster
Kernel version | Linux DietPi 5.10.17+ DietPi-Config | Minor NTP enhancements #1403 Mon Feb 22 11:26:13 GMT 2021 armv6l GNU/Linux
SBC model | RPi Zero W (armv6l)
Power supply used | (EG: 5V 1A RAVpower)
SDcard used | (EG: Samsung Evo)
Additional Information (if applicable)
353491c0-9d58-4347-937a-fe58aacebfd8
Steps to reproduce
WARN mympd Unkown config option: webserver - webport
ERROR mympd Can't bind to http://0.0.0.0:80
Expected behaviour
Actual behaviour
Extra details
The text was updated successfully, but these errors were encountered: