SOLVED: I screwed things up big time. Repair or start over?
Posted: Wed May 18, 2016 8:53 am
Thanks for reading. I know just enough about networking and computers to be dangerous but I don't have a deep knowledge. I set up Amahi 7 a few years ago and with the help of people here I even got a 4 disk greyhole set up operating smoothly. Fast forward to last weekend my router overheated an fried. The new router wasn't operating as smoothly with amahi as I would have liked so I tried to upgrade, that is where things went down hill.
I tried to go through the upgrade steps for Amahi 8/Fedora 21 but it didn't go smoothly. I seemed to have a lot more conflicts than anticipated by the walk through. I tried to repeat the steps a few times hoping it would correct itself but it didn't. In my stupidity I decided to push through and upgrade to Amahi 9/Fedora 23. Things got worse at this stage, when i enter the dnf system-upgrade reboot command my system goes through the initial upgrade but at some point in the process there is an error and the system reboots back to fedora 21. I can't read the error message quickly enough before the reboot so I don't know what the issue could be. I then tried to do a fresh install of Amahi 9 but trying to use both a disc and usb image to install Fedora 23 doesn't work and the system reboots to emergency mode.
Despite these issues I can see the HDA's through file explorer and I can access the data. Amahi is handling DHCP on the network.
I've listed some of the errors I'm getting below. Any suggestions on next steps? Is there a way to repair things? If i try to do a fresh install/build how do I handle my drives attached to the server? Do i just unplug them and reattach them after I get a fresh install running (assuming I can get past the Fedora install issues)?
Thanks for the help, I don't know enough about this stuff to know if I am even providing the right data for analysis but let me know if other info would be useful.
When I go through the interactive network trouble shooter I get hung up on step 4 DNS for resolving internal host names. I get this message: Server: 208.67.222.222
Address: 208.67.222.222#53
** server can't find hda: NXDOMAIN
When I try to go to http://hda in a browser I get a page that says "Web application could not be started Phusion Passenger has listed more information about the error below" there is a ton of info on this page but the important stuff looks to be:
libruby.so.2.0: cannot open shared object file: No such file or directory - /var/hda/platform/html/vendor/bundle/ruby/gems/mysql2-0.3.16/lib/mysql2/mysql2.so (LoadError)
/var/hda/platform/html/vendor/bundle/ruby/gems/mysql2-0.3.16/lib/mysql2.rb:8:in `require'
/var/hda/platform/html/vendor/bundle/ruby/gems/mysql2-0.3.16/lib/mysql2.rb:8:in `<top (required)>'
/usr/share/gems/gems/bundler-1.7.6/lib/bundler/runtime.rb:76:in `require'
/usr/share/gems/gems/bundler-1.7.6/lib/bundler/runtime.rb:76:in `block (2 levels) in require'
/usr/share/gems/gems/bundler-1.7.6/lib/bundler/runtime.rb:72:in `each'
/usr/share/gems/gems/bundler-1.7.6/lib/bundler/runtime.rb:72:in `block in require'
/usr/share/gems/gems/bundler-1.7.6/lib/bundler/runtime.rb:61:in `each'
/usr/share/gems/gems/bundler-1.7.6/lib/bundler/runtime.rb:61:in `require'
/usr/share/gems/gems/bundler-1.7.6/lib/bundler.rb:133:in `require'
/var/hda/platform/html/config/application.rb:5:in `<top (required)>'
/var/hda/platform/html/config/environment.rb:5:in `require'
/var/hda/platform/html/config/environment.rb:5:in `<top (required)>'
config.ru:3:in `require'
config.ru:3:in `block in <main>'
/var/hda/platform/html/vendor/bundle/ruby/gems/rack-1.5.2/lib/rack/builder.rb:55:in `instance_eval'
/var/hda/platform/html/vendor/bundle/ruby/gems/rack-1.5.2/lib/rack/builder.rb:55:in `initialize'
config.ru:1:in `new'
config.ru:1:in `<main>'
/usr/share/passenger/helper-scripts/rack-preloader.rb:112:in `eval'
/usr/share/passenger/helper-scripts/rack-preloader.rb:112:in `preload_app'
/usr/share/passenger/helper-scripts/rack-preloader.rb:158:in `<module:App>'
/usr/share/passenger/helper-scripts/rack-preloader.rb:29:in `<module:PhusionPassenger>'
/usr/share/passenger/helper-scripts/rack-preloader.rb:28:in `<main>'
Error ID
44759762
I tried to go through the upgrade steps for Amahi 8/Fedora 21 but it didn't go smoothly. I seemed to have a lot more conflicts than anticipated by the walk through. I tried to repeat the steps a few times hoping it would correct itself but it didn't. In my stupidity I decided to push through and upgrade to Amahi 9/Fedora 23. Things got worse at this stage, when i enter the dnf system-upgrade reboot command my system goes through the initial upgrade but at some point in the process there is an error and the system reboots back to fedora 21. I can't read the error message quickly enough before the reboot so I don't know what the issue could be. I then tried to do a fresh install of Amahi 9 but trying to use both a disc and usb image to install Fedora 23 doesn't work and the system reboots to emergency mode.
Despite these issues I can see the HDA's through file explorer and I can access the data. Amahi is handling DHCP on the network.
I've listed some of the errors I'm getting below. Any suggestions on next steps? Is there a way to repair things? If i try to do a fresh install/build how do I handle my drives attached to the server? Do i just unplug them and reattach them after I get a fresh install running (assuming I can get past the Fedora install issues)?
Thanks for the help, I don't know enough about this stuff to know if I am even providing the right data for analysis but let me know if other info would be useful.
When I go through the interactive network trouble shooter I get hung up on step 4 DNS for resolving internal host names. I get this message: Server: 208.67.222.222
Address: 208.67.222.222#53
** server can't find hda: NXDOMAIN
When I try to go to http://hda in a browser I get a page that says "Web application could not be started Phusion Passenger has listed more information about the error below" there is a ton of info on this page but the important stuff looks to be:
libruby.so.2.0: cannot open shared object file: No such file or directory - /var/hda/platform/html/vendor/bundle/ruby/gems/mysql2-0.3.16/lib/mysql2/mysql2.so (LoadError)
/var/hda/platform/html/vendor/bundle/ruby/gems/mysql2-0.3.16/lib/mysql2.rb:8:in `require'
/var/hda/platform/html/vendor/bundle/ruby/gems/mysql2-0.3.16/lib/mysql2.rb:8:in `<top (required)>'
/usr/share/gems/gems/bundler-1.7.6/lib/bundler/runtime.rb:76:in `require'
/usr/share/gems/gems/bundler-1.7.6/lib/bundler/runtime.rb:76:in `block (2 levels) in require'
/usr/share/gems/gems/bundler-1.7.6/lib/bundler/runtime.rb:72:in `each'
/usr/share/gems/gems/bundler-1.7.6/lib/bundler/runtime.rb:72:in `block in require'
/usr/share/gems/gems/bundler-1.7.6/lib/bundler/runtime.rb:61:in `each'
/usr/share/gems/gems/bundler-1.7.6/lib/bundler/runtime.rb:61:in `require'
/usr/share/gems/gems/bundler-1.7.6/lib/bundler.rb:133:in `require'
/var/hda/platform/html/config/application.rb:5:in `<top (required)>'
/var/hda/platform/html/config/environment.rb:5:in `require'
/var/hda/platform/html/config/environment.rb:5:in `<top (required)>'
config.ru:3:in `require'
config.ru:3:in `block in <main>'
/var/hda/platform/html/vendor/bundle/ruby/gems/rack-1.5.2/lib/rack/builder.rb:55:in `instance_eval'
/var/hda/platform/html/vendor/bundle/ruby/gems/rack-1.5.2/lib/rack/builder.rb:55:in `initialize'
config.ru:1:in `new'
config.ru:1:in `<main>'
/usr/share/passenger/helper-scripts/rack-preloader.rb:112:in `eval'
/usr/share/passenger/helper-scripts/rack-preloader.rb:112:in `preload_app'
/usr/share/passenger/helper-scripts/rack-preloader.rb:158:in `<module:App>'
/usr/share/passenger/helper-scripts/rack-preloader.rb:29:in `<module:PhusionPassenger>'
/usr/share/passenger/helper-scripts/rack-preloader.rb:28:in `<main>'
Error ID
44759762