Stremio / server-docker

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

server.js download gives 404 #1

Closed rodrigosiviero closed 1 year ago

rodrigosiviero commented 1 year ago

Seems like the 4.19.0 version doesn't exist in s3.

using the example build command: docker build --build-arg VERSION=4.19.0 -t /stremio-server:latest .

 => ERROR [ 9/10] RUN $(if [ -n "4.19.0" ] ; then wget http://stremio-artifacts.s3.amazonaws.com/server/desktop/4  1.5s
------
 > [ 9/10] RUN $(if [ -n "4.19.0" ] ; then wget http://stremio-artifacts.s3.amazonaws.com/server/desktop/4.19.0/server.js; fi):
#13 0.494 --2023-05-27 23:19:30--  http://stremio-artifacts.s3.amazonaws.com/server/desktop/4.19.0/server.js
#13 0.494 Resolving stremio-artifacts.s3.amazonaws.com (stremio-artifacts.s3.amazonaws.com)... ::ffff:52.218.80.153, ::ffff:52.218.52.121, ::ffff:52.218.98.138, ...
#13 0.611 Connecting to stremio-artifacts.s3.amazonaws.com (stremio-artifacts.s3.amazonaws.com)|::ffff:52.218.80.153|:80... connected.
#13 0.612 HTTP request sent, awaiting response... 404 Not Found
#13 1.150 2023-05-27 23:19:31 ERROR 404: Not Found.
#13 1.150
------
executor failed running [/bin/sh -c $(if [ -n "$VERSION" ] ; then wget http://stremio-artifacts.s3.amazonaws.com/server/${BUILD}/${VERSION}/server.js; fi)]: exit code: 8
elpiel commented 1 year ago

Hello @rodrigosiviero , Thank you for raising this issue. Yes, indeed the server was missing from the S3 as we were working on automating this process with a different version.

It's now uploaded and you can try again (after pulling). If you're still experiencing problems, please re-open this issue.

rodrigosiviero commented 1 year ago

Still not able to download, could you please let me know the correct address for the latest server file? Tried what it says on the README and Dockerfile, everything 404's E.g:

https://dl.strem.io/server/desktop/master/server.js https://dl.strem.io/server/desktop/v4.19.0/server.js https://dl.strem.io/server/desktop/4.19.0/server.js

I was able to circumvent this with:

https://dl.strem.io/four/v4.4.159/server.js