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

Failed to load "js-module.so" #33

Closed leNicDev closed 1 year ago

leNicDev commented 1 year ago

When starting a fresh server, I get the following error message: [Error] Failed to load "js-module.so", Unix error: libnode.so.108: cannot open shared object file: No such file or directory

Steps to reproduce: docker run -it --rm eisengrind/altv-server:release

After some analysis I noticed there is no js-module.so in /opt/altv/modules. Instead there is a directory called js-module containing three files:

pixlcrashr commented 1 year ago

@leNicDev What was exactly wrong in the PR? Every now and then, the alt:V team updates libnode, so we get a new version number. If that is the case, I ofc will update the repo - since it would mean that the public Docker image is broken.

For this, we just have to change ARG LIBNODE_VERSION=102 to the required version. If you want to do that, let me know.

EDIT: the current libnode version should be 108, then.

pixlcrashr commented 1 year ago

@leNicDev New images should be built in a second. See https://github.com/eisengrind/docker-altv-server/actions/runs/4947690768/jobs/8847407955 for reference.