HI!
I am attempting to migrate from SIckbeard to NZBDrone. I installed NZBDrone as a service but it doesn’t start on WINDOWS reboot and I have to start it manually (although in services.msc it says startup type - automatic). Recently I was unable to even restart the service and received a message (Windows could not start the NZBDrone service on Local Computer. Error 1053: The service didn’t respond to the start or control request in a timely fashion.)
Starting it manually via a shortcut seems to work fine. Any suggestions?
Using Windows 7 64. I am also able to start and disable any other service but NZBDrone…
Did you move it after installing the service? If so, uninstall and reinstall
Anything in the log files? C:\\ProgramData\zbDrone\\logs by default (thats ProgramData not Program Files) - delete anything already there and try to start the service again.
No I didn’t move it, it is still in a default directory it installed to. Accordingly to the shortcut I made, it is: C:\ProgramData\zbDrone\bin\zbDrone.exe /icon
Everything in ProgramData\zbDrone yes, you can delete the logs though (it would delete the application too), if you want to save you settings save nzbdrone.db and config.xml.
There is one error, but its not preventing drone from starting, but thats when you run via the shortcut. Please delete the logs and try running the service and then check the logs.
I tried grabbing the latest installation package and running it on my system, no issues with the service (Win 8 x64), just to rule out any release issues.
Yeah, looks like it, but not sure what would cause that. In C:\\ProgramData\zbDrone\\bin there should be two exes, one to uninstall the service, and another to install it, could your try running those to remove and then add it?
If that doesn’t help, what user is running the service? SYSTEM?
I tried uninstall/reinstall. This time when I reinstalled I disabled KIS 2013 (Kaspersky), and run install service as admin. The service still doesn’t start on Windows reboot (although set to automatic) but now I can start it manually, as a service.
Which .Net do I need to have to make sure it runs properly?
Not sure if this will be useful:
I am running windows as admin. Should I reinstall the whole thing? If so, I found config.xml fine, but as of nzbdrone.db, I see 2 files, - nzbdrone.db-shm and nzbdrone.db-wal. Which one do I need?
Sounds like Kaspersky might be the culprit then. If the service isn’t starting with Windows it could be a number of things, but unless its actually logging startup behavior in drone’s logs then its not likely an issue with drone.
The logs don’t show anything, but you should reset your API keys since they’re listed in those logs.
Those two files show when the DB file is in use, in addition to the nzbdrone.db file, per the screenshot: https://db.tt/hKrIEscb
I figured it out. Uninstall, clean install. After you told me that logs have no errors, I went to investigate deeper. Admin Tools, Event View pointed out a few repeating errors:
Event 7000
The NZBDrone service failed to start due to the following error:
The service didn’t respond to the start or control in a timely fashion
and
Event 7009
A timeout was reached (30000 milliseconds) while waiting for the Nzbdrone service to connect.
Both events are related to DHCP being busy with something else, i.e. assigning address(es), network wise, - network cards, processes etc. In my case it was no longer existing Local Home Network. The other PC got disconnected and moved elsewhere, yet settings remained and DHCP was waiting for a response and ignoring everything else . I dissolved the Home Group, disabled unneeded adapters. To be safe, I changed Startup Type to Automatic(Delayed). That did the trick. After 5+ reboots every time the service is running as expected, on boot.
As a bonus I learned on how to back up NZBDrone. I hope my quest saves some poor chap his time…
Hi, I’m getting this problem now too. It seems a SQL error;
14-2-5 08:39:17.4|Error|MigrationLogger|SQL logic error or missing database
duplicate column name: Items
While Processing:
"ALTER TABLE “QualityProfiles” ADD COLUMN “Items” TEXT"
14-2-5 08:39:17.4|Fatal|ConsoleApp|EPIC FAIL!
Any help would be much appreciated. I’d rather not delete my database as there’s a bit in there