[19. April 2013] A-400 Advanced Network Setup now available | [11 Jan. 2013] Customize your A-400 Home Screen

Firmware: A-400 [13 May 2013] | C-300 [30 Nov. 2012] | A-300 [30 Nov. 2012] | C-200 [21 Jan. 2013] | A-200/A-210 [10 Aug. 2012]

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 
[CSI] Community Software Installer 2.7.2 ** UPDATED DEC 28th **
07-11-2010, 06:30 AM (This post was last modified: 07-11-2010 06:34 AM by akamming.)
Post: #176
RE: [CSI] Community Software Installer 2.6.2 (NEW THREAD)
Hi,

i had some problems using the CSI start script. Whenever my internet connection is down, my internet router generates a user friendly message for every http request (a webpage saying the internet connection is down)

however when the internet connection down while appinit.cgi is run, appinit.cgi tries to upgrade itself and replaces itself with that user friendly message, and after that ofcourse my applications don't start anymore.

@Get Teunis, could you make a bugfix which checks if the downloaded appinit.cgi is really a appinit.cgi file? (e.g. a check on the 1st line. This could be a fixed text. If it differs: Generate an error message (upgrade error))

in the meantime, if anyone else has this problem: I have created a script to repair appinit.cgi and start the apps manually when this happens. (this script downloads appinit.cgi from the repository and give the command 'appinit start' to start the apps)

1st: creae a html page with a link to a cgi script (in this case href="http://localhost.drives:8883/HARD_DISK/csi_start_manual.cgi")

the contents of the cgi script (csi_start_manual.cgi) are
#!/bin/sh
APPS_FOLDER="/share/Apps"
APPINIT_FILENAME="appinit.cgi"
APPINIT_PROFILE="$APPS_FOLDER/AppInit"
APPINIT_UPGRADE_URL="http://repository.nmtinstaller.com/appinit.cgi"

#repair CSI start script
echo -n "Getting File From Repository<BR>"
wget -q -O "$APPINIT_PROFILE/$APPINIT_FILENAME" $APPINIT_UPGRADE_URL
chmod a+x "$APPINIT_PROFILE/$APPINIT_FILENAME"
echo "Upgradedi<BR>"

#start Apps
$APPINIT_PROFILE/$APPINIT_FILENAME start

i've placed these files in /share (make sure the .cgi is flagged executable), so i can repair the appinit.cgi by accessing the html page from Gaya.

Regards
Arnold
Find all posts by this user
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [CSI] Community Software Installer 2.6.2 (NEW THREAD) - akamming - 07-11-2010 06:30 AM
CSI 2.7.0.0 - ciao - 08-15-2010, 12:16 PM
RE: CSI 2.7.0.0 - Ger Teunis - 08-27-2010, 05:20 PM

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [Apps] opkg A100/A110 - Updated 21st Sep vaidyasr 405 83,506 05-15-2013 06:04 PM
Last Post: ricardojrm
  Faster PHP server CSI package journey4712 174 61,559 03-30-2013 01:12 PM
Last Post: o34171@rtrtr.com
  Music Browser for NMT - Updated August, 2nd, 2011 gkreidl 14 8,015 01-19-2013 04:07 PM
Last Post: winfried_laane
Music MPD installation howto (updated 4 May 2009) gwillem 494 284,559 07-20-2012 09:43 PM
Last Post: krimpenrik
  NetworkMounter 0.1 released on CSI Niels Leenheer 289 86,626 07-09-2012 07:07 PM
Last Post: andym2009
Music fuppes 0.629 for NMT - dlna, upnp media server [UPDATED: 31-May-2009] Mr Segfault 53 45,185 10-12-2011 01:04 AM
Last Post: spud
  [Apps] Qt4 WebKit - Web Browser - A110/100 - Updated 28th June vaidyasr 168 63,024 07-05-2011 10:31 AM
Last Post: gkreidl
  Utils v0.0.4 - A110 - Released - Updated 5th July vaidyasr 84 24,924 01-31-2011 01:21 PM
Last Post: dc11ab
  [split] [Apps] I-pkg A100/A110 - Updated 27th Jan linky 1 1,779 01-27-2011 10:11 PM
Last Post: dc11ab
  Can't load Themes with CSI narfnd 1 1,954 11-03-2010 07:20 PM
Last Post: joserobleda

Forum Jump: