Gmrenderer not start

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
aguapi
Posts: 28
Joined: Mon Apr 16, 2018 11:41 pm

Gmrenderer not start

Post by aguapi »

Hi. I am having problems with gmediarender. service does not start. I have been trying to fix it but have not succeeded. Does anyone know how to fix it or is there an alternative to gmediarenderer?
User avatar
Joulinar
Posts: 2068
Joined: Sat Nov 16, 2019 12:49 am

Re: Gmrenderer not start

Post by Joulinar »

Hi,

many thanks for your report. Pls can you check status of gmrender service as well as journalctl

Code: Select all

systemctl status gmrender.service
journalctl -u gmrender.service
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
aguapi
Posts: 28
Joined: Mon Apr 16, 2018 11:41 pm

Re: Gmrenderer not start

Post by aguapi »

Hi. Thanks for your attention.
Here I paste the console results:

Code: Select all

systemctl status gmrender.service
● gmrender.service - GMediaRender (DietPi)
   Loaded: loaded (/etc/systemd/system/gmrender.service; disabled; vendor preset: enabled)
  Drop-In: /etc/systemd/system/gmrender.service.d
           └─dietpi-services_edit.conf
   Active: failed (Result: exit-code) since Tue 2020-06-16 14:50:04 BST; 9min ago
     Docs: https://github.com/hzeller/gmrender-resurrect/blob/master/INSTALL.md#commandline-options
  Process: 564 ExecStartPre=/bin/dash -c systemctl set-environment ACTIVE_IP=$(mawk NR==4 /run/dietp
i/.network) (code=exited, status=1/FAILURE)


sudo journalctl -u gmrender.service
-- Logs begin at Tue 2020-06-16 04:17:01 BST, end at Tue 2020-06-16 15:00:19 BST. --
Jun 16 14:50:04 DietPi systemd[1]: Starting GMediaRender (DietPi)...
Jun 16 14:50:04 DietPi dash[564]: Failed to set environment: Invalid environment assignments
Jun 16 14:50:04 DietPi systemd[1]: gmrender.service: Control process exited,
 code=exited, status=1/FAILURE
Jun 16 14:50:04 DietPi systemd[1]: gmrender.service: Failed with result 'exi
t-code'.
Jun 16 14:50:04 DietPi systemd[1]: Failed to start GMediaRender (DietPi).
User avatar
Joulinar
Posts: 2068
Joined: Sat Nov 16, 2019 12:49 am

Re: Gmrenderer not start

Post by Joulinar »

seems to be an issue in setting the environment variable correctly. pls can you post following.

Code: Select all

systemctl cat gmrender.service
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply