[Ubuntu] Sonarr won't start after server reboots

Sonarr version (exact version): 2.0.0.5228
Mono version (if Sonarr is not running on Windows): 5.12.0.226
OS: Ubuntu 16.04LTS
Debug logs: https://pastebin.com/M2yEwEaX
(Make sure debug logging is enabled in settings and post the full log to hastebin/pastebin/dropbox/google drive or something similar, do not post them directly here. Post in .txt not .doc, .rtf or some other formatted document)
Description of issue:

I have Sonarr installed on a Ubuntu 16.04 machine. When I run “/usr/bin/mono /opt/NzbDrone/NzbDrone.exe -nobrowser” while logged in via ssh; the process runs just fine. When I start/restart the systemd service; it runs just fine.

Although when I reboot the server, Sonarr fails to start with it.

https://pastebin.com/3wmevHsB This is what it says when I reboot the server.

https://pastebin.com/3y7P72WK This is when I issue a stop then start once the server is already running. Works just fine.

Why is it getting an access denied to that folder upon reboot? The user I have set to run the systemd service owns /opt/NzbDrone + /.config/NzbDrone and the write permissions to .config/NzbDrone are set to 775.

Also, for what it’s worth… Radarr is throwing the same error. Only on reboot. https://pastebin.com/zREXGWZ3

A wild guess, some sort of encryption locking the home directory until you log in interactively? Beyond that, I’m really not sure what it could be.

Winner winner. You were absolutely right. My home directory was encrypted. I guess I encrypted it when I setup Ubuntu and forgot.

I followed a guide to decrypt it and rebooted the machine. Sonarr and Radarr are working flawlessly.

Thank you

1 Like

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