Cannot access ispconfig interface after wordpress install

Discussion in 'General' started by xalu, Sep 25, 2017.

  1. xalu

    xalu New Member

    Hello,

    I installed wordpress on a site and had to change ownership of the web folder to www-data. Everything worked except now I cannot access the interface I get "Internal Server Error". Where would I see the errors that could be causing this? Also, would ownership changes cause this?

    Thanks!
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    That's not necessary and should never be made. If you get an error in WordPress site that wp can't write to the web dir, then you either used a wrong PHP mode (PHP mode has to be php-fpm or php-fcgi) or you missed to enable the suexec checkbox in the website settings.

    My guess is that you accidently changed the /var/www folder to www-data (and not the web folder of the site, which would be worse enough but easier to repair), which completely messes up the server and it's permissions.
     
  3. xalu

    xalu New Member

    I think you may be right. I took a server image a few days ago. Should I roll back the server rather than trying to repair the permissions?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    I guess this will be easier and faster than trying a repair.
     
  5. xalu

    xalu New Member

    Ok thanks.
     
  6. adamjedgar

    adamjedgar Member

    As a matter of interest for those who may do this an not have a backup from which to restore...what would be the procedure for reversing this?
     
  7. HSorgYves

    HSorgYves Active Member

    Restore the correct permissions manually, which is certainly a mess if you have many hosts, but then you probably won't break them or at least you have a recent backup...
     

Share This Page