Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
JReviews Posted November 11, 2021 Posted November 11, 2021 (edited) Hi I attempted the upgrade today and got the error in the screenshot after which the site became unusable. Unfortunately the errors are not detailed enough to be actionable. I was able to revert to a backup. Would it be possible to get the steps needed to fix this so the upgrade doesn't fail? I've also updated the Stored Access Info in the client area. Using MySQL v8.0.22 in case that makes any difference. Thanks Alejandro Edited November 11, 2021 by JReviews
JReviews Posted November 11, 2021 Author Posted November 11, 2021 Set up a staging site, converted a handful of tables from MySQL to innoDB and that one upgraded without errors. Hopefully I can repeat that on production with the same results. Would be nice to have advance notice that this is going to make the upgrade fail though a check in the updater.
JReviews Posted November 11, 2021 Author Posted November 11, 2021 Spoke to soon. Something weird is going on. Now the production site (which was still in the older version) is having errors after setting up the staging site as if they are connected, but the configuration files point to different databases and the sites have separate filesystems. I was able to use the support area to clear the cache once, but after that it no longer loads. I just get an empty content area there, with sidebar and nothing related to support. And the production forum thinks it's on the latest version, even though I had restored from a backup and then cloned the site to create the staging version which is upgraded and seems to works fine. On the front-end of the production site I see this error: Quote [[Template core/front/global/mobileNavigation is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]] [[Template core/global/global/includeJS is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]] And I can't run the support tool because it doesn't load and the front-end is now unusable.
Marc Posted November 12, 2021 Posted November 12, 2021 If you can please update all access details on file, we can take a look at this for you. Just to note however that is not related to the issue you were previously having.
Solution JReviews Posted November 12, 2021 Author Solution Posted November 12, 2021 Thanks Marc. Yes, I understand the template problem is unrelated. It is a direct result of putting together a staging site on the same server. I think I got it now. I noticed that when clearing the cache on staging, if I didn't do anything else there the production site started working. I updated the config file on staging to disable the cache and set the new storage path, even though I am not sure if it's used when cache method is set to None. This appears to have fixed it. \define( 'STORE_METHOD', 'FileSystem' ); // Redis \define( 'STORE_CONFIG', '{"path":"/path/to-staging"}' ); \define( 'CACHE_METHOD', 'None' ); // Redis Marc 1
Marc Posted November 12, 2021 Posted November 12, 2021 No problem. Glad to hear you managed to get that resolved
Recommended Posts