Page 1 of 1

Subsonic doesn't remove deleted files from database

PostPosted: Sun Nov 29, 2020 3:25 am
by aox2
Hi,

Running latest Subsonic on a VPS with a Google Drive mounted using rclone. It works fine so far, except if I delete a file from the Google Drive folder, the file remains in the Subsonic database even after re-scanning the library and cleaning-up.

I've checked the file system and the file no longer shows up at its original location, so the Google Drive change was propagated on the server successfully.

I've also added the folder containing the "ghost" file as an additional Media Folder in Subsonic, re-scanned, cleaned-up. But when I go to the Index browser, now the extra folder shows up, containing the "ghost" file again.

When I try to play the "ghost" file, of course nothing happens.

Please let me know what tests I can do to provide additional useful information. Thanks!

Edit:

Trying to download the "ghost" file, produces an html file with this error:

Code: Select all
Exception   java.io.FileNotFoundException
Message   /root/mnt/gdrive/Library/High/Rachmaninoff/Other/Rachmaninoff - Moments musicaux in B minor, Op. 163 - Andante cantabile (Vladimir Horowitz).flac (No such file or directory)
Java version   Private Build 1.8.0_275
Operating system   Linux 4.4.0-47-generic
Server   jetty-6.1.x
Memory   Used 94 of 137 MB
Stack trace ...

Re: Subsonic doesn't remove deleted files from database

PostPosted: Tue Dec 01, 2020 9:50 pm
by jrfinkel
I am encountering exactly the same problem. It's something of a show stopper and I'm fearful that the only way to delete the titles from the database is to completely uninstall Subsonic and re-install it. Perhaps there is a way to edit the data in the database, but I have no idea where that is or how to edit it.

Re: Subsonic doesn't remove deleted files from database

PostPosted: Wed Dec 09, 2020 4:16 am
by aox2
Well not necessarily reinstall Subsonic. It's enough to remove the Library folders and re-add them.

But considering that re-indexing takes several hours, it's very impractical. Unfortunately there seems to be no way to get support... :(