Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: penpot: "server not available" #4957

Open
endquote opened this issue Jan 25, 2025 · 6 comments
Open

[Bug]: penpot: "server not available" #4957

endquote opened this issue Jan 25, 2025 · 6 comments
Labels
🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization.

Comments

@endquote
Copy link

endquote commented Jan 25, 2025

Error Message and Logs

I had penpot working for a while. Recently Coolify said "latest configuration was not applied", so I restarted it. Now it just gives me "server not available" when accessing.

Tried syncing the compose file with the latest version, no luck.

Completely deleted penpot and set it up again, same result.

All containers show as healthy except front end. All containers seem to have good logs, front end shows no logs. Something about the health checks and "depends" settings seems to not be working.

Coolify Version

v4.0.0-beta.389

Are you using Coolify Cloud?

No (self-hosted)

Operating System and Version (self-hosted)

Ubuntu 24

@endquote endquote added 🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization. labels Jan 25, 2025
@endquote
Copy link
Author

@OliverSpeir @peaklabs-dev is it working for you?

@OliverSpeir
Copy link
Contributor

I haven't tried the new dependson config I just manually applied the new health checks when I was testing my PR

I'll try tonight and let you know

@peaklabs-dev
Copy link
Member

Yes, it works for me. Another user also had exactly 1 service that did not work. Not really sure what is going on.

@eugeneduvenage
Copy link

eugeneduvenage commented Jan 25, 2025

I am seeing the same failure, brand new install of coolify and penpot.

Container penpot-backend-vc0ckskc4cgs8o48cso8844w  Error
dependency failed to start: container penpot-backend-vc0ckskc4cgs8o48cso8844w is unhealthy

There are no errors in the backend logs as far as I can see, just the java service starting up.

2025-01-25T16:22:58.152323775Z [2025-01-25 16:22:58.151] I app.worker.dispatcher - hint="started"
2025-01-25T16:22:58.153132475Z [2025-01-25 16:22:58.152] I app.worker.executor - hint="monitor started", name="default"
2025-01-25T16:22:58.167577286Z [2025-01-25 16:22:58.167] I app.worker.runner - hint="started", id=0, queue="default"
2025-01-25T16:22:58.168359730Z [2025-01-25 16:22:58.168] I app.worker.runner - hint="started", id=0, queue="webhooks"
2025-01-25T16:22:58.176243708Z [2025-01-25 16:22:58.175] I app.srepl - hint="initializing repl server", name="prepl", port=6063, host="localhost"
2025-01-25T16:22:58.181397956Z [2025-01-25 16:22:58.180] I app.main - hint="welcome to penpot", flags="backend-openapi-doc,login-with-password,backend-api-doc,secure-session-cookies,v2-migration,export-file-v3,backend-worker,smtp,email-verification,registration,prepl-server", worker?=true, version="2.4.1"

My penpot frontend never responds and there are no logs unless I comment out the health check, then I get:

2025-01-25T16:22:10.209765749Z 2025/01/25 16:22:10 [emerg] 1#1: host not found in upstream "penpot-backend" in /etc/nginx/nginx.conf:105
2025-01-25T16:22:10.209815047Z nginx: [emerg] host not found in upstream "penpot-backend" in /etc/nginx/nginx.conf:105

I did see an issue in the penpot repo penpot/penpot#5430 that spoke of changes to the ports for the frontend in the images in the 2.4.0 and 2.4.1, not sure if those have been accounted for in the coolify current compose file.

@Ventajou
Copy link

I had the same issue with the frontend container being unhealthy, I was able to fix it by updating the health check in the compose file to use port 8080 instead of 80

@endquote
Copy link
Author

endquote commented Feb 3, 2025

Looks like there's some action on this https://github.com/penpot/penpot/releases/tag/2.5.0-RC1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization.
Projects
None yet
Development

No branches or pull requests

5 participants