I had a power outage a few days ago, and now I can’t access my server. I am running DSM 7 on Synology 1815+. I was dealing directly with synology, and we setup port forwarding and did a bunch of other trouble shooting, but no fix. I should preface what that I am not super technologically savvy, so you’ll have to speak slow and use small words for me - not even sure if I’m adding the debug log correctly. Not that this makes any difference, but I use a mac to access it - no pc.
I created the scheduled task, and it ran and here’s what the email says.
Task: Fix PlexMediaServer owner
Start time: Sun, 30 Apr 2023 00:00:01 GMT
Stop time: Sun, 30 Apr 2023 00:00:01 GMT
Current status: 0 (Normal)
Standard output/error:
/bin/bash: line 1: cd: /var/packages/PlexMediaServer/shares/PlexMediaServer: No such file or directory
chown: cannot access ‘AppData’: No such file or directory
find: `AppData’: No such file or directory
I installed using the keep and normal method, and I couldn’t find the server, and plex would show “manually stopped”. I then tried the reinstall method, after uninstalling, and used the new or lost (claim) method. I clicked the link that take you to plex.tv/claim, copied and pasted that into the installation claim screen. This gave me the same results. Any other suggestions?
When you install any -7000 package, it creates /PlexMediaServer/AppData
It’s owned by the service PlexMediaServer
While the package is installed. DSM 7 maintains the linkage from
/volume1/PlexMediaServer (or wherever it is)
-to-
/var/packages/PlexMediaServer/shares/PlexMediaServer
chuck@ds418:~$ cd /var/packages/PlexMediaServer/shares/PlexMediaServer
chuck@ds418:/var/packages/PlexMediaServer/shares/PlexMediaServer$ pwd
/var/packages/PlexMediaServer/shares/PlexMediaServer
chuck@ds418:/var/packages/PlexMediaServer/shares/PlexMediaServer$
I don’t understand why the User-Script failed unless you Uninstalled the paclage before running the script ??
I tried lots of things prior to posting on the forum. I have uninstalled it and reinstalled it multiple times before running the script. I tried multiple versions of Plex, older version, hoping that it would fix the issue.
It looks like we’re making progress! After I renamed it to AppData-Alex, and reinstalled it, plex will now stay open in the package center, and doesn’t say “manually stopped”. I went into plex, and it didn’t have any of my media, so I added a small library.
The problem with your preference file is that it shows as unclaimed. (No username or token). That’s easily resolved once permissions are ok.
all this confirms you have a permissions problem in there somewhere (happens with these events)
I want to revisit this:
Task: Fix PlexMediaServer owner
Start time: Sun, 30 Apr 2023 00:00:01 GMT
Stop time: Sun, 30 Apr 2023 00:00:01 GMT
Current status: 0 (Normal)
Standard output/error:
/bin/bash: line 1: cd: /var/packages/PlexMediaServer/shares/PlexMediaServer: No such file or directory
chown: cannot access ‘AppData’: No such file or directory
find: `AppData’: No such file or directory