Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected Token '<' when running container #15

Open
raycekar opened this issue Aug 10, 2023 · 1 comment
Open

Unexpected Token '<' when running container #15

raycekar opened this issue Aug 10, 2023 · 1 comment

Comments

@raycekar
Copy link

Hi, am trying to work on a custom container and am running into the following error:

image

So far I have changed very little from the script except for commenting out jellyfin and adding the execution flag to the downlaod_server.sh file.

Dockerfile.txt
Here is the file and no changes were made to the download_server.sh.

@prom3theu5
Copy link

prom3theu5 commented Oct 28, 2023

Same thing happened here
This is due to you not passing the server version as an argument when building the docker image

You can see why you are getting the xml error here, after overriding entrypoint:

docker run --entrypoint=bash -it stremio-server

root@078ed5e00cdf:/stremio# ls
Dockerfile  README.md  download_server.sh  server.js  setup_jellyfin_repo.sh

root@078ed5e00cdf:/stremio# cat server.js
<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Key>server/master/desktop/server.js</Key><RequestId>V6VXYV1NXTMXR2YA</RequestId><HostId>A6gXI/Mk8kht/niCG0DSaAnwRnprLdxLwVIe+rqJJKX7eB2DfbXMnfvUJS1s3Xb9qp+hpFLfxro=</HostId></Error>
root@078ed5e00cdf:/stremio#

You need to build with

 --build-arg VERSION=v4.20.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants