Error when updating on Synology

Version
2.0.0.4889
Mono Version
4.6.2

if I run ps aux | grep mono I get “nzbdrone 8484 23.8 9.8 1518268 201452 ? SNl 21:00 2:13 /usr/local/mono/bin/mono --debug /usr/local/nzbdrone/share/NzbDrone/NzbDrone.exe”

So I found out I was running the develop version for some reason and have been unable to update in a while, I found the fix here https://github.com/Sonarr/Sonarr/issues/2080 yet when I try to run "sqlite3 nzbdrone.db 'pragma page_size=4096; pragma journal_mode=truncate; VACUUM;'
it says “unable to open database file”

I’ve tried running su nzbdrone -c sqlite3 nzbdrone.db ‘pragma page_size=4096; pragma journal_mode=truncate; VACUUM;’ and then it asks me for a password however I’ve never set a password for that user

You’ll either need to pass the full path to nzbdrone.db or be inside Sonarr’s AppData Folder when you execute that command.

Yes I’m inside the app data folder when I attempt to run the command

I managed to run as the nzbdrone user but this is the error I get https://cl.ly/oqib and I am still unable to update.

Looks like the arguments aren’t being passed to sqlite3.

I don’t think you’d need to use su at all though. Have you tried passing the full path to nzbdrone.db?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.