I am moving my PMS from one headless Ubuntu VPS to another. However, after copying over files and removing preference.xml, PMS won’t start and has the error below. I’m looking for some help in understanding what the problem is and how to fix it.
thanks
Steps:
Installed PMS on new server, started and was able to connect over SSH to initial startup page
Shut down PMS
On source server, shutdown PMS and copied /var/lib/plexmediaserver over to the target server
On target server deleted preferences.xml
Attempted to start PMS
Error:
● plexmediaserver.service - Plex Media Server
Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2020-12-03 16:10:10 CST; 25s ago
Process: 1588 ExecStartPre=/bin/sh -c /usr/bin/test -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" || /bin/mkdir -p "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" (code=exited, status=0/SUCCESS)
Process: 1596 ExecStart=/bin/sh -c export PLEX_MEDIA_SERVER_INFO_VENDOR="$(grep ^NAME= /etc/os-release | awk -F= "{print \$2}" | tr -d \" )"; export PLEX_MEDIA_SERVER_INFO_DEVICE="PC"; export PLEX_MEDIA_SERVER_INFO_MODEL="$(uname>
Main PID: 1596 (code=exited, status=255/EXCEPTION)
systemd[1]: plexmediaserver.service: Scheduled restart job, restart counter is at 3.
Stopped Plex Media Server.
plexmediaserver.service: Start request repeated too quickly.
plexmediaserver.service: Failed with result 'exit-code'.
Failed to start Plex Media Server.
Yes. I took ownership that same as you have it there.
Note: I still have the original install directory that I renamed to *old if I needed to start over
Renamed the install directory to *old, then used ssh rsync to copy /var/lib/plexmediaserver from source to target. Nothing obvious after running journalctl -xe | grep -i plex
Dec 03, 2020 17:43:16.952 [0x7f11e0ead780] ERROR - Error: Unable to set up server: listen: Address already in use (N5boost10wrapexceptINS_6system12system_errorEEE)
ps -ef | grep -i plex
kill those pids.
wait a few minutes for netstat -an | grep 32400 to return nothing.