# Windows to Ubuntu Linux

**URL:** <https://forums.plex.tv/t/windows-to-ubuntu-linux/934718>\
**Category:** Plex Media Server\
**Tags:** server-linux\
**Created:** [December 21, 2025, 10:26pm UTC](https://forums.plex.tv/t/windows-to-ubuntu-linux/934718 "2025-12-21T22:26:50Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![mike4939](https://avatars.discourse-cdn.com/v4/letter/m/db5fbb/32.png) [@mike4939](https://forums.plex.tv/u/mike4939)\
**Post date:** [December 21, 2025, 10:26pm UTC](https://forums.plex.tv/t/windows-to-ubuntu-linux/934718/1 "2025-12-21T22:26:50Z")

</div>

Server Version#:1.42.2.10156  
Player Version#:  
\<If providing [server logs](https://support.plex.tv/articles/200250417-plex-media-server-log-files/) please do NOT turn on verbose logging, only [debug logging](https://support.plex.tv/articles/201643703-reporting-issues-with-plex-media-server/#toc-1) should be enabled\>

I have Plex running on a win 11 computer and plan to back up format all system and then switch to Ubuntu Linux 24.04.3 LTS. This will be on the same hardware and not dual boot.

I want to be able to save the watch history for my shows and music playlist.

what files do I need to back up under windows and where would I restore those in the new Linux environment,

Here it list the [Plex data folder](https://support.plex.tv/articles/202915258-where-is-the-plex-media-server-data-directory-located/) on each OS

[https://support.plex.tv/articles/202915258-where-is-the-plex-media-server-data-directory-located/](https://support.plex.tv/articles/202915258-where-is-the-plex-media-server-data-directory-located/)

Do I just back up that folder in windows and then restore everything to the path shown for Linux?

I found this article but this looks more like its written for those moving to different hardware, same OS.

[https://support.plex.tv/articles/201370363-move-an-install-to-another-system/](https://support.plex.tv/articles/201370363-move-an-install-to-another-system/)

---

<div class="post-metadata">

**Author:** ![FordGuy61](https://avatars.discourse-cdn.com/v4/letter/f/22d042/32.png) [@FordGuy61](https://forums.plex.tv/u/FordGuy61)\
**Post date:** [December 21, 2025, 11:05pm UTC](https://forums.plex.tv/t/windows-to-ubuntu-linux/934718/2 "2025-12-21T23:05:40Z")

</div>

See Linux Tips: [Migration from another OS to Linux](https://forums.plex.tv/t/linux-tips/276247/23).

Review the entire [Linux Tips](https://forums.plex.tv/t/linux-tips/276247) document. It has additional information that will help with running Plex on Linux.

Enable [Sync Watch State & Ratings](https://support.plex.tv/articles/sync-watch-state-and-ratings/) for your account. Have anyone you share with enable it for their account as well.

---

<div class="post-metadata">

**Author:** ![mike4939](https://avatars.discourse-cdn.com/v4/letter/m/db5fbb/32.png) [@mike4939](https://forums.plex.tv/u/mike4939)\
**Post date:** [December 22, 2025, 12:26am UTC](https://forums.plex.tv/t/windows-to-ubuntu-linux/934718/3 "2025-12-22T00:26:15Z")

</div>

So when you say to enable Sync if I do that on my desktop in settings does that enable it for all managed users I have created in my home? Or is that just for other plex users I share with that have their own accounts I would have to also ask to do so?

When I copy my media files back to my extra internal drive which will be now ext4 I will then have to give the plex user permissions to those directories, correct?

Those articles seem like they will be very helpful. Thanks for that. I probably will migrate over to Linux over the holiday break.

---

<div class="post-metadata">

**Author:** ![FordGuy61](https://avatars.discourse-cdn.com/v4/letter/f/22d042/32.png) [@FordGuy61](https://forums.plex.tv/u/FordGuy61)\
**Post date:** [December 22, 2025, 3:33am UTC](https://forums.plex.tv/t/windows-to-ubuntu-linux/934718/4 "2025-12-22T03:33:27Z")

</div>

> [@mike4939](#):
>
> So when you say to enable Sync if I do that on my desktop in settings does that enable it for all managed users I have created in my home?

You have to enable it for managed users in your Plex Home. They cannot enable it themselves. Using Plex Web, go to your Plex Home page, edit the user. The setting is on the Libraries tab.

Note you must edit the managed user to change the setting. You cannot set it when creating the managed user (I did not see it when creating a managed user). It is disabled by default.

At the end of [Sync Watch State & Ratings](https://support.plex.tv/articles/sync-watch-state-and-ratings/):

#### Is this available for Managed Users?

An individual managed user cannot alter this setting themselves. However, the admin of the Plex Home can adjust it for a particular managed user from the [Plex Home management](https://app.plex.tv/desktop/#!/settings/plex-home) page.

> [@mike4939](#):
>
> Or is that just for other plex users I share with that have their own accounts I would have to also ask to do so?

Users with regular Plex accounts (created w/ an e-mail & password at [plex.tv](http://plex.tv)), have to enable it themselves. You cannot enable it for them. It does not matter if they are in your Plex Home or not.

> [@mike4939](#):
>
> When I copy my media files back to my extra internal drive which will be now ext4 I will then have to give the plex user permissions to those directories, correct?

Correct.

The user plex needs at least read-only permission to the media files. If you are creating optimized versions, recording live tv (live tv & dvr), etc. then plex will also need write permission.

In the Linux Tips doc, see the first item, [Using Other Hard Drives (Windows or Linux) with PMS.](https://forums.plex.tv/t/linux-tips/276247/2), section F. Correct (set) Linux file permissions (ext4 drives only).

---

<div class="post-metadata">

**Author:** ![mike4939](https://avatars.discourse-cdn.com/v4/letter/m/db5fbb/32.png) [@mike4939](https://forums.plex.tv/u/mike4939)\
**Post date:** [December 22, 2025, 3:23pm UTC](https://forums.plex.tv/t/windows-to-ubuntu-linux/934718/5 "2025-12-22T15:23:53Z")

</div>

Awesome, Thanks!

I got the Sync Watch setting enabled for myself and the two Managed users I have. It was on for me but not for them. I also do not recall seeing that setting when creating them but it is there after to enable.

I do have an HD Homerun tuner and use Live TV & DVR, so read and write will be given.

I hope to have this all completed soon. I’ll have to post back the results. Hopefully all goes well.

---

<div class="post-metadata">

**Author:** ![mike4939](https://avatars.discourse-cdn.com/v4/letter/m/db5fbb/32.png) [@mike4939](https://forums.plex.tv/u/mike4939)\
**Post date:** [December 27, 2025, 2:05am UTC](https://forums.plex.tv/t/windows-to-ubuntu-linux/934718/6 "2025-12-27T02:05:41Z")

</div>

I got plex installed now but can’t play any media yet. I think the issue is permissions

I have my media on a separate drive mounted at /mnt/mymedia.

I have 3 folders there: TVshows, movies and music

I tried to make plex the owner and restarted but hat didn’t seem to help. I changed it back to my account as the owner. I don know how to grant plex access properly. Help!

---

<div class="post-metadata">

**Author:** ![napolij](https://avatars.discourse-cdn.com/v4/letter/n/a4c791/32.png) [@napolij](https://forums.plex.tv/u/napolij)\
**Post date:** [December 27, 2025, 4:32am UTC](https://forums.plex.tv/t/windows-to-ubuntu-linux/934718/7 "2025-12-27T04:32:46Z")

</div>

Probably permissions.

If you type “mount” in a terminal window, what does the line for /mnt/mymedia say?

I am guessing that since you migrated from Windows → Linux, the filesystem on your media drive is either NTFS or a FAT filesystem. Is that the case?

---

<div class="post-metadata">

**Author:** ![mike4939](https://avatars.discourse-cdn.com/v4/letter/m/db5fbb/32.png) [@mike4939](https://forums.plex.tv/u/mike4939)\
**Post date:** [December 27, 2025, 5:29am UTC](https://forums.plex.tv/t/windows-to-ubuntu-linux/934718/8 "2025-12-27T05:29:54Z")

</div>

The file system is ext4. I backed up everything to an expansion drive and copied it back after formatting my drives to a linux native file system.

In my FSTAB file I have the drive with my plex media mounted to /mnt/mymedia, then have 3 directories for each media type in on the drive

In the plex web interface I cant seem to browse to them like I could in windows.  
Im definitely not doing something correctly.

---

<div class="post-metadata">

**Author:** ![napolij](https://avatars.discourse-cdn.com/v4/letter/n/a4c791/32.png) [@napolij](https://forums.plex.tv/u/napolij)\
**Post date:** [December 27, 2025, 5:45am UTC](https://forums.plex.tv/t/windows-to-ubuntu-linux/934718/9 "2025-12-27T05:45:41Z")

</div>

Sorry if I’m asking dumb questions… I’m till learning a lot of this stuff. Have you claimed the new server? I think I recall reading a post where someone was having very similar issues and needed to claim the server.

---

<div class="post-metadata">

**Author:** ![mike4939](https://avatars.discourse-cdn.com/v4/letter/m/db5fbb/32.png) [@mike4939](https://forums.plex.tv/u/mike4939)\
**Post date:** [December 27, 2025, 5:57am UTC](https://forums.plex.tv/t/windows-to-ubuntu-linux/934718/10 "2025-12-27T05:57:15Z")

</div>

Yep, I did get the prompt to claim it and completed that part. My media all shows up in Plex web but is unavailable to play. When I go to edit the location the path is still there from the former windows install but I can’t seem to access the correct new path to add it in correctly.

---

<div class="post-metadata">

**Author:** ![napolij](https://avatars.discourse-cdn.com/v4/letter/n/a4c791/32.png) [@napolij](https://forums.plex.tv/u/napolij)\
**Post date:** [December 27, 2025, 12:38pm UTC](https://forums.plex.tv/t/windows-to-ubuntu-linux/934718/11 "2025-12-27T12:38:04Z")

</div>

Ok, sounds like you are very close. Just so I’m clear on where things stand…

What are the ownership/permissions on:

/mnt

/mnt/mymedia

/mnt without mymedia mounted

---

<div class="post-metadata">

**Author:** ![mike4939](https://avatars.discourse-cdn.com/v4/letter/m/db5fbb/32.png) [@mike4939](https://forums.plex.tv/u/mike4939)\
**Post date:** [December 27, 2025, 2:43pm UTC](https://forums.plex.tv/t/windows-to-ubuntu-linux/934718/12 "2025-12-27T14:43:15Z")

</div>

here is what is have for /mnt

 ![Screenshot from 2025-12-27 09-33-18](https://global.discourse-cdn.com/plex/original/4X/d/4/9/d49aaa6df4e6f38d51370df49bbcf087d123a413.png)

for /mnt/mymedia

ike@TheBorg:/mnt/mymedia$ ls -la  
total 152  
drwx------ 7 mike mike 4096 Dec 26 18:16 .  
drwxr-xr-x 4 root root 4096 Dec 26 09:31 ..  
drwx------ 2 root root 16384 Dec 26 08:20 lost+found  
drwxrwxr-x+ 257 mike plex 20480 Dec 12 21:35 movies  
drwxr-xr-x+ 933 mike plex 94208 Dec 19 20:40 music  
drwxr-xrwx+ 142 mike plex 12288 Dec 24 06:50 TVshows  
drwxr-xr-x 2 mike mike 4096 Dec 27 2024 videos

If I unmount the drive this is what I have

mike@TheBorg:/mnt/mymedia$ ls -la  
total 8  
drwxr-xr-x 2 root root 4096 Dec 26 09:31 .  
drwxr-xr-x 4 root root 4096 Dec 26 09:31 ..  
mike@TheBorg:/mnt/mymedia$

---

<div class="post-metadata">

**Author:** ![napolij](https://avatars.discourse-cdn.com/v4/letter/n/a4c791/32.png) [@napolij](https://forums.plex.tv/u/napolij)\
**Post date:** [December 27, 2025, 3:17pm UTC](https://forums.plex.tv/t/windows-to-ubuntu-linux/934718/13 "2025-12-27T15:17:39Z")

</div>

Ok, let’s start by getting consistent ownership and permissions set. You haven’t mentioned anything about changing the way PMS is setup and running. I will conclude the it is running as the plex user with plex owner/group settings. I’d proceed like so:

cd /mnt

chown -R plex:plex mymedia

This will change the owner & group of all the files & directories to owner plex, group plex

You didn’t list the permissions on /mnt specifically (ls -lad /mnt) but you will want to make sure the plex user has read and execute permissions. chmod 755 /mnt will accomplish that.

You may also want to consider making a separate mount point for your media. This is my personal preference. For my workflow, I tend to treat /mnt as a temporary mountpoint. One that I can fiddle with ownership & permissions as need be. For more permanent mounts, I like to have dedicated ones. In my case, my media disk is mounted under /plexmedia as /plexmedia/plex. If I add another disk in the future, I’ll mount it as /plexmedia/plex2. At least for me, it keeps thing tidier in my head.

Try those changes and see if that helps. You’ll probably need to make some changes for write permissions in the future but lets get PMS seeing your media first.

---

<div class="post-metadata">

**Author:** ![mike4939](https://avatars.discourse-cdn.com/v4/letter/m/db5fbb/32.png) [@mike4939](https://forums.plex.tv/u/mike4939)\
**Post date:** [December 27, 2025, 3:37pm UTC](https://forums.plex.tv/t/windows-to-ubuntu-linux/934718/14 "2025-12-27T15:37:34Z")

</div>

Thanks that actually got me to where I can get the files to be seen and matched to my old libraries in windows.  
I had planned to have a chat with ChuckPA after 1pm. It seems we are practically neighbors. I think It’s in my best interest to still be that just to make sure I have the permissions set right and didn’t muck things up trying on my own.

---

<div class="post-metadata">

**Author:** ![napolij](https://avatars.discourse-cdn.com/v4/letter/n/a4c791/32.png) [@napolij](https://forums.plex.tv/u/napolij)\
**Post date:** [December 27, 2025, 3:43pm UTC](https://forums.plex.tv/t/windows-to-ubuntu-linux/934718/15 "2025-12-27T15:43:02Z")

</div>

Sounds good, you’ve made progress. ChuckPA is super helpful and a great resource. It is definitely in your best interest to feel comfortable with the changes being made, why they are being made, etc. That can only help you in the future as your system grows.

---

<div class="post-metadata">

**Author:** ![mike4939](https://avatars.discourse-cdn.com/v4/letter/m/db5fbb/32.png) [@mike4939](https://forums.plex.tv/u/mike4939)\
**Post date:** [December 28, 2025, 12:40am UTC](https://forums.plex.tv/t/windows-to-ubuntu-linux/934718/16 "2025-12-28T00:40:27Z")

</div>

I’m still getting no write access when trying to record TV. I thought that was resolved.

this is what I have for permissions

mike@TheBorg:/mnt/mymedia$ ls -la  
total 152  
drwxr-xr-x 7 plex plex 4096 Dec 27 15:32 .  
drwxr-xr-x 4 root root 4096 Dec 27 15:33 ..  
drwxr-xr-x 2 plex plex 16384 Dec 26 08:20 lost+found  
drwxr-xr-x+ 257 plex plex 20480 Dec 12 21:35 movies  
drwxr-xr-x+ 933 plex plex 94208 Dec 19 20:40 music  
drwxrwsr-x+ 142 mike dvr 12288 Dec 24 06:50 TVshows  
drwxr-xr-x 2 plex plex 4096 Dec 27 2024 videos

still when I schedule a recording to go to the TVshows library it will fail with error “no write access to "destination”

---

<div class="post-metadata">

**Author:** ![napolij](https://avatars.discourse-cdn.com/v4/letter/n/a4c791/32.png) [@napolij](https://forums.plex.tv/u/napolij)\
**Post date:** [December 28, 2025, 12:49am UTC](https://forums.plex.tv/t/windows-to-ubuntu-linux/934718/17 "2025-12-28T00:49:34Z")

</div>

Only mike & users in the group dvr can write to your TVshows directory. Have you added user plex to the dvr group? If you did, did you restart PMS?

The other question I’ll ask is this, is Plex doing the dvr recording? Or is it another app and it is trying to put the recorded files in the media directory?

---

<div class="post-metadata">

**Author:** ![mike4939](https://avatars.discourse-cdn.com/v4/letter/m/db5fbb/32.png) [@mike4939](https://forums.plex.tv/u/mike4939)\
**Post date:** [December 28, 2025, 12:56am UTC](https://forums.plex.tv/t/windows-to-ubuntu-linux/934718/18 "2025-12-28T00:56:24Z")

</div>

plex is a member of the dvr group so is my user.

mike@TheBorg:/mnt/mymedia$ getent group dvr  
dvr:x:1001:mike,plex

Plex is doing the recording and now that I think about it maybe plex was not restarted so I will have to try that.

---

<div class="post-metadata">

**Author:** ![mike4939](https://avatars.discourse-cdn.com/v4/letter/m/db5fbb/32.png) [@mike4939](https://forums.plex.tv/u/mike4939)\
**Post date:** [December 28, 2025, 1:03am UTC](https://forums.plex.tv/t/windows-to-ubuntu-linux/934718/19 "2025-12-28T01:03:25Z")

</div>

I tried stopping it and restarting the service with the systemctl commands, still same error

---

<div class="post-metadata">

**Author:** ![napolij](https://avatars.discourse-cdn.com/v4/letter/n/a4c791/32.png) [@napolij](https://forums.plex.tv/u/napolij)\
**Post date:** [December 28, 2025, 1:09am UTC](https://forums.plex.tv/t/windows-to-ubuntu-linux/934718/20 "2025-12-28T01:09:20Z")

</div>

Is the recording going to an already existing folder under TVshows? If so, is group write permission set correctly?

[Next page](https://forums.plex.tv/t/windows-to-ubuntu-linux/934718.md?page=2)
