Discover Centmin Mod today
Register Now

Xenforo 1 Click Upgrade

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

  1. frm

    frm New Member

    18
    3
    3
    Dec 17, 2018
    Ratings:
    +4
    Local Time:
    11:54 PM
    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

    41,724
    9,395
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,431
    Local Time:
    12:54 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
  3. frm

    frm New Member

    18
    3
    3
    Dec 17, 2018
    Ratings:
    +4
    Local Time:
    11:54 PM
    1.15.7
    10.3.11
    • Informative Informative x 1
  4. frm

    frm New Member

    18
    3
    3
    Dec 17, 2018
    Ratings:
    +4
    Local Time:
    11:54 PM
    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:
    7:54 PM
    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

    41,724
    9,395
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,431
    Local Time:
    12:54 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    post #2 has link to correct permissions
     
    • Like Like x 1
  7. JAFRI

    JAFRI New Member

    4
    1
    3
    Feb 26, 2019
    Ratings:
    +1
    Local Time:
    7:54 PM
    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

    113
    32
    28
    Jul 22, 2017
    Ratings:
    +85
    Local Time:
    4:54 PM
    Code (Text):
    chown -R nginx:nginx /home/nginx/domains/newdomain.com/public


    ??
     
    • Like Like x 3
    • Friendly Friendly x 1
  9. JAFRI

    JAFRI New Member

    4
    1
    3
    Feb 26, 2019
    Ratings:
    +1
    Local Time:
    7:54 PM
    nginx/1.15.9
    MariaDB 10.2.22
    Thanks. :) now working fine.
     
    • Like Like x 1