Gmrenderer not start

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?


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

systemctl status gmrender.service
journalctl -u gmrender.service

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

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
   Active: failed (Result: exit-code) since Tue 2020-06-16 14:50:04 BST; 9min ago
  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
Jun 16 14:50:04 DietPi systemd[1]: Failed to start GMediaRender (DietPi).

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

systemctl cat gmrender.service