Help request : Docker service (PeerTube) doesn't work on new server (framacolibri.org)
from utopiah@lemmy.world to selfhosted@lemmy.world on 09 Nov 13:33
https://lemmy.world/post/38556495

I don’t actually understand and listed quite a few possibilities so at this point, any idea welcomed.

#selfhosted

threaded - newest

foggy@lemmy.world on 09 Nov 14:26 collapse

What do you mean “doesn’t have the same way”?

utopiah@lemmy.world on 09 Nov 14:28 collapse

Oops sorry, terribly phrased, I meant “doesn’t behave the same work” but I simplified, hopefully.

Basically worked on old server, doesn’t work on new!

foggy@lemmy.world on 09 Nov 16:01 collapse

Is the docker container spinning up and running, or failing and exiting?

Run docker ps, it’ll tell you how long your containers have been running or if they exited.

If everything is running then it’s most likely network, and I’d need to know how it is you used to access it on the old server (web address? Ip?)

If it’s not running then you get to dig through error logs to get to the next step 🤓

utopiah@lemmy.world on 09 Nov 16:52 collapse

Is the docker container spinning up and running, or failing and exiting?

Running and healthy

Run docker ps, it’ll tell you how long your containers have been running or if they exited.

Indeed and they don’t exit.

If everything is running then it’s most likely network, and I’d need to know how it is you used to access it on the old server (web address? Ip?)

It it accessible via the domain name so networking, as least for UI and API, is working fine. Reverse proxy does let traffic go through.

If it’s not running then you get to dig through error logs to get to the next step 🤓

I checked error logs of all containers and seems fine. The only error I see are client side.

foggy@lemmy.world on 10 Nov 01:25 collapse

Are the two servers on the same LAN? Did you update all configs for the new servers address?

utopiah@lemmy.world on 10 Nov 08:39 collapse

Different networks entirely. AFAICT no IP is hardcoded, only domain names which are the same.

But… please feel free to check the URL, it seems to work.

My hypothesis is that the player in the browser, maybe due to WebWorks, had cached the IP of the content. So I was getting the UI/API from the new IP but the content itself (namely video files) from the old IP which might have created some CORS/CSP issues and that the player itself blocked it. (updating the post on the forum with that idea in case others get in a similar situation)