Looks like the configuration file got corrupted in the upgrade. That occasionally happens (potentially connected to going back a step in the installation causing some installation info to get lost) and has an issue on GitHub.
Simplest fix is to restore the configuration file (just core/config/config.inc.php) from the backup.
It canāt hurt to run the setup again after that, to make sure that upgraded correctly, but if the setup results were all green that probably isnāt necessary.
And youāre 100% sure you restored the right file? I see you used the advanced distro but the error message mentions /html/core/config/ which seems like a standard path, perhaps some directories got mixed up along the way in one of the config.core.php files or installation.
Ok, i did that. rm -fr /var/www/web2048/html/core/cache/*
Error stays the same: Parse error : syntax error, unexpected ā{ā in /var/www/web2048/html/core/config/config.inc.php on line 92
It happens right when i hit āInstallā⦠when i ātail -n10ā the config.inc.php right before i hit āinstallā, it is still OK.
Before an edit, your post refered to an error with a path of web1190 rather than web2048, which would support my suspicion that there might be a path mix up going on?
I doubt that migration is the cause, but I would be interested to hear how you arrived at that conclusion.
All signs youāve posted still point to the right config file not having been restored to a pre-corrupted state. Whatās on line 92 of the config file mentioned? (*please be careful about not posting actual configuration.)
Iām sorry for the late reply, but iām out of Office for the Weekend.
Line 92 before i hit āinstallā (original state of my backup): $modx_cache_disabled= false;
Line 92 the very moment i hit āinstallā: $modx_cache_disabled= {cache_disabled};
So i assume that at some point of the migration process, the replacement of the placeholder ā{cache_disabled}ā with the value āfalseā, what is actually the configured value in the systemsettings, fails and PHP throws the Parse error.
As a Sidenote: web1190 is another of about 10 different modx,joomla,contao and typo development installations on that server, but in the present case there is no path mixing or something like that, i can assure you that all the different installations are very well separated.
You might try setting the āsettings_versionā System Setting back to an earlier version and āupgradingā to 2.7.1 with the UpgradeMODX extra. That will give you all new MODX files and will clear the cache during the upgrade.
Hello Bob, and thank you for your EXTRA, it worked right away, even without the change to the āsettings_versionā.
Although I followed the upgrade instructions exactly and also studied the extended troubleshooting, I could not pull off the upgrade via ssh.
I must have overlooked something?
Anyway, many thanks to @markh and @bobray for helping me to solve the problem.