This forum preview is being presented to confirm we have two major problems with QNAP control scripting now resolved.
Nvidia GPU installed after Plex Media Server
– The workaround was to restart PMS after QTS/QuTS boot completed.
PlexData no longer worked as expected
In this preview
PlexData will now work.
– A more standard and much more reliable implementation method was found.
– There won’t be any more corruption caused by moving around inside the directory tree
– Backing up “Plex Media Server” will actually backup PMS instead of the link file.
Plex.sh now looks at whether it was installed before or after the Nvidia GPU.
– If installed before the Nvidia GPU, plex.sh will wait up to one minute for the Nvidia GPU to become ready (by QTS) before launching PMS.
Expectations.
Confirm PlexData functional and more reliable
Nvidia GPU startup works regardless whether before or after PMS installed.
All input is welcome.
As soon as we can reasonably confirm success, this update will be released in the next PMS version.
When I put it in, I stopped Plex, changed the files (plex.sh ➜ plex.OK and plex-preview-1 ➜ plex.sh) and restarted Plex.
Coincidentally, I tried to use DBRepair and the ‘stop’ command wouldn’t work. When I put the original plex.sh back (restarted Plex), DBRepair’s ‘stop’ worked again.
I’ll do a backup next per your request and try DBRepair again - perhaps I’m just gang mad
edit: It’s working now - not sure what happened before.
Could it have been a permissions thing? The first time I copied plex-preview-1.sh I didn’t set permissions. This time set it to 755 (I think it was 644).
sorry for the drama.
I’ll trying backing up next. Is there a recommended way to do it?