You could try reinstalling Greyhole. There should be guidance in the wiki on how to update. Same procedure would act as a reinstall.
Tried that, but it did nothing. So I setup a clone server on very similar hardware. Same Amahi version, based on Fedora 14. Then copied the database.yml from the new system, onto the old system, and it worked great.
The reason for setting up the cloned system, is so I can load the greyhole storage up with files, and do a dummy run upgrade to Ubuntu 12. I can test the performance before and after without muching up the real server, and at least it's working now.
Database.yml
Code: Select all
# MySQL (default setup). Versions 4.1 and 5.0 are recommended.
#
# Install the MySQL driver:
# gem install mysql
# On MacOS X:
# gem install mysql -- --include=/usr/local/lib
# On Windows:
# There is no gem for Windows. Install mysql.so from RubyForApache.
# http://rubyforge.org/projects/rubyforapache
#
# And be sure to use new-style password hashing:
# http://dev.mysql.com/doc/refman/5.0/en/old-client.html
development:
adapter: mysql
database: hda_development
username: amahihda
password: AmahiHDARulez
host: localhost
socket: <%= [
'/var/lib/mysql/mysql.sock', # Fedora.
'/var/run/mysqld/mysqld.sock', # Ubuntu, Debian.
'/tmp/mysqld.sock' # Mac OS X
].select { |f| File.exist? f }.first %>
# Warning: The database defined as 'test' will be erased and
# re-generated from your development database when you run 'rake'.
# Do not set this db to the same as development or production.
test:
adapter: mysql
database: hda_test
username: amahihda
password: AmahiHDARulez
host: localhost
socket: <%= [
'/var/lib/mysql/mysql.sock', # Fedora.
'/var/run/mysqld/mysqld.sock', # Ubuntu, Debian.
'/tmp/mysqld.sock' # Mac OS X
].select { |f| File.exist? f }.first %>
production:
adapter: mysql
database: hda_production
username: amahihda
password: AmahiHDARulez
host: localhost
socket: <%= [
'/var/lib/mysql/mysql.sock', # Fedora.
'/var/run/mysqld/mysqld.sock', # Ubuntu, Debian.
'/tmp/mysqld.sock' # Mac OS X
].select { |f| File.exist? f }.first %>