New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migration from MySQL to Postgresql: pgload fails with ERROR Database error 42703: column "adsrc" does not exist when creating schema #3090
Comments
This seems to be an incompatibility between the pgloader and PostgreSQL versions, see eg dimitri/pgloader#1034 which pgloader version do you have? I tested the migration guide with debian stable and did not run into this issue |
pgloader version is "3.6.1" from ubuntu repository I've now installed the version from Postgres, but this refuses to start. This is very certainly no issue with pretix. I'll keep you updated. |
Yeah, I'm also pretty sure the issue is not in pretix, but we'll have more people migrating and probably running into the issue, so if there's a solution, I'd like to add it to the docs :) FWIW, I just installed pgloader 3.6.9 from the
I did not test the full migration, though. Did you get a specific error message? |
Sure, the erorr I got was
Installation was from Solution was to wipe Migration is now completed with a bunch of warnings in the style of
Please ignore the german locale, this is a off-the-shelf Strato VM with german localisation by default... did not invest any time to change this in a hobby project. A very quick glance at the instance gave nothing to worry and no more deprecation warning. Seems like the migration was, albeit the warnings, successful. |
Thanks for the update! I added a note to the doc. The warnings should be fine. |
Problem and impact
Hey all,
when using the pgloader script as listed here, the pgloader fails with errror
resulting in an incomplete data transfer, e.g., only the default user exists. Before trying to transfer the data, I executed
python -m pretix migrate
.Pretix version: 4.16
MariaDB version: Ver 15.1 Distrib 10.3.37-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2
Postgresql version: (PostgreSQL) 12.13 (Ubuntu 12.13-0ubuntu0.20.04.1)
Expected behaviour
No response
Steps to reproduce
python -m pretix migrate
sudo -u postgres pgloader /tmp/pretix.load
Screenshots
No response
Link
No response
Browser (software, desktop or mobile?) and version
No response
Operating system, dependency versions
Ubuntu 20.04.5 LTS, Kernel 5.4.0
Version
4.16
The text was updated successfully, but these errors were encountered: