Summary
Installation from 2.8.3 to 3.0 alpha-2 failed.
Step to reproduce
I used the Upgrade modx widget to upgrade. Prechecks looked good. After initial installation dialogue I clicked next, the next step came up with no information, I clicked continue and finished the install. No errors, but when I logged in, the css was missing, so I manually cleared the cache, which fixed that, then logged in normally.
The resource tree was missing and error messages on right side. The elements and files tabs seem to be working fine.
TypeError: Argument 2 passed to modDashboardWidgetBackupModx::__construct() must be an instance of modDashboardWidget, object given, called in /home1/xxxxxxxx/public_html/base-install/core/src/Revolution/modDashboardWidget.php on line 90
Errors:
- modDashboardWidgetBackupModx->__construct(object, object, object)
- MODX\Revolution\modDashboardWidget->getContent(object)
- MODX\Revolution\modDashboard->render(object, object)
- WelcomeManagerController->process(Array ( ) )
- MODX\Revolution\modManagerController->render()
- MODX\Revolution\modManagerResponse->outputContent(Array ( ) )
- MODX\Revolution\modManagerRequest->prepareResponse()
- MODX\Revolution\modManagerRequest->handleRequest()
The modx error log has this:
[2022-02-03 14:05:20] (ERROR @ /home1/xxxxxxxx/public_html/base-install/core/components/collections/model/collections/collectioncontainer.class.php : 2) PHP warning: require_once(/home1/xxxxxxxx/public_html/base-install/core/model/modx/modprocessor.class.php): failed to open stream: No such file or directory
The server error log has a bunch of these:
client denied by server configuration: /home1/xxxxxxxx/public_html/base-install/core/docs/changelog.txt
File does not exist: /home1/xxxxxxxx/public_html/index.php
This installation is one of several on this shared hosting server and is in a sub-folder not the root folder.
I’ve asked the hosting to restore my entire account to before I started this so I’m not going to try to repair this, but would like some guidance on how to try again.
I have another installation on this same server with very little installed only a couple of extras, two resources where I successfully upgraded from the same version. So I suppose this means it’s related to the extras?
Environment
Modx 2.8.3 to 3.0 alpha-2
Server Info:
cpsrvd 11.94.0.21
Database client version: libmysql - 5.6.43
PHP version: 7.3.32