-
Notifications
You must be signed in to change notification settings - Fork 2.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
Update 7.0.4 -> 8.0.0 fails with MySQL Syntax error #14003
Comments
hmmm - where is that rename coming from? Related to our migration testing? @icewind1991 please have a look - THX |
@jojomi in case you have a backup of your data (which you for sure have 🙊 ) - you coud try to skip the migration testing by appending the command line option --skip-migration-test |
That command line option fixed it for me:
Files are still there, so seem to be the other data. Fingers crossed! Thank you :) |
@jojomi: you are using mariadb 10, right? @DeepDiver1975: I already discussed this in irc. Doctrine dbal 2.5.0 wrongly assumes that mariadb10 supports mysql 5.7 features. See: |
Same issue on my server, i am running mariaDB 10 |
we are working on integration of doctrine 2.5.1 for OC8.1 - we are running into some other issues there .... see #13537 |
so we have to wait for 8.1? to skip the migration test does not seem to be the safe way for the data ;) |
@wallenium: backing up and trying with skip in a test environment? :-) |
@wallenium it is safe in case you have a backup to revert to. |
Would be an option, but time intensive ;) Waiting seems to be the better solution, as there seems to be a couple of other bugs, too ;) |
Yes, I am using MariaDB 10. |
8.1 is scheduled for May ... shipping 2.5.1 with 8.0.1 (delivery in March) is currently out of scope. |
Well - you know - backups are always recommended ... don't blame us if data got eaten 🙊 |
I know. i have backups ;) i cloned the system and tried to upgrade, upgrade was successful, seems to work. Thanks for your help. |
I was able to bypass this table alter query error with the --skip-migration-test flag and am using MariaDB 10.0.16.
|
Anyone have an account at the forums and could post that there? I see tons of duplicate posts there about this issue. 🙊 |
@DeepDiver1975 is it possible to add a check or a warning for 8.0.1 ? |
Upgrading from 7.0.4 to 8.0.0~beta2 (and then later to 8.0.0 final) worked for me on my server with mariadb-5.5.33-2.2.x86_64 on openSUSE 13.1 x86_64 |
--skip-migration-test did it for me |
Will have a look at this once we are sure we cannot ship dbal 2.5.1 for 8.0.1 |
The issue here only appears with MariaDB 10.x |
Worst case we cherry-pick this patch - https://github.com/doctrine/dbal/pull/742/commits |
--skip-migration-test did it for me too (took a while, but it worked) |
Applying https://github.com/doctrine/dbal/pull/742/commits to |
#14515 says it should fix this issue. It would be awesome if people that experience this bug could test and verify the behaviour and report it back. For now I'm closing the issue. Thanks for reporting issues back! |
I followed this idea to circumvent the update problems with the Debian package: #13992 (comment)
On running
sudo -u www-data php /var/www/owncloud/occ upgrade
I get:The trailing numbers in the table name and the index name change on every new invocation and keep failing.
Can anyone give a hint what might have gone wrong here?
The text was updated successfully, but these errors were encountered: