Redmine Transfer between digitalocean accounts

May 7, 2016 1.1k views
DigitalOcean

Hello, I am having the redmine distribution that was setup for me switched from the original server’s to mine using the image sharing function in digitalocean. Unfortunately, when I try to access my redmine after switching over, it says it is under construction and when i login to the console, it just says “cat: /root/REDMINE: No such file or directory” Shouldn’t it be a perfect copy?

1 Answer

/root/REDMINE being deleted is weird. A snapshot is a perfect copy of a Droplet so that file should have gotten carried over too. You can stop bash from trying to read the file on login by opening /root/.bashrc in your favorite text editor and deleting the cat /root/REDMINE line.

Is the new Droplet using a new domain name? The under construction page appears when you try to access the Droplet using a domain name that it doesn’t know about. Open /etc/nginx/sites-enabled/redmine in a text editor. You should see a line that looks like this:

[...]
server_name 1.2.3.4 domain.com www.domain.com;
[...]

Replace the old domain with the new one and restart Nginx:

sudo service nginx restart

You should then be able to access your Redmine instance.

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!