Asterisk 13.8.0 Alembic Database Update Fails.
I get the following error when trying to update date the database via contrib/ast-db-manage/alembic -c config.ini upgrade head. Every previous update has always worked any idea what is wrong.
OS
I get the following error when trying to update date the database via contrib/ast-db-manage/alembic -c config.ini upgrade head. Every previous update has always worked any idea what is wrong.
OS
11 thoughts on - Asterisk 13.8.0 Alembic Database Update Fails.
Harley Peters wrote:
What version of Alembic is installed and how did you install it – from a package or pip? A change may have gone in which somehow requires a newer version.
and what version of python-sqlalchemy?
Looks like the batch migration functionality went into alembic version
0.7.0:
http://alembic.readthedocs.org/en/latest/batch.html#batch-migrations
Kevin Harwell Digium, Inc. | Software Developer
445 Jan Davis Drive NW – Huntsville, AL 35806 – USA
Check us out at: http://digium.com & http://asterisk.org
alembic [0.6.5+ds-1]
python-sqlalchemy [0.9.8+dfsg-0.1]
Looks like the alembic version maybe to old.
Harley
It was SQLite that needed the batch processing. Let me see if I can find an alternative.
Harley, can you open a Jira issue for this?
Never done it before. Where url?
Harley
—
https://issues.asterisk.org
Harley Peters wrote:
The issue tracker is located at https://issues.asterisk.org/jira and an account can be created using the site at https://signup.asterisk.org/
Cheers,
Don’t really see a category for it.
Harley
—
Harley Peters wrote:
Asterisk is the project and you can leave the rest as-is. It’ll get changed if it makes sense.