Apps

pendrgn
Posts: 5
Joined: Sun Jun 09, 2013 7:56 pm

Apps

Postby pendrgn » Sun Jun 09, 2013 8:19 pm

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

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Apps

Postby bigfoot65 » Mon Jun 10, 2013 4:43 am

Check /var/log/amahi-app-installer.log for errors. Have you tried other apps?
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

pendrgn
Posts: 5
Joined: Sun Jun 09, 2013 7:56 pm

Re: Apps

Postby pendrgn » Mon Jun 10, 2013 9:56 am

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 ==========

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Apps

Postby bigfoot65 » Mon Jun 10, 2013 12:16 pm

May be related to this bug.
https://bugs.amahi.org/issues/1023
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

pendrgn
Posts: 5
Joined: Sun Jun 09, 2013 7:56 pm

Re: Apps

Postby pendrgn » Mon Jun 10, 2013 1:06 pm

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

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Apps

Postby bigfoot65 » Mon Jun 10, 2013 1:13 pm

Try doing:

Code: Select all

sudo su -
The once root user, do:

Code: Select all

rm -rf /var/lock/apache2
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

pendrgn
Posts: 5
Joined: Sun Jun 09, 2013 7:56 pm

Re: Apps

Postby pendrgn » Mon Jun 10, 2013 1:38 pm

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]

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Apps

Postby bigfoot65 » Mon Jun 10, 2013 3:53 pm

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.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

pendrgn
Posts: 5
Joined: Sun Jun 09, 2013 7:56 pm

Re: Apps

Postby pendrgn » Tue Jun 11, 2013 3:22 pm

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?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Apps

Postby bigfoot65 » Tue Jun 11, 2013 3:29 pm

Desktop as there are issues with server as noted at https://docs.amahi.org.

[ Post made via Android ] Image
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 23 guests