'--serverUuid' should follow immediately after the equal sign

Server Version#: PlexMediaServer-1.18.4.2171-ac2afe5f8-x86_64
Player Version#: Windows Plex Media Player Version 3.104.2

A few weeks back Plex notified me that the database was corrupted, I thought I would take the weekend to run through the fixes here I ran through and after having no luck I thought best bet would be to uninstall and start from scratch. I uninstalled Plex via the webui on the NAS which failed due to a timeout. I had copied the uninstall script from the folder already so I just ran that via SSH.

I have subsequently tried to install plex via the webui, which meanders on for a little while before saying installed, Plex does not open up despite both service and NAS restarts. I have now uninstalled PLex and found some instructions here around installing via SSH, so have tried that.

It produces this error-

[/share/CACHEDEV1_DATA/.qpkg] # ./PlexMediaServer-1.18.2.2015-5a99a9a46-x86_64.qpkg
Install QNAP package on TS-NAS…
./
./qpkg.cfg
./package_routines
./built_info
./qinstall.sh
5106+1 records in
5106+1 records out
125568783 bytes (119.8MB) copied, 1.721025 seconds, 69.6MB/s
122625+1 records in
122625+1 records out
125568783 bytes (119.8MB) copied, 1.722126 seconds, 69.5MB/s
Firmware check is fine.
Link service start/stop script: plex.sh
Set QPKG information in /etc/config/qpkg.conf
Starting Plex Media Server…
Error in command line:the argument for option ‘–serverUuid’ should follow immediately after the equal sign
Crash Uploader options (all are required):
–directory arg Directory to scan for crash reports
–serverUuid arg UUID of the server that crashed
–userId arg User that owns this product
–platform arg Platform string
–platformVersion arg Platform version string
–vendor arg Vendor string
–device arg Device string
–model arg Device model string
–sentryUrl arg Sentry URL to upload to
–sentryKey arg Sentry Key for the project
–version arg Version of the product
[/share/CACHEDEV1_DATA/.qpkg] # Error: Unable to set up server: listen: Address already in use (N5boost10wrapexceptINS_6system12system_errorEEE)

I have checked and the port is still in use by Plex but, the folders don’t exist and it remains after restart, I am stuck I don’t know what to do.

With the service stopped after reboot,
Open a SSH session to the QNAP.

lsof -i:32400 -P -n

You can cycle through the various Plex ports if you need to find out what’s blocking the startup.

Rename the folder /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library to /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library.old if it exists

Reboot QNAP, and then reinstall on top of the existing one, and report back

So the install still reports “Installed” in the webui but, I am unable to access Plex via the local ip:32400/web address, plex is reported as running on lsof on both ipv4 and 6, my router only supports ipv4 so no ipv6 address to try either.

As I am having trouble now installing a “Container Station” update I am going to factory reset the NAS and fall back to my on-site backup whilst the NAS rebuilts.

Thank you for the assistance in any event :slight_smile:

EDIT - I manually deleted the entire Plex folder after the install failed 1st time round, on each subsequent install I have used the .uninstall.sh script to remove everything else as the gui reports “removed” but leaves artifacts everywhere.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.