Page 1 of 2

Amahi crashed after Fedora update :(

Posted: Mon Feb 15, 2010 9:36 pm
by mehmetb
Hi Everyone,

Unfortunately, Amahi crashed after fedora update. Looks like it was a release update, because I see Fedora 13, not 12. I don't even have X11 at the moment. Just a cursor. I have DHCP tough, so I can at least connect to internet. Also http://hda now returns:

Code: Select all

Ruby on Rails could not be started
I will now try what is recommended:

Code: Select all

Error message: Missing the Rails 2.3.4 gem. Please `gem install -v=2.3.4 rails`, update your RAILS_GEM_VERSION setting in config/environment.rb for the Rails version you do have installed, or comment out RAILS_GEM_VERSION to use the latest version installed.
Still, even if I make this work, I don't know how to fix all other problems. I would not like a crippled, hardly-working system, even tough some of the functionality is there.

What would be a good point to start fixing these issues? What log files should I be looking at? Is there anybody there who performed the update and experienced similar problems?

Thanks so much!

Re: Amahi crashed after Fedora udpate :(

Posted: Tue Feb 16, 2010 2:44 am
by cpg
I see Fedora 13, not 12
whoa. where exactly do you see that?

did you enable the "rawhide" repo? that is the only explanation i can see.

Code: Select all

grep enabled /etc/yum.repos.d/fedora-rawhide.repo

Re: Amahi crashed after Fedora udpate :(

Posted: Tue Feb 16, 2010 12:46 pm
by mehmetb
I see Fedora 13, not 12
whoa. where exactly do you see that?

did you enable the "rawhide" repo? that is the only explanation i can see.

Code: Select all

grep enabled /etc/yum.repos.d/fedora-rawhide.repo
I see "Fedora 13" at startup screen, you know, the blue and white (and weird) progress bar. I have not enabled the rawhide repo, at least not manually (editing the repo file), that's why I was very much surprised to see that I upgraded to the test release. I don't want speculate but I installed the RPM fusion packages just before this happened to test the new DLNA server (which works flawlessly BTW!!). Do you think they might have somehow enabled these repos?

I was so happy with Amahi that I formatted the system and installed everything from scratch, so I have it up and working now. So I cannot try grepping for the repo anymore. I wish I could 'clone' the image at this point... I know there are tools for that but I don't know large enough a drive to keep the image. Still, I would very much appreciate any suggestions which tools to use, in case I have a new hard drive...

I am really hoping same thing does not happen again. And thanks for your reply!

Re: Amahi crashed after Fedora udpate :(

Posted: Tue Feb 16, 2010 6:38 pm
by mehmetb
After the fresh install, the Fedora updater is bugging me with a huge list of updates. I am willing to give it a go, but I would not like the same thing to happen again. I grepped for all the repos (attached), looks like rawhide is not enabled. I would really appreciate if you could have a look at the list and tell me if it's safe... Thanks a lot in advance!

Re: Amahi crashed after Fedora udpate :(

Posted: Wed Feb 17, 2010 3:45 pm
by cpg
looks ok to me. there is no way you could have gotten fedora 13 without enabling the rawhide repos, methinks.

just to make sure, i just updated to the latest myself and all went well. i even got a new kernel and rebooted and everything is ok.

Code: Select all

$ head -1 /etc/issue Fedora release 12 (Constantine)

Re: Amahi crashed after Fedora udpate :(

Posted: Wed Feb 17, 2010 4:38 pm
by mehmetb
looks ok to me. there is no way you could have gotten fedora 13 without enabling the rawhide repos, methinks.

just to make sure, i just updated to the latest myself and all went well. i even got a new kernel and rebooted and everything is ok.
Yes, I must have enabled the rawhide repository somehow. Good thing I destroyed the evidence :) Since now I am better trained to format the machine and set everything up again, I will give the updates a try.

Thanks!

Re: Amahi crashed after Fedora udpate :(

Posted: Fri Feb 19, 2010 11:10 pm
by NZmde
I just hit this same issue after doing a Fedora update, however I didn't get upgraded to Fedora 13.

The error message I got was:
Ruby on Rails application could not be started
The application has exited during startup (i.e. during the evaluation of config/environment.rb). The error message can be found below. To solve this problem, please follow any instructions in the error message.

Error message:
Missing the Rails 2.3.4 gem. Please `gem install -v=2.3.4 rails`, update your RAILS_GEM_VERSION setting in config/environment.rb for the Rails version you do have installed, or comment out RAILS_GEM_VERSION to use the latest version installed.
Running the install (running "gem install -v=2.3.4 rails") fixed the problem.

Re: Amahi crashed after Fedora udpate :(

Posted: Wed Feb 24, 2010 7:08 pm
by ehupp
I had the same problem but had to use a slightly different version of code to get the rails package to re-install.

In case someone else runs into the problem in the future as root:

Code: Select all

gem install rails -v=2.3.4

Re: Amahi crashed after Fedora udpate :(

Posted: Thu Feb 25, 2010 7:03 pm
by oldcyberdude
Thanks for the info. I just got the same error page from Ruby on Rails after a recent Fedora 12 update. The gem install did the trick.

Re: Amahi crashed after Fedora udpate :(

Posted: Mon Mar 01, 2010 8:25 am
by njtuneguy
Performed an upgrade myself today (with a little anxiety) due to kernel crashes... even though the system keeps functioning. I think the crashes might have to do with either 1)software raid 0, or 2)VNC config issues. Either way the upgrade went off w/out a hitch :)

@ mehmetb and cpg:
I grepped for all the repos (attached), looks like rawhide is not enabled.
Not sure if this is an alternative way to find everything about which repos are enabled but it seems to work:

Code: Select all

yum repolist
The output seems fairly easy to read/decipher, and it's easy enough to do before any updates.