[Plex] File is read-only

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
RollingDutch
Posts: 34
Joined: Thu Mar 18, 2021 9:08 am
Contact:

[Plex] File is read-only

Post by RollingDutch »

Just installed Plex on a Pi4, and with dietpi-drive_manager added the movies to /mnt/dietpi_userdate. This is neatly filled (@volume1/Movies) and such. However, the libraries are not filled. Checked some logfiles and noticed there was a problem with creating a grab file. So, I checked, and found out that /mnt is readonly. I can't change it with chmod-ding it. Must be something I overlook, but no clue as to what.
User avatar
Joulinar
Posts: 5147
Joined: Sat Nov 16, 2019 12:49 am

Re: [Plex] File is read-only

Post by Joulinar »

Hi,

be default /mnt directly is writable for root user only. Better to create a sub directory inside /mnt and assign appropriate authorization for your application user. usually it should be enough to give write permission for dietpi user group
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
RollingDutch
Posts: 34
Joined: Thu Mar 18, 2021 9:08 am
Contact:

Re: [Plex] File is read-only

Post by RollingDutch »

Okay, I thought to keep it like it was in the instructions

I now have /mnt/Media and gave that folder (at least I think I did) chown to dietpi/dietpi (in midnight Commander)
Last edited by RollingDutch on Fri Jul 16, 2021 12:46 pm, edited 1 time in total.
User avatar
Joulinar
Posts: 5147
Joined: Sat Nov 16, 2019 12:49 am

Re: [Plex] File is read-only

Post by Joulinar »

what instructions you are referring to?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
RollingDutch
Posts: 34
Joined: Thu Mar 18, 2021 9:08 am
Contact:

Re: [Plex] File is read-only

Post by RollingDutch »

Maybe not really instructions per se, but
Please follow the onscreen instructions to complete the setup wizard:

Create your Plex account by signing up.
Give your server a name (e.g.: DietPi-Plex)
Click library to setup your media locations:


/mnt/dietpi_userdata/Music
/mnt/dietpi_userdata/Video
You can also mount Samba/NFS shares by running dietpi-drive_manager and selecting Mount network drive from the menu.
User avatar
Joulinar
Posts: 5147
Joined: Sat Nov 16, 2019 12:49 am

Re: [Plex] File is read-only

Post by Joulinar »

ok but you tried to write directly to /mnt/ and not /mnt/dietpi_userdata/Video or /mnt/dietpi_userdata/Music
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
RollingDutch
Posts: 34
Joined: Thu Mar 18, 2021 9:08 am
Contact:

Re: [Plex] File is read-only

Post by RollingDutch »

Treid that as well, but still those fiolders are empty.

to be honest, I'm lost now. Dietpi has helped me often to make things easier, but this time, I really don't know.
User avatar
Joulinar
Posts: 5147
Joined: Sat Nov 16, 2019 12:49 am

Re: [Plex] File is read-only

Post by Joulinar »

any error message if you try to write something /mnt/dietpi_userdata/<folder>?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
RollingDutch
Posts: 34
Joined: Thu Mar 18, 2021 9:08 am
Contact:

Re: [Plex] File is read-only

Post by RollingDutch »

Yes, I get

[ Error writing test.txt: Read-only file system ]
(Tried to write nano test.txt)

However, when I go to /mnt/dietpi_userdata/volume1/Movies, I can do write a text file.
User avatar
Joulinar
Posts: 5147
Joined: Sat Nov 16, 2019 12:49 am

Re: [Plex] File is read-only

Post by Joulinar »

to which directory you tried to write the test file? And do you write the file out of an application?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply