We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Fix Catch-22 "/ee/EllisLab directory is present on your server" issue after upgrade to EE6

Feature Requests

justred.ca's avatar
justred.ca
22 posts
4 years ago
justred.ca's avatar justred.ca

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

       
onegard's avatar
onegard
1 posts
4 years ago
onegard's avatar onegard

I have the exact same problem so it would be interesting to see if someone have had the problem and fixed it. Can’t get it fixed. It’s not really a problem except for the annoying warning message. At this point i’m looking for a way to disable the warning instead.

       
Tom Jaeger's avatar
Tom Jaeger
228 posts
4 years ago
Tom Jaeger's avatar Tom Jaeger

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.

       
justred.ca's avatar
justred.ca
22 posts
4 years ago
justred.ca's avatar justred.ca

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.

       
justred.ca's avatar
justred.ca
22 posts
4 years ago
justred.ca's avatar justred.ca

And now it looks like the option to upgrade from EE5 to EE6 has just been removed altogether…?

       
Tom Jaeger's avatar
Tom Jaeger
228 posts
4 years ago
Tom Jaeger's avatar Tom Jaeger

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

       
justred.ca's avatar
justred.ca
22 posts
4 years ago
justred.ca's avatar justred.ca

Tom - thank you, that seemed to do it. It had been showing a the 5.4.1 update available, which I installed - but after doing that, there was no option to upgrade to 6.x, so it appeared that that had been removed.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.