I am unable to post my recent blog as it is freezing as soon as I push publish button.
I am unable to find the reason behind it, can anyone help me, I am posting a video and an image of frozen screen which shows the error but I am unable to point it out.
Ok, so looks like a server error, not a problem with proxying. Can you please post the log from ghost on the server that corresponds to when the problem happens? If that’s not informative, starting ghost with ghost run -D causes very verbose logging that can be helpful.
You’ll get better help troubleshooting if you post how you setup ghost.
You shouldn’t be able to get your Ghost into a state where the SQL queries are failing like this*. So please share what’s happened to it recently. Did you run an upgrade? Or has it never worked? Or? What did you do just before it broke?
(*Obviously you did! But unless you’re editing the raw SQL in the database, you found a bug somewhere in Ghost, and more information will help the core team figure out where the bug is and how to reproduce it, AND will help forum members tell you what to try next for fixing it.)
Actually we have deployed ghost using docker on aws (using ecs). We have not made any changes to the ghost code or ghost dockerimage code. We just ran a new task definition and since then we are getting this error (or we have just noticed it since then). We have also not interacted with the sql table directly.
@ikarus-akhil Are you the original poster (or helping the original poster with their problem), or are you also reporting the same problem on a different server? It’s helpful to know if the problem is happening to multiple people…
I’ve moved your thread over to Developer help and tagged it as a potential Docker problem, in hopes of making it easier for someone with that expertise to find it. :)
@AnimaVillis yes thats what I think too. Also it cannot be a version issue as we have used a specific version of ghost (image version 5) while creating our docker image.
Alright, that’s weird, because ECR also just syncs with the Docker library and already has v5 published the same day as v5.76.0:
Can you tell us what specifically you ran there? I am far from an expert in AWS, but reading the general overview for task definitions, I can see some things that could theoretically impact an SQL query (networking, resource allocation being the first that come to my mind).
So what I have done is first I created a docker image of ghost (using ghost:5 as the base image), added my custom theme and some db configurations, and in the end, I wrote the following command:
CMD [“node”, “current/index.js”]
Then I pushed the image to ECR, and then in my ECS I created a new task definition using this ECR image (the one that I pushed to ECR). Also the image has been there on ECR since 30th November.