• Support
  • What is the difference between them?

Hello,

I used Wordops for 2 years, however, I am still confused by the following command, what are the difference among them? anyone would like to show the difference among them?

wo update

To upgrade Nginx package and configuration for HTTP/3 QUIC, use the following command
wo stack migrate --nginx

To upgrade WordOps web stacks, you can use the command:
wo stack upgrade

To update all other packages, you can use the command:
wo maintenance

Specifically, what does Package or stacks mean here, do they mean same thing or different thing?

Great thanks

In the console, you can issue the man wo command to learn more.

wo update
Update site configuration according to specified options. Example:

wo update site.tld --php82
will update site.tld to PHP 8.2.

Without argument, the command wo update will update WordOps only if a newer version is available (https://docs.wordops.net/commands/update/). Example:

root@site.tld:~# wo update 
WordOps changelog available on https://github.com/WordOps/WordOps/releases/tag/v3.21.3
Do you want to continue:[y/N]

##################################################################

wo maintenance

this one is the same as:

apt update && apt dist-upgrade && apt autoremove --purge && apt autoclean

Source:
https://docs.wordops.net/commands/maintenance/

Example:

root@site.tld:~# wo maintenance 
updating apt-cache, please wait...
updating packages, please wait...
cleaning-up packages, please wait...

Hosted by VirtuBox