Skip to content

Files not found in s3 storage #815

Closed

Description

@ysaqmohan

I have docmost running on my webapp and I have set the storage to be s3. The issue is that I can't find the files in s3 bucket.

`version: '3'

services:
docmost:
image: docmost/docmost:latest
depends_on:
- db
- redis
environment:
APP_URL: 'https://example.com'
APP_SECRET: ${MY_SECRET}
DATABASE_URL: 'postgresql://docmost:${STRONG_DB_PASSWORD}@db:5432/docmost?schema=public'
REDIS_URL: 'redis://redis:6379'
STORAGE_DRIVER: ${STORAGE_DRIVER}
AWS_S3_ACCESS_KEY_ID: ${AWS_S3_ACCESS_KEY_ID}
AWS_S3_SECRET_ACCESS_KEY: ${AWS_S3_SECRET_ACCESS_KEY}
AWS_S3_BUCKET: ${AWS_S3_BUCKET}
AWS_S3_REGION: ${AWS_S3_REGION}
AWS_S3_ENDPOINT: ${AWS_S3_ENDPOINT}
AWS_S3_FORCE_PATH_STYLE: ${AWS_S3_FORCE_PATH_STYLE}
MAIL_DRIVER: ${MAIL_DRIVER}
SMTP_HOST: ${MAIL_HOST}
SMTP_PORT: ${MAIL_PORT}
SMTP_USERNAME: ${MAIL_USERNAME}
SMTP_PASSWORD: ${MAIL_PASSWORD}
SMTP_SECURE: ${MAIL_ENCRYPTION}
MAIL_FROM_ADDRESS: ${MAIL_FROM_ADDRESS}
MAIL_FROM_NAME: ${MAIL_FROM_NAME}
ports:
- "3000:3000"
restart: unless-stopped
volumes:
- docmost:/app/data/storage

db:
image: postgres:16-alpine
environment:
POSTGRES_DB: docmost
POSTGRES_USER: docmost
POSTGRES_PASSWORD: ${STRONG_DB_PASSWORD}
restart: unless-stopped
volumes:
- db_data:/var/lib/postgresql/data

redis:
image: redis:7.2-alpine
restart: unless-stopped
volumes:
- redis_data:/data

volumes:
docmost:
db_data:
redis_data:
`

Image

What am I doing wrong?

Activity

  1. Philipinho commented on Mar 4, 2025

    @Philipinho
    Member

    Do the files get uploaded successfully in the UI?

  2. ysaqmohan commented on Mar 4, 2025

    @ysaqmohan
    Author

    Yes. They do.

  3. Wasca commented on Mar 11, 2025

    @Wasca

    @ysaqmohan Did you sort out this problem? I'm doing a new install and I too am having issue with nothing being saved to the S3 Bucket. I've check all my IAM policy rules to be correct but nothing is saved to the S3 Bucket.

    I'm assuming when you finish editing the document is autosaved to the bucket or do you need to do something else to save a document to the S3 bucket?

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