/go/support: support from the Command Line

/go/support is a self-service helper for administrators. It shows a list of common problems. You pick one, and the command runs the commands that usually fix it. At the start it says that, if the problem remains, you can contact support@goadmio.com. Some options only restart or rebuild a configuration. Others change the whole server, for example by switching the web server or reinstalling PHP. Read Options before choosing. Every admin action in GoAdmio has a matching /go/ command, so anything you can click you can also script.

Quick start

# Show the menu and type an option
/go/support

# Run option 14 (fix permissions) without the menu
/go/support 14

Options

Options 1 and 2 name Nginx or Apache, depending on the web server of this server.

Option Menu text What it runs
1 I can’t restart NGINX/Apache. conf, to rebuild the web server configuration
2 I can’t reinstall NGINX/Apache. Reads the control panel’s status page. If it doesn’t say 1, runs conf. Otherwise prints that the web server is already installed and running. It never reinstalls the packages.
3 I can’t access the control panel. Reads the status page. If the panel answers: runs session and prints the panel address http://<server-ip>:2020. If not: runs session, installphp with 8.2, and conf.
4 I can’t update control panel. Downloads an installer from https://download.goadmio.com into the current folder as latest, runs latest update, then runs update.
5 (Not shown in the menu) Does nothing but print Please try now.
6 Roundcube webmail not sending emails. checkmail, roundcube, installmail
7 Rainloop webmail not sending emails. checkmail, snappymail, installmail
8 Horde webmail not sending emails. checkmail, installmail
9 I can’t set time, date & time zone. timezone
10 I can’t install an SSL certificate on my domain. conf
11 I can’t renew SSL certificate for my domain. checkssl
12 I deleted "/usr/local/goadmio" folder by mistake. update
13 I deleted "goadmio" database by mistake. restore database (see restore)
14 I can’t fix files and folders permissions. fix, for every account
15 I can’t switch from Apache to Nginx. nginx, which converts the whole server
16 I can’t switch from Nginx to Apache. apache, which converts the whole server
17 I can’t install XRDP. xrdp

Options with a larger effect:

  • 3 installs PHP 8.2. On Debian and Ubuntu, installphp first purges any existing PHP 8.2 packages and their configuration, which can disturb sites that use that version.
  • 4 downloads a program and runs it, with no check of its contents.
  • 12, 13, and 14 restore, update, or repair the server, and can take a long time.
  • 15 and 16 switch the web server of the whole server, with no confirmation.
  • 17 installs a remote desktop service.

Examples

# Interactive menu
/go/support

# Fix permissions for all accounts
/go/support 14

# Rebuild the web server configuration
/go/support apache

# Set the time zone
/go/support 9

Output

Outcome What you get
Start The greeting, the contact address support@goadmio.com, and the menu.
An option ran The output of its commands, then Please try now. (options 9 and 13 don’t print it).
Unknown answer Nothing.

The exit code is 0 in most cases.

Logging

Every run is appended to /var/log/go/support.log.

See the full reference at /go/support 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 *