r/PlexACD•
Xerceng

Plexdrive 5, can't start as service

I've setup my plexdrive.service and enabled it, but it gives an error when started. What's the solution to this error or is there any other way to start plexdrive on startup.

PS: I know it says PlexDrive4, I've copied a service script from github.

Posted Sep 22, 2017, 3:12 PM UTC

26
daz1uk•

It says in the error that it can't read the users home directory.

Check your PID and check that the user has the rights to access the mount.

Or run it as PID=0.

I think, but I'm no expert.

2
hthighway•

The error message references an arm system, which indicates you downloaded and installed the wrong one for your system. Download the one for amd. Unless you are running on an arm system.

1
XercengOP•

I am indeed on an arm system, rpi2. The error says something about that the users home directory is currently not supported on arm systems

1
louis-lau•

Try putting this under service:

User=youruser
Group=yourgroup
HOME=usershomedir

Of course replace everything with your own user and directories.

1
XercengOP•

This worked! Thank you very much. It even works with only the User part. Thanks to this I could fix another service as well.

1
louis-lau•

Great! The homedir part was just in case. Glad it worked.

1