-
Notifications
You must be signed in to change notification settings - Fork 73
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
Polls upgrade leads to NotNullConstraintViolationException #453
Comments
Confirmed on 14.0.4 Upgrade from 0.8.3 to 0.9.3. |
Can you send me the polls_* tables? [email protected] |
If there is no important data, you can
I had this error on one of my instances, but could not reproduce them. |
I could reproduce this exeption. It is indeed an orphaned vote, which breaks the migration. Currently, I am testing a change to the migration. Stay tuned. |
@dartcafe I'm probably pretty busy during the holidays, but should have some free time on the 35c3 😉 |
@v1r0x I am in the last tests. Seems I could repair the migration. |
Added a migration step before the initial migration and check if a prior migration failed. Worked in my instances. See #456 and 0.9.4 release |
@lars-becker @bpcurse Can you confirm the migration is working now? |
Sorry, I can't test it before the holidays are over. My local installation upgraded without problems. The instance with the problem is a hosted solution. I requested a dump, but haven't gotten one so far. Will give you feedback when I had a chance to test it; which will take a few days. Sorry. |
Addendum: The Update from 0.9.3 to 0.9.4 and reenabling the app was made via the NC Web GUI. After the update polls showed only the (correct) background colours of the voting fields without x, ? or the checkmark symbols. A simple browser restart solved this issue. |
@bpcurse Thanks for taking time amd support and sorry for the inconvenience. |
@lars-becker The new version 0.9.4 should work. Also 0.9.5 should do the job, but this version is not published in the app store at the moment. Thanks for reporting the issue. |
I'm back from the holidays and can confirm that the problem was fixed in 0.94/0.95. Thanks for the quick fix and a happy new year! |
What is going wrong?
Describe the bug
Upgrading to polls 0.91 leads to a NotNullConstraintViolationException.
To Reproduce
I upgraded a test instance without problem. When I tried to upgrade a hosted instance the following error occured:
I'm afraid that I can't inquire further but I don't have access to this managed machine.
Expected behavior
Upgrading without problems.
Information about your polls installation
Polls version? (see apps page)
0.8.3 auf 0.9.3
Fresh installation or update from a prior version (from which one)?
Update from prior version: 0.8.3
How did you install this version?(Appstore or describe installation)
I installed it via the web interface.
Information about your Instance of Nextcloud/ownCloud
Nextcloud or ownCloud?
Nextcloud
Which Version?
14.0.3
The text was updated successfully, but these errors were encountered: