Firmware: A-410 [01 Apr. 2014] | A-400 [12 Mar. 2014] | C-300 [13 Feb. 2014] | A-300 [24 Feb. 2014] | C-200 [11 July 2013] | A-200/A-210 [11 July 2013] | Popbox V8 [3 Dec 2013]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Post Reply 
Cannot install Torrentwatch
08-12-2011, 04:36 PM
Post: #1
Cannot install Torrentwatch
I am trying to install Torrentwatch-X 0.8.0 on my HDX-1000 using the NMT Community Installer. However, the installation fails and I get the following error:

/opt/sybhttpd/localhost.drives/HARD_DISK/Apps/AppInit/appinit.cgi: line 1: cannot open /share/Apps//appinfo.json

I get the same message when I install using the .zip file.

Does anybody have a solution to this problem?
Find all posts by this user
Add Thank You Quote this message in a reply
08-17-2011, 02:43 AM
Post: #2
RE: Cannot install Torrentwatch
it installed with no problem for me. although the site to manage it does not work.
Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
08-28-2011, 10:39 PM
Post: #3
RE: Cannot install Torrentwatch
(08-12-2011 04:36 PM)bc_native Wrote:  /opt/sybhttpd/localhost.drives/HARD_DISK/Apps/AppInit/appinit.cgi: line 1: cannot open /share/Apps//appinfo.json

I get the exact same error message when trying to install on my PH A-100.
confused

It's a great app and I really miss it.

If god wanted eight regions, he would have made 8 planets.
Find all posts by this user
Add Thank You Quote this message in a reply
08-29-2011, 09:48 AM
Post: #4
RE: Cannot install Torrentwatch
Try having a look at SickBeard (it now works for NMT),
install via CSI, make sure you have local/ipkg installed first

My PCH-A110 Stats | Samsung LE32A656 | Logitech Z-2300 | Harmony One
Oversight | Sick Beard DOGnzb | NZBGet | Transmission | Lighttpd | ...
Find all posts by this user
Add Thank You Quote this message in a reply
09-03-2011, 12:16 PM (This post was last modified: 09-03-2011 12:32 PM by Roman_V_M.)
Post: #5
RE: Cannot install Torrentwatch
TWX 0.8.0 installs on my A-210 with no problem so I guess there are some broken paths for 100 series in the install script. But you can try to install TWX manually. For that first install "local" (needed to modify the built-in Apache web-server settings) and "telnetd" (needed to access PHC console) packages with CSI installer.
Then download the necessary ZIP from here:
http://code.google.com/p/torrentwatch-x/downloads/list
Unpack the ZIP contents using a universal archiver like 7zip into the /share/Apps/Torrentwatchx folder. There should be another archive (TAR) inside the ZIP but you actually need to unpack all those files and folders inside the second archive.
Then connect to your PHC via telnet using PuTTY terminal client and execute the following commands:
Code:
cp /share/Apps/Torrentwatchx/php/config.php.dist /share/Apps/Torrentwatchx/php/config.php
cp /share/Apps/Torrentwatchx/etc/torrentwatch.config.dist /share/Apps/Torrentwatchx/etc/torrentwatch.config
chmod -R 777 /share/Apps/Torrentwatchx
ln -s /share/Apps/Torrentwatchx /share/Apps/AppInit/websites/Torrentwatchx_web
PuTTY allows to paste text into a terminal window by right-click.
Now connect to your PHC with CSI and you should see TorrentWatch-X in the list of installed apps. (Re)start it using appropriate buttons in CSI GUI. Now TWX should work.

Warning: I don't actually have a PCH 100 device and cannot check if this actually works, but my experience tells me that it it should work.
Find all posts by this user
Add Thank You Quote this message in a reply
[+] 1 user says Thank You to Roman_V_M for this post
09-03-2011, 07:39 PM
Post: #6
RE: Cannot install Torrentwatch
Great, I'll try this as soon as I get the time. Is there any documentation on how the CSI is expecting software packages to be set up. I'm considering fixing whatever is broken in the package. (I work as a software engineer)

If god wanted eight regions, he would have made 8 planets.
Find all posts by this user
Add Thank You Quote this message in a reply
09-04-2011, 09:50 PM
Post: #7
RE: Cannot install Torrentwatch
I'm looking into this. I don't know why this is happening. I don't own a PCH so I have no way of testing.
If anyone can get me more info on why the the wrong directory is called that would be much appreciated.
Find all posts by this user
Add Thank You Quote this message in a reply
09-05-2011, 12:26 AM (This post was last modified: 09-05-2011 12:48 AM by jjabba.)
Post: #8
RE: Cannot install Torrentwatch
I can debug the CSI cgi script on my device, but I need some directions on how to run whatever command it is the CSI-app is executing to install in my shell.

