Kann mich nicht mehr zu meinem Plex-Server verbinden über Browser - Gast geht

Erste Problem gefunden: Datenbank optimieren um die Verschlechterung zu korrigieren

Apr 16, 2018 17:06:31.488 [0x7f0347111700] DEBUG - NetworkServiceBrowser: SSDP departed after not being seen for 21.880841 seconds: 192.168.178.30
Apr 16, 2018 17:06:44.544 [0x7f034ebff700] WARN - SLOW QUERY: It took 590.000000 ms to retrieve 0 items.
Apr 16, 2018 17:07:01.488 [0x7f0347111700] DEBUG - NetworkServiceBrowser: SSDP departed after not being seen for 29.781852 seconds: 192.168.178.35

Nach Datenbank optimieren, bitte Plex neustarten.

@ChuckPA said:
Erste Problem gefunden: Datenbank optimieren um die Verschlechterung zu korrigieren

Apr 16, 2018 17:06:31.488 [0x7f0347111700] DEBUG - NetworkServiceBrowser: SSDP departed after not being seen for 21.880841 seconds: 192.168.178.30
Apr 16, 2018 17:06:44.544 [0x7f034ebff700] WARN - SLOW QUERY: It took 590.000000 ms to retrieve 0 items.
Apr 16, 2018 17:07:01.488 [0x7f0347111700] DEBUG - NetworkServiceBrowser: SSDP departed after not being seen for 29.781852 seconds: 192.168.178.35

Nach Datenbank optimieren, bitte Plex neustarten.

wie kann ich die Datenbank optimieren, wenn ich auf den Server keinen Zugriff mehr per web oberfläche habe?
/ how can i optimize the database if i can’t access the server via web anymore…

Access the server via the command line.

Here are two techniques.

Once you have established web access again, Please make certain you have automatic optimization enabled in Setting - Server - Scheduled Tasks

Sorry, could you provide me with instructions on how this has to be done on synology nas servers?

So i used SSH:
i am not sure on whether the Commands are line by line or if it is a code tha has to be entered at once.
However when trying:
“cat “/home/plexdir/Library/Application Support/Plex Media Server/Preferences.xml” |
sed -e 's;^.* PlexOnlineToken=”;;’ | sed -e ‘s;".*$;;’ | tail -1 > /tmp/plex.tmp"

the server responds: "cat: /home/plexdir/Library/Application Support/Plex Media Server/Preferences.xml: No such file or directory "

do i have to edit the path? Both for/home/plexdir and the curl request?

Entschuldigung

sudo -su root

cat "/volume1/Plex/Library/Application Support/Plex Media Server/Preferences.xml" | \ 
sed -e 's;^.* PlexOnlineToken=";;' | sed -e 's;".*$;;' | tail -1 > /tmp/plex.tmp"

curl --request PUT http://127.0.0.1:32400/library/optimize\?async=1\&X-Plex-Token=`cat /tmp/plex.tmp`

Diese sind “Kopieren & Einfügen”

so i don’t know why, but now when using the
sudo -su root
it tells me that my password is wrong… I am feeling a little stupid now, but it should be the normal admin password?

Yes. Same passwort as admin GUI sign on.

You have used ssh -l admin ip.addr.of.syno ?

It should always appear like this:

[chuck@lizum ~.101]$ ssh -l admin moesern
admin@moesern's password: 
admin@moesern:~$ sudo -su root
sh-4.3# 

i am not really sure what you mean by your previous post, but i have been using ssh programs to sign on.
The first one had problems with my password
now i am using putty: Syntax error occured near unexpected token `;;’

I have to say i am a little confused…
Look at the following screenshot:

it shows that you are answering my post using my username?

The forum has made an error. I hope this is better?

Damn it. I made a mistake. again, my apoligies. I should have spotted the error when the green text was displayed.

cat "/volume1/Plex/Library/Application Support/Plex Media Server/Preferences.xml" | \
sed -e 's;^.* PlexOnlineToken=";;' | sed -e 's;".*$;;' | tail -1 > /tmp/plex.tmp


curl --request PUT http://127.0.0.1:32400/library/optimize\?async=1\&X-Plex-Token=`cat /tmp/plex.tmp`

This is verified on my Synology DSM 6.1.6 U1

sh-4.3# cat "/volume1/Plex/Library/Application Support/Plex Media Server/Preferences.xml" | \
> sed -e 's;^.* PlexOnlineToken=";;' | sed -e 's;".*$;;' | tail -1 > /tmp/plex.tmp
sh-4.3# curl --request PUT http://127.0.0.1:32400/library/optimize\?async=1\&X-Plex-Token=`cat /tmp/plex.tmp`
sh-4.3# 

it went through…

Your Synology should now be optimizing the database.
In a few moments, you should be able to connect to it again.

after checking the logs where it stated that the database has been optimized, i stopped and restarted the plex package…
unfortunately it still says searching for servers…

Do you need new log files?

To me it seems pretty weird that the server is doing all that debugging:
DEBUG - [Notify] Now watching…
as well as ERROR - [Notify] Failed to add watch for xyz (28: No space left on device)

Please retrieve the log files manually for me:

  1. Control Panel - Shared Folders - Edit the Plex share
  2. Give your username R/W permission (Permissions tab)
  3. Open File Station. Plex -> Library - Application Support - Plex Media Server
  4. Right-click Logs
  5. Compress to Logs.zip
  6. Please attach the ZIP file here. I will verify the actions it has taken