It is currently Sat Apr 17, 2021 12:34 am
All times are UTC + 8 hours

Upgrade to ADM 2.6 Broke Sonarr

Sonarr is a PVR for Usenet and BitTorrent users. It can monitor multiple RSS feeds for new episodes of your favorite shows and will grab, sort and rename them. It can also be configured to automatically upgrade the quality of files already downloaded when a better quality format becomes available.

Re: Upgrade to ADM 2.6 Broke Sonarr

Postby itdaboyz » Tue Jun 07, 2016 8:47 pm

Oh I know, Sonarr is already loaded, you have to kill the PID.
Stop Sonarr in AppCentral and then browse your NAS through ftp/ssh to /volume1/.@plugins/AppCentral/sonarr/config and delete nzbdrone.pid
Now you can start again Sonarr in AppCentral.
itdaboyz
 
Posts: 140
Joined: Tue Oct 14, 2014 7:21 pm

Re: Upgrade to ADM 2.6 Broke Sonarr

Postby jumpjet » Tue Jun 07, 2016 10:33 pm

itdaboyz wrote:Oh I know, Sonarr is already loaded, you have to kill the PID.
Stop Sonarr in AppCentral and then browse your NAS through ftp/ssh to /volume1/.@plugins/AppCentral/sonarr/config and delete nzbdrone.pid
Now you can start again Sonarr in AppCentral.


Thanks for the reply :)

Unfortunately that doesn't work.

Sonarr gets a new PID number but I can't get to the interface, and the same error is in the log.

Interesting that if I look at the activity monitor and sort the process list by PID number, Sonarr's PID number is not listed as running, and there is no process called nzbdrone running (assuming that's the correct name)
jumpjet
 
Posts: 20
Joined: Fri Nov 29, 2013 6:35 am

Re: Upgrade to ADM 2.6 Broke Sonarr

Postby itdaboyz » Tue Jun 07, 2016 10:49 pm

Mine is not in activity monitor either.

Try to log in SSH as root/admin and do :
Code: Select all
cd/volume1/.@plugins/AppCentral/sonarr/CONTROL/
./start-stop.sh -status


Paste here what is said and if it's running, try :
Code: Select all
./start-stop.sh -restart


Same here, paste the output of the command. Maybe we'll have more infos than in the logs.
itdaboyz
 
Posts: 140
Joined: Tue Oct 14, 2014 7:21 pm

Re: Upgrade to ADM 2.6 Broke Sonarr

Postby jumpjet » Tue Jun 07, 2016 11:17 pm

Sorry, I can't seem to navigate via the terminal window

Code: Select all
root@Asustor:/volume1/.@root # cd/volume1
-sh: cd/volume1: not found
root@Asustor:/volume1/.@root # cd/volume1/.@plugins
-sh: cd/volume1/.@plugins: not found
root@Asustor:/volume1/.@root # cd/volume1/.@plugins/
-sh: cd/volume1/.@plugins/: not found
root@Asustor:/volume1/.@root #


Whether it's root or admin I can't navigate out of the initial folder to other folders (I can by sftp)

I don't know how to fix this. Maybe I should be using some other sort of terminal software?
jumpjet
 
Posts: 20
Joined: Fri Nov 29, 2013 6:35 am

Re: Upgrade to ADM 2.6 Broke Sonarr

Postby mafredri » Tue Jun 07, 2016 11:24 pm

I've been trying to solve this issue with gwild0r over on Twitter, am I understanding correctly that you, jumpjet also are having problems?

So far what I've deduced:

  • Problem seems to affect the AS-3 model
  • Problem probably isn't mono or the bundled libs (e.g. libmediainfo)
  • No notable errors in logs

jumpjet: could you try installing this apk through App Central and see if there still is a problem? Just select manual upload and upload it, your old Sonarr will be updated.
Hi, I'm new here. Looking to be active in the community and help with development :).
Storage: AS-604T with 3GB RAM (Kingston KVR1333D3S8S9/2G)
User avatar
mafredri
 
Posts: 371
Joined: Sat Mar 22, 2014 8:41 am

Re: Upgrade to ADM 2.6 Broke Sonarr

Postby jumpjet » Tue Jun 07, 2016 11:53 pm

