Comment 6 for bug 1239686

Revision history for this message
Pascal A. (pascalav) wrote :

Confirmation that "Chris Monahan (cobra-v)" solution (#4) is working. I'll wait for a package update anyway.

Concerning this error at install time:
---
rake aborted!
Please install the mysql adapter: `gem install activerecord-mysql-adapter`
---
Manually installing the 'ruby-mysql2' package allowed the install process to success until the end. Note, that's important, that this package doesn't seem to be in the 'redmine' nor 'redmine-mysql' dependencies, but it should.

After such a successfull reinstall, the problem remains the same : HTTP error 500 on login, and 'NoMethodError' .. 'options' in logs.

Regarding purge and uninstall, my OS sent much crash reports, and I got many broken situations, due to conflicts between 'redmine' and 'dbconfig-common'. It seems any of those 2 packages isn't purging right, and lets an orphan non-empty 'redmine' directory in the dbconfig-common configuration. I also realized that dbconfig-common drops the redmine database when asked, but not its redmine user. Maybe this is normal.

When reinstalling, I went on various situations:
 - 'redmine'@'localhost' identified by '' could not access database
 - The '<path_to_dbconfig_commons_redmine-specific_settings>' doesn't exists but was manually deleted: not recreating' (maybe the 'adapter: mysql' value, is brought directly from the dbconfig-common redmine-specific settings, with no indirection mysql/mysql2 relying on ruby 1.8.1/>=1.9)

I hope not having to reinstall the 'redmine' package as well ^^ Thanks VirtualBox and snapshots