502 Bad Gateway, 504 timeout
I installed Bitcart using the "easy install" from https://admin.bitcart.ai/configurator
It generated this script:
```
sudo su -
apt-get update && apt-get install -y git
if [ -d "bitcart-docker" ]; then echo "existing bitcart-docker folder found, pulling instead of cloning."; git pull; fi
if [ ! -d "bitcart-docker" ]; then echo "cloning bitcart-docker"; git clone https://github.com/bitcart/bitcart-docker bitcart-docker; fi
export BITCART_HOST=MYDOMAIN.TLD
export BITCART_CRYPTOS=btc,bch,xmr,eth,bnb,sbch,ltc,matic,bsty,trx,xrg
cd bitcart-docker
./setup.sh
```

- the domain has an A entry pointing to my VPS
- the VPS has ubuntu noble installed by default
- I run the script:
    - at first, the below screenshot appeared when calling up the domain
    - then, since then `http` traffic redirects to `https` (expected) but ends in 502 Bad Gateway, and sometimes in 504 timeout.

<img width="1066" alt="Image" src="https://github.com/user-attachments/assets/60019452-7faf-4603-ae82-e25c175f20ab" />

I tried to troubleshoot according the FAQ:
```
~/bitcart-docker# docker restart letsencrypt-nginx-proxy-companion
Error response from daemon: No such container: letsencrypt-nginx-proxy-companion
```

Docker PS:
```
docker ps
CONTAINER ID   IMAGE                                   COMMAND                  CREATED         STATUS                   PORTS                                                                          NAMES
b698ddace6ae   bitcart/bitcart:stable                  "/usr/local/bin/dock…"   5 minutes ago   Up 5 minutes             9020/tcp                                                                       compose-worker-1
e4fa594c7a47   bitcart/bitcart-store:stable            "docker-entrypoint.s…"   5 minutes ago   Up 5 minutes             3000/tcp                                                                       compose-store-1
36d697508b27   bitcart/bitcart-admin:stable            "docker-entrypoint.s…"   5 minutes ago   Up 5 minutes             4000/tcp                                                                       compose-admin-1
94cc570397a2   bitcart/bitcart:stable                  "/usr/local/bin/dock…"   5 minutes ago   Up 5 minutes             8000/tcp                                                                       compose-backend-1
0f7f2b6b2a86   nginxproxy/acme-companion:2.1           "/bin/bash /app/entr…"   5 minutes ago   Up 5 minutes                                                                                            compose-nginx-https-1
da212e9dc97d   bitcart/docker-gen:0.9.2                "/usr/local/bin/dock…"   5 minutes ago   Up 5 minutes                                                                                            compose-nginx-gen-1
a06231e20834   bitcart/bitcart-matic:stable            "python daemons/mati…"   5 minutes ago   Up About a minute        5008/tcp                                                                       compose-polygon-1
aa7f929a8705   bitcart/bitcart-eth:stable              "python daemons/eth.…"   5 minutes ago   Up 5 minutes             5002/tcp                                                                       compose-ethereum-1
c685bab9f885   bitcart/bitcart-btc:stable              "python daemons/btc.…"   5 minutes ago   Up 5 minutes             5000/tcp                                                                       compose-bitcoin-1
bbbf1bb17c09   bitcart/bitcart-ltc:stable              "python daemons/ltc.…"   5 minutes ago   Up 5 minutes             5001/tcp                                                                       compose-litecoin-1
c8f4229f4a19   bitcart/bitcart-bsty:stable             "python daemons/bsty…"   5 minutes ago   Up 5 minutes             5003/tcp                                                                       compose-globalboost-1
05fd4554856c   nginx:stable                            "/docker-entrypoint.…"   5 minutes ago   Up 5 minutes             0.0.0.0:80->80/tcp, [::]:80->80/tcp, 0.0.0.0:443->443/tcp, [::]:443->443/tcp   compose-nginx-1
fb2476481800   bitcart/bitcart-sbch:stable             "python daemons/sbch…"   5 minutes ago   Up 5 minutes             5007/tcp                                                                       compose-smartbch-1
16d2d9f0449f   bitcart/bitcart-bch:stable              "python daemons/bch.…"   5 minutes ago   Up 5 minutes             5004/tcp                                                                       compose-bitcoincash-1
511c8b787303   redis:alpine                            "docker-entrypoint.s…"   5 minutes ago   Up 5 minutes             6379/tcp                                                                       compose-redis-1
0192154fc3a7   bitcart/bitcart-bnb:stable              "python daemons/bnb.…"   5 minutes ago   Up 5 minutes             5006/tcp                                                                       compose-binancecoin-1
0b01c62d62f8   bitcart/bitcart-xmr:stable              "python daemons/xmr.…"   5 minutes ago   Up 5 minutes             5011/tcp                                                                       compose-monero-1
31955ca758ba   bitcart/bitcart-xrg:stable              "python daemons/xrg.…"   5 minutes ago   Up 5 minutes             5005/tcp                                                                       compose-ergon-1
561ff244304c   bitcart/bitcart-trx:stable              "python daemons/trx.…"   5 minutes ago   Up About a minute        5009/tcp                                                                       compose-tron-1
4ca2b436edf8   pgautoupgrade/pgautoupgrade:17-alpine   "/usr/local/bin/dock…"   5 minutes ago   Up 5 minutes (healthy)   5432/tcp                                                                       compose-database-1
```

Clearly the containers aren't named as in the FAQ, so I just restarted what I had there (`compose-nginx-1, `compose-nginx-https-1`, etc)
This did not help.

Docker error tail:
```
docker logs --tail 100 compose-worker-1
+ [ ! -z /datadir/host_id_rsa ]
+ [ -f /datadir/host_id_rsa ]
+ [ ! -z /datadir/host_id_rsa ]
+ [ -f /datadir/host_authorized_keys ]
+ grep -q bitcart$ /datadir/host_authorized_keys
+ getent group tor
+ groupadd --gid 19001 tor
+ usermod -a -G tor electrum
+ [ -d /datadir ]
+ find /datadir ! -user electrum ! -wholename /datadir/host_authorized_keys -exec chown electrum {} +
+ [ -d /backups ]
+ find /backups ! -user electrum ! -wholename /datadir/host_authorized_keys -exec chown electrum {} +
+ [ -d /plugins ]
+ find /plugins ! -user electrum ! -wholename /datadir/host_authorized_keys -exec chown electrum {} +
+ exec gosu electrum python3 worker.py
2025-02-28 01:22:14,474 - [PID 1] - api.settings.log_startup_info [line 339] - INFO - Bitcart version: 0.8.0.0 - https://bitcart.ai - https://github.com/bitcart/bitcart
2025-02-28 01:22:14,612 - [PID 1] - api.settings.log_startup_info [line 340] - INFO - Python version: 3.9.18 (main, Sep  7 2023, 13:38:29) 
[GCC 10.2.1 20210110]. On platform: Linux-6.8.0-50-generic-x86_64-with-glibc2.31
2025-02-28 01:22:14,613 - [PID 1] - api.settings.log_startup_info [line 341] - INFO - BITCART_CRYPTOS=btc,bch,xmr,eth,bnb,sbch,ltc,matic,bsty,trx,xrg; IN_DOCKER=True; LOG_FILE=bitcart.log
2025-02-28 01:22:14,613 - [PID 1] - api.settings.log_startup_info [line 345] - INFO - Successfully loaded 11 cryptos
2025-02-28 01:22:14,613 - [PID 1] - api.settings.log_startup_info [line 346] - INFO - 17 notification providers available
2025-02-28 01:22:14,838 - [PID 1] - api.ext.update.refresh [line 89] - INFO - Checking for updates...
2025-02-28 01:22:15,176 - [PID 1] - api.ext.update.refresh [line 95] - INFO - No updates found
```

```
docker logs --tail 100 compose-nginx-https-1
Info: running acme-companion version v2.1.3
Info: 4096 bits RFC7919 Diffie-Hellman group found, generation skipped.
Reloading nginx docker-gen (using separate container compose-nginx-gen-1)...
Reloading nginx (using separate container compose-nginx-1)...
2025/02/28 01:22:00 Generated '/app/letsencrypt_service_data' from 20 containers
2025/02/28 01:22:00 Running '/app/signal_le_service'
2025/02/28 01:22:00 Watching docker events
2025/02/28 01:22:01 Contents of /app/letsencrypt_service_data did not change. Skipping notification '/app/signal_le_service'
Reloading nginx docker-gen (using separate container compose-nginx-gen-1)...
Reloading nginx (using separate container compose-nginx-1)...
Creating/renewal domain.td certificates... (domain.td)
[Fri Feb 28 01:22:09 UTC 2025] Domains not changed.
[Fri Feb 28 01:22:09 UTC 2025] Skip, Next renewal time is: Tue Apr 29 01:11:59 UTC 2025
[Fri Feb 28 01:22:09 UTC 2025] Add '--force' to force to renew.
Sleep for 3600s
2025/02/28 01:22:11 Received event die for container a06231e20834
2025/02/28 01:22:12 Received event start for container a06231e20834
2025/02/28 01:22:17 Debounce minTimer fired
2025/02/28 01:22:18 Received event die for container 561ff244304c
2025/02/28 01:22:18 Contents of /app/letsencrypt_service_data did not change. Skipping notification '/app/signal_le_service'
2025/02/28 01:22:20 Received event start for container 561ff244304c
2025/02/28 01:22:25 Debounce minTimer fired
2025/02/28 01:22:25 Contents of /app/letsencrypt_service_data did not change. Skipping notification '/app/signal_le_service'
2025/02/28 01:22:58 Received event die for container a06231e20834
2025/02/28 01:22:58 Received event start for container a06231e20834
2025/02/28 01:23:03 Debounce minTimer fired
2025/02/28 01:23:04 Contents of /app/letsencrypt_service_data did not change. Skipping notification '/app/signal_le_service'
2025/02/28 01:23:07 Received event die for container 561ff244304c
2025/02/28 01:23:08 Received event start for container 561ff244304c
2025/02/28 01:23:13 Debounce minTimer fired
2025/02/28 01:23:14 Contents of /app/letsencrypt_service_data did not change. Skipping notification '/app/signal_le_service'
2025/02/28 01:25:06 Received event die for container a06231e20834
2025/02/28 01:25:07 Received event start for container a06231e20834
2025/02/28 01:25:12 Debounce minTimer fired
2025/02/28 01:25:13 Contents of /app/letsencrypt_service_data did not change. Skipping notification '/app/signal_le_service'
2025/02/28 01:25:19 Received event die for container 561ff244304c
2025/02/28 01:25:20 Received event start for container 561ff244304c
2025/02/28 01:25:25 Debounce minTimer fired
2025/02/28 01:25:26 Contents of /app/letsencrypt_service_data did not change. Skipping notification '/app/signal_le_service'
2025/02/28 01:25:30 Received event die for container a06231e20834
2025/02/28 01:25:31 Received event start for container a06231e20834
2025/02/28 01:25:36 Debounce minTimer fired
2025/02/28 01:25:37 Contents of /app/letsencrypt_service_data did not change. Skipping notification '/app/signal_le_service'
2025/02/28 01:25:43 Received event die for container 561ff244304c
2025/02/28 01:25:44 Received event start for container 561ff244304c
2025/02/28 01:25:49 Debounce minTimer fired
2025/02/28 01:25:50 Contents of /app/letsencrypt_service_data did not change. Skipping notification '/app/signal_le_service'
2025/02/28 01:25:52 Received event die for container a06231e20834
2025/02/28 01:25:54 Received event start for container a06231e20834
2025/02/28 01:25:59 Debounce minTimer fired
2025/02/28 01:26:57 Contents of /app/letsencrypt_service_data did not change. Skipping notification '/app/signal_le_service'
2025/02/28 01:26:59 Received event die for container 561ff244304c
2025/02/28 01:27:00 Received event start for container 561ff244304c
2025/02/28 01:27:05 Debounce minTimer fired
2025/02/28 01:27:06 Contents of /app/letsencrypt_service_data did not change. Skipping notification '/app/signal_le_service'
2025/02/28 01:27:11 Received event die for container a06231e20834
2025/02/28 01:27:12 Received event start for container a06231e20834
2025/02/28 01:27:17 Debounce minTimer fired
2025/02/28 01:27:49 Contents of /app/letsencrypt_service_data did not change. Skipping notification '/app/signal_le_service'
2025/02/28 01:27:52 Received event die for container 561ff244304c
2025/02/28 01:27:52 Received event start for container 561ff244304c
2025/02/28 01:27:57 Debounce minTimer fired
2025/02/28 01:27:58 Contents of /app/letsencrypt_service_data did not change. Skipping notification '/app/signal_le_service'
2025/02/28 01:28:04 Received event die for container a06231e20834
2025/02/28 01:28:05 Received event start for container a06231e20834
2025/02/28 01:28:06 Received event stop for container 05fd4554856c
2025/02/28 01:28:06 Received event die for container 05fd4554856c
2025/02/28 01:28:07 Received event start for container 05fd4554856c
2025/02/28 01:28:13 Debounce minTimer fired
2025/02/28 01:28:57 Received event die for container 561ff244304c
2025/02/28 01:28:58 Received event start for container 561ff244304c
2025/02/28 01:28:58 Contents of /app/letsencrypt_service_data did not change. Skipping notification '/app/signal_le_service'
2025/02/28 01:29:01 Received signal: terminated
2025/02/28 01:29:01 Received signal: terminated
Info: running acme-companion version v2.1.3
Info: 4096 bits RFC7919 Diffie-Hellman group found, generation skipped.
Reloading nginx docker-gen (using separate container compose-nginx-gen-1)...
Reloading nginx (using separate container compose-nginx-1)...
2025/02/28 01:29:11 Contents of /app/letsencrypt_service_data did not change. Skipping notification '/app/signal_le_service'
2025/02/28 01:29:11 Watching docker events
Reloading nginx docker-gen (using separate container compose-nginx-gen-1)...
2025/02/28 01:29:12 Contents of /app/letsencrypt_service_data did not change. Skipping notification '/app/signal_le_service'
2025/02/28 01:29:12 Received event die for container a06231e20834
Reloading nginx (using separate container compose-nginx-1)...
Creating/renewal domain.td certificates... (domain.td)
2025/02/28 01:29:13 Received event start for container a06231e20834
[Fri Feb 28 01:29:16 UTC 2025] Domains not changed.
[Fri Feb 28 01:29:16 UTC 2025] Skip, Next renewal time is: Tue Apr 29 01:11:59 UTC 2025
[Fri Feb 28 01:29:16 UTC 2025] Add '--force' to force to renew.
Sleep for 3600s
2025/02/28 01:29:18 Debounce minTimer fired
2025/02/28 01:29:19 Contents of /app/letsencrypt_service_data did not change. Skipping notification '/app/signal_le_service'
2025/02/28 01:30:18 Received event die for container 561ff244304c
2025/02/28 01:30:19 Received event start for container 561ff244304c
2025/02/28 01:30:24 Debounce minTimer fired
2025/02/28 01:30:25 Contents of /app/letsencrypt_service_data did not change. Skipping notification '/app/signal_le_service'
2025/02/28 01:30:30 Received event die for container a06231e20834
2025/02/28 01:30:31 Received event start for container a06231e20834
2025/02/28 01:30:36 Debounce minTimer fired
```

.... all in all it all looks "ok", yet the service is not working and ends in a 502 or 504 alternatively..

This is the third attempt with same results on each time a new VPS, no UFW or else firewall (yet) installed, no "custom" approach, everything by the book as per the "easy install" process.
The server is a 3gb ram 15gb disk vps which should be enough according the Bitcart doc

Can someone help settle this?