Project

General

Profile

mySQL database migration to new redmine server

Added by John Simmons almost 10 years ago

I had a redmine server set up that I was doing mysql backups on using rsync, so I have an old database. I also had a clone of the base install. My redmine base install works, but I'm trying to use the last database I had. I have run these commands based on tutorials I've found:

sudo rake db:migrate RAILS_ENV="production"
mysql -u redmine -p redmine < redmine_backup.sql

I performed the rake again at the end, realizing I had probably done them out of order.

I am now getting nothing but the apache2 Ubuntu default page. I have checked the contents of the database and it's correct.

Ubuntu 12.04
redmine 1.3.2.stable


Replies (5)

RE: mySQL database migration to new redmine server - Added by John Simmons almost 10 years ago

Thanks for the reply. Running the above commands didn't change anything. I really wish it was giving me an error message or something. Are there any logs that I could look at to see what's wrong? Or any other suggestions? Thanks in advance.

RE: mySQL database migration to new redmine server - Added by Martin Denizet (redmine.org team member) almost 10 years ago

Well, it seems you installed in the /redmine location. Therefore you should try to access redmine using something like http://domain.com/redmine where you replace domain.com with the address of your server.
Cheers,

RE: mySQL database migration to new redmine server - Added by John Simmons almost 10 years ago

I have changed my default location in /etc/apache2/sites-available to /var/www/redmine. So it's been going there by default. I hadn't restarted apache correctly it seems. Very simple mistake, but after I tried to "fix" it, I broke it again, then restarted apache. Thanks for the help, your solution fixed the problem.

    (1-5/5)