Issue Copying Configuration Files

Hello

I am trying to set up Plex on a Linux (Zorin OS 18 Ubuntu) PC so I can get rid of Windows. I installed PMS via the .deb file and can start the service, but I can’t copy the configuration files so I don’t need to start from scratch.

It tells me it failed because the destination is Read Only. I’ve been trying for hours to change user and read/write permissions but it either doesn’t work or tells me there is no such directory even though I copied it directly from the directory path.

I am not a computer programmer nor a Linux expert, so I am hoping someone can offer clear, non-technobabble help to get me set up.

Thanks.

Hi,
A couple questions:

  1. Did you select Zorrin because it’s supposed to a great alternative to Windows?

  2. How skilled are you at Linux ? (on a 1 → 10 scale, where 5 is that you understand basic Linux admin already)

I chose Zorin because I like the look and feel of it more than Mint or Ubuntu. Anything is a good alternative to Windows, especially now.

Basic Linux yes, Admin no. Not getting the root ownership and how to overcome it using most online instructions, which haven’t worked.
I finally found something n here that was close enough to let me copy the files, but I still don’t understand how Plex can access the config files if they are read only.

Plus now I try to start PMS and it hangs on “activating”…

Loaded: loaded (/usr/lib/systemd/system/plexmediaserver.service; enabled; preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Mon 2025-11-10 14:12:42 MST; 4s ago
Process: 10989 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: 10991 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_MODEL=“$(uname -m)”; export PL>
Main PID: 10991 (code=exited, status=1/FAILURE)

“Read-only” bothers me.

The default location for PMS configuration files (metadata) is in /var/lib/plexmediaserver.

It is part of the root (/) filesystem and owned by user plex.

You, as a regular user, would not have permission to access them.
as the root user, you would have that permission.

You need to be root user to setup the system and transfer the metadata


Looking at your latest post:

  1. open a terminal window
  2. sudo bash (get root privilege)
  3. cd "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server"
  4. tar cfz /tmp/PlexLogs.tar.gz ./Logs
  5. When this completes, go back to the browser and upload (attach /tmp/PlexLogs.tar.gz) with your next post. It will let me see what’s happening

Post the zipped folder, or something specific from it?

PlexLogs.tar.gz is too big to attach

do you have another place to upload them?
(new users are limited. Sorry I forgot that)

If you have a place, I’ll send you a DM to give me the link)

I don’t. This should not be this difficult.

Rather than the whole logs dir (3.8 MB),

Grab only the Plex Media Server.log and the .1.log

That should be small enough for a tar.gz

Plex Media Server.log (1.5 MB)

Plex Media Server.1.log (3.1 MB)

Is this what you meant?

Perfect! Thanks!

Give me a minute to read,

These are Windows log files.

Nov 08, 2025 16:06:28.319 [2008] INFO - Plex Media Server v1.31.3.6868-28fc46b27 - Microsoft PC x64 - build: windows-x86 windows - GMT -07:00
Nov 08, 2025 16:06:28.319 [2008] INFO - Windows version: 6.1 (Build 7601), language en-US
Nov 08, 2025 16:06:28.319 [2008] INFO - 2 1808 MHz processor(s): Architecture=0, Level=16, Revision=1539 Processor Identifier=AMD64 Family 16 Model 6 Stepping 3, AuthenticAMD
Nov 08, 2025 16:06:28.319 [2008] INFO - Compiler is - MSVC 1929

I’m going to go through the steps to confirm what you should have done as a checklist to identify what got missed.

  1. You made a ZIP of the Plex Media Server directory from the Windows machine.

  2. You installed Zorin

  3. As root (sudo bash), you did the apt update ; apt ugprade -y to get any needed updates (restarting if needed)

  4. Downloaded the 64 bit Ubuntu (DEB) package from plex.tv/downloads

  5. Installed it with sudo dpkg -i package_filename.deb

At this point, we should have directory /var/lib/plexmediaserver/Library/Application Support/Plex Media Server

PMS will be running (it’s an empty configuration at this point)

  1. From the terminal / command line window – Stop Plex
    sudo systemctl stop plexmediaserver

  2. Now we extract the ZIP file from windows (you want to overwrite ALL)
    cd "/var/lib/plexmediaserver/Library/Application Support"
    sudo unzip /path/to/Windows-Plex-file.zip

  3. When it finishes we fix all the ownership and permissions
    sudo chown -R plex:plex .
    sudo find . -type d -exec chmod 755 {} \;
    sudo find . -type f -exec chmod 644 {} \;

  4. Let’s delete all the old Windows log files so we start clean
    `sudo rm -rf “Plex Media Server/Logs”

  5. Start it up
    sudo systemctl start plexmediaserver

  6. Confirm it’s running (you should see processes listed)
    ps -ef | grep -i plex

Please advise your progress to this point

I did not make a zip file, I copied the config folder directly.

I don’t think I did the update/upgrade. Is that for Plex before Plex is installed?

Yes, I got the .deb and installed it and got the directory.

Im pretty sure I stopped the server and copied the config files

I did the first permission command.

After finishing the list it displays:

mediase+ 50564 16707 0 15:17 pts/0 00:00:00 grep --color=auto -i plex

The procedure you used, whomever wrote it, was incorrect.

I would like to start over.

On Windows:

  1. With Windows STOPped.
  2. Make a ZIP of the Plex Media Server folder which contains other subfolders (Cache, Codecs, Drivers, Logs, Media, Metadata, etc). This isn’t a ‘config’, it’s the actual “Server instance” (databases and all your metadata)
  3. Depending on the size of it to your home folder on Linux.
    IF YOU CAN’T, Stop here and let me know.

On Linux:

  1. Stop Plex - `sudo systemctl stop plexmediaserver
  2. Open a terminal window
  3. sudo bash (we want root privileges)
  4. `cd “/var/lib/plexmediaserver/Library/Application Support”
  5. rm -rf "Plex Media Server" (remove what was previously setup)
  6. Assuming your ZIP file from windows fit in your home folder, we’re going to unzip it into where Plex wants the files
    unzip ~/NameOfWindowsZipfile.zip -d .`
  7. You should see it create Plex Media Server and everything beneath it.

Report your status / progress

I completely uninstalled PMS. Something with the permissions you listed locked me out. I couldn’t manage apps or even their icons on the desktop and Firefox wouldn’t start.

I reset permissions to the username and will have to try to install Plex again after dinner.

I don’t need to zip the file because I have the drive from the old server PC plugged into the new one for a direct copy.

Confirming?

You’re going to mount the drive into Linux and then copy the files ?

If so, I have a better way to do this (faster than cp or zip) let me know when you’re back

Correct. I

Where is the HDD currently mounted ?

what’s the path to Plex Media Server on that NTFS volume?