I just upgraded my Synology to DSM 7 and updated my Plex server to see the posters not load. Does anyone know what’s going on?
Server Version#: 1.24.0.4921-ce9f9dc95
I just upgraded my Synology to DSM 7 and updated my Plex server to see the posters not load. Does anyone know what’s going on?
Server Version#: 1.24.0.4921-ce9f9dc95
May I please see the Migration.log file (located in the Plex share) and the server logs ZIP ?
I could’nt find any Migration.log file in the Plex share. Is it supposed to be in here?:
Here are the server logs
(https://adnmqsg.dlvr.cloud/Logs.zip)
I must also add that I updated to DSM 7 and then tried to “repair” the plex server app thinking I was doing things correctly. I then uninstalled the old Plex version and downloaded the Plex server file for Intel 64bit from Plex’ website and installed that. I did also change the permissions for the plex shares.
Thanks
There is no evidence of you having upgraded this NAS to DSM 7
The PMS starting INFO records show it to be using DSM 6.2.4.25556
Aug 10, 2021 02:54:44.986 [0x7f789fa34b38] INFO - Plex Media Server v1.23.5.4862-0f739d462 - Synology DS1019+ x86_64 - build: linux-x86_64 synology - GMT 02:00
Aug 10, 2021 02:54:44.986 [0x7f789fa34b38] INFO - Linux version: DSM 6.2.4.25556-0, language: en-US
Aug 10, 2021 02:54:44.986 [0x7f789fa34b38] INFO - Processor Intel(R) Celeron(R) CPU J3455 @ 1.50GHz
Aug 10, 2021 02:54:44.986 [0x7f789fa34b38] INFO - Compiler is - Clang 11.0.1 (https://plex.tv e0c29d5827bc4eaaa2ceb882cbeed224b0960173)
Aug 10, 2021 02:54:44.986 [0x7f789fa34b38] INFO - /var/packages/Plex Media Server/target/Plex Media Server
Your screenshot showing the tree structure in FileStation further confirms your metadata did not migrate to DSM 7 and is still waiting for the next steps.
(dsm7)
in the menu selector.The Plex logs you attached are from DSM 6.
Linux version: DSM 6.2.4.25556-0,
I obtain this information directly from DSM when PMS starts.
# DSM version variables
DSM_VERSION="$(get_key_value /etc.defaults/VERSION productversion)"
DSM_BUILD="$(get_key_value /etc.defaults/VERSION buildnumber)"
DSM_UPDATE="$(get_key_value /etc.defaults/VERSION smallfixnumber)"
# Set identification variables
PMS_INFO_VENDOR=Synology
PMS_INFO_DEVICE="$(get_key_value /etc.defaults/synoinfo.conf unique|cut -d'_' -f3|sed 's/^ds/DS/;s/^fs/FS/;s/^rs/RS/'|sed 's/^\([0-9]\)/DS\1/')"
PMS_INFO_MODEL="$(uname -m)"
PMS_INFO_PLATFORM_VERSION="DSM $DSM_VERSION.$DSM_BUILD-$DSM_UPDATE"
I have no idea what is actually happening here but it is clear that it’s not right.
I need you to do the following:
Uninstall the Plex package – select the ERASE option (to remove whatever is sitting there in the DSM 7 area)
Install the DSM 7 package and walk through the migration – which will taks time – AND - write a Migration.log file in the Plex shared folder. It will also move your metadata out of the Plex shared folder to the DSM 7 area where it belongs.
Pay very close attention to the instructions. It’s imperative the new user `PlexMediaServer’ be given Full Control of the Plex shared folder as well as all files and folders underneath it (this is performed in thte migration instructions).
Now all TV Series and collections seem to have the correct posters and a handful of movies as well. Could it still be indexing or something?
I forgot to say that Plex couldn’t access the old libraries so I clicked on more and there were all my libraries, unpinned:
If I select the erase option and then try to do the migration, will there still be data to migrate? Won’t it remove everything?
Please download and attach a fresh set of server logs.
I am concerned about the old server vs current server.
This is EVERY indication that you’re setting up a new & independent server in DSM 7
Is this true?
Here are the logs:
https://utm6dbd.dlvr.cloud/Plex%20Media%20Server%20Logs_2021-08-10_22-57-16.zip
It did give me a sort of welcome message when I started it for the first time in DSM 7.
I’m not sure.
now I see the DSM 7 application.
Please check the contents of the Plex shared folder.
Specifically look for Library / Application Support / Plex Media Server
If you still have that then you are creating a new server under DSM 7 which is what your screenshots support and as I thought.
If this is true and you want to migrate what exists, with all your customizations, we can then complete a normal migration.
Please advise.
Yes it seems to still be there.
Yes I want to migrate what exists.
On a sidenote: If I was creating a new server, isn’t it strange that almost all metadata for tv shows and collections have loaded in but 95% of the metadata for movies haven’t?
Thanks
I’m sorry but it doesn’t work that way.
Migration is either At Package Installation or not at all in what you currently have from plex.tv/downloads. That’s an implementation I was able to correct in the new packaging.
Is it possible that “Repair” , which does a blind installation by package center, has put you into this position? Yes.
The absence of “Migration.log” is extremely disconcerting because it means that the “repair” will never fully succeed. You may get some data – which you appear to have, but not everything. Metadata, such as posters, will be broken and that’s what you do see.
I would like you to take a thorough inventory of your existing Plex shared folder.
Plex/Library/Application Support/Plex Media Server -
Size of and file + folder count for the following
a. Media
b. Metadata
Plug-in Support/Databases
a. Does it have all the databases and their backups? (you can screenshot if you wish)
These three folders + your Preferences.xml are the key to your server.
Did you notice your server was offline and you now have a new one?
That will not happen if migration is correct. Again, this points to a partial or simply NEW server with the same Hostname.
Supplemental,
I do have a way to unify the two locations through a Scheduled Task → User Script.
Size of and file + folder count for Media:
Size of and file + folder count for Metadata:
Plug-in Support/Databases:
What are the best steps I can take to ensure the least amount of data loss? If any?
Good. We can remedy this by bringing it all back together as one.
This is effectively a ‘hand migration’.
After verifying everything is working under DSM 7, you can make a backup of the Plex share copy and/or remove it. It will no longer be of value.
Here is how to do this.
root
#!/bin/bash
cd /volume1/@apphome/PlexMediaServer/Plex\ Media\ Server
( cd /volume1/Plex/Library/Application\ Support/Plex\ Media\ Server ; tar cf - . ) | tar xf -
chown -R PlexMediaServer:PlexMediaServer
Click OK (click OK when it warns about system settings)
At the main control, Select the task (check the box) then click RUN
Wait until you receive the email that it’s completed. Shouldn’t be too long because you have about 15 GB of data in total.
When you have confirmation email in hand, DELETE the task (Action → Delete)
Start Plex.
When this is complete, the original HAL9000 will have had his brain function crystals reinserted
Please take some time to confirm everything is back as it was
After you’ve confirmed, we can remove the unused “SAL9000” wannabe from Settings - Authorized Devices - SERVER (dropdown)
Ok so I did everything but didn’t receive a notification in the mail even after an hour. Apparently I had to enable email notifications first in the control panel, so I did that.
Do I run it again now that I’ll get the log or do I not run it again since it has already done the deed?
I started Plex and thought it was fixed but there is still a lot missing
Maybe the data is split up and this is the other half?
Edit:
I just got this in the mail:
(I hand translated it because it was in dutch)
Taskplanner has excecuted the planned task
Task: Hand Migrate Plex
Starttime: Wed, 11 Aug 2021 17:35:49 GMT
Stoptime: Wed, 11 Aug 2021 21:05:49 GMT
Current status: 1 (Interrupted)
Standard output/error:
chown: missing operand after ‘PlexMediaServer:PlexMediaServer’
Try ‘chown --help’ for more information.
From HAL9000
And now everytime I start plex it says Manually stopped (even though I disabled the task):
Show me the commands you pasted.
Stop Plex
I made a very small typo.
It’s easily fixed.
chown -R PlexMediaServer:PlexMediaServer .
There is a missing dot at the end .
I am very sorry
PS: if you want to short cut it and not copy again, (still running as ‘root’)
#!/bin/bash
chown -R PlexMediaServer:PlexMediaServer /volume1/@apphome/PlexMediaServer
This will fix the permissions and Plex will again be able to read / write the data.
I ran the updated code, got an email saying it was completed with no errors but once I run plex and open up the plex web app it says both servers are down even though Plex Media Server is running.