Crash plex after change password

Server Version#: 1.14.0.5470-9d51fdfaa
Player Version#:

Hello everyone,

Since 1h I have a big problem with PLEX and Synology …

Here is the history:

I explain to you … I changed the password of my plex account (for security) and that to all crashed …

I started by not being able to access the NAS in the interface of plex media server … I tried reboots, turn it off, nothing …
No server detection …

So I decided to update the plex app with the latest version … still nothing …

I deleted the latest version and I reinstalled the one just before (that worked before the password was changed) … still nothing.

So I decided to remove the app from the NAS, and reinstall it … then I restarted the NAS … and I got this error message …
CloudApp

DSM refuses to launch the PLEX app and I have this error message … would you know it can come? I’m going to cry … :frowning:

Do you think a new DSM install is needed?

Thanks for your help.
JJ

  1. Sign Plex/web app out of plex.tv
  2. Open File Station
  3. Go to the Plex share
  4. Navigate to **Plex/Library/Application Support/Plex Media Server
  5. Rename Preferences.xml to Prefefernces.xml.old
  6. Start PMS.
  7. Open http://ip.addr.of.synology:32400/web
  8. Sign in to server and claim again using New Password
  9. DO NOT CREATE NEW LIBRARY SECTIONS Skip this
  10. Arrive at Dashboard
  11. Now see your library sections as they were
  12. Go to Settings Server and verify preferences. Some will have changed.

[quote = “ChuckPA, post: 2, topic: 342783, full: true”]

  1. Plex Sign / web app out of plex.tv
  2. Open File Station
  3. Go to the ** Plex ** share
  4. Navigate to ** Plex / Library / Application Support / Plex Media Server
  5. Rename Preferences.xml to Prefefernces.xml.old
  6. Start PMS.
  7. Open http: //ip.addr.of.synology: 32400 / web
  8. Sign in with a new password
  9. ** DO NOT CREATE NEW LIBRARY SECTIONS ** Skip this
  10. Arrive at Dashboard
  11. Now see your library sections as they were
  12. Go to ** Settings Server ** and verify preferences. Some will have changed.
    [/ Quote]

Thank you ChuckPA for your return.
To resume your different steps:

  • at step 3: I can not do it because my PLEX file is empty …
  • So for steps 4 and 5 I can not do it.
  • For step 6: as the PLEX app that is installed, can not be launched in the DSM interface (this is the error message that I captured in my previous message, which says : “Failed to launch the package repair”), if I access the PLEX interface in the browser, the page does not load, which makes sense.
  • step 10: I think I no longer have my library, since the PLEX folder on the DSM is empty …

In short, I do not know what to do …

It appears anything you had is indeed gone. I do not know why this would happen. I keep the Plex share and the software in two different locations.

At this point, the only thing you can do is begin again.

  1. Package Center - Uninstall Plex
  2. Control Panel - Shared Folders - Delete the Plex share
  3. Control Panel - Users - Delete the Plex user
  4. Restart DSM
  5. Reinstall PMS fresh.
  6. As it installs, my installer script will create everything new again.
  7. Open http://ip.addr.of.synology:32400/web
  8. Set up again as new.

Note: replace ip.addr.of.synology with the actual IP address of your Synology NAS.

Chuck;

I tried again what you suggested to me below:

And I managed to do it. In fact in the control panel, the admin user I created and with whom I log in (different from the basic Admin user) was not allowed to view the plex shared folder. I corrected that and I could see the shared folder.

So I tested what you said to me, but it did not change anything. The PLEX app did not want to get started.

So I did what you said to me after:

I managed to launch the PLEX app once it was installed.

I launched PLEX in the browser, in the list of servers my Synology appeared but was not accessible, so I deleted this one thinking to have the opportunity to add … but nothing.

I have not been invited to make a new configuration of PLEX …

What do you think ?

