GoAdmio Command Line: update with /go/update

/go/update brings GoAdmio up to date. It finds the latest version number, downloads the update package from GoAdmio's servers, replaces the program files, and then runs the tasks that put the new version into use (permissions, configuration, cron jobs, and so on). The firewall is paused while the update runs and started again at the end. Every admin action in GoAdmio has a matching /go/ command, so anything you can click you can also script.

Quick start

# Update to the latest stable version
/go/update

# Update to the beta version
/go/update beta

Options

Argument Required Default Notes
beta No Stable Downloads the beta package instead of the stable one. Meant for testing, not for production servers.

Any argument that contains the text beta selects the beta package. Other arguments are ignored.

Examples

# Stable update
/go/update

# Beta update
/go/update beta

# After a failed update: make sure the firewall is running again
/go/firewall start
/go/checkfirewall

Output

A successful update looks like this (the version and size are examples):

GoAdmio v26.1.1 update in progress:
[1/5] Pausing firewall service...
[2/5] Downloading GoAdmio v26.1.1...
######################################## 100.0%
[3/5] Verifying package checksum [Official]...
[4/5] Extracting GoAdmio v26.1.1 [48.20 MB]...
[5/5] Update complete.

The version number is read as five digits and shown as AA.B.C. The fifth digit isn’t shown. [Official] or [Mirror] tells you which server the package came from.

Message Meaning Firewall
A new version of GoAdmio is currently being uploaded. Please try again later. The latest version number couldn’t be read (a network problem, or a new release is being published). Exit status 1. Not touched
<site> Failed (Cannot download <file>) and Try <site>... The first download server failed. The other one is tried next. Off
Download is taking longer than expected. Try another mirror. Both curl downloads failed. wget is used as a fallback. Off
GoAdmio Update failed. The downloaded file is damaged. Exit status 1. Stays off
GoAdmio Update failed. Try Again No package could be downloaded. Exit status 1. Stays off
[5/5] Update complete. Done. On

Every run is logged to /var/log/go/update.log with a timestamp and the arguments used.

See the full reference at /go/update and the GoAdmio command index.

GoAdmio is free and open source, with no license fees and no account limits. Read the GoAdmio docs, or see why it is a free cPanel alternative at goadmio.com.

By:

Posted in:


Leave a Reply

Your email address will not be published. Required fields are marked *