Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Plex Not Starting (attempt to write a readonly database (N4soci10soci_errorE))

Featured Replies

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

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.

 

 

  • Author

Unfortunately, it still throws the same error.

  • Author

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.

  • Author

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 by Leverz

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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.