PMS Migration Install Fail

Server Version#: plexmediaserver-1.14.1.5488-cc260c476.x86_64 on Centos 7.6.1810
Player Version#:
Hi, I’m sorry i know there’s an old post about something similar, but i cant find my solution in it.
I did something stupid, and i’m too new to linux to figure it out. If someone would be kind enough to help me out, i would really appreciate it.
Backstory: Old Pms named ‘Plex Server’ was on windows 8.1 machine, got a new server just for plex and installed centos 7 on it. (why go from windows to linux? because i wanted to learn linux)
installed PMS and named it ‘Centos’ just to try it and see transcoding everything went well.
Started the process of making a pool of my new (used) 3x 2TB and transferring my movies and tv shows from the old to the new machine.
Then came the long awaited time to zip and transfer my data (cache, codecs, crash reports, diagnostics, logs, media, media upload, metadata, plug ins support. scanners. thumbnails, updates) to keep my metadata and watch status from all those years from c:\users\a\appdata\local to /var/lib/plexmediaserver/Library/Application support/Plex Media Server

The stupid thing I know I did, was uninstall PMS on the new machine using ‘rpm -e plexmediaserver’ and reinstall it using ‘yum install plexmediaserver*.rpm’
Why you ask? because I wanted when you opened http://localhost:8888/web for it to ask me to log in and find my server so that i could update my libraries directories instead of making a new one.
problem is, when i try in web browser it doesnt work (obviously) and when i check ‘systemctl status plexmediaserver’ it comes up with this:

● plexmediaserver.service - Plex Media Server for Linux
Loaded: loaded (/usr/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: disabled)
Active: failed (Result: start-limit) since Fri 2019-02-22 02:39:42 EST; 39s ago
Process: 4142 ExecStart=/bin/sh -c LD_LIBRARY_PATH=/usr/lib/plexmediaserver “/usr/lib/plexmediaserver/Plex Media Server” (code=exited, status=255)
Process: 4137 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)
Main PID: 4142 (code=exited, status=255)

Feb 22 02:39:37 localhost.localdomain systemd[1]: Unit plexmediaserver.service entered failed state.
Feb 22 02:39:37 localhost.localdomain systemd[1]: plexmediaserver.service failed.
Feb 22 02:39:42 localhost.localdomain systemd[1]: plexmediaserver.service holdoff time over, scheduling restart.
Feb 22 02:39:42 localhost.localdomain systemd[1]: Stopped Plex Media Server for Linux.
Feb 22 02:39:42 localhost.localdomain systemd[1]: start request repeated too quickly for plexmediaserver.service
Feb 22 02:39:42 localhost.localdomain systemd[1]: Failed to start Plex Media Server for Linux.
Feb 22 02:39:42 localhost.localdomain systemd[1]: Unit plexmediaserver.service entered failed state.
Feb 22 02:39:42 localhost.localdomain systemd[1]: plexmediaserver.service failed.

I usually write everything i do down, to know what went wrong and where, but this time i didnt (blame it on the excitation to finally have my new PMS running) so i know i did something wrong by uninstalling and reinstalling, and i believe it must be something to do with a permission or a library i didn’t create during the reinstalling and i can’t figure it out to fix it.

there were 3 warnings during the reinstallation if it can help someone help me:

warning: /var/cache/yum/x86_64/7/PlexRepo/packages/plexmediaserver-1.14.1.5488-cc260c476.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 3adca79d: NOKEY
Warning: RPMDB altered outside of yum.
warning: /etc/yum.repos.d/plex.repo created as /etc/yum.repos.d/plex.repo.rpmnew

If someone would be kind enough to help me and if you need any other information please let me know,

Thank you so much for your valuable time in trying to help a clueless newbie like me

:slight_smile:

First I must ask some basics:

  1. Which version of Centos Linux did you install?
  2. Did you install Plex first and let it run one time before migrating your old server?

Hi Chuck

First thanks for your reply

  1. I’m pretty sure it’s centos 7.6.1810 but I’ll double check when I get home from work
  2. Yes I did let plex run to test my machine

When you brought the files over,

after doing so, did you set all the permissions on the library?

Make absolute certain to address ownership.

for the version of Centos
cat /etc/centos-release
CentOS Linux release 7.6.1810 (Core)

