docker icon indicating copy to clipboard operation
docker copied to clipboard

Windows Deployment System Health Failing

Open shrkz1 opened this issue 3 years ago • 3 comments

There are some system health issues while running a docker simple installation on Windows platform image

shrkz1 avatar Oct 25 '22 16:10 shrkz1

This is still the case, one year later. Fresh docker install on Windows has this exact issue.

raunn avatar Nov 19 '23 16:11 raunn

UPDATE: This is due to detected file permissions on the /etc/mysql/conf.d/custom.cnf file. The service sees it as world-writable, so ignores the file for safety.

WORKAROUND: Open the console on the mysql docker container and enter: chmod 444 /etc/mysql/conf.d/custom.cnf then restart the container.

raunn avatar Nov 19 '23 17:11 raunn

The initial database migrations are also failing. Please see #62. Root-cause is a Docker Desktop/Rancher Desktop/WSL environment. Files are not cloned with proper file permissions from the repo into the Windows file system and thus appear with wrong permissions in the containers.

In order to get a clean installation, either run it from a Linux host or first only start the mysql container, apply the described file permission fix and then start the eramba container. This avoids the migrations to fail.

thebub avatar Jan 08 '25 14:01 thebub