Edit:
Just found out a litte more myself by looking through the actual appinit.cgi script and running it.
Code:
Found hardware type: Syabas A/B type


Application Initializer version 1.13
---------------------------------------
Checking for new version: up to date
Checking Application Initializer profile: Valid

Usage:
# appinit.cgi {start|stop|restart|uninstall|rescan|enable|disable} [application name]
    [application name] is not optional for some of these commands
    this will control already installed applications.

# appinit.cgi install {filename} (tar or rar)
    This will install a application from tar or rar file.

# appinit.cgi {webserver_enable|webserver_disable}
    Will disable or enable the webserver used for applications
    only to be used if another application is going to replace the webserver

# appinit.cgi info
    Will display some systems stats, to be used by CSI.

ERROR: Invalid or no command given!

If god wanted eight regions, he would have made 8 planets.
Find all posts by this user
Add Thank You Quote this message in a reply
09-05-2011, 07:59 AM
Post: #9
RE: Cannot install Torrentwatch
Code:
/opt/sybhttpd/localhost.drives/HARD_DISK/Apps/AppInit/appinit.cgi: line 1: cannot open /share/Apps//appinfo.json
Ive had this error before and it was caused by the way the tar file was made. Ask the auther if he could repack the tar using the tar command built into the a1XX series.
Or just extract it manualy to the apps folder then restart your HDX

Find all posts by this user
Add Thank You Quote this message in a reply
09-05-2011, 08:56 AM
Post: #10
RE: Cannot install Torrentwatch
(09-05-2011 07:59 AM)jhmiller Wrote:  
Code:
/opt/sybhttpd/localhost.drives/HARD_DISK/Apps/AppInit/appinit.cgi: line 1: cannot open /share/Apps//appinfo.json
Ive had this error before and it was caused by the way the tar file was made. Ask the auther if he could repack the tar using the tar command built into the a1XX series.
Or just extract it manualy to the apps folder then restart your HDX

I think that the problem is caused by how the TAR is packed too. When I open the TWX installer ZIP in 7zip I see one more level of folders inside the TAR. The structure is as the following:
ZIP > TAR > .. > (all files and folders)
Other ZIPs packed for CSI have slightly different structure:
ZIP > TAR > (all files and folders)
Find all posts by this user
Add Thank You Quote this message in a reply
09-05-2011, 09:00 AM (This post was last modified: 09-05-2011 09:10 AM by jjabba.)
Post: #11
RE: Cannot install Torrentwatch
I spent some time debugging appinit.cgi yesterday and found out that the untaring was unsuccessful. But then I ran my debugprint version of the script using the CSI and TorrentwatchX installed correctly(!). So I guess the tar must have been switched for a working version now.

It seems to be working now anyhow.

Someone with a fresh A-100 system could perhaps verify?

If god wanted eight regions, he would have made 8 planets.
Find all posts by this user
Add Thank You Quote this message in a reply
09-06-2011, 01:32 PM
Post: #12
RE: Cannot install Torrentwatch
Ok, this should be fixed in 0.8.1 which is available in CSI.
It seems that some tar versions (FreeBSD's) are not supported by (some) PCH devices.
Find all posts by this user
Add Thank You Quote this message in a reply
[+] 1 user says Thank You to wiebel for this post
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
Information NZBGET install to USB Stick with internal HD bblaze 1 1,814 10-18-2013 11:46 AM
Last Post: xxquatroxx
  torrentwatch - cant add HD torrents feed ! djhifi 2 1,381 06-05-2013 02:18 PM
Last Post: djhifi
  Torrentwatch-x and private tracker mypaq 0 978 02-11-2013 06:20 PM
Last Post: mypaq
  NZBGet 9.0 manual install bombexman 0 1,192 12-17-2012 02:30 AM
Last Post: bombexman
  Install Sabnzbd happyman 1 1,285 12-12-2012 04:55 PM
Last Post: Trunks81
  Using TorrentWatch-X 0.8.8 on PCH A110 esbroma 0 1,104 05-18-2012 10:21 AM
Last Post: esbroma
  Torrentwatch doesn't start downloading mojitoo 5 2,886 04-05-2012 11:42 AM
Last Post: GastonBA
  Torrentwatch-X for A-300? ahlinj 15 4,548 03-30-2012 11:31 AM
Last Post: ahlinj
  Sickbeard setup issue on A110 - no web page after install Damester24 8 4,670 02-22-2012 08:17 AM
Last Post: Damester24
  TorrentWatch-X wiebel 29 9,508 12-08-2011 05:53 PM
Last Post: clarkzara

Forum Jump: