On 3/6/26 23:22, Thomas Krichel wrote:
...
Mar 07 07:01:03 darni mailman[1209747]: alembic.util.exc.CommandError: Can't
locate revision identified by '8cc1f79f4459'
...
root@darni ~ # sudo -u postgres psql -d mailman3
psql (18.2 (Debian 18.2-1))
Type "help" for help.
mailman3=# SELECT version_num FROM alembic_version;
version_num
--------------
8cc1f79f4459
(1 row)
That's not what it's complaining about. You have to look at
/usr/local/mailman/venv/lib/python3.13/mailman/database/alembic/versions.
Those are all the alembic migrations. Each one has a Revision ID: and a
Revises: making a chain. There are tools to display that chain. With
your venv active do
```
alembic -c
/usr/local/mailman/venv/lib/python3.13/mailman/config/alembic.cfg history
```
What does that show?
I suspect there is some issue between the database and the code. The
version_num in the alembic_version table and the migrations. The
version_num is the current migration so that `mailman-web migrate` knows
which additional migrations to apply.
--
Mark Sapiro <[email protected]> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
_______________________________________________
Mailman-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Archived at:
https://lists.mailman3.org/archives/list/[email protected]/message/JONPE56GEJHGPP2SIP3Z4GLVDXBCMAJX/
This message sent to [email protected]