Cannot access HDA - The application has found an error

MikIrl
Posts: 15
Joined: Wed Jun 29, 2011 3:01 pm

Cannot access HDA - The application has found an error

Postby MikIrl » Wed Jun 29, 2011 3:10 pm

Hi Folks,

I added an NTFS drive to my server today and when I restarted I cannot access the HDA dashboard.
I had a look in the logs and found the following:


Rendering /var/hda/platform/html/public/500.html (500 Internal Server Error)


Processing SetupController#index (for 192.168.1.100 at 2011-06-29 22:51:52) [GET]
Parameters: {"action"=>"index", "controller"=>"setup", "tab"=>"debug"}

RuntimeError (hdactl does not appear to be running!):

I tried to restart hadctl but it failed... Any ideas?

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

Re: Cannot access HDA - The application has found an error

Postby bigfoot65 » Wed Jun 29, 2011 7:24 pm

How did you mount the drive? Might remove the drive and see if thing start working again. It is important that you follow wiki guidance for adding drives or you could break the HDA. Of course you probably know that now LOL
ßîgƒσστ65
Applications Manager

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

MikIrl
Posts: 15
Joined: Wed Jun 29, 2011 3:01 pm

Re: Cannot access HDA - The application has found an error

Postby MikIrl » Thu Jun 30, 2011 1:50 am

How did you mount the drive? Might remove the drive and see if thing start working again. It is important that you follow wiki guidance for adding drives or you could break the HDA. Of course you probably know that now LOL
Well I just plugged the drive in and Fedora mounted it as Media when I restarted the server.
Strange thing is that I did this last week and it worked fine.... Though that was an external one and this one was Internal....

So what's the next step - remove it and hope it works..
If not it's prob a re-install I guess...

Totally new to this... :oops:

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

Re: Cannot access HDA - The application has found an error

Postby bigfoot65 » Thu Jun 30, 2011 5:00 am

Recommend you check out the wiki guidance on adding a hard drive.

http://wiki.amahi.org/index.php/Adding_ ... o_your_HDA

External USB drives behave differently than internal obviously. You can leave the drive in and follow the steps in the link above to properly mount and use the drive.

We hope to automate this in the future via the Amahi interface, but for now it's a manual process. I have used this guidance numerous times and it works good. Unfortunately when it comes to Linux, adding new devices is not always a simple plug and play.
ßîgƒσστ65
Applications Manager

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

MikIrl
Posts: 15
Joined: Wed Jun 29, 2011 3:01 pm

Re: Cannot access HDA - The application has found an error

Postby MikIrl » Thu Jun 30, 2011 1:26 pm

How long should it take to mount a drive using the hda-diskmount command?
It has about 300 GB of data in a NTFS format.
The command said it's mounted but I cannot see it on the filesystem...

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

Re: Cannot access HDA - The application has found an error

Postby bigfoot65 » Thu Jun 30, 2011 1:35 pm

It mounts quick, but you have to complete all the manual steps outlined in the wiki. You cannot just run hda-diskmount and be done.
ßîgƒσστ65
Applications Manager

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

MikIrl
Posts: 15
Joined: Wed Jun 29, 2011 3:01 pm

Re: Cannot access HDA - The application has found an error

Postby MikIrl » Thu Jun 30, 2011 3:23 pm

OK - got as far as mount -a but it says mount point does not exist...

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

Re: Cannot access HDA - The application has found an error

Postby bigfoot65 » Thu Jun 30, 2011 3:48 pm

Might be best if you come by the IRC for live help. It's hard to assess the situation in the forums and assist.
ßîgƒσστ65
Applications Manager

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

MikIrl
Posts: 15
Joined: Wed Jun 29, 2011 3:01 pm

Re: Cannot access HDA - The application has found an error

Postby MikIrl » Mon Jul 04, 2011 2:06 pm

Ok - Managed to mount the drive in var/hda/files and have restarted the server but my amahi still is not working.
If I try a reinstall now will it wipe or recreate the var/hda structure?

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

Re: Cannot access HDA - The application has found an error

Postby bigfoot65 » Mon Jul 04, 2011 3:30 pm

If you reinstall it will recreate the structure, but not using your drive. Best to try and determine why Amahi is not working.

If you have the drive mounted as /var/hda/files and the dashboard is not working, there is something else wrong. Check the log files in /var/log for errors.

Also, have you rebooted since installing the second drive? Sometimes that helps.
ßî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 17 guests