User(s) browsing this thread: 1 Guest(s)
[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.)
RE: [CSI] Community Software Installer 2.6.2 (NEW THREAD)
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
#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"
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.