Hey regivanx, I myself had my fair share of troubles trying to host a packaged app on my servers. Firefox OS currently is pretty obscure on install-time error notifications, and gives quite a hard time for the developer trying to figure out what went wrong during the package install process.
For finding out what exactly happened, you should start a remote debugging console session* from Firefox to the Simulator and try installing the app again (from the browser, using your install.html). If there were some errors during install, you should see a log entry with a somewhat more informative message of what happened. It was find out, that my package and webapp manifest do not match (the webapp manifest contained Locale declarations, which were not present in the Package manifest, which in turn results in a failed app install). Good luck, Flaki (*) you may connect to the simulator using the "Connect..." feature On Tuesday, July 30, 2013 9:54:13 AM UTC, [email protected] wrote: > Hi, > > > > I want to install mortar-app-stub like packaged app from my server for test. > > > > I try to follow Mozilla procedure: > > > > https://developer.mozilla.org/en-US/docs/Web/Apps/Packaged_apps > > > > I use Linux. > > > > $ git clone https://github.com/mozilla/mortar-app-stub myapp # download app > > $ zip -r package.zip myapp # compress > > $ gedit package.manifest install.html & # create Mozilla files, remplace > “<server-ip>” by “localhost” > > $ cp package.zip package.manifest install.html ~/server # copy files to > server root. > > > > I run Firefox OS simulator and go to http://localhost/install.html > > > > Then, I got the error message : “My App install failed” and the folder: > > > > ~/.mozilla/firefox/fggbnctv.default/extensions/[email protected]/profile/webapps/{d864eb8c-fb3f-4116-8040-9161a233a1f4} > > > > contains only the update.webapp file. > > > > Note that I use Apache as a server without special modification. _______________________________________________ dev-webapps mailing list [email protected] https://lists.mozilla.org/listinfo/dev-webapps
