Skip to content

Can't upload images into Docmost #234

Closed

Description

@bdorr1105

I am unable to load pictures into any of my spaces. When I select a picture, it uploads and shows for about a second and then disappears like I never uploaded it. I am using a docker compose installation.

Activity

  1. Philipinho commented on Sep 1, 2024

    @Philipinho
    Member

    Please check the server logs for any errors.

  2. moafrancky commented on Sep 2, 2024

    @moafrancky

    Hi,

    I had the same problem. It was a permission issue on the docmost volume /app/data/storage. Set ownership to 1000:1000 to fix it.

  3. bdorr1105 commented on Sep 2, 2024

    @bdorr1105
    Author

    @moafrancky, thanks, i did a chown of the folder and it is all good. Thanks

  4. fengwang commented on Sep 10, 2024

    @fengwang

    Please check the server logs for any errors.

    I had this problem with image: docmost/docmost:0.3.1
    It appears the owner of /app/data/storage is user root instead of user node.
    A quick fix might be executing docker exec -it --user root docmost bash and chown -R node /app/data/storage.

    But is is better to have this problem fixed upstream.

  5. Hawolex commented on Sep 29, 2024

    @Hawolex

    Please check the server logs for any errors.

    I had this problem with image: docmost/docmost:0.3.1 It appears the owner of /app/data/storage is user root instead of user node. A quick fix might be executing docker exec -it --user root docmost bash and chown -R node /app/data/storage.

    But is is better to have this problem fixed upstream.

    Solved it for me as-well

  6. R-Nabil commented on Jan 13, 2025

    @R-Nabil

    Hey.

    I have the same problem. I'm running in docker rootless. THis solved it for me as well.

  7. AhmedBHameed commented on Apr 22, 2025

    @AhmedBHameed

    Solved for me as well. Thank you @fengwang !

    I wonder if there is a direct way in docker compose where I can set permission in advance.

    I tried adding

    environment:
      - PUID=1000
      - PGID=1000

    But that did not work :(

  8. joezhouchenye commented on Jul 27, 2025

    @joezhouchenye

    Add user: 0:0 works for me.

    services:
      docmost:
        image: docmost/docmost:latest
        user: 0:0
        Other Contents...
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions