Synology: DSM 7 Installation Archive -- Archived from main thread

smiles and bangs the desk

Let’s do it!

:rofl:

:rofl:

:rofl:

1 Like

At this stage I’m like Boris in Goldeneye, shaking the computer shouting “SPEAK TO MEEE!” :joy:

A new script for you :smiling_imp: :sunglasses:

  1. Stop PMS
  2. Rename AppData → AppData.keep
  3. Edit your existing Task.
  4. Go to the shell script part
  5. COPY and PASTE all this text in its place.
  6. SAVE
  7. RUN
#!/bin/sh

for i in  /volume*/@apphome/PlexMediaServer
do
if  [ -d "$i/Plex Media Server" ]; then
  echo Found Plex in "$i" ... Seeing if we can move it.

  PlexDir=/var/packages/PlexMediaServer/shares/PlexMediaServer

  if [ ! -e "$PlexDir" ]; then
    echo  Cannot find PlexMediaServer shared folder.  Is Plex installed.
    exit 1
  fi

  if [ -e "$PlexDir/AppData" ]; then
    echo Found existing AppData in PlexMediaServer shared folder.
    echo Please fix. Aborting
    exit 1
  fi
  
  ## Looks all clear from here
  echo "Preparing new AppData"
  mkdir "$PlexDir/AppData"

  echo Moving - 
  cd "$i"
  mv "Plex Media Server"  "$PlexDir/AppData"
  echo Move complete.

  echo Fixing permissions.
  chown -R  PlexMediaServer:PlexMediaServer $PlexDir/AppData

  echo Move complete.
  echo Please check the server data
else
  echo No old PMS 1.21.0.3744 Plex servers found
  echo exiting.
fi
done
  1. If there is a lot of server data to move – BE PATIENT
  2. WAIT until it emails you the results.
  3. When complete, LOOK in AppData/Plex Media Server
  4. Do you see a “Preferences.xml” ??
  5. Do you still have Plugin-Support / Databases ?
  6. If so. stand a good chance it will come up

You will need to WAIT while it updates the database schema (will take a while given you’re coming from 1.21.0 → 1.29.2

It will show “503 - maintenance - Temporarily unavailable” until it’s all done.

Patience is your biggest virtue – as you watch the CPU slowly crank through it

:slight_smile:

Let me know when it’s started moving the data ??

1 Like

Okay!

I’ve run the script.
It’s emailed me.
I have preferences.xml.
I have plugin-support.
I have databases.

I don’t know how I can see what it’s now doing? How can I see it “updating the schema”?
What is it that shows “503” error? Plex PMS is currently stopped. Do I need to restart it now?

How can I see that it’s moving data?

Thanks so much!

Is PMS running?

If the package is running

open the Syno by LAN IP ONLY http://LAN.IP.of.Syno:32400/web

If still upgrading schema, you’ll get “Maintenance – Temporarily unavailable”

Adjust for maximum :fire:

What do you think? :stuck_out_tongue:

2 Likes

Okay - I’ve started PMS and I’m getting 503.

This is mental - how is this even working? :star_struck: :space_invader:

Will it refresh itself when it’s up and complete, or should I just keep refreshing?

Ta

It’s working because I’m a mentalist. I willed it to work :wink:

Watch the CPU usage. it’ll calm down when schema is done.
Then hit refresh

3 Likes

plexxxx

:exploding_head: :exploding_head: :exploding_head:

My old server is now awake!

You really have sorted me out here! I can’t thank you enough.

My CPU appears okay, but I don’t know how much it was using before I started to monitor it (before Plex stopped showing 503.

“Server update available…”
I don’t think so :joy:

Do you want me to remove the new instance which isn’t going to be used ?

I can remove it from Plex.tv --OR-- you can remove it there from authorized devices.
(inspect – look at last-seen time)

1 Like

A lot has happened since 1.21.0.3744

PMS will prompt you, at some point, to upgrade your agents / libraries.
This will be the new C++ agents & scanner…

WAY faster and better.

Watch for it to happen. Don’t be surprised.

If you seem to get a popup which you can’t clear, hit escape. There’s another popup behind it. Don’t worry, it’ll sort itself out in the end.

PS: Sit right chair on 1.29.2 for a bit. Your server needs time to ketchup on the ballgame.

1 Like

I’ve just removed it from my authorized devices :+1:

Control + F5 in your browser will force reload Plex/web

It will be gone

1 Like

I might be back here in some time with the same problem, next time I somehow manage to remove my server again!

I think it’s upgrading the metadata now but everything appears accessible. Incredible!

Thanks very much - I’ll be happy on this. No more updates for me! Scarred for life!

Much appreciated - I owe you a :beer:

@matt_p949

Don’t forget to remove AppData.keep :slight_smile:

1 Like

I’ll delete.

Genuinely… thanks so much!

1 Like

Hello @ChuckPa - Seems you are the omnipotent guru in the know, so glad to find you here…sorry to be one of “those” people, I am so embarrassed. :disappointed_relieved:

So NOT knowing there was a DSM6/DSM7/Plex Upgrade issue, guess I’ve been living under a rock or just being a dumb blonde, did it without a thought!

Did nothing with Plex before I upgraded from DSM 6.2.3.x to DSM 7.1.1.x, this part all seems to have all gone smoothly, thankfully.

Of course, after that upgrade, all of my mere 8 packages had to be repaired/upgrade in some form or another, and seemingly all went well, including the Package Center upgrade of PMS.

After that, figuring the Package Center PMS was not current, I went to Plex.tv and downloaded the x64 Synology latest package, and installed.

Not knowing what to expect, it seems to have gone well, initially, I selected and “Normal Install” and click, click, click until the end. Oddly, I don’t recall it offering me the option of PMS something something.

Briefly, after, I could see PMS name, and the shares, but all with :warning:, there was something about not being able to connect, and after a restarted the NAS, now nothing. I see the PMS name, no visible shares.

I can “View All Friends” all of them are there, but none of them appear to have access, since at this point of course, there are not shares. Libraries seem to be there, unaffected on the disk itself.

Would it help, shutting down the PMS and copying the from the DSM 6 Path:

Plex/Library/Application Support/Plex Media Server contents, or some portion to…

DSM 7 Path:

PlexMediaServer/AppData/Plex Media Server/

…then re-starting the PMS?

Can confirm this breaks Plex server instance. Cannot reinstall and claim server. Cannot get to setup page to claim device.

@mfav

Did you try to install it on DSM 7.2 BETA ?

We were just informed of the upcoming beta. How did you get it?