now for the permissions, I didn’t know which directories to check so i kind of checked those

ls -la /var/lib/plexmediaserver/
total 4
drwxr-xr-x. 3 plex plex 21 Feb 21 23:52 .
drwxr-xr-x. 61 root root 4096 Feb 21 23:49 …
drwxr-xr-x. 3 plex plex 33 Feb 21 23:52 Library

ls -la /usr/lib/plexmediaserver
total 112788
drwxrwxr-x. 4 root root 4096 Feb 22 02:38 .
dr-xr-xr-x. 46 root root 4096 Feb 22 02:38 …
-rwxrwxr-x. 1 root root 1601776 Dec 14 15:09 CrashUploader
drwxrwxr-x. 2 root root 31 Feb 22 02:38 dri
-rwxr-xr-x. 1 root root 32912 Dec 14 15:09 libargtable2.so.0
-rwxr-xr-x. 1 root root 1854960 Dec 14 15:09 libavcodec.so.58
-rwxr-xr-x. 1 root root 3323456 Dec 14 15:09 libavformat.so.58
-rwxr-xr-x. 1 root root 419384 Dec 14 15:09 libavutil.so.56
-rwxrwxr-x. 1 root root 6520 Dec 14 15:09 libboost_atomic.so.1.59.0
-rwxrwxr-x. 1 root root 657656 Dec 14 15:09 libboost_chrono.so.1.59.0
-rwxrwxr-x. 1 root root 835296 Dec 14 15:09 libboost_date_time.so.1.59.0
-rwxrwxr-x. 1 root root 488632 Dec 14 15:09 libboost_filesystem.so.1.59.0
-rwxrwxr-x. 1 root root 342280 Dec 14 15:09 libboost_iostreams.so.1.59.0
-rwxrwxr-x. 1 root root 1263400 Dec 14 15:09 libboost_locale.so.1.59.0
-rwxrwxr-x. 1 root root 1298976 Dec 14 15:09 libboost_program_options.so.1.59.0
-rwxrwxr-x. 1 root root 28416 Dec 14 15:09 libboost_random.so.1.59.0
-rwxrwxr-x. 1 root root 1591968 Dec 14 15:09 libboost_regex.so.1.59.0
-rwxrwxr-x. 1 root root 158896 Dec 14 15:09 libboost_system.so.1.59.0
-rwxrwxr-x. 1 root root 752344 Dec 14 15:09 libboost_thread.so.1.59.0
-rwxrwxr-x. 1 root root 71368 Dec 14 15:09 libboost_timer.so.1.59.0
-r-xr-xr-x. 1 root root 2678573 Dec 14 15:09 libcrypto.so.1.0.0
-rwxr-xr-x. 1 root root 353232 Dec 14 15:09 libcurl.so.4
-rwxr-xr-x. 1 root root 226536 Dec 14 15:09 libdrm_intel.so.1
-rwxr-xr-x. 1 root root 81104 Dec 14 15:09 libdrm.so.2
-rw-r–r--. 1 root root 19512 Dec 14 15:09 libdvbapi.so
-rw-r–r--. 1 root root 16744 Dec 14 15:09 libdvbcfg.so
-rw-r–r--. 1 root root 93152 Dec 14 15:09 libdvben50221.so
-rw-r–r--. 1 root root 29376 Dec 14 15:09 libdvbsec.so
-rw-r–r--. 1 root root 15040 Dec 14 15:09 libesg.so
-rwxr-xr-x. 1 root root 207872 Dec 14 15:09 libexpat.so.1
-rwxr-xr-x. 1 root root 98208 Dec 14 15:09 libexslt.so.0
-rw-r–r--. 1 root root 3649728 Dec 14 15:09 libfreeimage.so
-rw-r–r--. 1 root root 62440 Dec 14 15:09 libgnsdk_correlates.so.3.07.7
-rw-r–r--. 1 root root 4149904 Dec 14 15:09 libgnsdk_dsp.so.3.07.7
-rw-r–r--. 1 root root 4094960 Dec 14 15:09 libgnsdk_fp.so.3.07.7
-rw-r–r--. 1 root root 201808 Dec 14 15:09 libgnsdk_link.so.3.07.7
-rw-r–r--. 1 root root 1658824 Dec 14 15:09 libgnsdk_lookup_local.so.3.07.7
-rw-r–r--. 1 root root 607168 Dec 14 15:09 libgnsdk_lookup_localstream.so.3.07.7
-rw-r–r--. 1 root root 2900240 Dec 14 15:09 libgnsdk_manager.so.3.07.7
-rw-r–r--. 1 root root 160984 Dec 14 15:09 libgnsdk_moodgrid.so.3.07.7
-rw-r–r--. 1 root root 1389216 Dec 14 15:09 libgnsdk_musicid_file.so.3.07.7
-rw-r–r--. 1 root root 270720 Dec 14 15:09 libgnsdk_musicid_match.so.3.07.7
-rw-r–r--. 1 root root 1271928 Dec 14 15:09 libgnsdk_musicid.so.3.07.7
-rw-r–r--. 1 root root 202560 Dec 14 15:09 libgnsdk_musicid_stream.so.3.07.7
-rw-r–r--. 1 root root 400416 Dec 14 15:09 libgnsdk_playlist.so.3.07.7
-rw-r–r--. 1 root root 175712 Dec 14 15:09 libgnsdk_rhythm.so.3.07.7
-rw-r–r--. 1 root root 710976 Dec 14 15:09 libgnsdk_storage_sqlite.so.3.07.7
-rw-r–r--. 1 root root 402680 Dec 14 15:09 libgnsdk_submit.so.3.07.7
-rw-r–r--. 1 root root 275904 Dec 14 15:09 libgnsdk_tocgen.so.3.07.7
-rw-r–r--. 1 root root 316944 Dec 14 15:09 libgnsdk_video.so.3.07.7
-rwxrwxr-x. 1 root root 78048 Dec 14 15:09 libhdhomerun.so
-rw-r–r--. 1 root root 965984 Dec 14 15:09 libiconv.so.2
-rwxr-xr-x. 1 root root 1262296 Dec 14 15:09 libjemalloc.so.1
-rwxr-xr-x. 1 root root 31704 Dec 14 15:09 liblrc.so.0
-rw-r–r--. 1 root root 44832 Dec 14 15:09 libminiupnpc.so.10
-rwxr-xr-x. 1 root root 52032 Dec 14 15:09 libminizip.so.1
-rw-r–r--. 1 root root 9192 Dec 14 15:09 libnatpmp.so.1
-rw-r–r--. 1 root root 3592288 Dec 14 15:09 libopencv_core.so.2.4
-rw-r–r--. 1 root root 2466664 Dec 14 15:09 libopencv_imgproc.so.2.4
-rwxr-xr-x. 1 root root 885464 Dec 14 15:09 libpion-5.0.so
-r-xr-xr-x. 1 root root 8122853 Dec 14 15:09 libpython2.7.so.1.0
-rw-r–r--. 1 root root 1765568 Dec 14 15:09 libsoci_core.so.3.0.0
-rw-r–r--. 1 root root 229088 Dec 14 15:09 libsoci_sqlite3.so.3.0.0
-rwxr-xr-x. 1 root root 993888 Dec 14 15:09 libsqlite3.so.0
-r-xr-xr-x. 1 root root 516427 Dec 14 15:09 libssl.so.1.0.0
-rwxr-xr-x. 1 root root 115944 Dec 14 15:09 libswresample.so.3
-rwxr-xr-x. 1 root root 522672 Dec 14 15:09 libswscale.so.5
-rw-r–r--. 1 root root 2464544 Dec 14 15:09 libtag.so.1
-rw-r–r--. 1 root root 100008 Dec 14 15:09 libucsi.so
-rwxr-xr-x. 1 root root 82024 Dec 14 15:09 libusb-1.0.so.0
-rwxr-xr-x. 1 root root 7544 Dec 14 15:09 libva-drm.so.2
-rwxr-xr-x. 1 root root 167032 Dec 14 15:09 libva.so.2
-rwxr-xr-x. 1 root root 1834376 Dec 14 15:09 libxml2.so.2
-rwxr-xr-x. 1 root root 325896 Dec 14 15:09 libxslt.so.1
-rwxr-xr-x. 1 root root 111400 Dec 14 15:09 libz.so.1
-rwxrwxr-x. 1 root root 10653 Dec 14 15:09 MigratePlexServerConfig.sh
-rwxrwxr-x. 1 root root 297432 Dec 14 15:09 Plex Commercial Skipper
-rwxrwxr-x. 1 root root 4325600 Dec 14 15:09 Plex DLNA Server
-rwxrwxr-x. 1 root root 5450528 Dec 14 15:09 Plex Media Scanner
-rwxrwxr-x. 1 root root 17302008 Dec 14 15:09 Plex Media Server
-rwxrwxr-x. 1 root root 886536 Dec 14 15:09 Plex Relay
-rw-rw-r–. 1 root root 1095 Dec 14 15:09 plexrsync.pp
-rwxr-xr-x. 1 root root 5048 Dec 14 15:09 Plex Script Host
-rwxrwxr-x. 1 root root 13450712 Dec 14 15:09 Plex Transcoder
-rwxrwxr-x. 1 root root 5370576 Dec 14 15:09 Plex Tuner Service
drwxrwxr-x. 10 root root 4096 Feb 22 02:38 Resources

