Sickbeard not installing

Superted
Posts: 8
Joined: Tue Feb 21, 2012 11:59 am

Sickbeard not installing

Postby Superted » Tue Jun 26, 2012 2:34 pm

Hi guys ive got an issue with the Sickbeard install from the app store
could any one help it would be most appreciated.

Here's the amahi-app- installer.log output

Code: Select all

======= app install begin @ Tue Jun 26 21:36:23 +0100 2012 ========== Installing app id drez4hbslo under /var/hda/platform/html ENV=production WARNING: primary downloaded of http://dl.amahi.org/midgetspy-Sick-Beard-682d4b7.tar.gz barfed with exception "#<Errno::EACCES: Permission denied - /tmp/amahi-download-cache/926502a3d82f55e663$ WARNING: primary downloaded file /tmp/amahi-download-cache/926502a3d82f55e663ba6d4d23d3e297c6305b19 did not pass signature check - got badbadsha1, expected 926502a3d82f55e663ba6d4d23d3e297c63$ /var/hda/platform/html/script/../app/models/app.rb:553:in `initialize': Permission denied - /tmp/amahi-download-cache/926502a3d82f55e663ba6d4d23d3e297c6305b19 (Errno::EACCES) from /var/hda/platform/html/script/../app/models/app.rb:553:in `open' from /var/hda/platform/html/script/../app/models/app.rb:553:in `download' from /var/hda/platform/html/script/../app/models/app.rb:587:in `download_and_check_sha1' from /var/hda/platform/html/script/../app/models/app.rb:461:in `install_webapp' from /var/hda/platform/html/script/../app/models/app.rb:208:in `install_bg' from /var/hda/platform/html/script/install-app:94:in `install_or_uninstall' from /var/hda/platform/html/script/install-app:115:in `main' from /var/hda/platform/html/script/install-app:127

modem7
Posts: 215
Joined: Tue Mar 20, 2012 6:00 pm

Re: Sickbeard not installing

Postby modem7 » Tue Jun 26, 2012 3:04 pm

See if changing the permissions on the folder (/tmp/amahi-download-cache/ or /tmp/amahi-download-cache/926502a3d82f55e663$) listed in the log file helps.

Example: http://bugs.amahi.org/issues/show/252
1. find the file that causes the issue. The debug page or /var/hda/platform/html/log/production.log can help in locating the name (see an example above).

2.- change the permissions of the file or directory:

