-
Notifications
You must be signed in to change notification settings - Fork 461
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: No upgrade path for 5.5.0 to 5.6.0 #6908
Comments
I may have seen the same/similar problem... but I don't have a 'live' site, I have just been testing various things -- and not sure what shape my 5.5.0 system was in... so in my case, I just wiped the DB and started over -- but I was curious if there was a real problem with the upgrade path. Will be interesting to see if others run into this as well... |
Digging into this, I found that the log is coming from /ChurchCRM/Service/UpgradeService.php. On line 41, there's this thing where it looks in /mysql/upgrade.json, which does not have anything listed for 5.6.0.
But it would seem to use some *.sql files in /mysql/upgrade/*sql to upgrade the database. I don't know what database transforms are needed from the old to the new, but at least I think I've found the issue. |
For reference, I did not have any issues when upgrading from 5.5.0 to 5.6.0 via |
@DAcodedBEAT, Awesome. I was unaware of /UpgradeCRM.php. |
I had a similar problem to that of @tmhorne. It appears that instead of updating the version_ver table with the new ver_version value it actually inserted a new version row with a ver_ID of 2. Later, the attempt to update the ver_version of the record with the most recent ver_update time stamps fails with:
|
I was able to revert the system to 5.5.0 and upgrade to 5.6.0 without an issue. did you guys have issues with the 1st time upgrading and now you tried it again? |
I made some UI/UX updates so that users do not dbl click buttons in #6934 |
I downgraded to 5.5.0, updated all the ownership & permissions, just to be sure. |
So I would say it's resolved now, but I have no idea what was wrong. |
Description
A clear and concise description of what the reported bug is:
Steps To Reproduce
Steps to reproduce the behavior:
ℹ️ As a bug reporter, the preferred mechanism to record steps is to download Cypress Recorder from https://chromewebstore.google.com/detail/cypress-recorder/glcapdcacdfkokcmicllhcjigeodacab?pli=1, record your interaction and copy the results here.
📋 Cypress Recorder Results:
(note: this flow is not recommend and will make it more difficult on the maintainers of ChurchCRM)
Expected behavior
Click the "Upgrade database" button, it upgrades the database, and I can log in to churchcrm.
Screenshots and/or logs
📋 Relevant screenshots:
📋 Logs:
Debugging Steps
ℹ️ If you need help debugging, please refer to the wiki for guidance: https://github.com/ChurchCRM/CRM/wiki/Logging-and-Diagnostics.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: