[Bug]: Can't load WebUI. #612

Closed
opened 2026-02-04 20:33:40 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @pseudorandomnumber on GitHub (Nov 20, 2024).

Where is the problem occurring?

I'm not sure

What browsers are you seeing the problem on?

Firefox

Current behaviour

Hi,
I have an older installation of Planka that I can't access anymore. After the login, it gets to the grey screen with this circle spinning constantly:
image

When I run the docker-compose, I get some errors that I'm unsure if they are relevant:
postgres-1 | postgres-1 | PostgreSQL Database directory appears to contain a database; Skipping initialization postgres-1 | postgres-1 | 2024-11-20 19:12:40.135 UTC [1] LOG: starting PostgreSQL 14.14 on x86_64-pc-linux-musl, compiled by gcc (Alpine 13.2.1_git20240309) 13.2.1 20240309, 64-bit postgres-1 | 2024-11-20 19:12:40.135 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 postgres-1 | 2024-11-20 19:12:40.135 UTC [1] LOG: listening on IPv6 address "::", port 5432 postgres-1 | 2024-11-20 19:12:40.145 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" postgres-1 | 2024-11-20 19:12:40.150 UTC [27] LOG: database system was interrupted; last known up at 2024-11-20 19:09:27 UTC postgres-1 | 2024-11-20 19:12:40.210 UTC [27] LOG: database system was not properly shut down; automatic recovery in progress postgres-1 | 2024-11-20 19:12:40.213 UTC [27] LOG: redo starts at 0/1E27288 postgres-1 | 2024-11-20 19:12:40.214 UTC [27] LOG: invalid record length at 0/1E29848: wanted 24, got 0 postgres-1 | 2024-11-20 19:12:40.214 UTC [27] LOG: redo done at 0/1E29810 system usage: CPU: user: 0.00 s, system: 0.00 s, elapsed: 0.00 s postgres-1 | 2024-11-20 19:12:40.243 UTC [1] LOG: database system is ready to accept connections postgres-1 | 2024-11-20 19:12:40.827 UTC [34] ERROR: conflicting key value violates exclusion constraint "user_email_unique" postgres-1 | 2024-11-20 19:12:40.827 UTC [34] DETAIL: Key (email)=(email@admin.com) conflicts with existing key (email)=(email@admin.com). postgres-1 | 2024-11-20 19:12:40.827 UTC [34] STATEMENT: insert into "user_account" ("created_at", "email", "is_admin", "is_sso", "name", "password", "subscribe_to_own_cards", "username") values ($1, $2, $3, $4, $5, $6, $7, $8)

Any help is greatly appreciated!

Desired behaviour

I can open the dashboard.

Steps to reproduce

It's an older installation but I also tried a clean install.

Other information

No response

Originally created by @pseudorandomnumber on GitHub (Nov 20, 2024). ### Where is the problem occurring? I'm not sure ### What browsers are you seeing the problem on? Firefox ### Current behaviour Hi, I have an older installation of Planka that I can't access anymore. After the login, it gets to the grey screen with this circle spinning constantly: ![image](https://github.com/user-attachments/assets/6b212b51-602f-4938-9d77-5f4c3b34d15a) When I run the docker-compose, I get some errors that I'm unsure if they are relevant: `postgres-1 | postgres-1 | PostgreSQL Database directory appears to contain a database; Skipping initialization postgres-1 | postgres-1 | 2024-11-20 19:12:40.135 UTC [1] LOG: starting PostgreSQL 14.14 on x86_64-pc-linux-musl, compiled by gcc (Alpine 13.2.1_git20240309) 13.2.1 20240309, 64-bit postgres-1 | 2024-11-20 19:12:40.135 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 postgres-1 | 2024-11-20 19:12:40.135 UTC [1] LOG: listening on IPv6 address "::", port 5432 postgres-1 | 2024-11-20 19:12:40.145 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" postgres-1 | 2024-11-20 19:12:40.150 UTC [27] LOG: database system was interrupted; last known up at 2024-11-20 19:09:27 UTC postgres-1 | 2024-11-20 19:12:40.210 UTC [27] LOG: database system was not properly shut down; automatic recovery in progress postgres-1 | 2024-11-20 19:12:40.213 UTC [27] LOG: redo starts at 0/1E27288 postgres-1 | 2024-11-20 19:12:40.214 UTC [27] LOG: invalid record length at 0/1E29848: wanted 24, got 0 postgres-1 | 2024-11-20 19:12:40.214 UTC [27] LOG: redo done at 0/1E29810 system usage: CPU: user: 0.00 s, system: 0.00 s, elapsed: 0.00 s postgres-1 | 2024-11-20 19:12:40.243 UTC [1] LOG: database system is ready to accept connections postgres-1 | 2024-11-20 19:12:40.827 UTC [34] ERROR: conflicting key value violates exclusion constraint "user_email_unique" postgres-1 | 2024-11-20 19:12:40.827 UTC [34] DETAIL: Key (email)=(email@admin.com) conflicts with existing key (email)=(email@admin.com). postgres-1 | 2024-11-20 19:12:40.827 UTC [34] STATEMENT: insert into "user_account" ("created_at", "email", "is_admin", "is_sso", "name", "password", "subscribe_to_own_cards", "username") values ($1, $2, $3, $4, $5, $6, $7, $8)` Any help is greatly appreciated! ### Desired behaviour I can open the dashboard. ### Steps to reproduce It's an older installation but I also tried a clean install. ### Other information _No response_
Author
Owner

@meltyshev commented on GitHub (Nov 21, 2024):

Hi! Are there any other errors logged when you try to access Planka? Also, please check what is displayed in the browser console, you can usually open it with Shift + Cmd + J (macOS) or Shift + Ctrl + J (Windows).

@meltyshev commented on GitHub (Nov 21, 2024): Hi! Are there any other errors logged when you try to access Planka? Also, please check what is displayed in the browser console, you can usually open it with Shift + Cmd + J (macOS) or Shift + Ctrl + J (Windows).
Author
Owner

@pseudorandomnumber commented on GitHub (Nov 22, 2024):

I don't get any additional errors when I try to access. That makes me think, it might have to do with my nginxproxy setup..

The console showed something about WebSockets:
image

So, I enabled "Websockets Support" in Nginx Proxy Manager and voilà!

Up and running again! Thank you so much!

@pseudorandomnumber commented on GitHub (Nov 22, 2024): I don't get any additional errors when I try to access. That makes me think, it might have to do with my nginxproxy setup.. The console showed something about WebSockets: ![image](https://github.com/user-attachments/assets/6d1622e1-d858-456c-9c91-85e136f6b203) So, I enabled "Websockets Support" in Nginx Proxy Manager and voilà! Up and running again! Thank you so much!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#612