You must put " (qoutation) around the path because it contains spaces
“/volume1/Plex/Library/Application Support/Plex Media Server/Plug-in Support/Databases”
You must put " (qoutation) around the path because it contains spaces
“/volume1/Plex/Library/Application Support/Plex Media Server/Plug-in Support/Databases”
Databases logs attached.
I am doing it from my Mac:
osadmin@VladiBox:~$ cd “/volume1/Plex/Library/Application Support/Plex Media Server/Plug-in Support/Databases”
-sh: cd: “/volume1/Plex/Library/Application: No such file or directory
I gave the instructions for a Synology NAS, not a mac.
Yes, I tried from synology NAS, wouldn’t work for me. Moved the Databases folder to my Mac as suggested by trumpy81 and followed repair instructions:
Macintosh:Documents vladi$ cd Databases
Macintosh:Databases vladi$ cp com.plexapp.plugins.library.db com.plexapp.plugins.library.db.original
Macintosh:Databases vladi$ sqlite3 com.plexapp.plugins.library.db “DROP index ‘index_title_sort_naturalsort’”
Macintosh:Databases vladi$ sqlite3 com.plexapp.plugins.library.db “DELETE from schema_migrations where version=‘20180501000000’”
Macintosh:Databases vladi$ sqlite3 com.plexapp.plugins.library.db “PRAGMA integrity_check”
database disk image is malformed
Macintosh:Databases vladi$ cp com.plexapp.plugins.library.db com.plexapp.plugins.library.db.original
Macintosh:Databases vladi$ sqlite3 com.plexapp.plugins.library.db “DROP index ‘index_title_sort_naturalsort’”
Error: no such index: index_title_sort_naturalsort
Macintosh:Databases vladi$ sqlite3 com.plexapp.plugins.library.db “DELETE from schema_migrations where version=‘20180501000000’”
Macintosh:Databases vladi$ sqlite3 com.plexapp.plugins.library.db .dump > dump.sql
Macintosh:Databases vladi$ rm com.plexapp.plugins.library.db
Macintosh:Databases vladi$ sqlite3 com.plexapp.plugins.library.db < dump.sql
Now, moving back to my Synology NAS and going to test. Thanks
So after uploading folder back to Synology server, I am now unable to run the PMS, getting error: Failed to run the package service.
Still getting same error when I try to run PMS:
osadmin@VladiBox:~$ 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:
sh-4.3# cd volume1
sh: cd: volume1: No such file or directory
sh-4.3# ls -l
total 4
drwxr-xr-x 3 osadmin users 4096 May 17 2015 CloudStation
sh-4.3# cd volume 1
sh: cd: volume: No such file or directory
sh-4.3# cd /volume 1
sh: cd: /volume: No such file or directory
sh-4.3# cd /volume1
sh-4.3# find ./Plex/Library/Application\ Support/Plex\ Media\ Server/Plug-in\ Support/Databases -type f -exec chmod 700 {} \;
sh-4.3# chown -R plex:users Plex/Library/Application\ Support/Plex\ Media\ Server/Plug-in\ Support/Databases
sh-4.3#
Yes the original Databases, helps PMS service to start, but back to the original issue.
Did the whole process and same result, thinking of starting from scratch.
I deleted the PMS app from synology. I reinstalled it through the community and it put me on version 1.13.4.5271-200287a06. I put my original Databases folder and it started working again. I won’t be installing newer versions until it has been verified.
I am using a TerraMaster TNAS and I cannot connect to it after updating to ver. 1.14.1.5488. I was using it and streaming fine this morning. Since the update the Plex.tv app says “Looking for server” and cannot locate it.
I changed nothing except the update to the latest server version.
TerraMaster TOS version: 3.1.15
Thank you.
If you cannot go to HTTP://ip.addr.of.nas:32400 and reclaim it (After signing out of your browser),
you will need to start fresh. PMS is now very strict on database corruption.
If the current version doesn’t work and are forced to start fresh,
I do not know if this will work for you. This is all I can find.
1.13.9.
Hopefully you know how to install?
https://drive.google.com/open?id=1fBfXxf6XsLza0DpBGxsrCY4R64rCNZHd
So I tried running the DB repair on the Synology NAS itself:
sh-4.3# cd Databases
sh-4.3# cp com.plexapp.plugins.library.db com.plexapp.plugins.library.db.original
cp: cannot stat ‘com.plexapp.plugins.library.db’: No such file or directory
sh-4.3# sqlite3 com.plexapp.plugins.library.db “DROP index ‘index_title_sort_naturalsort’”
Error: no such index: index_title_sort_naturalsort
sh-4.3# sqlite3 com.plexapp.plugins.library.db “DELETE from schema_migrations where version=‘20180501000000’”
Error: no such table: schema_migrations
sh-4.3# sqlite3 com.plexapp.plugins.library.db “PRAGMA integrity_check”
ok
sh-4.3# cp com.plexapp.plugins.library.db com.plexapp.plugins.library.db.original
sh-4.3# sqlite3 com.plexapp.plugins.library.db “DROP index ‘index_title_sort_naturalsort’”
Error: no such index: index_title_sort_naturalsort
sh-4.3# sqlite3 com.plexapp.plugins.library.db “DELETE from schema_migrations where version=‘20180501000000’”
Error: no such table: schema_migrations
sh-4.3# sqlite3 com.plexapp.plugins.library.db .dump > dump.sql
sh-4.3# rm com.plexapp.plugins.library.db
sh-4.3# sqlite3 com.plexapp.plugins.library.db < dump.sql
sh-4.3# sqlite3 com.plexapp.plugins.library.db “PRAGMA integrity_check”
ok
Do the errors above mean anything?
I did the DB repair from root because I am getting permission denied with admin:
admin@VladiBox:/volume1$ cd Plex
-sh: cd: Plex: Permission denied
admin has R/W priviliges to the Plex folder.
Plex broke everything… Use Emby!
When I install the plex version from synology, it works. Not sure what happened with this release, but it seems everyone is having issues with it. When is a fix coming?
I re-installed with admin and still got the same results. I ended up just deleting the DB and started fresh.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.