Closed aikooo7 closed 1 week ago
Ocis tries to generate a cert in `- /path/to/something/else:/var/lib/ocis``
Are you sure that this directory is writable for the ocis user (uid=1000)?
Ocis tries to generate a cert in `- /path/to/something/else:/var/lib/ocis``
Are you sure that this directory is writable for the ocis user (uid=1000)?
Hey, while trying your suggestions it was already with the permissions set, but restarting the docker compose made it work, even though I had already tried 5 times or so.
Sorry for the inconvenience.
Describe the bug
Ocis can't find ldap certificate.
Steps to reproduce
Follow the official guide
Expected behavior
Ocis starting.
Actual behavior
Ocis complaining about ldap certificate not existing.
Setup
I started ocis with the following docker compose file:
``` services: ocis: image: owncloud/ocis:latest container_name: owncloud entrypoint: - /bin/sh # run ocis init to initialize a configuration file with random secrets # it will fail on subsequent runs, because the config file already exist # therefore we ignore the error and then start the ocis server command: ["-c", "ocis init || true; ocis server"] environment: PROXY_TLS: "false" OCIS_INSECURE: "true" OCIS_URL: "https://subdomain.domain.com" OCIS_LOG_LEVEL: info OCIS_CONFIG_DIR: /etc/ocis OCIS_BASE_DATA_PATH: /var/lib/ocis networks: - proxy-network volumes: - /path/to/something:/etc/ocis - /path/to/something/else:/var/lib/ocis labels: - "traefik.enable=true" - "traefik.http.routers.owncloud.rule=Host(`https://subdomain.domain.com`)" - "traefik.http.routers.owncloud.entrypoints=websecure" - "traefik.http.services.owncloud.loadbalancer.server.port=9200" networks: proxy-network: external: true ```
Additional context
Not needed.