Page 1 of 1

Apps

Posted: Sun Jun 09, 2013 8:19 pm
by pendrgn
Hi there, I installed Amahi on Ubuntu 12.04.02 LTE and it seemed to go smoothly. However, when I installed my first app - vtiger - I was directed to the "Why am I here" page (http://vtiger.amahi.net/). I followed the interactive troubleshooted guide but couldn't identify anything wrong. The Ubuntu install was done on a clean server (headless) and I access it via ssh. I set network/interfaces - eth0 -for static (192.168.2.12) with the appropriate gateway, broadcast etc. I did not configure a dns nameserver. I disabled dhcp on the DSL router; my laptop and PC pickup the appropriate IP addresses from the hda dhcp server.

Hopefully you can point me in the right direction to resolve this issue.

Regards, pendrgn

Re: Apps

Posted: Mon Jun 10, 2013 4:43 am
by bigfoot65
Check /var/log/amahi-app-installer.log for errors. Have you tried other apps?

Re: Apps

Posted: Mon Jun 10, 2013 9:56 am
by pendrgn
I can't see any errors, output below. I also tried phpsysinfo and speedtest with the same results. Regards, pendrgn

======= app install begin @ Sun Jun 09 11:10:16 -0400 2013 ==========
Installing app id woicmpgat7 under /var/hda/platform/html ENV=production
NOTE: file /tmp/amahi-download-cache/352f5dab8da5169e0176195c539ecf243aa6def6 written in cache
App: Agedashi Theme installed
======= app install end @ Sun Jun 09 11:10:18 -0400 2013 ==========
======= app install begin @ Sun Jun 09 11:13:46 -0400 2013 ==========
Installing app id dek8819qts under /var/hda/platform/html ENV=production
NOTICE: redirected 'http://downloads.sourceforge.net/projec ... 1.4.tar.gz' --> 'http://iweb.dl.sourceforge.net/project/ ... 1.4.tar.gz' ...
NOTE: file /tmp/amahi-download-cache/5aec2eb604bd22711cc06950ed52145165cfe903 written in cache
Your HDA services have been restarted.
Your HDA services have been restarted.
App: phpSysInfo installed
======= app install end @ Sun Jun 09 11:14:00 -0400 2013 ==========
======= app install begin @ Mon Jun 10 12:35:58 -0400 2013 ==========
Installing app id 35k8262man under /var/hda/platform/html ENV=production
NOTE: file /tmp/amahi-download-cache/fd05c6e5d7dd686e28360d0deea78b2a78edd045 written in cache
Your HDA services have been restarted.
Your HDA services have been restarted.
App: Speedtest.net Mini installed
======= app install end @ Mon Jun 10 12:36:00 -0400 2013 ==========

Re: Apps

Posted: Mon Jun 10, 2013 12:16 pm
by bigfoot65
May be related to this bug.
https://bugs.amahi.org/issues/1023

Re: Apps

Posted: Mon Jun 10, 2013 1:06 pm
by pendrgn
Hmmm looks like there's some wrong here. I followed the instructions in the indicated bug fix. The output of the 'ls' command is different.

jim@HomeServer:~$ sudo service apache2 restart
* Restarting web server htcacheclean apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[Mon Jun 10 15:42:13 2013] [warn] NameVirtualHost *:80 has no VirtualHosts
[Mon Jun 10 15:42:13 2013] [warn] NameVirtualHost *:80 has no VirtualHosts
... waiting /var/lock/apache2 already exists but is not a directory owned by apache.
Please fix manually. Aborting.
[fail]
jim@HomeServer:~$ sudo rm -R /var/lock/apache2
jim@HomeServer:~$ sudo service apache2 start
* Starting web server apache2 /var/lock/apache2 already exists but is not a directory owned by apache.
Please fix manually. Aborting.
[fail]
jim@HomeServer:~$ ls -la /var/lock
lrwxrwxrwx 1 root root 9 Jun 8 23:20 /var/lock -> /run/lock

Should be: drwxr-xr-x 2 www-data root 40 Apr 3 12:00 apache2/

Regards, pendrgn

Re: Apps

Posted: Mon Jun 10, 2013 1:13 pm
by bigfoot65
Try doing:

Code: Select all

sudo su -
The once root user, do:

Code: Select all

rm -rf /var/lock/apache2

Re: Apps

Posted: Mon Jun 10, 2013 1:38 pm
by pendrgn
I also went through the interactive troubleshooter again and I did notice something. the server prompt is appended to the curl output - i don't know if this is significant or not. The prompt is not shown in the curl troubleshooter example.

jim@HomeServer:~$ curl http://hda
<html><body>You are being <a href="http://hda/user_sessions/new">redirecte ... HomeServer:~$[/App]

Re: Apps

Posted: Mon Jun 10, 2013 3:53 pm
by bigfoot65
Not sure if that is an issue or not. Should not matter with respect to your HDA though. Did you try what I suggested in my previous post? That should work.

Re: Apps

Posted: Tue Jun 11, 2013 3:22 pm
by pendrgn
Tried your suggestion, didn't work. I think I'll give up on this installation, I'll wipe the server and try again. Is there any preference between Ubuntu 12.04 server vs desktop?

Re: Apps

Posted: Tue Jun 11, 2013 3:29 pm
by bigfoot65
Desktop as there are issues with server as noted at https://docs.amahi.org.

[ Post made via Android ] Image