Page 1 of 2

SOLVED: The Dashboard has encountered an exception!

Posted: Tue Sep 29, 2015 10:55 pm
by sakhmed
I am newbie to Amahi :-)

Just yesterday, I installed Amahi8 + Greyhole (using amahi app Greyhole UI), set it as instructed in amahi's wiki. Mounted additional USB external drive using Disk Wizard App. Everything worked well.

Here are screenshots from amahi dashboard
amahipool.JPG
amahipool.JPG (46.44 KiB) Viewed 6040 times
amahipoolshares.JPG
amahipoolshares.JPG (45.52 KiB) Viewed 6040 times
I have also set windows backup using Windows 8/10 utility - File History. That went well as well, windows discovered network drive as 1.3T , which is the greyhole pool.

However in a morning I got "The Dashboard has encountered an exception!"

When I check disk spase

Code: Select all

[root@localhost ~]# df Filesystem 1K-blocks Used Available Use% Mounted on devtmpfs 1883828 0 1883828 0% /dev tmpfs 1894152 0 1894152 0% /dev/shm tmpfs 1894152 636 1893516 1% /run tmpfs 1894152 0 1894152 0% /sys/fs/cgroup /dev/sda3 51475068 2190044 46647200 5% / tmpfs 1894152 32 1894120 1% /tmp /dev/sdb1 976760828 97864 976662964 10% /var/hda/files/drives/redssd1tb01 /dev/sda1 487652 487552 100 100% /boot /dev/sda5 424737144 333172 402805460 10% /home none 4096 0 4096 0% /var/spool/greyhole/mem tmpfs 378832 0 378832 0% /run/user/1000
I found that sda1 is 100% full.

I also noticed some warning message in greyhole.log (I did not touch redssd1tb01 - external drive since I installed it with Disk Wizard App )

Code: Select all

[root@localhost ~]# tail -f /var/log/greyhole.log Sep 30 04:58:53 INFO daemon: Greyhole (version 0.9.63) daemon started. Sep 30 04:58:53 INFO daemon: Optimizing MySQL tables... Sep 30 04:58:53 WARN daemon: Warning! It seems the partition UUID of /var/hda/files/drives/redssd1tb01/gh changed. This probably means this mount is currently unmounted, or that you replaced this drive and didn't use 'greyhole --replace'. Because of that, Greyhole will NOT use this drive at this time.
Then, using terminal, I removed the Share that I used for Windows backups "AllBackups" and restarted Fedora.
After that I could login into Amahi Dashboard.

I wonder, what went wrong? How to avoid this issue in the future? Is this issue has something to do with greyhole landing zones?

Please help me here.


Required info:

Code: Select all

[root@localhost ~]# uname -r; rpm -q samba amahi-greyhole 4.1.7-100.fc21.x86_64 samba-4.1.17-1.fc21.x86_64 amahi-greyhole-0.9.63-0.x86_64

Code: Select all

[root@localhost ~]# tail -f /etc/samba/smb.conf [Videos] comment = Videos path = /var/hda/files/videos writeable = yes browseable = yes create mask = 0775 force create mode = 0664 directory mask = 0775 force directory mode = 0775

Code: Select all

[root@localhost ~]# tail -f /etc/greyhole.conf log_memory_usage = no check_for_open_files = yes ignored_files = (\..*\.[0-9a-zA-Z]{6}|[0-9A-F]{8}\.tmp|\.cprestoretmp.*) ignored_folders = .*/_UNPACK_.* log_level = INFO storage_pool_directory = /var/hda/files/drives/redssd1tb01/gh, min_free: 10gb storage_pool_directory = /home/gh, min_free: 10gb num_copies[AllBackups] = 1 num_copies[Pictures] = 2

Code: Select all