mafredri wrote:I've been trying to solve this issue with gwild0r over on Twitter, am I understanding correctly that you, jumpjet also are having problems?

So far what I've deduced:

  • Problem seems to affect the AS-3 model
  • Problem probably isn't mono or the bundled libs (e.g. libmediainfo)
  • No notable errors in logs

jumpjet: could you try installing this apk through App Central and see if there still is a problem? Just select manual upload and upload it, your old Sonarr will be updated.



Thanks, I have installed it, and Appcentral says it's version 2.0.0.2145.999. It does not work for me.

I deleted the nzbdrone.txt file in the logs folder, and a new one was created, this is it's output :-

Code: Select all
16-6-7 16:47:20.3|Info|Bootstrap|Starting Sonarr - /volume1/.@plugins/AppCentral/sonarr/Sonarr/NzbDrone.exe - Version 2.0.0.3530
16-6-7 16:47:22.5|Info|AppFolderInfo|Data directory is being overridden to [/usr/local/AppCentral/sonarr/config]
16-6-7 16:47:23.7|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone.Console
16-6-7 16:47:24.3|Debug|ProcessProvider|Found 1 processes with the name: NzbDrone
16-6-7 16:47:24.3|Debug|ProcessProvider| - [24052] NzbDrone
16-6-7 16:47:25.5|Info|MigrationLogger|*** Migrating data source=/usr/local/AppCentral/sonarr/config/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
16-6-7 16:47:26.8|Debug|MigrationLogger|Took: 00:00:01.2355549
16-6-7 16:47:26.8|Info|MigrationLogger|*** Migrating data source=/usr/local/AppCentral/sonarr/config/logs.db;cache size=-10485760;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
16-6-7 16:47:26.9|Debug|MigrationLogger|Took: 00:00:00.0692645
16-6-7 16:47:27.1|Info|Router|Application mode: Interactive
16-6-7 16:47:27.1|Debug|Router|Console selected
16-6-7 16:47:27.2|Info|OwinHostController|Listening on the following URLs:
16-6-7 16:47:27.2|Info|OwinHostController|  http://*:8989/
16-6-7 16:47:27.9|Debug|OwinAppFactory|Attaching NzbDroneVersionMiddleWare to host
16-6-7 16:47:27.9|Debug|OwinAppFactory|Attaching SignalRMiddleWare to host
16-6-7 16:47:27.9|Debug|OwinAppFactory|Attaching NancyMiddleWare to host
16-6-7 16:47:28.2|Info|NancyBootstrapper|Starting NzbDrone API
16-6-7 16:47:29.5|Trace|EventAggregator|Publishing ApplicationStartedEvent
16-6-7 16:47:33.6|Trace|EventAggregator|ApplicationStartedEvent -> UserService
16-6-7 16:47:33.7|Trace|EventAggregator|ApplicationStartedEvent <- UserService
16-6-7 16:47:33.7|Trace|EventAggregator|ApplicationStartedEvent -> DownloadClientFactory
16-6-7 16:47:33.7|Debug|DownloadClientFactory|Initializing Providers. Count 9
16-6-7 16:47:33.8|Trace|EventAggregator|ApplicationStartedEvent <- DownloadClientFactory
16-6-7 16:47:33.8|Trace|EventAggregator|ApplicationStartedEvent -> IndexerFactory
16-6-7 16:47:33.8|Debug|IndexerFactory|Initializing Providers. Count 15
16-6-7 16:47:33.8|Trace|EventAggregator|ApplicationStartedEvent <- IndexerFactory
16-6-7 16:47:33.8|Trace|EventAggregator|ApplicationStartedEvent -> ReconfigureLogging
jumpjet
 
Posts: 20
Joined: Fri Nov 29, 2013 6:35 am

Re: Upgrade to ADM 2.6 Broke Sonarr

Postby jumpjet » Wed Jun 08, 2016 12:00 am

I've stopped and started it again, and that fatal error has appeared again .....