There is one way for us to see exactly what DSM does not like.
We now need to do this.

  1. Control Panel - Terminal & SNMP - Enable SSH
  2. Using Putty (Windows) or ssh (Mac & Linux)
  3. SSH to the Synology
  4. Log in as user admin
  5. When at the command line prompt:, type sudo -su root
  6. You will now have full command line authority
  7. cd "/var/packages/Plex Media Server/scripts"
  8. ./start-stop-status start
  9. You will see it output error messages to the console.
  10. Please copy/paste all you see (from command line prompt -> next prompt) here

[quote = “ChuckPA, post: 6, topic: 342783”]

  • Control Panel - Terminal & amp; SNMP - Enable SSH
  • Using Putty (Windows) or ssh (Mac & Linux)
  • SSH to the Synology
  • Log in as user ** admin **
  • When at the command line prompt:, type ** sudo -su root **
  • You will have full command line authority
  • ** cd “/ var / packages / Plex Media Server / scripts” **
  • **. / start-stop-status start **
  • You will see the error messages to the console.
  • Please copy / paste all you see (from command line prompt - & gt; next prompt) here
    [/ Quote]

Chuck,
could you explain to me how to connect in SSH to synology?
I have a little trouble in the command lines :frowning:

I think I managed to log in SSH, but after not sure if you have done the right thing …

XXXX@MyDS216j:~$ sudo -su root

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

Password: 
Sorry, try again.
Password: 
sh-4.3# cd "/var/packages/Plex Media Server/scripts"
sh-4.3# cd "/var/packages/Plex Media Server/scripts"./start-stop-status start
sh: cd: /var/packages/Plex Media Server/scripts./start-stop-status: No such file or directory
sh-4.3# cd "/var/packages/Plex Media Server/scripts"
sh-4.3# ./start-stop-status start
Starting Plex ...
ln: failed to create symbolic link ‘/usr/syno/synoman/webman/3rdparty/plex’: File exists
sh-4.3# Plex Media Server is already running. Will not start...


@ChuckPa Do you think it’s dead? And that I will have to reinstall DSM?

Can you help me :pleading_face: ?

PMS is running.

sh-4.3# Plex Media Server is already running. Will not start...

The “will not start…” means it will not attempt to restart it.

Before we take harsh steps, please type

ps -ef | grep -i plex

If it returns a bunch of lines referring to PMS, then it is running. We will take other action.

Ok I’ll check it out and I’ll come back to you
Thks

here is @ChuckPa
what gives me the command ps -ef | grep -i plex

XXXX@MyDS216j:~$ sudo -su root
Password: 
sh-4.3# ps -ef | grep -i plex
plex      7025     1  0 11:14 ?        00:00:29 /var/packages/Plex Media Server/target/Plex Media Server
plex      7460  7025  0 11:14 ?        00:00:58 Plex Plug-in [com.plexapp.system] /volume1/@appstore/Plex Media Server/Resources/Plug-ins-9d51fdfaa/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.14.0.5470-9d51fdfaa /volume1/@appstore/Plex Media Server/Resources/Plug-ins-9d51fdfaa/System.bundle
plex      7724  7025  0 11:14 ?        00:00:25 /volume1/@appstore/Plex Media Server/Plex DLNA Server
plex      7727  7025  0 11:14 ?        00:00:01 /volume1/@appstore/Plex Media Server/Plex Tuner Service /volume1/@appstore/Plex Media Server/Resources/Tuner/Private /volume1/@appstore/Plex Media Server/Resources/Tuner/Shared 1.14.0.5470-9d51fdfaa 32600 /waitmutex
root     16289 16280  0 23:27 pts/6    00:00:00 grep -i plex
sh-4.3# 

What do you think ?
Good or bad ?

PMS is running fine.

The first line:

plex      7025     1  0 11:14 ?        00:00:29 /var/packages/Plex Media Server/target/Plex Media Server

Tells me:

  1. User plex
  2. Process ID 7025
  3. Which was launched by the system (Package Center): (Process ID 1)
  4. Has used 11m 14s of CPU time
  5. Is running the program "Plex Media Server"

I would like you to next perform the same commands as I do, You should see the same result

