I could use a little help getting my headless Plexamp install to load at boot. I have it running fine but it refuses to start unless I keep a terminal window open… which isn’t ideal. I’m on Dietpi Bullseye and everything is up to date as of today. I ran the following commands, but the service fails to load at boot. I also checked my id and I’m running as root after updating plexamp.service to match.
Did you copy the directory from somewhere? Because it contain user id 1001 and group id 122, who are owning the files. But these user id’s are unknow to the system. Therefore, they are displayed as id’s and not real user/group names.
I assume 1001 is root? The files aren’t copied. It’s a virgin install on a brand new dietpi bullseye image freshly etched just for this RPi. I curled the plexamp tar file directly from Plex. The server is up and running, I just can’t get it to run as a service. If it’s a permission issue, any suggestions on how to attack it? I’m still learning how to use the CLI, so I’m hoping you don’t mind spelling commands out. Thank you!
which user should execute this service? As far as I can see, service config contain user PI which is not existing on DietPi. But I guess you tried to change to user root?
Home directory of user root is not /home/root/, it should be /root/ only
BTW: the strange permission of your files are coming from the archive you download. There the owner runner and group docker are defined.
iam also not able to start Plexamp on dietpi:
PFA my output:
Mar 11 09:17:27 DietPi systemd[1]: plexamp.service: Scheduled restart job, restart counter is at 5.
Mar 11 09:17:27 DietPi systemd[1]: Stopped plexamp.service - Plexamp.
Mar 11 09:17:27 DietPi systemd[1]: plexamp.service: Start request repeated too quickly.
Mar 11 09:17:27 DietPi systemd[1]: plexamp.service: Failed with result 'exit-code'.
Mar 11 09:17:27 DietPi systemd[1]: Failed to start plexamp.service - Plexamp.
root@DietPi:~/plexamp# ExecStart=/usr/bin/node /home/root/plexamp/js/index.js
-bash: /home/root/plexamp/js/index.js: No such file or directory
root@DietPi:~/plexamp# ExecStart=/usr/bin/node /home/root/plexamp/js/index.js
-bash: /home/root/plexamp/js/index.js: No such file or directory
root@DietPi:~/plexamp#