Docker Installation Troubleshooting: "0.0.0.0:3000" Issue

TLDR robinwolff is having issues with docker installation as it reflects "0.0.0.0:3000" instead of their configured domain. sojan_official suggested checking environment variables, but the issue remained unresolved.

Photo of robinwolff
robinwolff
Mon, 14 Aug 2023 20:20:42 UTC

Hey, I currently have some trubble with my docker Installation. In some Points, there is always “0.0.0.0:3000” instead of my configured domain. I think, this is the reason, why my Telegram-Integration doesn’t work anyways… It doesn’t set a webhook at telegram. I hope, you can help.

Photo of sojan_official
sojan_official
Mon, 14 Aug 2023 20:26:40 UTC

did you configure the `FRONTEND_URL` environment variable ?

Photo of robinwolff
robinwolff
Mon, 14 Aug 2023 20:28:31 UTC

Yes

Photo of robinwolff
robinwolff
Mon, 14 Aug 2023 20:28:52 UTC

Photo of sojan_official
sojan_official
Mon, 14 Aug 2023 20:56:45 UTC

did you restart the installation post updating the variables ? the services will only pick up env variables during start

Photo of robinwolff
robinwolff
Mon, 14 Aug 2023 20:57:34 UTC

yes

Photo of robinwolff
robinwolff
Tue, 15 Aug 2023 18:25:45 UTC

any ideas?

Photo of robinwolff
robinwolff
Tue, 15 Aug 2023 18:48:47 UTC

So it doesn't help me

Photo of justman10000
justman10000
Tue, 15 Aug 2023 18:49:37 UTC

Ah, Docker is just overrated anyway

Photo of sojan_official
sojan_official
Tue, 15 Aug 2023 20:43:03 UTC

robinwolff could you verify the value of frontend url from rails console ReF: https://www.chatwoot.com/docs/self-hosted/deployment/docker#running-rails-console in the console type ``` ENV.fetch('FRONTEND_URL', '') ```

Photo of robinwolff
robinwolff
Tue, 15 Aug 2023 20:47:40 UTC

is not set...

Photo of robinwolff
robinwolff
Tue, 15 Aug 2023 20:48:00 UTC

but I restarted the containers multiple times..

Photo of robinwolff
robinwolff
Tue, 15 Aug 2023 20:48:05 UTC

let me restart the whole Host

Photo of robinwolff
robinwolff
Tue, 15 Aug 2023 20:50:47 UTC

after a complete restart of the server, it is still wrong

Photo of robinwolff
robinwolff
Tue, 15 Aug 2023 20:51:02 UTC

Photo of sojan_official
sojan_official
Tue, 15 Aug 2023 21:13:51 UTC

double check wehther you are customising the values in .env file and also that the values are not commented out using `#`

Photo of robinwolff
robinwolff
Tue, 15 Aug 2023 21:28:14 UTC

checked

Photo of sojan_official
sojan_official
Tue, 15 Aug 2023 21:31:26 UTC

did you restart the containers using docker compose up ?

Photo of robinwolff
robinwolff
Tue, 15 Aug 2023 21:43:06 UTC

reboted the whole vm and with docker-compose restart

Photo of robinwolff
robinwolff
Thu, 17 Aug 2023 09:16:58 UTC

Any other ideas?

Photo of sojan_official
sojan_official
Tue, 22 Aug 2023 23:03:17 UTC

is it possible to spin up a new vm and try on it instead. there might be some misconfiguration somewhere which is overriding the value set in .env file

Photo of robinwolff
robinwolff
Wed, 23 Aug 2023 05:27:24 UTC

I can reinsatll the vm, but normally it should be a clean vm without anything else