Code: Select all
16-6-7 16:47:20.3|Info|Bootstrap|Starting Sonarr - /volume1/.@plugins/AppCentral/sonarr/Sonarr/NzbDrone.exe - Version 2.0.0.3530
16-6-7 16:47:22.5|Info|AppFolderInfo|Data directory is being overridden to [/usr/local/AppCentral/sonarr/config]
16-6-7 16:47:23.7|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone.Console
16-6-7 16:47:24.3|Debug|ProcessProvider|Found 1 processes with the name: NzbDrone
16-6-7 16:47:24.3|Debug|ProcessProvider| - [24052] NzbDrone
16-6-7 16:47:25.5|Info|MigrationLogger|*** Migrating data source=/usr/local/AppCentral/sonarr/config/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
16-6-7 16:47:26.8|Debug|MigrationLogger|Took: 00:00:01.2355549
16-6-7 16:47:26.8|Info|MigrationLogger|*** Migrating data source=/usr/local/AppCentral/sonarr/config/logs.db;cache size=-10485760;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
16-6-7 16:47:26.9|Debug|MigrationLogger|Took: 00:00:00.0692645
16-6-7 16:47:27.1|Info|Router|Application mode: Interactive
16-6-7 16:47:27.1|Debug|Router|Console selected
16-6-7 16:47:27.2|Info|OwinHostController|Listening on the following URLs:
16-6-7 16:47:27.2|Info|OwinHostController|  http://*:8989/
16-6-7 16:47:27.9|Debug|OwinAppFactory|Attaching NzbDroneVersionMiddleWare to host
16-6-7 16:47:27.9|Debug|OwinAppFactory|Attaching SignalRMiddleWare to host
16-6-7 16:47:27.9|Debug|OwinAppFactory|Attaching NancyMiddleWare to host
16-6-7 16:47:28.2|Info|NancyBootstrapper|Starting NzbDrone API
16-6-7 16:47:29.5|Trace|EventAggregator|Publishing ApplicationStartedEvent
16-6-7 16:47:33.6|Trace|EventAggregator|ApplicationStartedEvent -> UserService
16-6-7 16:47:33.7|Trace|EventAggregator|ApplicationStartedEvent <- UserService
16-6-7 16:47:33.7|Trace|EventAggregator|ApplicationStartedEvent -> DownloadClientFactory
16-6-7 16:47:33.7|Debug|DownloadClientFactory|Initializing Providers. Count 9
16-6-7 16:47:33.8|Trace|EventAggregator|ApplicationStartedEvent <- DownloadClientFactory
16-6-7 16:47:33.8|Trace|EventAggregator|ApplicationStartedEvent -> IndexerFactory
16-6-7 16:47:33.8|Debug|IndexerFactory|Initializing Providers. Count 15
16-6-7 16:47:33.8|Trace|EventAggregator|ApplicationStartedEvent <- IndexerFactory
16-6-7 16:47:33.8|Trace|EventAggregator|ApplicationStartedEvent -> ReconfigureLogging
16-6-7 16:47:43.7|Info|HousekeepingService|Running housecleaning tasks
16-6-7 16:47:43.7|Info|SceneMappingService|Updating Scene mappings
16-6-7 16:47:44.9|Info|Database|Vacuuming Log database
16-6-7 16:47:45.1|Info|Database|Log database compressed
16-6-7 16:47:45.2|Info|Database|Vacuuming Main database
16-6-7 16:47:45.6|Info|Database|Main database compressed
16-6-7 16:47:50.4|Fatal|ConsoleApp|Address already in use. This can happen if another instance of Sonarr is already running another application is using the same port (default: 8989) or the user has insufficient permissions
16-6-7 16:56:01.0|Info|Bootstrap|Starting Sonarr - /volume1/.@plugins/AppCentral/sonarr/Sonarr/NzbDrone.exe - Version 2.0.0.3530
16-6-7 16:56:03.3|Info|AppFolderInfo|Data directory is being overridden to [/usr/local/AppCentral/sonarr/config]
16-6-7 16:56:04.7|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone.Console
16-6-7 16:56:05.3|Debug|ProcessProvider|Found 1 processes with the name: NzbDrone
16-6-7 16:56:05.3|Debug|ProcessProvider| - [2393] NzbDrone
16-6-7 16:56:06.5|Info|MigrationLogger|*** Migrating data source=/usr/local/AppCentral/sonarr/config/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
16-6-7 16:56:07.9|Debug|MigrationLogger|Took: 00:00:01.4223210
16-6-7 16:56:08.0|Info|MigrationLogger|*** Migrating data source=/usr/local/AppCentral/sonarr/config/logs.db;cache size=-10485760;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
16-6-7 16:56:08.0|Debug|MigrationLogger|Took: 00:00:00.0742672
16-6-7 16:56:08.3|Info|Router|Application mode: Interactive
16-6-7 16:56:08.3|Debug|Router|Console selected
16-6-7 16:56:08.4|Info|OwinHostController|Listening on the following URLs:
16-6-7 16:56:08.4|Info|OwinHostController|  http://*:8989/
16-6-7 16:56:09.1|Debug|OwinAppFactory|Attaching NzbDroneVersionMiddleWare to host
16-6-7 16:56:09.1|Debug|OwinAppFactory|Attaching SignalRMiddleWare to host
16-6-7 16:56:09.2|Debug|OwinAppFactory|Attaching NancyMiddleWare to host
16-6-7 16:56:09.5|Info|NancyBootstrapper|Starting NzbDrone API
16-6-7 16:56:10.7|Trace|EventAggregator|Publishing ApplicationStartedEvent


