Using Plex Media Server in Unraid Docker Container.
All seemed to be working well. Movie and TV libraries run smoohtly. I also have a fairly extensive music library. When I select “scan library files”, it scans music artists and albums. However, the scan doesn’t complete, but stops or stalls. I can then restart it and it continues.
Is my library just too large or anything I can try to have Plex complete the scan?
Same thing, for the past 4 days, no music added to Plex gets picked up. Scan never seems to happen.
Edit:
May 09, 2025 17:32:48.179 [22596633082680] Error — SQLITE3:0x80000001, 11, database corruption at line 69165 of [a29f994989]
May 09, 2025 17:32:48.179 [22596633082680] Error — SQLITE3:0x80000001, 11, statement aborts at 7: [SELECT di.`id` FROM directories di WHERE di.`library_section_id`=:C1] database disk image is malformed
May 09, 2025 17:32:48.183 [22596633082680] Error — LibraryUpdater: exception updating libraries; pausing updates briefly before retrying: std::exception
This is the most serious one. If your DNS resolver doesn’t deliver a valid IP for the domain plex.tv (and its subdomains), your Plex server won’t work.
Check your internet filters, VPNs, or DNS server settings. Access to plex.tv must not be blocked.
If you must, set the “DNS server” setting in your router to eiother Google’s 8.8.8.8 or Cloudflare’s 1.1.1.1
Settings - Server - ‘Show Advanced’ - Network - “List of IP addresses and networks that are allowed without auth”
If you want to exclude a whole subnetwork, you don’t use the asterisk as a placeholder.
Use the IP address/netmask notation instead. https://support.plex.tv/articles/200430283-network/
In your case, that would be most likely 192.168.11.0/255.255.255.0
That is all I could glean from this source.
Next time, please just drag the zip file into the message editor of this here forum.
No idea why plex.tv is being blocked. I can access it well. I suspect this may be an CGNAT issue. I have disabled remote access for Plex (I don’t use it remotely anyways) and error no longer shows in the logs. So, maybe this addresses it?
I stll get dozens of “invalid argument / system 22” issue. Any idea what’s driving this? i have not changed the seeting you suggest above. WIll try this now, but curious why I would need to exclude networks?
This field is not populated by default.
You must have put the original, wrong content in there. Probably in an attempt to make it work in the case of an internet outage.
I didn’t put in anything? It was empty. Can I keep it empty? I still keep getting the “22 error” in the logs. The plex.tv error no longer shows up though.
Mmh… Very weird. I have set “LAN Networks” to 192.168.11.*, but “List of IP addresses and networks that are allowed without auth” had been empty. Shall I keep both empty?
Then change that one instead. Putting an invalid address in there has consequences that you won’t like. Unnecessary transcoding, or even complete failure of playback, depending on the type of client.
Normally it should suffice to keep it empty. Only if your home network is consisting of more than one subnet, you will need something in there.
But that can easily happen if you use a containerized version of the server. I seem to remember that this is the case on unraid, but I’m not sure.
If you see a setting to use “host network”, activate that.
My correction above is assuming that all IP adresses in your home network do indeed look like 192.168.11.xxx