mirror of
https://github.com/plankanban/planka.git
synced 2026-02-05 00:39:58 +03:00
[Bug]: After latest update to 1.22.0 planka no longer starts #571
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jimz011 on GitHub (Sep 20, 2024).
Where is the problem occurring?
I encountered the problem while using the application (Frontend)
What browsers are you seeing the problem on?
Brave, Chrome, Firefox, Microsoft Edge, Safari, Other
Current behaviour
After updating to the latest docker image it no longer wants to start. It also shows no logs at all. If I try an older tag (e.g. 1.21.1) then it will start but throw the following error:
I hope someone can help me as reverting to older versions of postgres and planka have no effect and I can't find anything on the web about this specific error.
Desired behaviour
The desired behaviour is that it works as before again.
Steps to reproduce
I did update both postgresql (v. 16.4) and planka (v. 1.22.0)
Other information
No response
@meltyshev commented on GitHub (Sep 20, 2024):
Hi! Thanks for reporting this.
To rollback to
1.21.1, you need to specify1.22.0in thedocker-compose.yml, run it, and then connect to the container (the container name may be different):After that perform a database rollback:
If the above doesn't work, please reply here and I'll suggest other options.
@meltyshev commented on GitHub (Sep 20, 2024):
Regarding Planka not starting: when running via docker compose, the startup logs for both Planka and Postgres should be displayed. Could you please show me what's being displayed, or is nothing showing up at all?
@jimz011 commented on GitHub (Sep 23, 2024):
Unfortunately this did not work. I even did a full database restore to the point where it still worked without success.
When running the latest version it will show no logs at all (though I am able to run commands in the container).
When using tags other than latest it will throw errors like the above.
I also used the rollback command mentioned in your post, it rolls back succesfully but that is basically it, the more rollbacks I do the more errors it will show.
EDIT: I have to mention that when I run the latest version it will open a completely white page when visiting IP:PORT.
@jimz011 commented on GitHub (Sep 23, 2024):
I have also tried rolling back the db, removing the planka image entirely and reinstall it. No avail.
I have also tried rollinb back the db and then reinstalling an older image of planka (it will then throw this error:
(process:19): VIPS-WARNING **: 07:17:30.731: threads clipped to 1024.When doing anything else it will just throw an error that the migration files are missing (as stated in the first post).
@jimz011 commented on GitHub (Sep 23, 2024):
After some hours of debugging I found the actual problem. It was not the DB that was corrupted (it only shows that error when downgrading anyway).
The problem was the BASE_URL which now sends an
Access-Control-Allow-Originheader, this was blocked by NGINX and has now been resolved.I hope that this message will help others that face the same problem in the future! My apologies for bothering you.
Marked as resolved!