Strange that the version number in the log doesn't reflect the version shown as installed in Appcentral
jumpjet
 
Posts: 20
Joined: Fri Nov 29, 2013 6:35 am

Re: Upgrade to ADM 2.6 Broke Sonarr

Postby mafredri » Wed Jun 08, 2016 12:03 am

jumpjet wrote:Thanks, I have installed it, and Appcentral says it's version 2.0.0.2145.999. It does not work for me.

I deleted the nzbdrone.txt file in the logs folder, and a new one was created, this is it's output :-


Hmm, there's nothing interesting in those logs, except that your Sonarr version is old. Could you run the following commands on your NAS for me?

(make sure each command is successfull!)

Code: Select all
cd /usr/local/AppCentral/sonarr
./CONTROL/start-stop.sh stop
rm -rf Sonarr
tar xzf .release/NzbDrone.master.2.0.0.4146.mono.tar.gz
mv NzbDrone Sonarr
chown -R admin:administrators Sonarr
./CONTROL/start-stop.sh start
Hi, I'm new here. Looking to be active in the community and help with development :).
Storage: AS-604T with 3GB RAM (Kingston KVR1333D3S8S9/2G)
User avatar
mafredri
 
Posts: 371
Joined: Sat Mar 22, 2014 8:41 am

Re: Upgrade to ADM 2.6 Broke Sonarr

Postby mafredri » Wed Jun 08, 2016 12:13 am

jumpjet wrote:Strange that the version number in the log doesn't reflect the version shown as installed in Appcentral


I don't forcibly upgrade or downgrade the Sonarr version, since Sonarr has it's own built-in update capabilities, I let the user chose what version is installed. The version shown in App Central is a bundled release that only gets applied on clean installations.
Hi, I'm new here. Looking to be active in the community and help with development :).
Storage: AS-604T with 3GB RAM (Kingston KVR1333D3S8S9/2G)
User avatar
mafredri
 
Posts: 371
Joined: Sat Mar 22, 2014 8:41 am

Re: Upgrade to ADM 2.6 Broke Sonarr

Postby itdaboyz » Wed Jun 08, 2016 1:02 am

jumpjet wrote:Sorry, I can't seem to navigate via the terminal window

Code: Select all
root@Asustor:/volume1/.@root # cd/volume1
-sh: cd/volume1: not found
root@Asustor:/volume1/.@root # cd/volume1/.@plugins
-sh: cd/volume1/.@plugins: not found
root@Asustor:/volume1/.@root # cd/volume1/.@plugins/
-sh: cd/volume1/.@plugins/: not found
root@Asustor:/volume1/.@root #


Whether it's root or admin I can't navigate out of the initial folder to other folders (I can by sftp)

I don't know how to fix this. Maybe I should be using some other sort of terminal software?


Hem my bad, there is a space between cd and /volume1/
itdaboyz
 
Posts: 140
Joined: Tue Oct 14, 2014 7:21 pm

PreviousNext

Return to sonarr

  • You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot post attachments in this forum
  • Who is online

    Users browsing this forum: No registered users and 1 guest

cron