Skip to content
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 1.0 beta issue while activating in apps #712

Closed
kangaroo72 opened this issue Jan 6, 2020 · 16 comments · Fixed by #713
Closed

Polls 1.0 beta issue while activating in apps #712

kangaroo72 opened this issue Jan 6, 2020 · 16 comments · Fixed by #713

Comments

@kangaroo72
Copy link

grafik

known issue?

@dartcafe
Copy link
Collaborator

dartcafe commented Jan 6, 2020

Which DB system is in use?

@kangaroo72
Copy link
Author

MariaDB 10.4.11 on Ubuntu 18.04 LTS

@dartcafe dartcafe mentioned this issue Jan 6, 2020
@dartcafe
Copy link
Collaborator

dartcafe commented Jan 6, 2020

I made a fix in #713. Can you replace your version of the file Version0010Date20191227063812.php with the updated from this PR, deactivate polls and activate it again? The migration will continue.

https://github.com/nextcloud/polls/blob/migrationFix/lib/Migration/Version0010Date20191227063812.php

@kangaroo72
Copy link
Author

Works, but cannot activate. The app still shows "activate" again.

@dartcafe
Copy link
Collaborator

dartcafe commented Jan 7, 2020

Which NC version? I made another fix for the migration. Maybe, this helps. Version0010Date20191227063812.php is to replace another time. sorry...

@kangaroo72
Copy link
Author

Still not working. NC17.0.0

@dartcafe
Copy link
Collaborator

dartcafe commented Jan 7, 2020

Any log entries?
Can you do a db rollback before the migration?
Another way:

  • Remove polls from the system
  • remove all tables beginning with oc_polls
  • remove all entries from oc_migration regarding to the polls app
  • install from appstore (0.10.4)
  • create a test poll
  • install polls (with replaced Version0010Date20191227063812.php)
  • activate app

@kangaroo72
Copy link
Author

Does not work at all :-(
`Update vorbereiten

Log-Level auf "debug" gesetzt

Wartungsmodus eingeschaltet

Reparaturschritt: Repair MySQL collation

Reparaturinformation: All tables already have the correct collation -> nothing to do

Reparaturschritt: Repair SQLite autoincrement

Reparaturschritt: Copy data from accounts table when migrating from ownCloud

Reparaturschritt: Drop account terms table when migrating from ownCloud

Das Datenbankschema wird aktualisiert

Datenbank aktualisiert

InvalidArgumentException: Migration step 'OCA\Polls\Migration\Version0010Date20191227063812' is unknown

Das Update ist fehlgeschlagen. Bitte melde dieses Problem an die Nextcloud Community.`

@dartcafe
Copy link
Collaborator

dartcafe commented Jan 7, 2020

can you send a dump of your oc_polls tabels and the oc_migration?
You can upload here: https://nc.yagst.de/index.php/s/5Dc8wWGY5AKfHMj

@dartcafe
Copy link
Collaborator

dartcafe commented Jan 8, 2020

I tried now several times with the steps above and it works on my side, after removing the issues. I will pack a new beta this evening. Maybe, you can try again with the new release.

@kangaroo72
Copy link
Author

is the new beta online?

@dartcafe
Copy link
Collaborator

dartcafe commented Jan 8, 2020

it's out

@dartcafe dartcafe reopened this Jan 8, 2020
@kangaroo72
Copy link
Author

will give a try ...

@kangaroo72
Copy link
Author

Still the regular app needed, and then copy over the beta?

@kangaroo72
Copy link
Author

grafik

@kangaroo72
Copy link
Author

works now

@dartcafe dartcafe closed this as completed Jan 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants