chown Nextcloud www-data user to web2client0 - steps to avoid error

Discussion in 'Installation/Configuration' started by Costas GIAKAMOZIS, Aug 27, 2023.

  1. Costas GIAKAMOZIS

    Costas GIAKAMOZIS New Member

    25-Aug-2023 Hi all.
    My NextCloud website installed on ISPConfig was happily working with user as "www_data". But ISPconfig would not properly restore a backup of Nextcloud. So I did:
    Code:
    $     cd /var/www/clients/client0/
    $     sudo chattr -i web2  &&  sudo chown web2:client0 web2 -R   && sudo chattr +i web2
    Now going to my NextCloud website via browser, it kicks up error:
    "​
    QU: Are there settings in config.php or redis.conf or /etc/apache2/sites-enabled/ or maybe ELSEWHERE that I need to alter to get my nextcloud website working again ?
    So sorry if I missed this question being answered elsewhere in the forum.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Ensure that you use php mode php-fpm in that website and that the suexec checkbox in site settings is enabled.
     
    Last edited: Aug 31, 2023
  3. Costas GIAKAMOZIS

    Costas GIAKAMOZIS New Member

    Hi Till
    1. suexec checkbox in site settings is enabled (in ISPConfig). OK !

    ... However.. (sorry for my technical illiteracy)... I cant discern what :
    2. "sue php mode php-fpm in that website" means via Google.

    Do you mean "sue" as in "Super User Execute". Or perhaps you mean for me to set certain user/permissions within the web2:client0 directory and website??
    Please kindly elaborate.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    I meant 'use' :)
     
    Th0m likes this.

Share This Page