-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Permissions issues on start #57
Comments
Hi!
Could you try clearing out all containers and volumes and trying again with |
Thanks @tomasr8! I just started from scratch and saw the same behavior. I took some notes that I hope are helpful.
And confirm that there’s nothing around with a
Docker host info:
Anything obvious I'm doing wrong here? Thanks! |
That seems correct to me, though when I try it I get the correct permissions. Could you try building just the worker image and see if the permissions are correct? docker system prune -a
cd indico-prod/worker
docker build -t indico .
docker run --rm -it indico ls -al /opt/indico |
Fascinating. That seemed to work fine...
What's different about building the image like this vs the whole stack? |
I'd like to know that as well 😄 I'll try to investigate tomorrow |
cc @OmeGak if you have any ideas |
I deleted all docker caches and reran docker system prune -a
cd indico-prod
docker compose up Both the web and celery images have the correct permissions:
|
So sad since this is exactly the kind of non-reproducibility containerization should prevent! 😄 Just confirming that our docker versions aren't wildly different or anything.
But maybe there's some small change that crept in. I'm checking on a machine (cc7) that has an older install of docker:
And actually it looks like it works! I don't get that error about the permissions. Doesn't confirm that it's the docker version since this is a different host, but could be...
I do need it to run on the original machine, but even on this other machine with the older docker, I get an indico page served at 9090 that says to go to 8080, which then gives no response. I've checked that the port is open on the firewall, but maybe this part of the problem is for another ticket... |
My Docker version is
Just to make sure there isn't anything else getting in the way, can you post the output of |
Sure thing. The diff is below and it's just the secret key change, which I've redacted.
Does it seem important that in my Docker 26 test, the permissions were fine? Or do you think that version-dependence is a red herring? Thanks! |
So on the problematic machine, I did a
|
Thanks for this project -- I'm hoping it'll make setting up and maintaining a local indico instance more streamlined.
I'm on the current HEAD at 14ee107 on a fresh install of alma 9, using a standard docker install. When I follow the instructions in the README and get to the
docker compose up
, it successfully installs everything but it seems when it tries to start the services, runs into some permissions errors. e.g.with similar errors from
indico-celery-beat-1
andindico-web-1
.indico-celery-beat-1
andindico-celery-1
then both exit. Digging around, it looks like/opt/indico/log/
in these containers is owned byroot
, so it's not surprising the userindico
can't write to it. How can I deal with this, and why does this seem to work for others if these are permissions within the containers?The full log is here:
output.log
Thanks!
-Larry
The text was updated successfully, but these errors were encountered: