Stremio / server-docker

Builds and publishes Docker image for new releases of server.js
GNU General Public License v2.0
112 stars 20 forks source link

v4.20.9 crashes on startup and exits the container #37

Open aptalca opened 3 weeks ago

aptalca commented 3 weeks ago

Hi, I've been using v4.20.8 for a quite some time, and it was stable.

v4.20.9 on the other hand crashes immediately and the container stops

I also tried a fresh container with the docker run from the readme here and here's the output:

$ docker run --rm -p 11470:11470 -p 12470:12470 -e NO_CORS=1 stremio/server:latest
/stremio/server.js:1
<?xml version="1.0" encoding="UTF-8"?>
^

SyntaxError: Unexpected token '<'
    at wrapSafe (internal/modules/cjs/loader.js:1029:16)
    at Module._compile (internal/modules/cjs/loader.js:1078:27)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1143:10)
    at Module.load (internal/modules/cjs/loader.js:979:32)
    at Function.Module._load (internal/modules/cjs/loader.js:819:12)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:75:12)
    at internal/main/run_main_module.js:17:47

This is on an amd64 machine running ubuntu noble with kernel 6.1.99

Thanks

PS. Trying just docker run --rm stremio/server:latest with no other arguments results in the same behavior.

Nathan-Kr commented 3 weeks ago

the bundled server.js is empty image

Tho the url https://dl.strem.io/server/v4.20.9/desktop/server.js is working so I assume the VERSION arg was missing during build or there was a problem on the dl server at build time (the build doesn't originate from github workflow) We could benefit from a server.js file check during buildtime (http code + hash)

yihaolee85 commented 3 weeks ago

I have the same problem running this on a Synology NAS. Reverting to 4.20.8 resolved the issue. Let me know what details I can share to help

rodrigosiviero commented 2 weeks ago

same here

alided commented 1 week ago

Same here, spent half a day figuring out the issue with my config. Reverting to v4.20.8 seems to work.