redmine_project_specific_email_sender icon indicating copy to clipboard operation
redmine_project_specific_email_sender copied to clipboard

'project_emails' Table not created in MySql db

Open Dilip-Rajkumar opened this issue 12 years ago • 3 comments

I am using Redmine 1.1.3 Stable (MySql). I installed the plugin. It said that the plugin was installed correctly. But when I go to settings tab I am getting 500 Service error. Then In the logs I found the following

ActiveRecord::StatementInvalid (Mysql::Error: Table 'redmine.project_emails' doesn't exist: SELECT * FROM project_emails WHERE (project_emails.project_id = 53) LIMIT 1): /usr/lib/ruby/vendor_ruby/active_record/connection_adapters/abstract_adapter.rb:227:in `log'

Please help..

Dilip-Rajkumar avatar Nov 06 '12 07:11 Dilip-Rajkumar

Hi,

I haven't maintained or used this plugin or readmine for sometime. I'm unsure if this even works with newer plugins.

However, it sounds like there is a migration missing or something along those lines. Have you checked to see if there are any pending migrations?

ajwalters avatar Nov 06 '12 12:11 ajwalters

Thank you for the reply ajwalters. The redmine was already installed on the server. I was trying to install this plugin. What I did was cloned the plugin under plugins then I restarted the redmine. I got the option in the administrator. But when I click settings tab, I am getting 500 internal server error. If I enable the plugin for particular role. The same thing happens for that role too. Please guide me if I am doing any mistake. I guess this plugin should work on Redmine 1.1.3..

Thanks again..

Dilip-Rajkumar avatar Nov 07 '12 05:11 Dilip-Rajkumar

Try running migrations (rake db:migrate). Looks like the plugin has a migration that has yet to run. Sorry for the bad README

ajwalters avatar Nov 07 '12 13:11 ajwalters