User(s) browsing this thread: 2 Guest(s)
|
[CSI] Community Software Installer 2.6.1 (OLD THREAD)
|
|
05-28-2009, 08:32 AM
(This post was last modified: 05-28-2009 08:35 AM by Ger Teunis.)
|
|||
|
|||
RE: [CSI] Community Software Installer 2.1.5 (Windows/Linux/OSX)
(05-28-2009 08:03 AM)lundman Wrote: Strange, I was having problems with CSI yesterday, in particular that app_init.cgi was put in / rather than in Appinit directory etc, and could not install anything. I wrote a post about it, but I must have forgotten to push Submit or something, cos I sure can't find it today During install appinit.cgi will be placed in / and will be executed. appinit.cgi will move itself to /share/Apps/AppInit during execution. Perhaps a folder permission issue? If you have more info about this: please contact me. Easy way of installing software on your NMT using just your mouse: NMT Community Software Installer |
|||
|
05-28-2009, 08:49 AM
|
|||
|
|||
|
RE: [CSI] Community Software Installer 2.1.5 (Windows/Linux/OSX)
I most certainly did have, but its gone. Anyway, am I right in assuming that I can rename my Apps to something else, and CSI will set everything up as if it was a new installation?
|
|||
|
05-28-2009, 08:54 AM
|
|||
|
|||
RE: [CSI] Community Software Installer 2.1.5 (Windows/Linux/OSX)
(05-28-2009 08:49 AM)lundman Wrote: I most certainly did have, but its gone. Anyway, am I right in assuming that I can rename my Apps to something else, and CSI will set everything up as if it was a new installation? Correct. It should create the folder /share/Apps/AppInit and move itself there and create all profile files there. I will try if this still works this evening. Easy way of installing software on your NMT using just your mouse: NMT Community Software Installer |
|||
|
05-28-2009, 10:08 AM
|
|||
|
|||
|
RE: [CSI] Community Software Installer 2.1.5 (Windows/Linux/OSX)
Good afternoon.
At me the same problem as well as at lundman and rterblanche post:# 1083. In additives CSI puts in a root empty! appinit.cgi. I used CSI 2.1.5. With the pregoing version result same. There are any ways of the decision of this problem? Thanks. P.S. NMT it is not connected to internet. |
|||
|
05-28-2009, 10:54 AM
(This post was last modified: 05-28-2009 11:01 AM by Ger Teunis.)
|
|||
|
|||
RE: [CSI] Community Software Installer 2.1.5 (Windows/Linux/OSX)
(05-28-2009 10:08 AM)dob73 Wrote: Good afternoon. There we go, the NMT will try to download the appinit.cgi itself. That is why the NMT must have an internet connection. In a future CSI release I will change this. For the time being having a internet connection on the NMT is an requirement of CSI. Now: how to solve this by hand: download: http://repository.nmtinstaller.com/appinit.cgi Store the file in /share the via telnet execute the cgi script and it will install itself. Easy way of installing software on your NMT using just your mouse: NMT Community Software Installer |
|||
|
05-28-2009, 12:06 PM
(This post was last modified: 05-28-2009 12:12 PM by lundman.)
|
|||
|
|||
|
RE: [CSI] Community Software Installer 2.1.5 (Windows/Linux/OSX)
The wget thing made little difference, I'm trying to install "llink". True, I do end up with appinit.cgi in the right place.
Here is tcpdump, well, snippets. Sorry for the garbage, its tcpdump ![]() Code: @STOR installprepare.cgiIt would be my guess that it should have /share/Apps/llink/appinfo.json Info about my HDD, it is a mess: Code: drwxrwxrwx 15 nmt nmt 4096 May 28 19:54 /share/Tried from Windows laptop, same issue. |
|||
|
05-28-2009, 12:10 PM
(This post was last modified: 05-28-2009 12:13 PM by Ger Teunis.)
|
|||
|
|||
|
RE: [CSI] Community Software Installer 2.1.5 (Windows/Linux/OSX)
I've seen that one before, I think the tar file has "invalid tar magic".
Could you try to upload the tar by hand and untar it on the NMT yourself? Some tar clients seem to create a tar which cannot be extracted by the default busybox's tar but seems to work on users with my busybox. I've to add an additional error message to appinit.cgi. When it is displaying /share/Apps//appinit.json error it really is telling you that it wasn't able to unextract the llink.tar OR the llink.tar doesn't contain a (valid) appinfo.json file. (05-28-2009 12:06 PM)lundman Wrote: The wget thing made little difference, I'm trying to install "llink". True, I do end up with appinit.cgi in the right place. Easy way of installing software on your NMT using just your mouse: NMT Community Software Installer |
|||
|
05-28-2009, 02:05 PM
|
|||
|
|||
|
RE: [CSI] Community Software Installer 2.1.5 (Windows/Linux/OSX)
I most certainly can. Where is it?
![]() (On related note, can I get CSI to tell me the URL for the package of the selected item?) |
|||
|
05-28-2009, 02:08 PM
|
|||
|
|||
RE: [CSI] Community Software Installer 2.1.5 (Windows/Linux/OSX)
(05-28-2009 02:05 PM)lundman Wrote: I most certainly can. Where is it? Easiest way: During install in the temp folder in the CSI folder. Copy the tar to your desktop or so. All download url's are available in the Main_Repository.xml in Repositories folder. You can tell CSI to install from a local file, in windows a URL also should work as well if you enter the complete http url in the open location. Do not know if Linux or OSX would accept that as well. Easy way of installing software on your NMT using just your mouse: NMT Community Software Installer |
|||
|
05-28-2009, 02:26 PM
|
|||
|
|||
|
RE: [CSI] Community Software Installer 2.1.5 (Windows/Linux/OSX)
Ah of course.
The tarball itself is fine, and untars ok. Most annoyingly, it untars to cwd! Bah, haven't had a tar do that to me since 1998 ![]() Anyway, manually trying the GET to install after uploading tar file, and untaring, I get: Code: telnet 192.168.11.11 8883So, I upload the file again, and simply run the shell script by hand: Code: # ./appinit.cgi install llink.tarNeat. I turn on sh -x, and do it via GET again: Stand back, this is verbose: Code: GET /HARD_DISK/Apps/AppInit/appinit.cgi?install&llink.tar HTTP/1.1 |
|||
|
05-28-2009, 02:29 PM
(This post was last modified: 05-28-2009 02:35 PM by Ger Teunis.)
|
|||
|
|||
|
RE: [CSI] Community Software Installer 2.1.5 (Windows/Linux/OSX)
That is very weird, is you sybhttpd started as root?
To get an indication where this might go wrong: 1. Are you able to install other applications 2. Does this error occur on Windows as well as OSX? Could you try the following using telnet or so? Code: /share/Apps/AppInit/appinit.cgi "install&llink.tar"Easy way of installing software on your NMT using just your mouse: NMT Community Software Installer |
|||
|
05-28-2009, 02:34 PM
(This post was last modified: 05-28-2009 02:35 PM by lundman.)
|
|||
|
|||
|
RE: [CSI] Community Software Installer 2.1.5 (Windows/Linux/OSX)
"/bin/tar -x appinfo.json -vf "/share/llink.tar"
That is not correct syntax. (-x does not take arguments so it would be the real first argument, and -fv switches may not follow first argument) Code: # tar -tf llink.tar appinfo.json You can use -xf to extract it too, but since you delete it right after, I assume it is a test for existence? But fixing that doesn't fix the problem either.. I could blow away my HDD area and try .. but not sure what bits in there might still be useful. I'll play around some more tomorrow. |
|||
|
05-28-2009, 02:40 PM
(This post was last modified: 05-28-2009 05:49 PM by Ger Teunis.)
|
|||
|
|||
RE: [CSI] Community Software Installer 2.1.5 (Windows/Linux/OSX)
(05-28-2009 02:34 PM)lundman Wrote: "/bin/tar -x appinfo.json -vf "/share/llink.tar" No, that is not it. You can specify which file to extract the file from the tar. All other users including myself do not see this problem. CSI is used a lot, around 2+GB on installation traffic per day so it has to be something specific on your NMT. If this was a problem that big a lot more users would have complained ![]() Also, installing using a terminal worked for ya. so the tar is going right there. Same code is executed using terminal install as via sybhttpd. The first untar will only extract the appinfo.json, interpret it and then will do the real untarring to the new location. It is more then just a check if the file is there. This is an enhancement for faster installation of large-number-of-files packages like DownloadManager and so. Still interested why executing the appinit.cgi is different from sybhttpd then by hand in the terminal. Code: # tar cvf test.tar start_app.shEasy way of installing software on your NMT using just your mouse: NMT Community Software Installer |
|||
|
05-28-2009, 10:34 PM
|
|||
|
|||
IT WORKS ON A PPC OSX!!!
IM SOOO HAPPY!Thanks!!!
|
|||
|
05-28-2009, 11:43 PM
|
|||
|
|||
RE: [CSI] Community Software Installer 2.1.5 (Windows/Linux/OSX)
(05-28-2009 02:40 PM)Ger Teunis Wrote: No, that is not it. You can specify which file to extract the file from the tar. All other users including myself do not see this problem. CSI is used a lot, around 2+GB on installation traffic per day so it has to be something specific on your NMT. If this was a problem that big a lot more users would have complained I didn't bother changing the tar, since that syntax works, I was just pointing out it is technically not legal ![]() Code: tar [[-]bundled-options Args] [gnu-style-flags]As you can see, the "..." is last (list of filenames) and options should not follow it. Now, we all know it uses getopt() so it will just work. Anyway, merely semantics. I'll debug more when I'm at work, since I can trigger the bug from telnet pasting the GET line. |
|||
|
« Next Oldest | Next Newest »
|

Twitter
Facebook
NMT Wiki
Search
Member List
Help
A-400 [13 May 2013]






![[+]](images/collapse_collapsed.gif)




IM SOOO HAPPY!