prosody / prosody-docker

Docker image building system for the Prosody XMPP server
https://hub.docker.com/r/prosody/prosody/
146 stars 49 forks source link

docker run prosody/prosody:0.10 fails: /bin/bash: /entrypoint.sh: Permission denied #27

Closed stapelberg closed 8 years ago

stapelberg commented 8 years ago

In https://github.com/prosody/prosody-docker/issues/26, you updated the container, but the newly built container doesn’t start:

Mar 06 13:59:24 alp docker[7040]: /bin/bash: /entrypoint.sh: Permission denied

Can you take a look please?

stapelberg commented 8 years ago

Friendly ping? I’m without a jabber server because of this issue.

lloydwatkin commented 8 years ago

I guess at some point it got saved with changed permissions, have added a pull request to fix this issue, hopefully @mwild1 will be able to get to it ASAP as its preventing your prosody server from running (you could always use a slightly older tag from dockerhub in the short term?)

stapelberg commented 8 years ago

I want to stay on the 0.10 version. I don’t think the docker hub retains previously pushed images with the same tag.

lloydwatkin commented 8 years ago

Build the image yourself? The docker file is available :)

Hopefully it doesn't come to that though!

stapelberg commented 8 years ago

This still doesn’t seem to be fixed:

# docker pull prosody/prosody:0.10   
0.10: Pulling from prosody/prosody
f37bd85f8dfc: Already exists 
608c32a42c3a: Already exists 
f758d6e666de: Already exists 
989aea162fc0: Already exists 
b15bb4adc865: Already exists 
fb4a07ec439a: Already exists 
0cbe1530ffc6: Already exists 
8f573f3bdbaf: Already exists 
91bd4d7b143a: Already exists 
822fde1e1e94: Already exists 
0f4865406674: Already exists 
6e2aad2edfe3: Already exists 
0d9c171222fb: Already exists 
0145c58f8e96: Already exists 
9a05ddf8129d: Already exists 
03a48bffbfec: Already exists 
8e6ef892c3db: Already exists 
5636ac3ed551: Already exists 
Digest: sha256:d317685cb3cdbe341fc9c7aff08fb18d9e39b53fe4c7f3eee5e0a2429873ae1e
Status: Image is up to date for prosody/prosody:0.10

# systemctl restart prosody

# journalctl -u prosody
Mär 10 15:51:17 alp docker[31404]: /bin/bash: /entrypoint.sh: Permission denied

Should I file a new issue or can you re-open?

mwild1 commented 8 years ago

Seems it also needs +r. Fixing (and testing!)...

mwild1 commented 8 years ago

@stapelberg is this working for you now?

stapelberg commented 8 years ago

@mwild1 No:

Mär 11 16:29:39 alp docker[6617]: Digest: sha256:31877ba92b85be31ef298a5a911bd6945944c101c14370991bfa003
Mär 11 16:29:39 alp docker[6617]: Status: Image is up to date for prosody/prosody:0.10
Mär 11 16:29:39 alp docker[6636]: prosody
Mär 11 16:29:39 alp systemd[1]: Started prosody.
Mär 11 16:29:40 alp docker[6644]: /bin/bash: /entrypoint.sh: Permission denied

You can also easily test the new image yourself by using docker run.

stapelberg commented 8 years ago

Your commit was 11 hours ago, so I guess this should be live by now. However, it still doesn’t work:

Mär 12 03:42:39 alp docker[22359]: Digest: sha256:df04ac163cb14820796ad3fdfe77382817cfd2be31678a796d8036
Mär 12 03:42:39 alp docker[22359]: Status: Image is up to date for prosody/prosody:0.10
Mär 12 03:42:39 alp docker[22375]: prosody
Mär 12 03:42:39 alp systemd[1]: Started prosody.
Mär 12 03:42:40 alp docker[22383]: /bin/bash: /entrypoint.sh: Permission denied