- Apr 25, 2015
- 1,845
- 2
- 2,199
- 327
This is a very simple way to upgrade your XenForo forum:
The bottom 2 lines actually set 755 to directories and 644 to files.
Keep in mind that https://xenforo.com/xf1-docs/manual/install-upgrade/#installing-xenforo states
If anyone has any questions/ideas, please share.
- Sign in to your XenForo account and download the next XenForo version as shown from your forum admin.php page.
- You should have WinSCP downloaded and installed. Connect to your server, and go into /var/www
- Drag and drop your xenforo_2.X.X_XXX_upgrade.zip file into the /var/www directory (just in front of /var/www/html).
- Using Putty, connect to your server (download/install if not already) via SSH.
cd /var/www
, now unzip withunzip xenfor
, press the tab key to autocomplete, you should see the .zip file, and lastly point to a temp directory.
- Now we should have /var/www/html/temp/upload, we want all of these files inside of /var/www/html/ - so how can we?
- Simply using cp,
cp -Rf /var/www/temp/upload/* /var/www/html
- Now time to clean our mess!
Code:
rm /var/www/xen*zip
rm -rf /var/www/temp
find /var/www/html -type d -exec chmod 755 {} \;
find /var/www/html -type f -exec chmod 644 {} \;
The bottom 2 lines actually set 755 to directories and 644 to files.
Keep in mind that https://xenforo.com/xf1-docs/manual/install-upgrade/#installing-xenforo states
In Linux, these should be "chmod 0777". You can generally do this via your FTP client by making sure that the directory has read, write, and execute permissions for user, group and world.
If anyone has any questions/ideas, please share.