Plex Media Server Logs_2021-02-26_17-26-24.zip (225.7 KB)
Server Version#: 1.21.4.4079
Player Version#: N/A
well, something is definitely broken. Again… I’ve been able to finally get iTunes import to work a month ago. In the meantime I’ve updated Plex Server to the most recent version. I’ve made some edits to my iTunes library. After that, I rescanned that specific library in Plex. I also exported the iTunes library xml file from Apple’s Music app. And again, I made sure the path settings in that xml file were correct, just like it was when I finally got the iTunes import to work a month ago.
But now? Nothing…
This is the relevant part of the log:
Feb 26, 2021 17:06:39.429 [0x7f7115ffb700] DEBUG - File "/opt/Bibliotheek.xml" changed: 2021-02-26 16:50:40 (1614354640) => 2021-02-26 17:06:37 (1614355597).
Feb 26, 2021 17:06:39.429 [0x7f7115ffb700] INFO - DatabaseLoader::handleChangedFile(0x2e402d0)
Feb 26, 2021 17:06:39.661 [0x7f7115ffb700] DEBUG - iTunes: Reading XML files...
Feb 26, 2021 17:06:39.661 [0x7f7115ffb700] DEBUG - iTunes: Reading XML file: /opt/Bibliotheek.xml
Feb 26, 2021 17:06:42.334 [0x7f7115ffb700] INFO - iTunes: parsed library in 0.0 seconds.
Feb 26, 2021 17:06:42.334 [0x7f7115ffb700] DEBUG - Loading com.plexapp.plugins.itunes is complete (success=1)
Feb 26, 2021 17:06:42.529 [0x7f7115ffb700] ERROR - Couldn't rename file "/config/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.itunes-new.db-shm" to "/config/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.itunes.db-shm": No such file or directory
Feb 26, 2021 17:06:42.530 [0x7f7115ffb700] ERROR - Couldn't rename file "/config/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.itunes-new.db-wal" to "/config/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.itunes.db-wal": No such file or directory
Feb 26, 2021 17:06:42.532 [0x7f7115ffb700] DEBUG - iTunes: There are 0 audio tracks and 0 video tracks.
Never mind the Couldn't rename file bla bla bla error, as that hasn’t been the culprit before either, as I described in an earlier post. The sqlite database is now empty, as to my surprise. I have tried rolling back to a previous version of Plex Server, that didn’t “fix” the iTunes import. I have even restored the com.plexapp.plugins.itunes.db* database files from a backup from 3 weeks ago. Those had content, I checked what was in it before I started Plex Server again. And what surprised me, is that when Plex Server was up and running: it had deleted the contents of the iTunes db.
