XF 2.2 Upgrade from 2.1 to 2.2 from command line?

daimpa

Active member
Licensed customer
Hello, I've a big board, 1.5M posts. I've 2.1 + security fix and want to upgrade to 2.2. (My license is expired, will renew it soon)
Should I run the upgrade from the admin panel, or is it reccomanded from command line? Where can I find the tutorial?
 
The limits are 500k posts or 50k members.

For a forum with 1.5 million posts, definitely via CLI.

There are some alters on the post table which won't work well using the web browser upgrader.
 
For upgrading via CLI?

You just need to cd to where XF is installed and run php cmd.php xf:upgrade

As always, take a backup before upgrading and ensure there are compatible newer versions of any add-ons and styles you have installed.
 
Thats not the best solution, but if its works for now okay. I will create a sugegstion to download it via CLI.

Edit: Here it is:
 
You just need to cd to where XF is installed and run php cmd.php xf:upgrade
Do you ever recommend using "sudo"? I tried running that command and got some permissions errors (I think there were some folders that my user didn't have access to) and I tried it again with sudo and it seemed to work.
 
Back
Top Bottom