-
I deployed the latest keygen on 9/26 (previous deployment was in early May), and since then, I am seeing this error from the web container, and both the web and worker are continuously crashing and restarting:
I've verified that the postgres database does NOT have the license_users table, and that it also didn't back in May (checked a schema dump I did at the time). At the time of the deployment, I ran the "release" command, this was the output:
All of the containers are run with KEYGEN_MODE: I am stymied as to how to debug/fix this and was hoping that someone would be able to guide me at what to look at next. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
If you don't have the tables, then the new version's migrations didn't run against the correct database. |
Beta Was this translation helpful? Give feedback.
-
Yes, I can see that the latest applied migration on the database is "20231013164654", the migration that adds the missing table is "20231106203122", and there are other later migrations that are missing. All I'm missing now is why the release command is not applying the missing migrations. The database connection is correct. |
Beta Was this translation helpful? Give feedback.
When I ran the release command manually, it applied the migrations as expected.
There seems to be some issue with running the podman commands via Ansible that I need to look into.