2

I upgraded from EE 2x, to EE 3.5.16. I can see my primary site fine, but the other sites (both index.php and admin.php) say:

Your system folder path does not appear to be set correctly. Please open the following file and correct this: index.php

So I have checked all the usual - open_basedir looks ok (has not changed):

{WEBSPACEROOT}{/}{:}{TMP}{/}:/var/www/vhosts/site1.com/httpdocs/:/var/www/vhosts/site2.com/httpdocs/

Folder permissions are 755 on site1.

Just to check the system_path, in index.php for domain2, I have added:

echo SYSPATH.'ee/EllisLab/ExpressionEngine/Boot/boot.php';

And this shows the correct path when I access index.php i.e.

/var/www/vhosts/domain1.com/httpdocs/softwater/ee/EllisLab/ExpressionEngine/Boot/boot.php

I can access the domain2 control panel by first logging into the domain1 control panel.

I'm truly stumped. Everything was working fine with EE2 - what could have gone wrong?

  • You are very sure the index.php in your second site is the correct, EE3 version index.php file? It isn't the same as the EE2 version index.php file. – jrothafer Jul 23 '18 at 20:16
  • Yes, positive it's the EE3 version. – user2265915 Jul 23 '18 at 20:29
  • The other thing that's changed is I've gone from PHP 5.4.16 mod_php to PHP 7.2.7 FPM application. Would that make a difference? – user2265915 Jul 23 '18 at 20:43
  • No, although you are likely to run into issues with third-party addons with a change like that, it wouldn't cause this issue. Are you sure the correct file/folder owner is set on your entire web root? This is one of those issues that is hard to dig into with access to the machine as I can't imagine how I'd recreate it. – jrothafer Jul 23 '18 at 20:46
  • And are you sure you have have the correct license key for your purchase? When you upgrade from EE2 -> EE3, if you have MSM, you have to purchase the upgraded MSM license as well. – jrothafer Jul 23 '18 at 20:47
1

The solution was to use the following:

setfacl -R -m u:site2-user:rwX /var/www/vhosts/site1.com/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.