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

Instantly crashes when trying to specifically upload pictures - Alpine only #284

Closed
hugoprudente opened this issue Jan 30, 2022 · 1 comment

Comments

@hugoprudente
Copy link

hugoprudente commented Jan 30, 2022

This regression is back #267 using the ghost:3.42.9-alpine

  ghost:api:shared:pipeline stages: input serialisation +20ms
  ghost:api:shared:serializers:handle input +10s
  ghost:api:shared:serializers:handle [ [Function: serializeAllShared], [Function: serializeOptionsShared] ] +0ms
  ghost:api:shared:serializers:input:all serialize all +11s
  ghost:api:shared:serializers:input:all omit internal options +0ms
  ghost:api:v3:utils:serializers:input:posts edit +11s
  ghost:api:v3:utils:serializers:input:posts add +0ms
  ghost:api:shared:pipeline stages: permissions +5ms
  ghost:api:v3:utils:permissions handle +11s
  ghost:api:v3:utils:permissions check admin permissions +0ms
  ghost:web:shared:mw:url-redirects getAdminRedirectUrl localhost:2368 /ghost/api/v3/admin/images/upload/ localhost:2368 localhost:2368 +75ms
  ghost:web:shared:mw:url-redirects no url redirect +0ms
  ghost:api:shared:pipeline stages: query +73ms
  ghost:models:plugins:filter custom (status:[draft,published,scheduled])+type:post +11s
  ghost:models:plugins:filter extra null +0ms
  ghost:models:plugins:filter enforced null +0ms
  ghost:models:plugins:filter default type:post+status:published +0ms
Segmentation fault
/var/lib/ghost #

Disabling it to imageOptimization fix the issue.

    "imageOptimization": {
        "resize": false
    },

It may need to upgrade the libs-dev underlying as one of the threads here TryGhost/Ghost#12967

@wglambert
Copy link

Sorry for the late reply getting to this. That specific version ghost:3.42.9-alpine isn't currently supported, but testing the latest alpine variant I'm not able to reproduce any issue (although I did test it with that version and the issue is present, uploading an image just crashes the container with exit 139)

Using the latest Alpine and Debian variants works fine with the docker-compose.yml from https://github.com/docker-library/docs/tree/master/ghost#-via-docker-stack-deploy-or-docker-compose and switching the image to the latest Alpine variant
image

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

No branches or pull requests

2 participants