[QSonarr] [2.0.0.5338] Smart PVR for newsgroup and bittorrent users

This is the best place for community developers to publish their genius work. Your Apps enrich the QNAP Turbo NAS.
Post Reply
User avatar
forkless
Experience counts
Posts: 1907
Joined: Mon Nov 23, 2009 6:52 am
Location: The Netherlands

Re: [ QSonarr ] [ 1.150606 ] Smart PVR for newsgroup and bit

Post by forkless »

If it does start manually after a reboot then that was the only thing I could think of (If something else springs to mind I'll update the post).

You could add a Mono check to the Sonarr init script writing to the event log if it fails, at least you will know for sure if Mono is up and available before Sonarr is being fired up.


PS. The RC_Number for Mono is lower than the one for Sonarr I take it?
cronus130
Starting out
Posts: 14
Joined: Sat Mar 07, 2015 8:31 am

Re: [ QSonarr ] [ 1.150606 ] Smart PVR for newsgroup and bit

Post by cronus130 »

forkless wrote:If it does start manually after a reboot then that was the only thing I could think of (If something else springs to mind I'll update the post).

PS. The RC_Number for Mono is lower than the one for Sonarr I take it?

Code: Select all

[Qmono]
Name = Qmono
Version = 3.10.0.0
Author = Guerithault Stephane (QoolBox)
QPKG_File = Qmono.qpkg
Date = 2015-06-04
Shell = /share/CACHEDEV1_DATA/.qpkg/Qmono/Qmono.sh
Install_Path = /share/CACHEDEV1_DATA/.qpkg/Qmono
RC_Number = 101
Enable = TRUE
Status = complete
[QSonarr]
Name = QSonarr
Version = 1.150606
Author = Guerithault Stephane (QoolBox)
QPKG_File = QSonarr.qpkg
Date = 2015-06-16
Shell = /share/CACHEDEV1_DATA/.qpkg/QSonarr/QSonarr.sh
Install_Path = /share/CACHEDEV1_DATA/.qpkg/QSonarr
WebUI = /
Web_Port = 8989
RC_Number = 102
Enable = TRUE
Status = complete
Visible = 2
Login_Screen = 0
Any chance changing the RC number for Sonarr to something higher would have an affect (seems other apps such a couch potato have an RC of 211)? *Also they are not next to each other in my config file, Mono is close to the top and Sonarr is near the bottom.
haljordan
Starting out
Posts: 28
Joined: Mon Dec 02, 2013 6:39 am

Re: [ QSonarr ] [ 1.150606 ] Smart PVR for newsgroup and bit

Post by haljordan »

Are we able to update within the app?

2.0.0.3243 - Jun 18 2015 is available, and I click "install latest" and get the following log file entries:

Code: Select all


15-6-21 23:19:13.7|Info|UpdateApp|Starting Sonarr Update Client
15-6-21 23:19:13.8|Info|UpdateApp|Updating Sonarr to version 2.0.0.3243
15-6-21 23:19:13.8|Debug|UpdateApp|NzbDrone process ID: 27287
15-6-21 23:19:13.8|Debug|UpdateApp|Arguments:
15-6-21 23:19:13.8|Debug|UpdateApp|  27287
15-6-21 23:19:13.8|Debug|UpdateApp|  /share/homes/admin/.config/NzbDrone/nzbdrone_update
15-6-21 23:19:13.8|Debug|UpdateApp|  /share/MD0_DATA/.qpkg/QSonarr/NzbDrone/NzbDrone.exe
15-6-21 23:19:13.8|Debug|UpdateApp|Using executing application: /share/MD0_DATA/.qpkg/QSonarr/NzbDrone/NzbDrone.exe
15-6-21 23:19:13.8|Debug|UpdateApp|Executable location: /share/MD0_DATA/.qpkg/QSonarr/NzbDrone/NzbDrone.exe
15-6-21 23:19:13.8|Info|UpdateApp|Starting update process. Target Path:/share/MD0_DATA/.qpkg/QSonarr/NzbDrone
15-6-21 23:19:13.8|Info|InstallUpdateService|Verifying requirements before update...
15-6-21 23:19:13.8|Debug|ProcessProvider|Finding process with Id:27287
15-6-21 23:19:13.8|Warn|ProcessProvider|Unable to find process with ID 27287
15-6-21 23:19:13.8|Fatal|UpdateApp|An error has occurred while applying update package.

System.ArgumentException: Process with ID doesn't exist 27287
  at NzbDrone.Update.UpdateEngine.InstallUpdateService.Verify (System.String targetFolder, Int32 processId) [0x000c3] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Update\UpdateEngine\InstallUpdateService.cs:72 
  at NzbDrone.Update.UpdateEngine.InstallUpdateService.Start (System.String installationFolder, Int32 processId) [0x00000] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Update\UpdateEngine\InstallUpdateService.cs:76 
  at NzbDrone.Update.UpdateApp.Start (System.String[] args) [0x00020] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Update\UpdateApp.cs:59 
  at NzbDrone.Update.UpdateApp.Main (System.String[] args) [0x00042] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Update\UpdateApp.cs:43 

Sonarr Ver. 2.0.0.3212
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [ QSonarr ] [ 1.150606 ] Smart PVR for newsgroup and bit

Post by QNAP_Stephane »

haljordan wrote:Are we able to update within the app?

2.0.0.3243 - Jun 18 2015 is available, and I click "install latest" and get the following log file entries:

Code: Select all


15-6-21 23:19:13.7|Info|UpdateApp|Starting Sonarr Update Client
15-6-21 23:19:13.8|Info|UpdateApp|Updating Sonarr to version 2.0.0.3243
15-6-21 23:19:13.8|Debug|UpdateApp|NzbDrone process ID: 27287
15-6-21 23:19:13.8|Debug|UpdateApp|Arguments:
15-6-21 23:19:13.8|Debug|UpdateApp|  27287
15-6-21 23:19:13.8|Debug|UpdateApp|  /share/homes/admin/.config/NzbDrone/nzbdrone_update
15-6-21 23:19:13.8|Debug|UpdateApp|  /share/MD0_DATA/.qpkg/QSonarr/NzbDrone/NzbDrone.exe
15-6-21 23:19:13.8|Debug|UpdateApp|Using executing application: /share/MD0_DATA/.qpkg/QSonarr/NzbDrone/NzbDrone.exe
15-6-21 23:19:13.8|Debug|UpdateApp|Executable location: /share/MD0_DATA/.qpkg/QSonarr/NzbDrone/NzbDrone.exe
15-6-21 23:19:13.8|Info|UpdateApp|Starting update process. Target Path:/share/MD0_DATA/.qpkg/QSonarr/NzbDrone
15-6-21 23:19:13.8|Info|InstallUpdateService|Verifying requirements before update...
15-6-21 23:19:13.8|Debug|ProcessProvider|Finding process with Id:27287
15-6-21 23:19:13.8|Warn|ProcessProvider|Unable to find process with ID 27287
15-6-21 23:19:13.8|Fatal|UpdateApp|An error has occurred while applying update package.

System.ArgumentException: Process with ID doesn't exist 27287
  at NzbDrone.Update.UpdateEngine.InstallUpdateService.Verify (System.String targetFolder, Int32 processId) [0x000c3] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Update\UpdateEngine\InstallUpdateService.cs:72 
  at NzbDrone.Update.UpdateEngine.InstallUpdateService.Start (System.String installationFolder, Int32 processId) [0x00000] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Update\UpdateEngine\InstallUpdateService.cs:76 
  at NzbDrone.Update.UpdateApp.Start (System.String[] args) [0x00020] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Update\UpdateApp.cs:59 
  at NzbDrone.Update.UpdateApp.Main (System.String[] args) [0x00042] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Update\UpdateApp.cs:43 

Sonarr Ver. 2.0.0.3212
Use Qmono 3.10, Qmono 4.x not yet supported by QSonarr
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
haljordan
Starting out
Posts: 28
Joined: Mon Dec 02, 2013 6:39 am

Re: [ QSonarr ] [ 1.150606 ] Smart PVR for newsgroup and bit

Post by haljordan »

thanks,
that did seem to fix the issue.
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [ QSonarr ] [ 1.150606 ] Smart PVR for newsgroup and bit

Post by QNAP_Stephane »

you are welcome ;)
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
User avatar
bry
Know my way around
Posts: 195
Joined: Sun Jan 31, 2010 12:05 am

Re: [ QSonarr ] [ 1.150606 ] Smart PVR for newsgroup and bit

Post by bry »

@qnap_stephane - should I use the older 3.10 mono required or can I use 4.0.1
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [ QSonarr ] [ 1.150606 ] Smart PVR for newsgroup and bit

Post by QNAP_Stephane »

dont use Qmono 4.01, use only Qmono 3.10, Qmono 4.10 avoid the update running fine, it doesnt not finding the process to kill
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
usuario945898754
Know my way around
Posts: 138
Joined: Fri Aug 16, 2013 6:58 am

Re: [ QSonarr ] [ 1.150606 ] Smart PVR for newsgroup and bit

Post by usuario945898754 »

Stephane your package is causing many problems in my system, because the AppData is set to the ramdisk. This means that my NAS fans go crazy when Sonarr updates because it writes the data to the ramdisk, filling it up and not leaving space for the system functions.

Please read this thread on the Sonarr forums, I think you can fix this on the init script: https://forums.sonarr.tv/t/qnap-sonarr- ... or/4061/15
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [ QSonarr ] [ 1.150606 ] Smart PVR for newsgroup and bit

Post by QNAP_Stephane »

usuario945898754 wrote:Stephane your package is causing many problems in my system, because the AppData is set to the ramdisk. This means that my NAS fans go crazy when Sonarr updates because it writes the data to the ramdisk, filling it up and not leaving space for the system functions.

Please read this thread on the Sonarr forums, I think you can fix this on the init script: https://forums.sonarr.tv/t/qnap-sonarr- ... or/4061/15
I will try to check, but i dont have this kind of issue here, all is in the admin home directory
the behavior you experience is only happening if you run it from SSH

if i make modification it may inpact actual user configuration, i have to check for a migation way

can you try to export HOME to another location, adding in the /etc/init.d/QSonarr.sh

Code: Select all

export HOME=your_location
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
adprom
Easy as a breeze
Posts: 259
Joined: Mon Jan 17, 2011 7:45 am
Location: Melbourne, Australia

Re: [ QSonarr ] [ 1.150606 ] Smart PVR for newsgroup and bit

Post by adprom »

Same issue here on a NAS I am trying to set this up on - attempting an update is flooding the ramdisk and the update is failing. Brand new install with no modifications.
sloporc
Know my way around
Posts: 116
Joined: Tue Jul 07, 2015 11:09 pm

Re: [ QSonarr ] [ 1.150606 ] Smart PVR for newsgroup and bit

Post by sloporc »

Will this install and function on the TVS-X63 series that has AMD x86 chipset? I understand the mono dependency has an Intel x86 requirement.

I am not yet a QNAP owner. I am considering the TVS-X63 series due to price point, HDMI output and transcoding capability of the processor.

Appreciate any guidance.
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [ QSonarr ] [ 1.150606 ] Smart PVR for newsgroup and bit

Post by QNAP_Stephane »

sloporc wrote:Will this install and function on the TVS-X63 series that has AMD x86 chipset? I understand the mono dependency has an Intel x86 requirement.

I am not yet a QNAP owner. I am considering the TVS-X63 series due to price point, HDMI output and transcoding capability of the processor.

Appreciate any guidance.
it will works AMD have same instruction than Intel CPU
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [ QSonarr ] [ 1.150606 ] Smart PVR for newsgroup and bit

Post by QNAP_Stephane »

@ usuario945898754 and adprom

did you enable home user on your NAS ?

Control Panel > users > Home Folder

let me know, i am checking if i can set the data path in a share location but dont find the right command, using home is more convenient
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
usuario945898754
Know my way around
Posts: 138
Joined: Fri Aug 16, 2013 6:58 am

Re: [ QSonarr ] [ 1.150606 ] Smart PVR for newsgroup and bit

Post by usuario945898754 »

I did, I have home user enabled. I tried to disable and enable again just in case and problem is still happening.
Post Reply

Return to “Community Apps”