cp: cannot create regular file '/config/data/config.php': No such file or directory
After the container initialization finished, the web application shows
Unable to run grocy: config.php in data directory (/app/grocy/public/../data) not found. Have you copied config-dist.php to the data directory and renamed it to config.php?
Steps to Reproduce
Clear the /config volume beforehand
Pull the image
docker-compose up -d
see errors
Environment
OS: Alpine Linux v3.11 x86_64 Kernel: 5.4.34-0-virt CPU architecture: x86_64/arm32/arm64 How docker service was installed: Using apk add docker
Command used to create docker container (run/create/compose/screenshot)
Expected Behavior
mkdir
andcp
do not fail.Current Behavior
mkdir
andcp
do fail.As seen in
After the container initialization finished, the web application shows
Unable to run grocy: config.php in data directory (/app/grocy/public/../data) not found. Have you copied config-dist.php to the data directory and renamed it to config.php?
Steps to Reproduce
Environment
OS: Alpine Linux v3.11 x86_64 Kernel: 5.4.34-0-virt
CPU architecture: x86_64/arm32/arm64
How docker service was installed: Using
apk add docker
Command used to create docker container (run/create/compose/screenshot)
Docker-compose file:
Docker logs