Want to subscribe to topics you're interested in?
Become a Member

Xenforo Xenforo 2.1 have you see previews !

Discussion in 'Forum software usage' started by eva2000, Oct 24, 2018.

  1. Sunka

    Sunka Well-Known Member

    Oct 31, 2015
    Rijeka, Croatia
    Local Time:
    11:15 PM
    Nginx 1.15.0
    MariaDB 10.2.15
    Yes, but you can not easy upgrade via cli then, also, you can not manually upload zip to server.
  2. eva2000

    eva2000 Administrator Staff Member

    May 24, 2014
    Brisbane, Australia
    Local Time:
    8:15 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    In that case yes - If you want to do manual XF 2.1 upgrade, you would use below commands to upload the updated XF zip file, unzip it, change file/directory permissions to nginx user/group for upload directory contents, copy the uploads directory contents to XF web root or where you installed XF php files. Then run the cmd.php xf:upgrade via SSH command line. The last 2 lines to remove zips, you can do or leave as is.
    Code (Text):
    cd /home/nginx/domains/yourdomain.com/zips
    unzip xenforo_xxx.zip
    chown -R nginx:nginx upload
    cd upload
    \cp -Rpf * /home/nginx/domains/yourdomain.com/public
    php /home/nginx/domains/yourdomain.com/public/cmd.php xf:upgrade
    cd /home/nginx/domains/yourdomain.com/zips
    rm -f /home/nginx/domains/yourdomain.com/zips/*

    altered last line to specifically use directory and not rm -rf * as it's dangerous if you ran that command in wrong directory !
    Last edited: Nov 22, 2018
    • Informative Informative x 1