AI-Planning / AI-Planning/planning-as-a-service

docker compose issues -- error in service invocation

Offen
#71 24 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
43
Forks
13
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Have been unable to use my local server, getting errors that say

This Planutils package is not configured correctly

I suspect that this is _not_ actually what is wrong. When I list my running docker containers, I see:

```
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
0b953620e686 server_web "gunicorn --bind 0.0…" 47 hours ago Up 39 minutes 0up a.0.0.0:5001->5001/tcp, :::5001->5001/tcp server_web_1
34a9318fcd79 server_worker "celery -A tasks wor…" 47 hours ago Up 16 minutes server_worker_1
0f4f5ef0e0ec server_frontend "gunicorn --bind 0.0…" 47 hours ago Up 39 minutes 0.0.0.0:8001->80/tcp, [::]:8001->80/tcp server_frontend_1
3fbf342c1559 mysql:8.4 "docker-entrypoint.s…" 47 hours ago Restarting (1) 35 seconds ago server_mysql_1
a8c9ed328969 moby/buildkit:buildx-stable-1 "buildkitd --allow-i…" 6 days ago Up 39 minutes buildx_buildkit_tender_mcnulty0
```

Looks to me like the monitor and redis have failed, and looking in more detail, it seems that this is another user-mode docker issue.

The mysql server is writing files into my user directory as root, leaving around garbled file uids and gids.

I think this means that the PaaS server is only runnable as root. :-(

With only user mode docker, I think one must set up a userid in the containers with the same uid and gid numbers as the user on the host machine, and not let mysqld write files as root...

For many of us, it won't be an option to run as root....

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.