ChurchCRM / CRM

ChurchCRM is an OpenSource Church CRM & Management Software.
https://ChurchCRM.io
MIT License
607 stars 428 forks source link

Bug: Database upgrade fails on shared hosting 5.7.0 to 5.8.0 #7036

Closed respencer closed 1 month ago

respencer commented 1 month ago

Description

A clear and concise description of what the reported bug is:

Steps To Reproduce

Steps to reproduce the behavior:

Go through the upgrade process until you get to database update button. Click it and you are stuck there.

Expected behavior

Expected a smooth upgrade.

Screenshots and/or logs

If applicable, please include screenshots or share logs to assist in explaining your issue.

๐Ÿ“‹ Relevant screenshots:

Screenshot 2024-05-20 at 13-26-31 ChurchCRM System Upgrade

๐Ÿ“‹ Logs:

[2024-05-20T11:27:05.736527+00:00] defaultLogger.ERROR: Failure executing upgrade script(s): SQLSTATE[42000]: Syntax error or access violation: 1091 Can't DROP COLUMN `event_typename`; check that it exists {"exception":"[object] (PDOException(code: 42000): SQLSTATE[42000]: Syntax error or access violation: 1091 Can't DROP COLUMN `event_typename`; check that it exists at /home/user/church.example.com/vendor/propel/propel/src/Propel/Runtime/Connection/PdoConnection.php:134)","scriptName":"/home/user/church.example.com/mysql/upgrade/5.8.0.sql","version":"5.8.0","numUpgradeScriptsExecuted":0} {"url":"/SystemDBUpdate.php?upgrade=true","remote_ip":"*","correlation_id":"664b3389abc68"}

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):

respencer commented 1 month ago

Ignore. Looks like a self inflicted shot in the foot.

6957