You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I auto upgraded my deployment (nepalmonitor.org) all the messages said that the upgrade had taken place successfully, but when I refreshed the site I was met with a database error.
I tried the relevant scripts from the SQL directory manually in cpanel sql admin, and encountered errors when running "upgrade91-92"
Investigation showed the problem was missing " ` " around all instances of the word "settings."
For instance:
SELECT 'site_name' AS key, site_name AS value FROM settings WHERE id = 1
should read
SELECT 'site_name' AS key, site_name AS value FROM settings WHERE id = 1
However, it's NOT fixed in the live auto-upgrade as of 20th August. This will cause everyone using the auto-upgrade to break their deployment and fish around in SQL like I did unless the change is reflected in the live version.
The text was updated successfully, but these errors were encountered:
When I auto upgraded my deployment (nepalmonitor.org) all the messages said that the upgrade had taken place successfully, but when I refreshed the site I was met with a database error.
I tried the relevant scripts from the SQL directory manually in cpanel sql admin, and encountered errors when running "upgrade91-92"
Investigation showed the problem was missing " ` " around all instances of the word "settings."
For instance:
SELECT 'site_name' AS
key
,site_name
ASvalue
FROM settings WHEREid
= 1should read
SELECT 'site_name' AS
key
,site_name
ASvalue
FROMsettings
WHEREid
= 1This issue is already fixed in github files: https://github.com/ushahidi/Ushahidi_Web/blob/develop/sql/upgrade91-92.sql
However, it's NOT fixed in the live auto-upgrade as of 20th August. This will cause everyone using the auto-upgrade to break their deployment and fish around in SQL like I did unless the change is reflected in the live version.
The text was updated successfully, but these errors were encountered: