CLOSED: Dashboard exception

Turkannodland
Posts: 19
Joined: Thu Feb 26, 2009 3:36 pm

CLOSED: Dashboard exception

Postby Turkannodland » Sun Jul 27, 2014 11:47 am

I just returned from 4 week holiday. My Amahi server( 7.1 on Fedora 19) was shut down while I was away.
The machine starts up as normal, all shares and web apps are available, but when I try to access the Dashboard I get a funny page saying " The Dashboard has encountered an exception". It is suggested the the problem is due to lack of disk space or memory shortage. I do not see any problem with the filesystem listing:

Code: Select all

Filesystem Size Used Avail Use% Mounted on /dev/sda5 32G 8.3G 22G 28% / devtmpfs 911M 0 911M 0% /dev tmpfs 918M 99k 918M 1% /dev/shm tmpfs 918M 1.1M 917M 1% /run tmpfs 918M 0 918M 0% /sys/fs/cgroup tmpfs 918M 685k 917M 1% /tmp /dev/sdc1 3.0T 3.0T 892M 100% /media /dev/sda1 199M 100M 85M 54% /boot none 4.2M 0 4.2M 0% /var/spool/greyhole/mem /dev/mapper/truecrypt1 2.9T 2.2T 570G 80% /var/hda/files
How can this problem occure simply by a machine reboot (after 4 weeks shut down)?

Any suggestions that may help me out with this problem will be appreciated

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

Re: Dashboard exception

Postby bigfoot65 » Sun Jul 27, 2014 2:35 pm

Are you using Greyhole?

I see this one as a potential problem maybe:
/dev/sdc1 3.0T 3.0T 892M 100% /media
The drive is full.
ßîgƒσστ65
Applications Manager

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

Turkannodland
Posts: 19
Joined: Thu Feb 26, 2009 3:36 pm

Re: Dashboard exception

Postby Turkannodland » Tue Jul 29, 2014 11:56 am

The reason for it says 100% is because it is a truecryp container. This has been working like a charm since installation of Amahi 7.
But I tried just for fun to remove it and see if it had any effect to the "Dashboard Exception" problem:

Code: Select all

Filesystem Size Used Avail Use% Mounted on /dev/sda5 32G 8.3G 22G 28% / devtmpfs 911M 0 911M 0% /dev tmpfs 918M 99k 918M 1% /dev/shm tmpfs 918M 988k 917M 1% /run tmpfs 918M 0 918M 0% /sys/fs/cgroup tmpfs 918M 33k 918M 1% /tmp /dev/sda1 199M 100M 85M 54% /boot none 4.2M 0 4.2M 0% /var/spool/greyhole/mem
But the problem persist. Any suggestions for more troubleshooting tips?

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

Re: Dashboard exception

Postby bigfoot65 » Tue Jul 29, 2014 1:56 pm

Have you installed the latest OS updates. There have been updates to Amahi 7 recently that may or may not be a contributing factor.

We do not support using Truecrypt containers, so hopefully for you that is not related. Recommend you check the /var/log directory files for clues on the issue.

Also you can do this as root user:

Code: Select all

systemctl status hda-ctl.service
If it's running, that is good. If not, try starting it by replacing status with start.
ßîgƒσστ65
Applications Manager

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

Turkannodland
Posts: 19
Joined: Thu Feb 26, 2009 3:36 pm

Re: Dashboard exception

Postby Turkannodland » Fri Aug 01, 2014 10:50 am

This is what I get:

Code: Select all

[tnodland@localhost ~]$ systemctl status hda-ctl.service hda-ctl.service - Amahi HDA controller Loaded: loaded (/usr/lib/systemd/system/hda-ctl.service; enabled) Active: active (running) since Thu 2014-07-31 20:58:13 CEST; 22h ago Main PID: 1521 (hda-ctl - sleep) CGroup: name=systemd:/system/hda-ctl.service ├─1521 hda-ctl - sleeping for 565 seconds └─1522 /usr/bin/perl -w /usr/bin/hda-ctl Jul 31 20:58:13 localhost.localdomain systemd[1]: Starting Amahi HDA controller... Jul 31 20:58:13 localhost.localdomain systemd[1]: PID file /run/hda-ctl.pid not readable (yet?) after start. Jul 31 20:58:13 localhost.localdomain systemd[1]: Started Amahi HDA controller.
Is this what to expect?

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

Re: Dashboard exception

Postby bigfoot65 » Fri Aug 01, 2014 11:02 am

Yes.
ßîgƒσστ65
Applications Manager

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

Turkannodland
Posts: 19
Joined: Thu Feb 26, 2009 3:36 pm

Re: Dashboard exception

Postby Turkannodland » Sun Aug 03, 2014 7:36 am

Tough nut this!

I check my var/hda/files with the ls -l command:

Code: Select all

drwxrwxrwx 3 1000 users 4096 Dec 25 2012 owncloud drwxrwxrwx 2 1000 users 4096 Sep 26 2010 phpmyadmin drwxrwxrwx 35 tnodland users 4096 May 29 18:20 Pictures drwxrwxrwx 2 1000 users 4096 Feb 13 2013 Public drwxrwxrwx 3 tnodland users 20480 Apr 29 18:38 qbittorrent drwxrwxrwx 2 1000 users 4096 Jun 12 2013 TCVol drwxrwxr-x 10 transmission users 4096 May 11 20:00 torrents drwxrwxrwx 4 tnodland users 4096 May 31 09:31 Torrents drwxrwxr-x 2 tnodland users 4096 Jul 29 04:04 tv drwxrwxrwx 9 tnodland users 4096 May 17 2011 TVshows drwxrwxrwx 2 1000 users 4096 Jun 16 2012 VCD drwxrwxrwx 4 1000 users 4096 Apr 27 2013 VideoP
How is this listing supposed to look like? One thing that strikes me is the user #1000. Who is this. My id is 1002. I checked in /etc/passwd and there is no user #1000.

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

Re: Dashboard exception

Postby bigfoot65 » Sun Aug 03, 2014 7:43 am

You can correct that easily.

Code: Select all

chown -R tnodland:users /var/hda/files
ßîgƒσστ65
Applications Manager

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

Turkannodland
Posts: 19
Joined: Thu Feb 26, 2009 3:36 pm

Re: Dashboard exception

Postby Turkannodland » Sun Aug 03, 2014 9:16 am

I fix the shares with correct owner, but it did not do the trick.
I did even a re boot.

But what about this smbd.log error??:

Code: Select all

(2014/08/03 17:39:39.758376,) 0 ../source3/smbd/server.c:1288(main) standard input is not a socket, assuming -D option DBI connect('database=hda_production;host=localhost','amahihda',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) at /usr/share/hda-platform/hda-usermap line 68.

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

Re: Dashboard exception

Postby bigfoot65 » Sun Aug 03, 2014 9:34 am

Have you installed the latest OS updates?

We do not support using Truecrypt containers, so hopefully for you that is not related.

Has there been a power outage?

Your issues are unique and may require extensive research to repair.
ßî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 10 guests