Leverz Posted July 26, 2023 Share Posted July 26, 2023 Plex is not starting, with the error Error: Unable to set up server: sqlite3_statement_backend::loadOne: attempt to write a readonly database (N4soci10soci_errorE) I'm unsure how to fix this, I tried changing permission to the data setting it to read and write for all to check, but this did not change anything. The plex logs are essentially Starting Plex Media Server. [services.d] done. Error: Unable to set up server: sqlite3_statement_backend::loadOne: attempt to write a readonly database (N4soci10soci_errorE) Stopping Plex Media Server. Starting Plex Media Server. Error: Unable to set up server: sqlite3_statement_backend::loadOne: attempt to write a readonly database (N4soci10soci_errorE) Stopping Plex Media Server. Starting Plex Media Server. Error: Unable to set up server: sqlite3_statement_backend::loadOne: attempt to write a readonly database (N4soci10soci_errorE) Stopping Plex Media Server. Starting Plex Media Server. Error: Unable to set up server: sqlite3_statement_backend::loadOne: attempt to write a readonly database (N4soci10soci_errorE) Stopping Plex Media Server. I have also ran the sqlite app from plex, that when it scanned the db, it found no errors. In tools, I tried the "Docker Safe New Perms", and this did not correct the issue either. Any help would be great, thanks. diagnostics-20230726-0421.zip Quote Link to comment
jmztaylor Posted July 26, 2023 Share Posted July 26, 2023 Not the same error as this thread but I have seen this previously and did these steps to fix it. It might wipe out some watched history but it should get you back up and running. Quote Link to comment
Leverz Posted July 26, 2023 Author Share Posted July 26, 2023 Unfortunately, it still throws the same error. Quote Link to comment
Leverz Posted July 27, 2023 Author Share Posted July 27, 2023 So I put in a few install (disabled the old one), Linuxserver version. I got in, set up the shares it is scanning everything seems to be fine. I was considering stopping it, and dropping in the old DB files. Then I got this error. Starting Plex Media Server. . . (you can ignore the libusb_init error) PMS: failure detected. Read/write access is required for path: /config/Library/Application Support/Plex Media Server It repeats this. Quote Link to comment
Leverz Posted July 27, 2023 Author Share Posted July 27, 2023 (edited) This seems to be a problem with other docker applications too. I just had something similar with Sonarr. Search failed because its attempt to write a readonly database attempt to write a readonly database. Try refreshing the series info and verify the necessary information is present before searching again Should I close this thread and create a new one? Edited July 27, 2023 by Leverz Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.