admin@moesern:/$ cd /volume1
admin@moesern:/volume1$ ls -la Plex
total 24
drwxrwxrwx+  5 root root  4096 Aug 16 23:05 .
drwxr-xr-x  31 root root  4096 Dec  5 12:16 ..
-rwxrwxrwx+  1 root root     0 Aug 16 23:05 Bitte legen Sie keine Mediendateien hier ab.
drwxrwxrwx+  3 plex users 4096 Dec  5 12:16 @eaDir
drwxrwxrwx+  3 plex users 4096 Aug  8 19:18 Library
-rwxrwxrwx+  1 root root     0 Aug 16 23:05 Please do not place media files here. 
-rwxrwxrwx+  1 root root     0 Aug 16 23:05 Por favor, no coloque archivos multimedia aquí.
drwxrwxrwx+  4 plex users 4096 Dec  4 21:35 tmp_transcoding
-rwxrwxrwx+  1 root root     0 Aug 16 23:05 Veuillez ne pas placer de fichiers multimédia ici.
-rwxrwxrwx+  1 root root     0 Aug 16 23:05 请不要在此处放置媒体文件。
admin@moesern:/volume1$ 

What do you mean? What command do I have to launch in SSH?

Below is the result I should get with your new command line? Or is it the command to launch?

admin@moesern:/$ cd /volume1
admin@moesern:/volume1$ ls -la Plex
total 24
drwxrwxrwx+  5 root root  4096 Aug 16 23:05 .
drwxr-xr-x  31 root root  4096 Dec  5 12:16 ..
-rwxrwxrwx+  1 root root     0 Aug 16 23:05 Bitte legen Sie keine Mediendateien hier ab.
drwxrwxrwx+  3 plex users 4096 Dec  5 12:16 @eaDir
drwxrwxrwx+  3 plex users 4096 Aug  8 19:18 Library
-rwxrwxrwx+  1 root root     0 Aug 16 23:05 Please do not place media files here. 
-rwxrwxrwx+  1 root root     0 Aug 16 23:05 Por favor, no coloque archivos multimedia aquí.
drwxrwxrwx+  4 plex users 4096 Dec  4 21:35 tmp_transcoding
-rwxrwxrwx+  1 root root     0 Aug 16 23:05 Veuillez ne pas placer de fichiers multimédia ici.
-rwxrwxrwx+  1 root root     0 Aug 16 23:05 请不要在此处放置媒体文件。
admin@moesern:/volume1$

ok… everything looks great.

please do the following:

  1. Stop PMS (Package Center)
  2. Control Panel - Shared Folders - EDIT the Plex share
  3. Permissions - Give your username R/W permission
  4. File Station - > Plex/Library/Application Support/Plex Media Server
  5. Rename Preferences.xml -> Preferences.xml.old
  6. Now attempt start.

If no error.

  1. http://ip.addr.of.syno:32400/web
  2. Sign in
  3. Wizard will start
  4. DO NOT create new library sections.
  5. Skip through until Finish
  6. Settings - Server — Check your settings, Some will have changed.

@ChuckPa
sorry but we misunderstood
I did not launch a command line because I did not understand in your previous message that it is the command line to launch.

Can you explain to me ?

@ChuckPa

Ok I think that I managed to do what you asked me … it is this ? :

XXXX@MyDS216j:~$ cd /volume1
XXXX@MyDS216j:/volume1$ ls -la Plex
total 24
drwxrwxrwx+  5 root root  4096 Dec  7 10:35 .
drwxr-xr-x  25 root root  4096 Dec  7 11:13 ..
drwxrwxrwx+  3 plex users 4096 Dec  7 11:13 @eaDir
drwxrwxrwx+  3 plex users 4096 Dec  7 10:35 Library
drwxrwxrwx+  3 plex users 4096 Dec  7 11:14 tmp_transcoding
XXXX@MyDS216j:/volume1$ 

What am I doing now?

Yes. everything is as it should be.

While at the shell.

# cd "/var/packages/Plex Media Server/scripts"
# ./start-stop-status  status
# ./start-stop-status  stop
# ./start-stop-status  start

...  a few warnings will print here but no "crash" errors.

Now check DSM and show me the results.

# df

OK cool.

how do I check DSM?