{"_id":"588f722bbcace50f0052ba0b","project":"565f5fa26bafd40d0030a064","__v":0,"parentDoc":null,"user":"565f3941ea46251700972783","version":{"_id":"588f722bbcace50f0052b9e1","project":"565f5fa26bafd40d0030a064","__v":1,"createdAt":"2017-01-30T17:04:43.410Z","releaseDate":"2017-01-30T17:04:43.410Z","categories":["588f722bbcace50f0052b9e2","588f722bbcace50f0052b9e3","588f722bbcace50f0052b9e4","588f722bbcace50f0052b9e5","588f722bbcace50f0052b9e6","588f722bbcace50f0052b9e7"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"5.3.0","version":"5.3.0"},"category":{"_id":"588f722bbcace50f0052b9e7","version":"588f722bbcace50f0052b9e1","project":"565f5fa26bafd40d0030a064","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-12-17T21:29:23.551Z","from_sync":false,"order":5,"slug":"server-installation-configuration","title":"Self Hosting"},"updates":["57e5452400c8680e00fae7cc","57eaee7512ad680e00777ba7"],"next":{"pages":[],"description":""},"createdAt":"2015-12-25T00:34:25.326Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":15,"body":"1. Download the latest nanoscale.io package from your cloud account.\n\n2. Make a backup of your nanoscale.io database.\n\n3. Shut down your nanoscale.io server instance if it is running.\n\n4. Replace your own binary with the newly downloaded one.\n\n5. Start nanoscale.io in \"migration mode\" to update the database using the following command.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"./gateway -db-migrate\",\n      \"language\": \"shell\"\n    }\n  ]\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"info\",\n  \"body\": \"Note: the migration mode command is only required the first time you start the nanoscale.io server after upgrading to a new version. Subsequent restarts can use the ./gateway command.\"\n}\n[/block]","excerpt":"","slug":"upgrade-your-nanoscale-instance","type":"basic","title":"Upgrade your nanoscale.io Instance"}

Upgrade your nanoscale.io Instance


1. Download the latest nanoscale.io package from your cloud account. 2. Make a backup of your nanoscale.io database. 3. Shut down your nanoscale.io server instance if it is running. 4. Replace your own binary with the newly downloaded one. 5. Start nanoscale.io in "migration mode" to update the database using the following command. [block:code] { "codes": [ { "code": "./gateway -db-migrate", "language": "shell" } ] } [/block] [block:callout] { "type": "info", "body": "Note: the migration mode command is only required the first time you start the nanoscale.io server after upgrading to a new version. Subsequent restarts can use the ./gateway command." } [/block]