Unfortunately I cannot report what I’ve done exactly but my original endeavor was to update from 8.4.4 to 9.2.8.
- I put the 9.2.8 package to the
updates
folder and removed all directories except for theconcrete
directory in the extracted folder I got. - stupidly, I also deleted the two folders of some older upgrades (they were named something along the lines of
concrete5-<version>_remote_updater
, not completely sure) - Then I changed the referenced
core
inapplication/config/update.php
from the (now deleted) directory toconcrete-cms-9.2.8
. - When I tried to update, I got a message that my php version was too old so I changed it from my provider’s control panel to php 7.4
- After that I got some error saying the
base_dir
restriction was active and since it seemed to have something to do with the memcached caching method I changed that tofilesystem
on my provider’s control panel. - Then I got some errors apparently related to missing columns in the mysql db:
Doctrine \ DBAL \ Exception \ InvalidFieldNameException
An exception occurred while executing 'SELECT t0.siteID AS siteID_1, t0.pThemeID AS pThemeID_2, t0.pThemeSkinIdentifier AS pThemeSkinIdentifier_3, t0.siteIsDefault AS siteIsDefault_4, t0.siteHandle AS siteHandle_5, t0.siteTypeID AS siteTypeID_6 FROM Sites t0': SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.pThemeSkinIdentifier' in 'field list'
Previous exceptions
SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.pThemeSkinIdentifier' in 'field list' (42S22)
SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.pThemeSkinIdentifier' in 'field list' (42S22)
Now I can’t access my site, let alone the control dashboard anymore. I learned after the fact I shouldn’t have deleted the folders in the updates
directory.
I then tried to extract a 8.4.4 package to the updates
directory (and referenced it in update.php
) in the hopes of getting my installation to work again. I had to change some continue
statements to continue 2
in some obscure file, after which I arrived at this error (application/config/doctrine/proxies/__CG__ConcreteCoreEntityFileFile.php:9
):
Whoops \ Exception \ ErrorException (E_WARNING)
Declaration of DoctrineProxies\__CG__\Concrete\Core\Entity\File\File::delete() should be compatible with Concrete\Core\Entity\File\File::delete($removeNode = true)
So my question is – am I screwed? Is my site lost or in an unrecoverable state (I spent quite some time customizing the Elemental theme to my requirements)? If not, is there a way to actually get it to update to 9.2.8, or at least back to 8.4.4 or the latest version in the 8 series?