migrate canvas from old server to new server

179 views
Skip to first unread message

Andres Jordan

unread,
Nov 10, 2015, 1:47:58 PM11/10/15
to Canvas LMS Users
Hi, I am trying to migrate my canvas setup from my old server to a new server.  I am kind of a newbie to canvas so I am hoping someone knows of any guides to do this process.

Thanks in advance

Ross Gailer

unread,
Dec 14, 2015, 7:03:59 PM12/14/15
to Canvas LMS Users
I am doing the same thing at the moment - moving from an Ubuntu 12.04 box to a 14.04 box.

What worked form me in testing was to build the new box as per the production install guide and make sure it is working. Following that I dropped the DB, dumped the db from the old server, re-created the dbs on the new server and restored the dumps and ran the db:migrate as per the update guide.

This worked for my dev no problems. I am, however, I am now trying to move it into production and am having issues following the restore - I have a thread open today on this. See what happens.


On Wednesday, 11 November 2015 05:47:58 UTC+11, Andres Jordan wrote:

Ross Gailer

unread,
Dec 14, 2015, 10:17:41 PM12/14/15
to Canvas LMS Users
Oh yea, don't forget the canvas/config files. If you are replacing an old server, it might be quicker to copy the existing ones over. You will need to make sure the database.yml, domain.yml, and outgoing_email.yml are updated if you are going to have the old one running while you set the new one up.


On Wednesday, 11 November 2015 05:47:58 UTC+11, Andres Jordan wrote:

Ross Gailer

unread,
Dec 15, 2015, 12:53:09 AM12/15/15
to Canvas LMS Users
 I have completed the migration as per my instruction above. My issue was using the -o option on the pg_dump and the restore. Let me know if you need any more information on the process.


On Wednesday, 11 November 2015 05:47:58 UTC+11, Andres Jordan wrote:

Samuel Santhosh

unread,
Dec 16, 2015, 1:02:24 AM12/16/15
to Canvas LMS Users
Reply all
Reply to author
Forward
0 new messages