Hi!
I'm unable to upgrade from 2.2.10 to 2.3.2 (advanced installation)
When I'm running /setup I'm getting the following error at the installation summary page:
> Checking if /var/modx_common/modx/manager/ directory is writable:
Failed!
I've spent the last 4 hours trying to find the problem so obviously I've tried things like
chmod -R 777 /var/modx_common/modx/manager/
chown www-data:www-data -R /var/modx_common/modx/manager/
and yes I'm 100% sure the folder exists
My server setup is as follows:
/var/www/modx
/var/www/modx/assets
/var/www/modx/connectors
/var/www/modx/setup (<-- this is also where I extracted the setup directory for 2.3.2)
For enhanced security I put these files outside the www DocRoot
/var/modx_common/modx/core/
/var/modx_common/modx/manager/
Everything else in the installation summary is "OK".
some examples:
> Checking if /var/www/modx/ directory is writable:
OK!
> Checking if /var/www/modx/connectors/ directory is writable:
OK!
There is one error in the install.config.log - however I don't know what it means - doesn't look like it has anything to do with write-permissions:
[2014-11-06 16:11:33] (ERROR @ /modx/setup/index.php) Error 42S22 executing statement:
Array
(
[0] => 42S22
[1] => 1054
[2] => Unknown column 'modContext.name' in 'field list'
)
[2014-11-06 16:11:33] (ERROR @ /modx/setup/index.php) Could not prepare context: mgr
There are no log entries in apache error log
What I have done so far:
I downloaded modx-2.3.2-pl-advanced.zip, and extracted the two folders
1. /core I merged into the "old" core folder (/var/modx_common/modx/core/) following the Upgrading guide by using the "humble cp" command:
\cp -fr modx-2.3.2-pl/core/* /var/modx_common/modx/core
2. /setup I moved to the corresponding path that is accessible via the webserver (/var/www/modx/setup/)
-> Like I said, running setup is fine up to the installation summary, where the only thing that fails is the check for write access to the /manager folder...
Any help is greatly appreciated!
Cheers,
Siar