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

sed: can't read /etc/ldap-account-manager/config.cfg: No such file or directory #5

Open
daletman opened this issue Jul 26, 2024 · 1 comment

Comments

@daletman
Copy link

When I mount volumes to store config files outside I get the following error on startup:

sed: can't read /etc/ldap-account-manager/config.cfg: No such file or directory

I'm on macOS.
I'm using the following docker-compose file:

services:
  lam:
    container_name: lam
    image: ghcr.io/ldapaccountmanager/lam:stable
    ports:
      - 8090:80
    env_file:
      - .env
    volumes:
      - ./data/lam/etc/:/etc/ldap-account-manager
      - ./data/lam/lib/:/var/lib/ldap-account-manager
@gruberroland
Copy link
Contributor

Seems like your ./data/lam/etc is not having the config.cfg. You need to get the content of the config folder from the tar.bz2.
Also, disable preconfiguration for docker (LAM_SKIP_PRECONFIGURE=true): https://github.com/LDAPAccountManager/lam/blob/develop/lam-packaging/docker/.env

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