chmod 755 directory (if it's a directory)

chmod 644 file (if it's a file)

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Sickbeard not installing

Postby bigfoot65 » Tue Jun 26, 2012 3:40 pm

Permissions is not the issue. The log indicates the app did not install correctly or at all. It's an install script time out. Typically that means either your connection to the download source is slow or your overall connection is slow.

Only recourse is to reboot the HDA, then try it again. Due to the type of error, it's best to reboot the server. The file is hosted on amahi.org, so hope it works for ya this time.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Superted
Posts: 8
Joined: Tue Feb 21, 2012 11:59 am

Re: Sickbeard not installing

Postby Superted » Tue Jun 26, 2012 3:58 pm

Hi Bigfoot ive restarted the HDA and paused all my downloads and have tried the install again and im getting the same error i know my internet is not fast at 2Mbps

Code: Select all

======= app install begin @ Tue Jun 26 23:51:56 +0100 2012 ========== Installing app id drez4hbslo under /var/hda/platform/html ENV=production WARNING: primary downloaded of http://dl.amahi.org/midgetspy-Sick-Beard-682d4b7.tar.gz barfed with exception "#<Errno::EACCES: Permission denied - /tmp/amahi-download-cache/926502a3d82f55e663ba6d4d23d3e29$ WARNING: primary downloaded file /tmp/amahi-download-cache/926502a3d82f55e663ba6d4d23d3e297c6305b19 did not pass signature check - got badbadsha1, expected 926502a3d82f55e663ba6d4d23d3e297c6305b19

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Sickbeard not installing

Postby bigfoot65 » Tue Jun 26, 2012 4:01 pm

Ok, one more time. Lets try this.

As root user, do:

Code: Select all

rm -rf /tmp/amahi-download/*
Then reboot and try installing again. With a slow internet connection, you may have trouble with other apps as well. Not much we can do from the Amahi side unfortunately.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Superted
Posts: 8
Joined: Tue Feb 21, 2012 11:59 am

Re: Sickbeard not installing

Postby Superted » Tue Jun 26, 2012 4:14 pm

Hi Bigfoot ive tried that out and still not joy any other ideas on h ow to get sickbeard working?

i didn't think my internet was that slow :(

p.s. many thanks for your help! :D

Code: Select all

======= app install begin @ Wed Jun 27 00:09:13 +0100 2012 ========== Installing app id drez4hbslo under /var/hda/platform/html ENV=production WARNING: primary downloaded of http://dl.amahi.org/midgetspy-Sick-Beard-682d4b7.tar.gz barfed with exception "#<Errno::EACCES: Permission denied - /tmp/amahi-download-cache/926502a3d82f55e663ba6d4d23d3e29$ WARNING: primary downloaded file /tmp/amahi-download-cache/926502a3d82f55e663ba6d4d23d3e297c6305b19 did not pass signature check - got badbadsha1, expected 926502a3d82f55e663ba6d4d23d3e297c6305b19

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Sickbeard not installing

Postby bigfoot65 » Tue Jun 26, 2012 4:19 pm

Did you remove all the files in /tmp/amahi-download directory? Might wanna check there. Also ensure the /var/hda/web-apps/sickbeard folder does not exist either.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Superted
Posts: 8
Joined: Tue Feb 21, 2012 11:59 am

Re: Sickbeard not installing

Postby Superted » Tue Jun 26, 2012 6:35 pm

Hi Bigfoot,

I removed the amahi-download-cache folder contents there is nothing inside now i checked and there was a sickbeard folder in webapps so i removed that too rebooted paused all downloads and tried to install again but still the same error

is that the right directory "/tmp/amahi-download-cache"?

Code: Select all

======= app install begin @ Wed Jun 27 02:24:00 +0100 2012 ========== Installing app id drez4hbslo under /var/hda/platform/html ENV=production WARNING: primary downloaded of http://dl.amahi.org/midgetspy-Sick-Beard-682d4b7.tar.gz barfed with exception "#<Errno::EACCES: Permission denied - /tmp/amahi-download-cache/926502a3d82f55e663ba6d4d23d3e297c6305b19>" WARNING: primary downloaded file /tmp/amahi-download-cache/926502a3d82f55e663ba6d4d23d3e297c6305b19 did not pass signature check - got badbadsha1, expected 926502a3d82f55e663ba6d4d23d3e297c6305b19
Last edited by Superted on Tue Jun 26, 2012 6:42 pm, edited 1 time in total.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Sickbeard not installing

Postby bigfoot65 » Tue Jun 26, 2012 6:42 pm

Hello,

You need to ensure that there is nothing else running extra when trying to install. It appears as if whatever you are downloading is causing issues.

Pausing it may not be enough. Can you close it out completely and only run the install? The less that is running the better.

Try again and see if it works. If not, not sure what else we can do. If it's the slow download and the script is timing out, you may not be able to use this one.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Superted
Posts: 8
Joined: Tue Feb 21, 2012 11:59 am

Re: Sickbeard not installing

Postby Superted » Tue Jun 26, 2012 7:37 pm

***SUCCESS***

:D
sickbeard is now installed i had to shutdown SABnzb and stop it from starting again, cleared the folders again and bingo its installed!

thx for the help Bigfoot :D

Now all i have to do is work out why sickbread cant update :cry:

gives me this error

Code: Select all

500 Internal Server Error The server encountered an unexpected condition which prevented it from fulfilling the request. Traceback (most recent call last): File "/var/hda/web-apps/sickbeard/html/cherrypy/_cprequest.py", line 660, in respond response.body = self.handler() File "/var/hda/web-apps/sickbeard/html/cherrypy/lib/encoding.py", line 193, in __call__ self.body = self.oldhandler(*args, **kwargs) File "/var/hda/web-apps/sickbeard/html/cherrypy/_cpdispatch.py", line 25, in __call__ return self.callable(*self.args, **self.kwargs) File "/var/hda/web-apps/sickbeard/html/sickbeard/webserve.py", line 1954, in update lastLine = False File "/var/hda/web-apps/sickbeard/html/sickbeard/versionChecker.py", line 101, in update return self.updater.update() File "/var/hda/web-apps/sickbeard/html/sickbeard/versionChecker.py", line 479, in update TypeError: must be string or read-only character buffer, not None Powered by CherryPy 3.2.0rc1

and this in the sickbeard logs

Code: Select all

Jun-27 03:30:24 INFO CP Server Thread-10 :: Deleting file /var/hda/web-apps/sickbeard/html/master Jun-27 03:30:23 INFO CP Server Thread-10 :: Extracting file /var/hda/web-apps/sickbeard/html/master Jun-27 03:30:14 INFO CP Server Thread-10 :: Downloading update from http://github.com/midgetspy/Sick-Beard/tarball/master Jun-27 03:30:14 ERROR CP Server Thread-10 :: Unable to contact github, can't check for update Jun-27 03:27:18 INFO CP Server Thread-3 :: Deleting file /var/hda/web-apps/sickbeard/html/master Jun-27 03:27:16 INFO CP Server Thread-3 :: Extracting file /var/hda/web-apps/sickbeard/html/master Jun-27 03:27:07 INFO CP Server Thread-3 :: Downloading update from http://github.com/midgetspy/Sick-Beard/tarball/master Jun-27 03:27:07 ERROR CP Server Thread-3 :: Unable to contact github, can't check for update

sometimes its never easy :cry:

Who is online

Users browsing this forum: No registered users and 12 guests