Upgrade / Migration Issue

Hello,

We recently wanted to migrate our Octopus Server installation from one server to another. I didn’t find any guidance for this. I have completed it successfully but encountered an issue that I thought I would let you know about. I don’t know how would be best to resolve it logically, but, that’s what you guys are for :slight_smile:

On the existing installation the server application was installed on the G drive and thus in the SQL database the Configuration table has log entries (activitylogstorage-single and artifcatsstorage-single) that are folders on the G drive. I took a backup using the utility in the management console.

I then installed Octopus on the new server but on the C drive this time. When attempting an import of the backup it kept failing (exception being thrown) because it couldn’t find the folder referenced under artifactsstorage-single because it was expecting this to be on a G drive.

I resolved this by manually changing the drive letter in the database.

I would have thought this (server machine?) specific configuration would have been kept against the OctopusServerNode database objects?

Maybe I did the process wrong though…

Hi,

Thanks for reaching out. I’m sorry to hear you couldn’t find our documentation for this. For future reference, its this one: http://docs.octopusdeploy.com/display/OD/Data+migration

The artifacts path is something you need to manually re-configure if you are importing Octopus on a new server with new directories. Here’s how you can do it without touching the database: http://docs.octopusdeploy.com/display/OD/Moving+Octopus+Server+folders

Glad to hear you sorted it out on your own though. Kudos for that!

Dalmiro