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

docker compose issues -- error in service invocation

未关闭
#71 24 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
43
派生
13
PR 合并指标
30 天内没有已合并 PR

描述

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....

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。