Partitions report webpage - no pie chart

Davidson1
Posts: 3
Joined: Fri Apr 06, 2012 7:56 am

Partitions report webpage - no pie chart

Postby Davidson1 » Fri Apr 06, 2012 8:09 am

Came back from a long trip to a borked amahi server (house had a long power failure). Couldn't find anything similar to my errors on the Amahi wiki/forum, so went after the symptoms from other sites. I reinstalled several yum and ruby gem components from commandline (commands itemized below). Sys seems up and running fine again, but the storage reporting page on my server used to have 3 pie charts showing partition space use/avail. Now, all I get is the little box with

Free space: 352.2 GB
Used space: 1.5 TB
Total space: 1.8 TB

... and 3 spinning 'wait' animations where the pie charts for Partition 0, 1 and 2 used to be.

Anyone had dynamic graphic stuff like this die, or have suggestions?

Commands I ran:
yum install rubygems
gem update --system --source http://production.s3.rubygems.org
gem install -v=2.3.4 rails
hdactl restart
yum update rubygem-passenger
gem install pluginfactory
gem install rack
init 6

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

Re: Partitions report webpage - no pie chart

Postby bigfoot65 » Sun Apr 08, 2012 5:59 pm

Can't say I have heard of this issue. A power outage often causes issues that are not easily resolved. Many that I have heard about end up reinstalling from scratch.

Not sure if the ruby updates you performed could be causing some of the issues.
ßîgƒσστ65
Applications Manager

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

Davidson1
Posts: 3
Joined: Fri Apr 06, 2012 7:56 am

Re: Partitions report webpage - no pie chart

Postby Davidson1 » Sun Apr 08, 2012 11:06 pm

Thanks. I agree that the amahi framework might have residual damage.

Any coders out there know what the underlying code for the piecharts is?

Edit: found disk_graph in /platform/platform/html/app/controllers/setup_controller_rb - requires gruff, so I'll start with those two.

Davidson1
Posts: 3
Joined: Fri Apr 06, 2012 7:56 am

Re: Partitions report webpage - no pie chart

Postby Davidson1 » Tue Apr 10, 2012 9:29 am

The above steps, plus

# gem install griff
# service httpd restart

... and the charts are being generated properly again. Posted in case anyone else has the problem.

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

Re: Partitions report webpage - no pie chart

Postby bigfoot65 » Tue Apr 10, 2012 10:19 am

Glad to hear you got it sorted out. Would you be willing to add this to the wiki? We are trying to keep that as our primary source of documentation.
ßî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