Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade from 17.2 to 18.0 failed. #13

Closed
melihinanpak opened this issue Dec 5, 2017 · 4 comments
Closed

Upgrade from 17.2 to 18.0 failed. #13

melihinanpak opened this issue Dec 5, 2017 · 4 comments

Comments

@melihinanpak
Copy link

Hi there,

Thanks for your effort and support to Azure platform.
My issue is related to upgrading (17.2 to 18.0).

I have a Ghost 17.2 on the Azure Web App and working well.
But, I initiating staging deployment slot with your repository will fail.

How can I do for my web app upgrade from your repository?

@RadoslavGatev
Copy link
Owner

Hi,
I will test this over the weekend.

@melihinanpak
Copy link
Author

any update?

@RadoslavGatev
Copy link
Owner

RadoslavGatev commented Dec 31, 2017

Hey,

It took me a while until I was able to pick it up.
I found no issues when upgraded 17.2 to 18.0 on a test web app.

I took the following steps:

  1. Deployed 17.2 to a new web app
  2. Executed node db.js in order to create a database
  3. Deployed 18.0
  4. Make sure WEBSITE_NODE_DEFAULT_VERSION app setting is set to 8.9.0
  5. Executed npm rebuild to rebuild the packages to be used with the newer version of Node.js
  6. Executed the modified version of db.js in order to update the database
var KnexMigrator = require('knex-migrator');
var knexMigrator = new KnexMigrator({
    knexMigratorFilePath: __dirname
});

//knexMigrator.init();
knexMigrator.migrate();

Happy New Year!!

@melihinanpak
Copy link
Author

It works for me. Thank you very much.

Happy new year too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants