Was doing some work on a small test site that ran EE 5.4, and noticed that there was now an option to upgrade to EE6 through the auto-updater, so I gave that a shot. It seemed to go without a hitch, but after the update I got an error saying “/ee/EllisLab directory is present on your server.” - so I deleted that, but then I got an error saying “Your system folder path does not appear to be set correctly. Please open the following file and correct this: index.php” (in the backend that is, the public pages still work normally).
I have renamed the system folder on this particular site, but I checked the index file and it does contain the correct path - the error also goes away & the admin sections works normally again if I restore the /system/ee/EllisLab folder, so that error doesn’t seem to be accurate and it appears that there’s something else causing the issue. At that point, I hadn’t even noticed the note in the warning about replacing the index.php and admin.php files, so it was still the same path, which had worked previously.
Manually replacing the index.php and admin.php files didn’t make any difference - and yes, I did make sure to update the path in the new files before uploading them. I get the same catch-22: if the /system/ee/EllisLab folder is present, then I get a warning about it on every page in the admin section - but if I delete it, then the admin section breaks completely & I get the “system folder path does not appear to be set correctly” error.
It’s also worth noting that the link to the “updating instructions” in the warning also appears to go to the wrong place, or at least to the wrong named anchor on that page - the link goes to:
https://docs.expressionengine.com/v6/installation/updating.html#if-updating-from-expressionengine-3-or-higher
But that doesn’t contain any mentions of the “EllisLabs” folder, and the actual relevant part of the documentation appears to be here instead:
https://docs.expressionengine.com/latest/installation/updating.html#one-click-updating
I’m sorry you guys are running into problems with this one. I would recommend taking a peek at the red outlined box about downloading index.php and admin.php.. should be a link to download the two files there as well.
https://docs.expressionengine.com/latest/installation/updating.html#one-click-updating
Note: If updating from a version prior to ExpressionEngine 6, you may need to rename or remove system/ee/EllisLab directory manually. You will also need to manually copy the latest index.php and admin.php files to your site’s root folder.
This has proven to be a headache for people, and as such we have a different approach in testing currently that doesn’t require you to manually change the files out.
Tom - already tried that. From the opening post:
“Manually replacing the index.php and admin.php files didn’t make any difference - and yes, I did make sure to update the path in the new files before uploading them.”
I ended up just giving up on it and installing a fresh copy of EE6.
The option to upgrade should still be present. You will need to be on the most recent version of EE 5.x before you are given the option to upgrade to V6. It is possible that the version upgrade check results are cached (specifically if you upgraded from 5.x to newest 5.x version). This would stop it from displaying the new EE 6.x version. (If my memory serves me correctly, I believe it caches the check for 1 day). If you would like to force EE to check for a new version again, this can be done by deleting the current_version file in the cache folder.
As a quick update to this thread as well. We pushed an update in 6.0.2 that automatically updates the index and admin files to load the correct path to the system folder (when permissions are set correctly to allow us to do so).
Thanks,
-Tom Jaeger
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.