eisengrind / docker-altv-server

The unofficial alt:V server Docker image.
https://hub.docker.com/r/eisengrind/altv-server
MIT License
21 stars 18 forks source link

./altv-server: Permission denied #20

Closed FDiskas closed 2 years ago

FDiskas commented 2 years ago

I don't know the reason but it stopped working. I get error

/root/entrypoint.sh: line 163: ./altv-server: Permission denied

To fix such an issue I created my own docker file

FROM eisengrind/altv-server:release

COPY . /opt/altv/

RUN chmod +x /opt/altv/altv-server
pixlcrashr commented 2 years ago

I don't know the reason but it stopped working. I get error

/root/entrypoint.sh: line 163: ./altv-server: Permission denied

To fix such an issue I created my own docker file

FROM eisengrind/altv-server:release

COPY . /opt/altv/

RUN chmod +x /opt/altv/altv-server

Thanks for the heads up. Idk why that happens since https://github.com/eisengrind/docker-altv-server/blob/master/Dockerfile#L17 defines altv-server to be exectuable.

I'll get into it tomorrow.

pixlcrashr commented 2 years ago

@FDiskas Right, so, first of all I am sorry that I took that long to look over the issue. I forgot about this error (my bad).

Now, 'thing is that I am not able to reproduce this error anyway - this may be because of recent updates of the altv-server and the image was rebuilt because of that.

Does the error still occurs at your end?

Note: I also updated the repo such that the libnode version can be edited outside of the Dockerfile - which fixes the last few dev builds where libnode was updated.

pixlcrashr commented 2 years ago

@FDiskas Since no issues were reported in the last 2-3 months, I assume everything works as expected. Therefore, I'll close this issue. Ofc you are free to reopen this issue again if you run into this problem again.