Get the most out of your Centmin Mod LEMP stack
Become a Member

Xenforo 1 Click Upgrade

Discussion in 'Forum software usage' started by frm, Jan 20, 2019.

  1. frm

    frm Member

    34
    4
    8
    Dec 17, 2018
    Ratings:
    +6
    Local Time:
    6:28 AM
    1.15.7
    10.3.11
    Trying to figure out which files need permissions set and to what in order to use 1 click upgrade on XF using CMM / PHP-FPM.

    Anybody know?

    Thanks
     
  2. eva2000

    eva2000 Administrator Staff Member

    45,975
    10,444
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,206
    Local Time:
    7:28 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
  3. frm

    frm Member

    34
    4
    8
    Dec 17, 2018
    Ratings:
    +6
    Local Time:
    6:28 AM
    1.15.7
    10.3.11
  4. frm

    frm Member

    34
    4
    8
    Dec 17, 2018
    Ratings:
    +6
    Local Time:
    6:28 AM
    1.15.7
    10.3.11
    Xenforo Permissions

    Would src be 0660 too?
     
  5. JAFRI

    JAFRI New Member

    4
    1
    3
    Feb 26, 2019
    Ratings:
    +1
    Local Time:
    2:28 AM
    nginx/1.15.9
    MariaDB 10.2.22
    same problem,

    Cannot install from archive as not all required directories are writable. Various directories must be writable by the web server user to install from an archive. In addition to the XF root directory, some or all of the following paths must be writable: js, src/addons, styles, src/XF/Repository/AddOn.php.

    XF 2.1 - One-click upgrades and add-on install/upgrade from ZIP files
     
  6. eva2000

    eva2000 Administrator Staff Member

    45,975
    10,444
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,206
    Local Time:
    7:28 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    post #2 has link to correct permissions
     
  7. JAFRI

    JAFRI New Member

    4
    1
    3
    Feb 26, 2019
    Ratings:
    +1
    Local Time:
    2:28 AM
    nginx/1.15.9
    MariaDB 10.2.22
    thanks for reply,

    but problem not solve, i use this permissions, what is wrong ?

    find /home/nginx/domains/newdomain.com/public/ -type f -print0 | xargs -0 chmod 0640
    find /home/nginx/domains/newdomain.com/public/ -type d -print0 | xargs -0 chmod 0750
    find /home/nginx/domains/newdomain.com/public/internal_data/ -type f -print0 | xargs -0 chmod 0660
    find /home/nginx/domains/newdomain.com/public/data/ -type f -print0 | xargs -0 chmod 0660
    find /home/nginx/domains/newdomain.com/public/internal_data/ -type d -print0 | xargs -0 chmod 0770
    find /home/nginx/domains/newdomain.com/public/data/ -type d -print0 | xargs -0 chmod 0770
    find /home/nginx/domains/newdomain.com/public/src/ -type f -print0 | xargs -0 chmod 0660
    find /home/nginx/domains/newdomain.com/public/src/ -type d -print0 | xargs -0 chmod 0770
    chmod 0755 /home/nginx/domains/newdomain.com/public

    [​IMG]
     
  8. wmtech

    wmtech Active Member

    124
    37
    28
    Jul 22, 2017
    Ratings:
    +97
    Local Time:
    10:28 PM
    Code (Text):
    chown -R nginx:nginx /home/nginx/domains/newdomain.com/public


    ??
     
  9. JAFRI

    JAFRI New Member

    4
    1
    3
    Feb 26, 2019
    Ratings:
    +1
    Local Time:
    2:28 AM
    nginx/1.15.9
    MariaDB 10.2.22
    Thanks. :) now working fine.
     
  10. Dnyan

    Dnyan Member

    97
    20
    8
    Sep 16, 2017
    Ratings:
    +28
    Local Time:
    2:58 AM
    1.17.8
    10.3.22
    Thanks, it worked
     
  11. eva2000

    eva2000 Administrator Staff Member

    45,975
    10,444
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,206
    Local Time:
    7:28 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    guess 5 months isn't too late :)

    Glad to hear it's working now.
     
  12. Dnyan

    Dnyan Member

    97
    20
    8
    Sep 16, 2017
    Ratings:
    +28
    Local Time:
    2:58 AM
    1.17.8
    10.3.22
    I did it at that time too when one click upgrade started. Then inbetween moved to another host so was trying to figure out why it was not working.

    I keep reading all new posts at here :)