Revolution: [3.x] When upgrading from 2.8.x to 3.0.0-alpha3 installed extras can prevent setup from completing.

Created on 5 Mar 2021  路  1Comment  路  Source: modxcms/revolution

Bug report

Summary

When upgrading from 2.8.x to 3.0.0-alpha3 (latest nightly) I was able to get to this step:

Screenshot_2021-03-05 MODX Revolution 3 0 0-alpha3 禄 Install

Then, when clicking next, I was presented with the following error:

Fatal error: require_once(): Failed opening required '/var/www/html/core/model/modx/modcachemanager.class.php' (include_path='.:/usr/local/lib/php') in /var/www/html/core/components/admintools/services/admintools.class.php on line 633

So it appears to be the AdminTools extra which uses a require_once to a file that has been moved (modcachemanager.class.php) in 3.x

Step to reproduce

Upgrade to 3-alpha with AdminTools installed (or another extra that references a file in the same way)

Observed behavior

The install had effectively completed so I was able to remove the extra manually (in the db) and complete the setup.

Expected behavior

Extras should not be able to prevent the setup from completing.

Environment

MODX 2.8.1 --> 3.0.0-alpha3, nginx, PHP 7.4, Mysql 8.

bug

Most helpful comment

Would love some input from @opengeek on this as well, but my impression is that the setup should probably not try to load extension packages or plugins in any way.

>All comments

Would love some input from @opengeek on this as well, but my impression is that the setup should probably not try to load extension packages or plugins in any way.

Was this page helpful?
0 / 5 - 0 ratings