Should the permissions of /usr/lib/plexmediaserver be plex:plex?

/usr/lib/plexmediaserver will always be owned by root because it is system-level software and controlled by the package manager.

/var/lib/plexmediaserver is Plex’s home directory and where we store the Library (your metadata). We do it this way to allow you to change versions without losing the server metadata.

When up unzipped the files into /var/lib/plexmediaserver, you should have gotten a Library directory.

The next steps are important

sh-4.4# cd /var/lib/plexmediaserver
sh-4.4# rm -rf Library
sh-4.4# tar xf /nas/tmp/PlexBackup.tar.gz
sh-4.4# chown -R plex:plex ./Library
sh-4.4# systemctl start plexmediaserver

Of critical importance here is chown -R plex:plex ./Library .
You may also type this as sudo chown plex:plex -R /var/lib/plexmediaserver

I would like to know the specific error you received and have logged.

sudo journalctl -xe | grep -i plex

Thanks for teaching me the difference between /usr and /var but i still have a lot to learn lol

should I have done this?

because thats not how i unzipped my files. i just transferred my zip from my windows in my samba folder, opened it and unzipped it in /var/lib/plexmediaserver/Library/Application Support/Plex Media Server

I did this

and your

gave me only this

[root@localhost ~]# sudo journalctl -xe | grep -i plex
Feb 23 12:22:48 localhost.localdomain sudo[10213]:     root : TTY=pts/0 ; PWD=/usr/lib/plexmediaserver ; USER=root ; COMMAND=/bin/journalctl -xe
[root@localhost ~]# 

god i feel like such a noob
thanks for helping me out

If you still have the ZIP file from Windows, or access to the original, let’s do the following (which is how my guide has it (slightly different wording)

sudo sh
cd /var/lib/plexmediaserver
mv Library Library.keep                    # save this if needed
cp  /path/to/ZIP/from/windows.ZIP .
unzip windows.ZIP
#
# Verify you have both a Library and a Library.keep directory. 
# If not, stop here and show me what you do have.
ls -la
#
#
# Assuming you do have a Library directory
chown -R plex:plex ./Library
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;

# Now your WIndows metadata is here.

# You should be able to
cd "Library/Appliation Support/Plex Media Server"

# verify the files are there
ls -la

# IF NOT,  something went wrong with the zip

Alright, some of my users are syncing files right now for their offline use as my PMS is often turned off lately. I work evening shifts at the hospital, so i’ll sit down and do what you suggested once i get home after work and let you know of the results.
thanks for your patience and much needed help Chuck :slight_smile:

well.
I just encountered another problem. Seems my /root is not big enough.
nonetheless.
i didnt sudo sh cuz i’m already root, am i right to think like this?

so i did this:

and these are the results:

[root@localhost plexmediaserver]# unzip PMS-WIN.zip
Archive:  PMS-WIN.zip
   creating: Diagnostics/
   creating: Logs/
   creating: Logs/Installer Logs/
  inflating: Logs/Installer Logs/dd_vcredist_amd64_20161005171450.log  
  inflating: Logs/Installer Logs/dd_vcredist_amd64_20161005171450_000_vcRuntimeMinimum_x64.log  
  inflating: Logs/Installer Logs/dd_vcredist_amd64_20161005171450_001_vcRuntimeAdditional_x64.log  
  inflating: Logs/Installer Logs/dd_vcredist_amd64_20161116115056.log  
  inflating: Logs/Installer Logs/dd_vcredist_amd64_20161116115056_0_vcRuntimeMinimum_x64.log  
  inflating: Logs/Installer Logs/dd_vcredist_amd64_20161116115056_1_vcRuntimeAdditional_x64.log  
  inflating: Logs/Installer Logs/dd_vcredist_amd64_20180223144137.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20151220015551.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20151220015551_0_vcRuntimeMinimum_x86.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20151220015551_1_vcRuntimeAdditional_x86.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20151223140851.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20151223140851_000_vcRuntimeMinimum_x86.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20151223140851_001_vcRuntimeAdditional_x86.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20151230154658.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20160110210544.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20160130120100.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20160130120100_000_vcRuntimeMinimum_x86.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20160130120100_001_vcRuntimeAdditional_x86.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20160130120153.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20160217122019.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20160224081831.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20160320110645.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20160320111319.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20160331190835.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20160408144356.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20160427150154.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20160626190906.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20160626190906_000_vcRuntimeMinimum_x86.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20160626190906_001_vcRuntimeAdditional_x86.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20160626190942.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20160722111754.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20160730172125.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20160913124051.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20160913124051_000_vcRuntimeMinimum_x86.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20160913124051_001_vcRuntimeAdditional_x86.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20160913124104.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20161004120555.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20161004120555_000_vcRuntimeMinimum_x86.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20161004120555_001_vcRuntimeAdditional_x86.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20161004120621.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20161005110233.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20161005163035.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20161005163035_0_vcRuntimeMinimum_x86.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20161005163035_1_vcRuntimeAdditional_x86.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20161025123104.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20161025150931.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20161104085638.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20161105112144.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20161110094843.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20161124095902.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20161124100953.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20161219104153.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20170210085307.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20170410131135.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20170417131047.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20170427133449.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20170523143230.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20170601120836.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20170614123123.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20170614123754.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20170614124218.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20170614130201.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20170628102241.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20170628103140.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20170710191517.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20170804142017.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20170927132343.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20170927141017.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20171027113801.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20171104222518.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20171210151603.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20171210151728.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20171210152822.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20171218102715.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20171229133504.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20171229142653.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20180208145402.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20180208150519.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20180218180524.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20180223144022.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20180326164817.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20180326172228.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20180514102302.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20180514141855.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20180722165852.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20180821144939.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20180913134203.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20180921124817.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20181012125322.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20181102143318.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20181115155355.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20181122001434.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20181128143037.log  
  inflating: Logs/Installer Logs/dd_vcredist_x86_20181218103745.log  
  inflating: Logs/Installer Logs/Plex Media Server_20151116072408.log  
  inflating: Logs/Installer Logs/Plex Media Server_20151116072408_0_pms.log  
  inflating: Logs/Installer Logs/Plex Media Server_20151116073017.log  
  inflating: Logs/Installer Logs/Plex Media Server_20151223140805.log  
  inflating: Logs/Installer Logs/Plex Media Server_20151223140805_1_pms.log  
  inflating: Logs/Installer Logs/Plex Media Server_20151223141327.log  
  inflating: Logs/Installer Logs/Plex Media Server_20160130120154.log  
  inflating: Logs/Installer Logs/Plex Media Server_20160217122024.log  
  inflating: Logs/Installer Logs/Plex Media Server_20160224081833.log  
  inflating: Logs/Installer Logs/Plex Media Server_20160320110646.log  
  inflating: Logs/Installer Logs/Plex Media Server_20160320111201.log  
  inflating: Logs/Installer Logs/Plex Media Server_20160320111201_000_pms.log  
  inflating: Logs/Installer Logs/Plex Media Server_20160331190837.log  
  inflating: Logs/Installer Logs/Plex Media Server_20160408144358.log  
  inflating: Logs/Installer Logs/Plex Media Server_20160427150157.log  
  inflating: Logs/Installer Logs/Plex Media Server_20160626191212.log  
  inflating: Logs/Installer Logs/Plex Media Server_20160722111617.log  
  inflating: Logs/Installer Logs/Plex Media Server_20160722111617_000_pmsshutdown.log  
  inflating: Logs/Installer Logs/Plex Media Server_20160722111617_002_pms.log  
  inflating: Logs/Installer Logs/Plex Media Server_20160722112130.log  
  inflating: Logs/Installer Logs/Plex Media Server_20160730172039.log  
  inflating: Logs/Installer Logs/Plex Media Server_20160730172039_000_pmsshutdown.log  
  inflating: Logs/Installer Logs/Plex Media Server_20160730172039_002_pms.log  
  inflating: Logs/Installer Logs/Plex Media Server_20160730172345.log  
  inflating: Logs/Installer Logs/Plex Media Server_20160913123957.log  
  inflating: Logs/Installer Logs/Plex Media Server_20160913123957_000_pmsshutdown.log  
  inflating: Logs/Installer Logs/Plex Media Server_20160913123957_002_pms.log  
  inflating: Logs/Installer Logs/Plex Media Server_20160913124413.log  
  inflating: Logs/Installer Logs/Plex Media Server_20161004120454.log  
  inflating: Logs/Installer Logs/Plex Media Server_20161004120454_000_pmsshutdown.log  
  inflating: Logs/Installer Logs/Plex Media Server_20161004120454_002_pms.log  
  inflating: Logs/Installer Logs/Plex Media Server_20161004120806.log  
  inflating: Logs/Installer Logs/Plex Media Server_20161005110227.log  
  inflating: Logs/Installer Logs/Plex Media Server_20161005110227_000_pmsshutdown.log  
  inflating: Logs/Installer Logs/Plex Media Server_20161005110227_002_pms.log  
Logs/Installer Logs/Plex Media Server_20161005110227_002_pms.log:  write error (disk full?).  Continue? (y/n/^C) 

if it can help, I have a root of 54gb, swap of 17gb, home of 1.9tb and a pool of 6tb where i keep all my movies and such (that i still dont know how to access)

[root@localhost plexmediaserver]# ls -la
total 19232596
drwxr-xr-x.  5 plex plex          76 Feb 24 02:38 .
drwxr-xr-x. 61 root root        4096 Feb 21 23:49 ..
drwxr-xr-x.  2 root root           6 Feb 24 02:38 Diagnostics
drwxr-xr-x.  3 plex plex          33 Feb 21 23:52 Library.keep
drwxr-xr-x.  3 root root          28 Feb 24 02:38 Logs
-rwxr--r--.  1 root root 19694169390 Feb 24 02:38 PMS-WIN.zip

from what i can see, i only have Library.keep

[root@localhost ~]# df -h
Filesystem               Size  Used Avail Use% Mounted on
/dev/mapper/centos-root   50G   50G   16K 100% /
devtmpfs                  16G     0   16G   0% /dev
tmpfs                     16G   12K   16G   1% /dev/shm
tmpfs                     16G   91M   16G   1% /run
tmpfs                     16G     0   16G   0% /sys/fs/cgroup
/dev/sda1               1014M  268M  747M  27% /boot
/dev/mapper/centos-home  1.8T   24G  1.8T   2% /home
tmpfs                    3.2G   52K  3.2G   1% /run/user/1000
tmpfs                    3.2G  4.0K  3.2G   1% /run/user/42
tmpfs                    3.2G   52K  3.2G   1% /run/user/0
/dev/md0                 5.5T  2.3T  3.2T  42% /run/media/root/c959b441-08ff-4a80-adcf-6ee256c01ce9

i am about to sleep.

While I sleep:

  1. mkdir -p “/home/plexdata/Library/Application Support/Plex Media Server”
  2. cd “/home/plexdata/Library/Application Support/Plex Media Server”
  3. unzip your ZIP file there.

This becomes complicated.

Now, adapt this How-To to work with this new location and your ZIP file (which appears to have been created too deeply within the Plex Directory on your windows machine.

The focal point here you seek is "Plex Media Server.

In the “Plex Media Server” directory is where you will see “Logs”, “Metadata” and other directories.

thanks Chuck, I’m about to sleep too. I had to hard power off my new server as the root is full and i couldn’t do anything. i’m going to see what happens tomorrow, otherwise i’ll just have to reinstall Centos. I’ll let you know goodnight!

well just to update, i was able to save my new server in rescue mode with 100kb of disk space on /root. i’ve moved the library.keep and pms-win.zip to /home to liberate some space until i figure out how to resize my root. one thing at a time lol

Hi again Chuck
Sorry it’s been a few months but life got in the way of my hair pulling project.
I’m just too stubborn to give up.

I tried :

[quote=“ChuckPA, post:11, topic:379363”]
mkdir -p “/home/plexdata/Library/Application Support/Plex Media Server”
[/quote].

but it just makes a million folders. exemple:
/home/aurelie/“/home/plexdata/Library/Application
/home/plexdata/Library/’’
/home/plexdata/Library/’’/home
/home/plexdata/Library/’’/home/plexdata
/home/plexdata/Library/’’/home/plexdata/Library/
/home/plexdata/Library/’’/home/plexdata/Library/Application
/home/plexdata/Library/Application
/home/plexdata/Library/Media
/home/plexdata/Library/Support
/home/plexdata/Library/Support/Plex

Can I just uninstall PMS completly on Centos and start from scratch? so that we can start from a clean slate. I just want to uninstall plex completly and install from the beginning. what would be the best way to do that?

I’ve made a new zip of my metadata from my windows side. but haven’t unzipped it.

thanks Chuck

To COMPLETELY uninstall

sudo sh
rpm -e plexmediaserver
userdel plex
groupdel plex
rm -rf /var/lib/plexmediaserver
rm -rf /etc/systemd/system/plexmediaserver.service.d

The above does:

  1. removes the package
  2. deletes user plex
  3. deletes group plex
  4. deletes /var/lib/plexmediaserver
  5. deletes the overrride (if you got this far)

You can manually clean up those other directories you tried to create.

I would then reboot and start fresh

Thank you very much Chuck.
I’ve been wondering what was the exact coding to delete /var/lib/plexmediaserver
I’ll try all this and let you know if there’s anything that goes wrong, otherwise I’ll reboot and I’ll start fresh

I will be around.

Hi Chuck.
that worked thank god.
even though it gave me a few errors

sh-4.2# rpm -e plexmediaserver
error: package plexmediaserver is not installed
sh-4.2# userdel plex
userdel: user 'plex' does not exist
sh-4.2# groupdel plex
sh-4.2# rm -rf /var/lib/plexmediaserver
sh-4.2# 

i checked /var/lib and usr/lib and everything is deleted. i cleaned up those directories i tried to create.

now to start fresh. i ve looked around the forum for a legit guide to install plex on centos 7, but they all have something different. would you recommend one in particular?

I just want to do this properly, i know the permissions and firewall stuff are very important on linux distros (ive learned that the hard way)

thanks again Chuck

this is what i had used when i first got my server

sudo yum update && sudo yum install wget
wget https://downloads.plex.tv/plex-media-server/1.12.3.4973.215c28d86/plexmediaserver-1.12.3.4973-215c28d86.x86_64.rpm
sudo yum install plexmediaserver*.rpm
sudo systemctl enable plexmediaser.service
sudo systemctl start plexmediaserver.service
ssh aurelie@192.168.0.124 -L 8888:localhost:32400

i feel like theres something important missing in my steps

Yep, a few things missing and easily streamlined. The guide you found interjected Debian/Ubuntu into Centos. :man_facepalming: :slight_smile:

  1. download the file to install
  2. cd to the Downloads directory where the file is
  3. sudo yum install ./plexmediaserver—blah-blah-.rpm

I start PMS on a fresh install (ps -ef will show this).

  1. sudo systemctl enable plexmediaserver (should also be enabled too)
  2. ssh -L 8888.127.0.0.1:32400 ip.addr.of.remote-if-not-on-this-subnet
  3. In browser, open http://127.0.0.1:8888/web

(localhost may be defined as IPv6 on some systems. We specifically want the IPv4 loopback)

Great :woman_facepalming:t2: For us Linux newbies that’s how we break things without knowing (interjected guides)

Should I make the plex user and group before or after the install of pms?
What about firewalld, should I do something as well?

Thanks for your patience, I think you are more patient than my plex users who are in complete plex withdrawals for the last 2 weeks :joy: