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

docker compose issues -- error in service invocation

Đang mở
#71 24 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
43
Fork
13
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.