Unable to start Plausible using docker-compose #509
-
I'd like to test a self-hosted instance of Plausible, so I started following the instructions:
Server is Debian 10. I just put an Apache proxy in front of Plausible to use https, and changed the variables in Everything looks fine and I can see the process listening on port 8888/tcp (I changed from 8000 to 8888 to avoid a conflict with another container):
Server at https://URL:8888 is unreacheable. If I try to load the page with https I get a Proxy error:
Checking the docker-compose logs I found the following warnings:
I know nothing of clickhouse-server, could these warnings be the cause of the server error? Please note that I didn't change anything (besides the ports and the variables), it's just the plain configuration as cloned from github. Help highly appreciated here, as I really like the Plausible UI and it looks quite simpler than Matomo, which is frankly an overkill for some websites. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Sorry guys, this was due to a very stupid mistake I made: when I first started the plausible container I received an error because the 8000/tcp was already in use on localhost, so I changed the port in docker-compose.yml directive, from 8000 to 8888. My mistake was changing the port number on BOTH sides of the ports directive, like this:
I kept looking on errors on the Proxy configuration, then I realized the Proxy was ok, it was the port mapping to be wrong! If you need to change the port on localhost the correct line (assuming you wanna use port 8888 on localhost) is:
This sounds so obvious AFTER you find it. :-))) |
Beta Was this translation helpful? Give feedback.
-
Glad you found the issue and got it working before I could even answer :) |
Beta Was this translation helpful? Give feedback.
Sorry guys, this was due to a very stupid mistake I made: when I first started the plausible container I received an error because the 8000/tcp was already in use on localhost, so I changed the port in docker-compose.yml directive, from 8000 to 8888.
My mistake was changing the port number on BOTH sides of the ports directive, like this: