Troubleshooting the amahi 5.0 installer

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Troubleshooting the amahi 5.0 installer

Postby cpg » Fri Dec 11, 2009 3:17 am

We have seen a couple of instances of the new installer not starting properly, so i thought i'd post directions on how to troubleshoot the amahi installer. copying what's there at the time of this writing below.

Troubleshooting the Amahi Installer

If the installer does not work, the user sees Firefox having problem connecting with the installer:

Code: Select all

can't connect to localhost:2000
The first step is in figuring out what went wrong:

Code: Select all

cat /tmp/amahi-ruby-installer.log
One reason it could fail is if sinatra cannot be installed:

Code: Select all

gem_original_require: no such file to load -- sinatra (LoadError)
This could be due to connectivity/networking issues, because, because the new web based installer starts by installing the framework it needs, call sinatra.
[edit] Running behind a Proxy

To install sinatra behind a proxy, type this (as root):

Code: Select all

gem --no-rdoc --no-ri --http-proxy http://yourproxyurl/ sinatra service amahi-installer restart
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

Who is online

Users browsing this forum: No registered users and 8 guests