EROFS: read-only file system, open '/path/to/local-production.json'
Hello everyone, I’ve searched everywhere for this and found very little in relation to peertube as it seems to be a node.js error. I only get this when attempting to save the config in the web interface. Permissions are correct, paths are correct. I’m kind of at a loss. The rest of the system and installation is running perfectly. Any suggestions on where the issue may lie?
Manual installation, no docker, using Apache2 on Ubuntu 24.04
Thanks sincerely,
6
Hi, and how do you put on a normal installation?, Docker?, very little information to understand)
It’s a manual installation, no docker, using apache on Ubuntu 24.04, apologies.
Hi,
It seems your config directory (set by NODE_CONFIG_DIR
env variable) in on a read-only file system. PeerTube must have the ability to write in this directory .
Thanks, peertube is the owner of the directory in question with 755 permissions. Is there another requirement outside of this that would make it easier for peertube to write the directory?
Or the best way to change the config directory to try to write elsewhere. I see in the docs how to set it during install but i’m not sure how to change it after the installation has taken place.
Thanks to your questions I was able to figure it out the rest of the way. The issue was caused by the Protect System variable as our working directory was based in /usr/. I changed the directory to a different drive where we’re storing the rest of our application data and the issue resolved itself.
Thanks to everyone for your help!
6
1 Like
Can you mark the thread as solved please? (so it will be easier to find the solution for people with similar issues)