-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
[Bug]: db:convert-type fails when converting MariaDB -> PostgreSQL | NC 23 #31207
Comments
Hello, the speed problems might get addressed with #31219 |
Thanks for looking into it. Are the provided logs enough for the other error I get or do I need to get more? |
I suppose they should be enough for somebody that has the time and knowledge to look into this and fix it 👍 |
This has something to do with #9907 |
Today I had some time to look deeper into the problems and although the issue is similar to #9907 it isn't anything in the EDIT: Thought there was only limited use of the notes field but turns out to be that quite a few contacts have a footer stile message in there. This includes company stuff and I guess that those where vcards attached per mail and not manually created. How much should the limit be raised? Also this limit should also be forced by the contacs app... P.S. The migration speedup from Carl where perfect. I already applied the patch back then before it was merged and in my testing today the migration time was around 50 min so a considerably faster. ❤️ |
Hi, please update to 24.0.9 or better 25.0.3 and report back if it fixes the issue. Thank you! My goal is to add a label like e.g. 25-feedback to this ticket of an up-to-date major Nextcloud version where the bug could be reproduced. However this is not going to work without your help. So thanks for all your effort! If you don't manage to reproduce the issue in time and the issue gets closed but you can reproduce the issue afterwards, feel free to create a new bug report with up-to-date information by following this link: https://github.com/nextcloud/server/issues/new?assignees=&labels=bug%2C0.+Needs+triage&template=BUG_REPORT.yml&title=%5BBug%5D%3A+ |
Thank you for the bump :) |
Bug description
I tried to convert my MariaDB to Postgres (with
occ db:convert-type pgsql --all-apps
) and the migration failed withThe migration is really slow (16hrs for 1.9G on 32 cores and 32 gig 🤷♀️) but that's for a different issue
Steps to reproduce
php occ db:convert-type pgsql --all-apps --chunk-size=100000 --password="" nextcloud nextcloud_db_pg nextcloud
Expected behavior
The migration should not fail :)
Installation method
Official Docker image
Operating system
No response
PHP engine version
PHP 8.0
Web server
Nginx
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
No response
Are you using the Nextcloud Server Encryption module?
No response
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
NA although right after the crash there wasn't more information than the terminal output.
Additional info
I don't think it'll help further but there's the complete console output of the migration:
The text was updated successfully, but these errors were encountered: