-
-
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 | GMRender chooses wrong IP address to advertise/bind #2576
Comments
@WilburWalsh I will so some minor tweaks an merge. |
+ DietPi-Software | GMediaRender: Service started with IP obtained after dietpi-boot has finished, see #2576. Additional bug with missing permissions for logfile fixed. + DietPi-Software | GMediaRender: Enhance reinstall by using "usermod", if user already exists + DietPi-Software | GMediaRender: Pre-create log file: Failsafe + DietPi-Software | GMediaRender: Generally use $(command -v cmd) when adding commands to systemd units; Failsafe + DietPi-Software | GMediaRender: Generally do not use bash subshell for systemd unit Exec if not required for redirects + DietPi-Software | OpenSSH Client: Do NOT purge "openssh-client" if server is installed, since due to dependencies OpenSSH Server would be removed as well. + DietPi-Software | Minor coding and ordering + CHANGELOG | GMediaRender: Resolved an issue where the daemon can attach to a wrong IP and a failing service start due to missing log file + CHANGELOG | OpenSSH Client: Resolved an issue where uninstalling the OpenSSH Client will in case also remove the OpenSSH Server
Hi @MichaIng , After updating my RPi 1B to the new Beta release, I checked the output of journalctl for errors and problems and found the following
Obviously the ! Prefix is not supported anymore in the latest systemd version for Debian stretch 🤔 |
@WilburWalsh Perhaps |
But I'm pretty sure it did work back when we discussed the original changes to the service file. I would like to revert my system back to a state that contains the up-to-date versions of all packages from like 3 or 4 weeks ago. Unfortunately I haven't found a way to do this yet... |
Okay I will also run some tests on Jessie, Stretch and Buster to compare. Although your error message seems very clear.
|
The thing is I am still absolutely sure it did work before. Like I wrote here: #2580 (comment) |
@WilburWalsh |
Creating a bug report/issue
Required Information
Additional Information (if applicable)
Steps to reproduce
Expected behaviour
Actual behaviour
Extra details
Apparently gmediarender requires a specific IP address to use for libupnp (see here) If multiple addresses of the host are available, it is not specified which one is used.
I have an OpenVPN server running as well, and it chose its IP address instead of the "regular" Wifi IP address. The IP address to be used can be forced by the -I option when starting Gmediarender.
So in my opinion, there are a number of ways to deal with this, not sure which one would be the most suitable for Dietpi.
If you'd like, I would try to get option 3 running and submit a PR, if I get it to work.
The text was updated successfully, but these errors were encountered: