Hello, thank you all for the time you can dedicate to me.
I followed the tutorial for the self hosted docker solution. I’m running containers on fedora 41 and podman + podman-compose. At the first start I could not connect to the local instance on port 9001, but searching on the internet I modified the file docker-compose.yaml replacing port 8080 with port 80 for the frontend.
After that I managed to see the home page with the message “bad gateway”.
I have already read other posts related to bad gateway but none of these seem to match my case.
I’m adding the information I’ve seen asked for in these cases
container status
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
ad7389d9703c docker.io/penpotapp/exporter:latest node app.js 5 minutes ago Up 5 minutes penpot_penpot-exporter_1
56ed6bb1a765 docker.io/library/postgres:15 postgres 5 minutes ago Up 5 minutes 5432/tcp penpot_penpot-postgres_1
d96214f2bde8 docker.io/library/redis:7.2 redis-server 5 minutes ago Up 5 minutes 6379/tcp penpot_penpot-redis_1
86dda12ef3e8 docker.io/sj26/mailcatcher:latest --ip 0.0.0.0 5 minutes ago Up 5 minutes 0.0.0.0:1080->1080/tcp, 1025/tcp penpot_penpot-mailcatch_1
7e6b862dfd6c docker.io/penpotapp/backend:latest /bin/bash run.sh 5 minutes ago Up 12 seconds penpot_penpot-backend_1
9a493660d11d docker.io/penpotapp/frontend:latest nginx -g daemon o... 5 minutes ago Up 5 minutes 0.0.0.0:9001->80/tcp penpot_penpot-frontend_1
backend log
- exec /opt/jdk/bin/java -Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager -Dlog4j2.configurationFile=log4j2.xml -XX:-OmitStackTraceInFastThrow -Dpolyglot.engine.WarnInterpreterOnly=false --enable-preview -jar penpot.jar -m app.main
Error on validating configuration:
– Configuration Validation Error - app.common.schema:229 –
Value
{:assets-path ...,
:assets-storage-backend ...,
:auto-file-snapshot-every ...,
:auto-file-snapshot-timeout ...,
:auto-file-snapshot-total ...,
:database-password ...,
:database-uri ...,
:database-username ...,
:default-blob-version ...,
:email-verify-threshold ...,
:flags ...,
:host ...,
:initial-project-skey ...,
:ldap-attrs-email ...,
:ldap-attrs-fullname ...,
:ldap-attrs-username ...,
:ldap-user-query ...,
:media-max-file-size ...,
:objects-storage-backend ...,
:objects-storage-fs-directory ...,
:profile-bounce-max-age ...,
:profile-bounce-threshold ...,
:profile-complaint-max-age ...,
:profile-complaint-threshold ...,
:public-uri ...,
:redis-uri ...,
:rpc-climit-config ...,
:rpc-rlimit-config ...,
:smtp-default-from ...,
:smtp-default-reply-to ...,
:smtp-host ...,
:smtp-port ...,
:smtp-ssl "False",
:smtp-tls "False",
:storage-assets-fs-directory ...,
:telemetry-enabled "False",
:telemetry-uri ...,
:tenant ...}
Errors
{:smtp-ssl ["expected boolean"],
:smtp-tls ["expected boolean"],
:telemetry-enabled ["expected boolean"]}
------------------------------------------------------------
frontend log
10.89.0.159 - - [01/Jan/2025:15:39:23 +0000] "GET /js/config.js?ts=1731662552642 HTTP/1.1" 200 132
"http://localhost:9001/" "Mozilla/5.0 (X11; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0"
10.89.0.159 - - [01/Jan/2025:15:39:23 +0000] "GET / HTTP/1.1" 200 565757 "-"
"Mozilla/5.0 (X11; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0"
10.89.0.159 - - [01/Jan/2025:15:39:24 +0000] "HEAD / HTTP/1.1" 200 0 "-"
"Mozilla/5.0 (X11; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0"
10.89.0.159 - - [01/Jan/2025:15:39:24 +0000] "GET /rasterizer.html HTTP/1.1" 200 320
"http://localhost:9001/" "Mozilla/5.0 (X11; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0"
10.89.0.159 - - [01/Jan/2025:15:39:24 +0000] "GET /js/config.js?ts=1731662552642 HTTP/1.1" 200 132
"http://localhost:9001/rasterizer.html" "Mozilla/5.0 (X11; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0"
2025/01/01 15:39:27 [error] 5#5: *2 connect() failed (113: No route to host) while connecting to upstream,
client: 10.89.0.159, server: _, request: "GET /api/rpc/command/get-profile HTTP/1.1",
upstream: "http://10.89.0.158:6060/api/rpc/command/get-profile", host: "localhost:9001"
I added some blank lines and line breaks for better readability…
I tried to follow the instructions to add a new user but I have very little time to write because after a few seconds the terminal returns to the prompt.
Another strange thing is the cpu workload after about 30 seconds from the containers startup.
See screnshot…