Upgrade using zip file directly on server

Andy.N

Well-known member
What is the best way to upgrade a XF installation by unzip the XF download on the server.
When you unzip the XF.zip, it will create an upload folder, right next to the existing forum folder.

What would be the correct linux command to overwrite all the files in /forum/* with the new files in /upload/*

I used sudo cp -a upload/.* forum/
 
#backup 104
then

sftp:
upload xenforo's .zip inside that dir.
ssh:
cd
mkdir 110b1upgrade
cd 110bupgrade/
unzip xenfor[tab key to complete]
cp -R upload/* ../public_html/forum/
cd
rm -rf 110b1upgrade

run /install/ from browser to upgrade.

sudo === only needed when you need to be a super user, which you SHOULD NOT BE
 
Top Bottom