Skip to content

Docker install failed: The main config file (config.cfg) does not exist #124

Closed
@nicolasgoudard

Description

@nicolasgoudard

Hello.
On Debian 10 the installation with Docker does not work

"The main config file (config.cfg) does not exist"

I extract the tarball as specified in the documentation (https://hub.docker.com/r/ldapaccountmanager/lam) but it does not work.

docker run -p 8080:80 -it -d --volume /export/docker/lam/data/config:/var/lib/ldap-account-manager/config --env LAM_SKIP_PRECONFIGURE=true ldapaccountmanager/lam:stable

If I run like that it works :
docker run -p 8080:80 -it -d ldapaccountmanager/lam:stable

Then If I copy from docker to outside the container then, I restart with mounting the volume it does not work .
If I mount /etc/ldap-account-manager and /var/lib/ldap-account-manager it does not work
If I replace the config.php symlink by the real file it does not work too...

So what I can do ??
Have you tested the image ?

Best regards

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