[root@localhost ~]# tail /var/log/greyhole.log Sep 30 04:58:53 INFO daemon: Greyhole (version 0.9.63) daemon started. Sep 30 04:58:53 INFO daemon: Optimizing MySQL tables... Sep 30 04:58:53 WARN daemon: Warning! It seems the partition UUID of /var/hda/files/drives/redssd1tb01/gh changed. This probably means this mount is currently unmounted, or that y ou replaced this drive and didn't use 'greyhole --replace'. Because of that, Greyhole will NOT use this drive at this time. Sep 30 05:01:52 INFO fsck: Cleaning executed tasks: keeping the last 60 days of logs. Sep 30 05:08:53 INFO fsck: Now working on task ID 2411: fsck /var/hda/files/allbackups/ Sep 30 05:08:53 INFO fsck: Starting fsck for /var/hda/files/allbackups Sep 30 05:08:53 INFO fsck: fsck for /var/hda/files/allbackups completed. Sep 30 05:08:53 INFO fsck: Now working on task ID 2412: fsck /var/hda/files/pictures/ Sep 30 05:08:53 INFO fsck: Starting fsck for /var/hda/files/pictures Sep 30 05:08:53 INFO fsck: fsck for /var/hda/files/pictures completed.

Re: The Dashboard has encountered an exception!

Posted: Wed Sep 30, 2015 4:39 am
by bigfoot65
Suggest you check out Greyhole troubleshooting. If that does not help, maybe try following the guidance in the log after remounting the drive.

Code: Select all

greyhole --replace

Re: The Dashboard has encountered an exception!

Posted: Wed Sep 30, 2015 5:25 am
by sakhmed
Could you please tell me, how to check current share's landing zone?

Re: The Dashboard has encountered an exception!

Posted: Wed Sep 30, 2015 5:38 am
by bigfoot65
See Greyhole Landing Zone for details.

BTW, the Amai Wiki has a lot of information and solution to common problems. Might want to check it out.

Also when corresponding in the forums, we would appreciate it if you would attach files vs posting large amounts of text or images inline. We try to keep the length of posts to a minimum when possible. Often log files and such take up a lot of space and often hard to follow the intent of the post.

Re: The Dashboard has encountered an exception!

Posted: Wed Sep 30, 2015 5:45 am
by sakhmed
OK, thank you! I will follow your recommendation for posting on the forum in a future

Re: The Dashboard has encountered an exception!

Posted: Wed Sep 30, 2015 7:09 am
by bigfoot65
No problem, just wanted to mention it.

Hopefully you will get it sorted out. If not, let us know and we will diagnose further.

Re: The Dashboard has encountered an exception!

Posted: Wed Sep 30, 2015 7:56 am
by sakhmed
It seems like I did not realize that after installing Greyhole UI app and enabling partitions to use as greyhole pool, one needs as well to change LZ in shares' settings via Amahi's interface. It is not clear from wiki. It would be nice to put together small step-by-step tutorial for apps such as Greyhole UI and link it to the app's homepage taking into account that Greyhole UI is a paid app

Re: The Dashboard has encountered an exception!

Posted: Wed Sep 30, 2015 8:06 am
by bigfoot65
That is a good idea. We have been wanting to build more tutorials for common tasks such as this. Would you be willing to assist?

Always best to have documentation done from a user's perspective. I am happy to help and it can be added to the Amahi Wiki.

There is some information on the Greyhole UI App Transition Guide page.

Re: The Dashboard has encountered an exception!

Posted: Wed Sep 30, 2015 8:27 am
by sakhmed
This tutorial is good https://wiki.amahi.org/index.php/Greyho ... tion_Guide

However it seems that it misses a part of tuning greyhole where a user has to change actual shares' locations (LZ's) on shares tab for each individual shares.

Am I correct?

Re: The Dashboard has encountered an exception!

Posted: Wed Sep 30, 2015 8:38 am
by bigfoot65
Yes that is correct. I was not designed for that particular task. Moving the LZ is a different tutorial of course. Maybe we can add a link for that piece to this page.

Moving Landing Zone is probably what you were looking for I bet. This is at the bottom of the page I previously posted.

The wiki is our primary documentation site. I encourage users to look there first as most common tasks are already documented.