Giter Site home page Giter Site logo

Comments (6)

SimonDarksideJ avatar SimonDarksideJ commented on May 23, 2024 1

Managed to get the site to successfully deploy using updates in @YannickRe fork azuredeploy script (I suspect the newer module versions and switch to "Basic" deploy might have done it.
https://github.com/YannickRe/Ghost-Azure

However, site fails to load.

from ghost-azure.

RadoslavGatev avatar RadoslavGatev commented on May 23, 2024 1

It used to fail because of a conflict. Web app names must be globally unique:
image

I will need more time to look at the whole deployment. The old handy button for azuredeploy seem to be deprecated. The ARM template needs some refactoring now, so it provides some meaningful defaults.

I'm going to leave that issue open until I am able to make it better.

from ghost-azure.

SimonDarksideJ avatar SimonDarksideJ commented on May 23, 2024 1

I do have the site running using @YannickRe 's deployment, however it's not reporting security issues and requires ghost to be updated. Need a find a path to come back to @RadoslavGatev version as it is using a newer version of Ghost.

from ghost-azure.

SimonDarksideJ avatar SimonDarksideJ commented on May 23, 2024

Just tried again with the latest changes to the branch. Still the same result deploying to Azure.
But can't seem to get much more detail than the above. Attached logs for what they are:
Deployment-Microsoft.Template-20210614104233.zip

from ghost-azure.

svict4 avatar svict4 commented on May 23, 2024

hey @SimonDarksideJ did you manage to get the site to spin up using either @RadoslavGatev or @YannickRe deploy scripts? I also encounter an 500 error when using Yannick's.

from ghost-azure.

RadoslavGatev avatar RadoslavGatev commented on May 23, 2024

Hello @svict4,
We are hitting the limits of the free App Service plans when deployments get longer. Technically if you try setting up a fresh blog, there is a huge chance it will work. But if you are redeploying a newer version of Ghost it will likely need more time.

If you encounter a 503 error, it most likely means that it got stuck on database migrations. The only way to recover it is to download the db file and remove the lock.

Generally, the deployment duration can be optimized by offloading most of the work to Azure pipelines/GitHub actions that can download the npm packages and leave just the database migrations to run on Kudu for example. However, that would make it more difficult for people to get started deploying Ghost on App Service...

from ghost-azure.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.