stremio-docker icon indicating copy to clipboard operation
stremio-docker copied to clipboard

Can't mount my own localStorage file

Open vaverix opened this issue 1 month ago • 1 comments

When I try to provide my own localStorage file as per docs:

Image

And I do provide my SERVER_URL also:

Image

I'm getting these logs and container can't start up:

Image

I'm guessing the issue comes from this line: https://github.com/tsaridas/stremio-docker/blob/0981816a3fd2e24b0eb45f7ca93cc5be9027f40d/stremio-web-service-run.sh#L9-L18

Looking at the code, if I don't provide my SERVER_URL and I do not set AUTO_SERVER_URL to 1 then it might work since localStorage file isn't copied then. But it's weird behaviour. I think we should check if file exists and don't make it depended on those two vars.

vaverix avatar Nov 10 '25 18:11 vaverix

I guess the idea is that if you manage that file you also setup your server and no need to use the SERVER_URL variables.

you could also try to mount it in /srv/stremio-server.

yes we could ignore the two urls if file exists

tsaridas avatar Nov 10 '25 22:11 tsaridas