docker-library / ghost

Docker Official Image packaging for Ghost
https://hub.docker.com/_/ghost
MIT License
720 stars 311 forks source link

Ghost crashes when uploading images #370

Closed zengrotrust closed 1 year ago

zengrotrust commented 1 year ago

Hello. I am running ghost docker image: ghost:latest on ubuntu over the Cloudflare tunnel. https://blog.zengrotrust.com/

First, I was just trying to upload my profile picture under Settings -> Staff -> Profile

image

After hitting save: image

Then, I also tried to upload images for existing/new posts, same result. I did some research, and it seems the same issue with sharp dependency occurred here: https://github.com/TryGhost/Ghost/issues/12967

Docker app logs:

[2023-02-06 07:43:24] INFO Ghost is running in production...
[2023-02-06 07:43:24] INFO Your site is now available on https://blog.zengrotrust.com/
[2023-02-06 07:43:24] INFO Ctrl+C to shut down
[2023-02-06 07:43:24] INFO Ghost server started in 1.191s
[2023-02-06 07:43:24] INFO Database is in a ready state.
[2023-02-06 07:43:24] INFO Ghost database ready in 1.904s
[2023-02-06 07:43:28] INFO Ghost URL Service Ready in 5.948s
[2023-02-06 07:43:28] INFO Adding offloaded job to the queue
[2023-02-06 07:43:28] INFO Scheduling job clean-expired-comped at 55 5 0 * * *. Next run on: Tue Feb 07 2023 00:05:55 GMT+0000 (Coordinated Universal Time)
[2023-02-06 07:43:28] INFO Adding offloaded job to the queue
[2023-02-06 07:43:28] INFO Scheduling job clean-tokens at 11 6 21 * * *. Next run on: Mon Feb 06 2023 21:06:11 GMT+0000 (Coordinated Universal Time)
[2023-02-06 07:43:28] INFO Ghost booted in 6.118s
[2023-02-06 07:43:29] INFO Adding offloaded job to the queue
[2023-02-06 07:43:29] INFO Scheduling job update-check at 48 44 14 * * *. Next run on: Mon Feb 06 2023 14:44:48 GMT+0000 (Coordinated Universal Time)
[2023-02-06 07:47:02] INFO Ghost is running in production...
[2023-02-06 07:47:02] INFO Your site is now available on https://blog.zengrotrust.com/
[2023-02-06 07:47:02] INFO Ctrl+C to shut down
[2023-02-06 07:47:02] INFO Ghost server started in 1.205s
[2023-02-06 07:47:02] INFO Database is in a ready state.
[2023-02-06 07:47:02] INFO Ghost database ready in 1.939s
[2023-02-06 07:47:06] INFO Ghost URL Service Ready in 5.964s
[2023-02-06 07:47:06] INFO Adding offloaded job to the queue
[2023-02-06 07:47:07] INFO Scheduling job clean-expired-comped at 52 5 0 * * *. Next run on: Tue Feb 07 2023 00:05:52 GMT+0000 (Coordinated Universal Time)
[2023-02-06 07:47:07] INFO Adding offloaded job to the queue
[2023-02-06 07:47:07] INFO Scheduling job clean-tokens at 36 46 7 * * *. Next run on: Tue Feb 07 2023 07:46:36 GMT+0000 (Coordinated Universal Time)
[2023-02-06 07:47:07] INFO Ghost booted in 6.141s
[2023-02-06 07:47:07] INFO Adding offloaded job to the queue
[2023-02-06 07:47:07] INFO Scheduling job update-check at 53 16 17 * * *. Next run on: Mon Feb 06 2023 17:16:53 GMT+0000 (Coordinated Universal Time)
[2023-02-06 07:47:07] INFO "GET /ghost/" 200 107ms
[2023-02-06 07:47:08] INFO "GET /ghost/api/admin/users/me/?include=roles" 200 476ms
[2023-02-06 07:47:08] INFO "GET /ghost/api/admin/site/" 200 7ms
[2023-02-06 07:47:09] INFO "GET /ghost/api/admin/config/" 200 165ms
[2023-02-06 07:47:09] INFO "GET /ghost/api/admin/settings/?group=site%2Ctheme%2Cprivate%2Cmembers%2Cportal%2Cnewsletter%2Cemail%2Camp%2Clabs%2Cslack%2Cunsplash%2Cviews%2Cfirstpromoter%2Ceditor%2Ccomments" 200 201ms
[2023-02-06 07:47:09] INFO "GET /ghost/api/admin/tiers/?filter=type%3Apaid%2Bactive%3Atrue&limit=all" 200 216ms
[2023-02-06 07:47:09] INFO "GET /ghost/api/admin/notifications/" 200 72ms
[2023-02-06 07:47:09] INFO "GET /ghost/api/admin/themes/active/" 200 76ms
[2023-02-06 07:47:09] INFO "GET /ghost/api/admin/posts/63e09e055cb88d00012dd28a/?formats=mobiledoc%2Clexical" 200 134ms
[2023-02-06 07:47:09] INFO "GET /ghost/api/admin/snippets/?limit=all" 200 45ms
[2023-02-06 07:47:09] INFO "GET /ghost/api/admin/settings/?group=site%2Ctheme%2Cprivate%2Cmembers%2Cportal%2Cnewsletter%2Cemail%2Camp%2Clabs%2Cslack%2Cunsplash%2Cviews%2Cfirstpromoter%2Ceditor%2Ccomments" 200 72ms
[2023-02-06 07:47:09] INFO "GET /ghost/api/admin/newsletters/?status=active&limit=all&include=count.members" 200 97ms
[2023-02-06 07:47:09] INFO "GET /ghost/api/admin/members/?limit=1&include=newsletters%2Clabels" 200 117ms