Amahi6 can't uninstall apps
Amahi6 can't uninstall apps
After I upgraded Amahi to Amahi6 I'm not able to uninstall any apps. It stops at "Preparing to uninstall ..." and just sits there. Any ideas?
My HDA: Q6400, 8GB ram, 2x1TB disk in raid 1 for system drive, 6x2TB drives for storage
Re: Amahi6 can't uninstall apps
The app install log shows
And I have tried every single app I have installed. The behavior is the same on all.
Update:
My current install of Transmission also complains about "Unable to save resume file, no such file or directory", so I'm starting to wonder if the permissions has gotten screwed all over my server by the upgrade or something?
Trying a hda-update-webapps showed another problem
Not sure if it's related... since it checks for a hda_development schema in the database.
Installing a new app works fine and if I try to uninstall that after it's been installed that works fine to. So it ONLY seem to affect apps that were installed before the Amahi6 upgrade was applied.
Code: Select all
/usr/lib/ruby/gems/1.8/gems/activeresource-2.3.4/lib/active_resource/connection.rb:194:in `handle_response': Failed with 404 Not Found (ActiveResource::ResourceNotFound)
from /usr/lib/ruby/gems/1.8/gems/activeresource-2.3.4/lib/active_resource/connection.rb:173:in `request'
from /usr/lib/ruby/gems/1.8/gems/activeresource-2.3.4/lib/active_resource/connection.rb:138:in `get'
from /usr/lib/ruby/gems/1.8/gems/activeresource-2.3.4/lib/active_resource/base.rb:658:in `find_single'
from /usr/lib/ruby/gems/1.8/gems/activeresource-2.3.4/lib/active_resource/base.rb:586:in `find'
from /var/hda/platform/html/script/../app/models/app.rb:279:in `uninstall_bg'
from /var/hda/platform/html/script/install-app:97:in `install_or_uninstall'
from /var/hda/platform/html/script/install-app:112:in `main'
from /var/hda/platform/html/script/install-app:124
======= app uninstall begin @ Wed Mar 02 18:46:39 +0100 2011 ==========
Uninstalling app id csjnit42fq under /var/hda/platform/html ENV=production
Update:
My current install of Transmission also complains about "Unable to save resume file, no such file or directory", so I'm starting to wonder if the permissions has gotten screwed all over my server by the upgrade or something?
Trying a hda-update-webapps showed another problem
Code: Select all
[root@localhost hda]# hda-update-webapps
mkdir -p amahi_tmp_name
processing dir: extplorer
processing dir: foffice
processing dir: keepass
processing dir: mediawiki
processing dir: phpmyadmin
processing dir: transmission
processing dir: videos5
processing dir: webmin
rmdir amahi_tmp_name
/var/hda/platform/html/script/runner 'Webapp.find(:all).each { |w| w.save! }'
/usr/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/commands/runner.rb:48: /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/connection_adapters/mysql_adapter.rb:585:in `real_connect': Unknown database 'hda_development' (Mysql::Error)
from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/connection_adapters/mysql_adapter.rb:585:in `connect'
from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/connection_adapters/mysql_adapter.rb:199:in `initialize'
from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/connection_adapters/mysql_adapter.rb:71:in `new'
from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/connection_adapters/mysql_adapter.rb:71:in `mysql_connection'
from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:223:in `send'
from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:223:in `new_connection'
from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:245:in `checkout_new_connection'
from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:188:in `checkout'
from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:184:in `loop'
from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:184:in `checkout'
from /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:183:in `checkout'
from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:98:in `connection'
from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:326:in `retrieve_connection'
from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/connection_specification.rb:123:in `retrieve_connection'
from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/connection_specification.rb:115:in `connection'
from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/base.rb:3106:in `quoted_table_name'
from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/base.rb:1684:in `construct_finder_sql'
from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/base.rb:1548:in `find_every'
from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/base.rb:615:in `find'
from (eval):1
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `eval'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/commands/runner.rb:48
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /var/hda/platform/html/script/runner:3
Installing a new app works fine and if I try to uninstall that after it's been installed that works fine to. So it ONLY seem to affect apps that were installed before the Amahi6 upgrade was applied.
My HDA: Q6400, 8GB ram, 2x1TB disk in raid 1 for system drive, 6x2TB drives for storage
Re: Amahi6 can't uninstall apps
correct, only apps installed before the upgrade.
working on it ...
ETA 3 days ...
working on it ...
ETA 3 days ...
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1
Re: Amahi6 can't uninstall apps
Seems to be able to uninstall now. But sometimes it doesn't look finished in the web gui but the log sais the uninstall is complete. Also, uninstalled applications does NOT become available for installation under available apps again. I tried with webmin, video5, transmission and feng office. None of these applications show up under available apps after being uninstalled.
My HDA: Q6400, 8GB ram, 2x1TB disk in raid 1 for system drive, 6x2TB drives for storage
Who is online
Users browsing this forum: No registered users and 65 guests