rexctl commands
This page is made from the help that rexctl prints, and rexctl <command> --help shows the same text in the terminal.
Flags for every command
Section titled “Flags for every command”-
--dir stringFolder with your instance.
-
-q,--quietPrint only errors and results.
-
--verbosePrint every step and command.
-
-y,--yesAnswer yes to every question and never prompt.
rexctl admins
Section titled “rexctl admins”Choose who can manage your instance.
rexctl admins add
Section titled “rexctl admins add”Make an account an admin.
rexctl admins add <user>rexctl admins remove
Section titled “rexctl admins remove”Remove admin access from an account.
rexctl admins remove <user>rexctl admins sign-in-link
Section titled “rexctl admins sign-in-link”Print a link that signs an admin in once.
rexctl admins sign-in-link <user>rexctl backup
Section titled “rexctl backup”Back up your instance. Fluxer pauses while uploads are copied.
rexctl backuprexctl backup keep
Section titled “rexctl backup keep”Show or change how many backups rexctl keeps. After each backup, rexctl deletes the oldest ones beyond this number, except the backup that rexctl rollback needs. Pass all to keep every backup.
rexctl backup keep [count|all] [flags]-
--jsonPrint JSON.
rexctl backup list
Section titled “rexctl backup list”List your backups.
rexctl backup list [flags]-
--jsonPrint JSON.
rexctl backup location
Section titled “rexctl backup location”Show the folder rexctl saves backups in, or pass a full path to save new backups there. Backups that are already saved stay where they are.
rexctl backup location [folder] [flags]-
--jsonPrint JSON.
rexctl backup verify
Section titled “rexctl backup verify”Check that a backup is complete and readable.
rexctl backup verify <file>rexctl branding
Section titled “rexctl branding”Change your instance’s name, colour and images.
rexctl branding set
Section titled “rexctl branding set”Change the name, colour, logo or icon.
rexctl branding set [flags]-
--colour stringAccent colour as a hex code, like #4641d9.
-
--icon stringImage file for the icon.
-
--logo stringImage file for the logo.
-
--name stringYour instance’s name.
rexctl config
Section titled “rexctl config”Read and change Fluxer’s settings.
rexctl config get
Section titled “rexctl config get”Show one setting.
rexctl config get <key> [flags]-
--jsonPrint JSON.
-
--revealPrint a secret rexctl keeps.
rexctl config list
Section titled “rexctl config list”List every setting with its value and help.
rexctl config list [flags]-
--allAlso list every raw setting and the secrets rexctl generated.
-
--jsonPrint JSON.
rexctl config set
Section titled “rexctl config set”Change one or more settings.
rexctl config set <key> <value> | <key>=<value>...rexctl config unset
Section titled “rexctl config unset”Go back to the default for one or more settings.
rexctl config unset <key>...rexctl doctor
Section titled “rexctl doctor”Check your instance and this machine for problems.
rexctl doctor [flags]-
--fixFix the problems rexctl can fix safely.
-
--jsonPrint JSON.
rexctl eject
Section titled “rexctl eject”Writes every setting into the instance folder for docker compose and stops rexctl from changing the instance. Fluxer keeps running. Run rexctl takeover to hand it back.
rexctl ejectrexctl email
Section titled “rexctl email”Set up how your instance sends email.
rexctl email off
Section titled “rexctl email off”Stop sending email.
rexctl email offrexctl email set
Section titled “rexctl email set”Set the SMTP server.
rexctl email set [flags]-
--from stringSender, like Example Chat <noreply@chat.example.com>.
-
--host stringThe SMTP server.
-
--password-file stringFile with the SMTP password, or - for stdin.
-
--port intThe SMTP port. The default is
587. -
--tls stringHow the connection is encrypted (starttls, implicit, opportunistic or none). Picked from the port when left out.
-
--username stringThe username for the SMTP server.
rexctl email test
Section titled “rexctl email test”Send a test email.
rexctl email test [address]rexctl install
Section titled “rexctl install”Install Fluxer on this machine, or take over an existing install.
rexctl install [flags]-
--admin-email stringEmail address for your admin account.
-
--admin-password-file stringFile with your admin password, or - for stdin.
-
--admin-username stringUsername for your admin account.
-
--behind-proxyServe plain HTTP for your own reverse proxy.
-
--bind stringAddress your proxy connects to, with —behind-proxy. The default is
127.0.0.1:8080. -
--confirm stringYour instance’s domain, to confirm without a prompt.
-
--delete-old-dataDelete Fluxer data found on this machine and start fresh.
-
--domain stringAddress people will use to open your instance, like chat.example.com.
-
--dry-runShow what would happen without changing anything.
-
--engine stringContainer engine to use (docker or podman).
-
--install-dockerInstall Docker if it’s missing. The default is
true. -
--memory-profile stringPin small, medium or large instead of sizing Fluxer to this machine on every start.
-
--name stringYour instance’s name.
-
--no-startWrite the files without starting Fluxer.
-
--open-firewallOpen the ports Fluxer needs in ufw or firewalld. The default is
true. -
--registration stringWho can create an account (invite, approval, open or closed).
-
--setup stringWhere to create your admin account (terminal or browser).
-
--setup-podmanStart Podman’s API socket and start Fluxer with the machine. The default is
true. -
--sign-in stringHow people sign in (email or username).
-
--skip-emailSet up email later.
-
--smtp-from stringSender, like Example Chat <noreply@chat.example.com>.
-
--smtp-host stringThe SMTP server.
-
--smtp-password-file stringFile with the SMTP password, or - for stdin.
-
--smtp-port intThe SMTP port. The default is
587. -
--smtp-tls stringHow the connection is encrypted (starttls, implicit, opportunistic or none). Picked from the port when left out.
-
--smtp-username stringThe username for the SMTP server.
-
--storage-access-key stringThe object store access key.
-
--storage-bucket-prefix stringText to put before each bucket name, like chat- for chat-fluxer.
-
--storage-endpoint stringYour own S3-compatible object store, like https://s3.example.com, instead of the bundled one.
-
--storage-path-stylePut the bucket in the path of object store addresses instead of the host name. The default is
true. -
--storage-public-endpoint stringThe object store address browsers use, when it differs from —storage-endpoint.
-
--storage-region stringThe object store region (found from —storage-endpoint when it can be).
-
--storage-secret-key-file stringFile with the object store secret key, or - for stdin.
-
--take-overTake over Fluxer data found on this machine.
-
--voice-ip stringPublic IP address for voice and video (found automatically).
rexctl invites
Section titled “rexctl invites”Manage invite links for new accounts.
rexctl invites create
Section titled “rexctl invites create”Create an invite link.
rexctl invites create [flags]-
--expires stringHow long the link works, like 12h, 7d or never. The default is
7d. -
--label stringA note to help you recognise the link.
-
--uses intHow many people can use the link, or 0 for no limit. The default is
1.
rexctl invites list
Section titled “rexctl invites list”List invite links.
rexctl invites list [flags]-
--jsonPrint JSON.
rexctl invites revoke
Section titled “rexctl invites revoke”Stop an invite link from working.
rexctl invites revoke <id>rexctl logs
Section titled “rexctl logs”Show logs from your instance.
The services are web, api, worker, gateway, voice, media, edge, admin, push, database, search, storage, cache, queue and internal. Without a service, rexctl shows every service.
rexctl logs [service] [flags]-
-f,--followKeep printing new lines.
-
--since stringShow lines newer than this, like 10m or 2h.
rexctl proxy
Section titled “rexctl proxy”Use your own reverse proxy in front of Fluxer.
rexctl proxy off
Section titled “rexctl proxy off”Serve HTTPS directly with a certificate from Let’s Encrypt.
rexctl proxy offrexctl proxy on
Section titled “rexctl proxy on”Serve plain HTTP for your own proxy.
rexctl proxy on [flags]-
--bind stringAddress your proxy connects to. The default is
127.0.0.1:8080.
rexctl registration
Section titled “rexctl registration”Choose who can create an account.
rexctl registration approve
Section titled “rexctl registration approve”Approve a person waiting for approval.
rexctl registration approve <id>rexctl registration deny
Section titled “rexctl registration deny”Turn down a person waiting for approval.
rexctl registration deny <id>rexctl registration pending
Section titled “rexctl registration pending”List people waiting for approval.
rexctl registration pending [flags]-
--jsonPrint JSON.
rexctl registration set
Section titled “rexctl registration set”Set who can create an account.
rexctl registration set <open|approval|invite|closed>rexctl restart
Section titled “rexctl restart”Restart your instance.
rexctl restartrexctl restore
Section titled “rexctl restore”Restore your instance from a backup. This works on a new machine too. Copy the backup file there and run this command.
rexctl restore <file> [flags]-
--confirm stringYour instance’s domain, to confirm without a prompt.
-
--engine stringMove the instance to another engine while restoring (docker).
rexctl rollback
Section titled “rexctl rollback”Go back to the release you ran before the last upgrade.
rexctl rollback [flags]-
--confirm stringYour instance’s domain, to confirm without a prompt.
-
--dry-runShow what would happen without changing anything.
-
--restore-databaseAlso restore the database from the backup taken before the upgrade.
rexctl setup
Section titled “rexctl setup”Create the admin account and finish setup in the terminal.
rexctl setup [flags]-
--admin-email stringEmail address for your admin account.
-
--admin-password-file stringFile with your admin password, or - for stdin.
-
--admin-username stringUsername for your admin account.
-
--name stringYour instance’s name.
-
--registration stringWho can create an account (invite, approval, open or closed).
-
--sign-in stringHow people sign in (email or username).
-
--skip-emailSet up email later.
-
--smtp-from stringSender, like Example Chat <noreply@chat.example.com>.
-
--smtp-host stringThe SMTP server.
-
--smtp-password-file stringFile with the SMTP password, or - for stdin.
-
--smtp-port intThe SMTP port. The default is
587. -
--smtp-tls stringHow the connection is encrypted (starttls, implicit, opportunistic or none). Picked from the port when left out.
-
--smtp-username stringThe username for the SMTP server.
rexctl setup token
Section titled “rexctl setup token”Show the setup token for the browser.
rexctl setup tokenrexctl start
Section titled “rexctl start”Start your instance.
rexctl startrexctl status
Section titled “rexctl status”Show whether your instance is running.
rexctl status [flags]-
--jsonPrint JSON.
rexctl stop
Section titled “rexctl stop”Stop your instance.
rexctl stoprexctl takeover
Section titled “rexctl takeover”Hands an instance made by the old installer, by hand with docker compose, or released with rexctl eject over to rexctl. Fluxer keeps running as it is.
rexctl takeover [flags]-
--dry-runShow what would change without changing anything.
rexctl uninstall
Section titled “rexctl uninstall”Remove Fluxer from this machine.
rexctl uninstall [flags]-
--confirm stringYour instance’s domain, to confirm without a prompt.
-
--keep-dataKeep your data and backups.
rexctl upgrade
Section titled “rexctl upgrade”Upgrade rexctl and Fluxer to the latest release.
rexctl upgrade [flags]-
--checkShow whether an upgrade is available without changing anything.
-
--dry-runShow what would happen without changing anything.
-
--jsonPrint JSON.
-
--no-backupSkip the backup before upgrading.
-
--prefetchDownload the new version and upgrade later.
-
--to stringUpgrade to this version, not the latest.
rexctl users
Section titled “rexctl users”Manage accounts on your instance.
rexctl users ban
Section titled “rexctl users ban”Ban an account.
rexctl users ban <user> [flags]-
--delete-messagesAlso delete their messages.
-
--reason stringWhy you’re banning them, one of spam, scam, harassment, hate, threats, raids, automation, ban-evasion, impersonation, malware, doxxing, intimate-images, explicit-content, adult-content, violence, self-harm, illegal, deception, exploits or report-abuse.
rexctl users create
Section titled “rexctl users create”Create an account and print a link to set its password.
rexctl users create <username> [flags]-
--adminMake the account an admin.
-
--email stringEmail address for the account.
rexctl users delete
Section titled “rexctl users delete”Delete an account and its data.
rexctl users delete <user> [flags]-
--confirm stringYour instance’s domain, to confirm without a prompt.
rexctl users disable-mfa
Section titled “rexctl users disable-mfa”Turn off two-factor authentication for an account.
rexctl users disable-mfa <user>rexctl users list
Section titled “rexctl users list”List accounts.
rexctl users list [flags]-
--adminsOnly show admins.
-
--jsonPrint JSON.
-
--search stringOnly show accounts that match this text.
rexctl users reset-link
Section titled “rexctl users reset-link”Print a link to set a new password.
rexctl users reset-link <user>rexctl users show
Section titled “rexctl users show”Show one account.
rexctl users show <user> [flags]-
--jsonPrint JSON.
rexctl users sign-out
Section titled “rexctl users sign-out”Sign an account out everywhere.
rexctl users sign-out <user>rexctl users unban
Section titled “rexctl users unban”Lift a ban.
rexctl users unban <user>rexctl version
Section titled “rexctl version”Show the rexctl and Fluxer versions.
rexctl version [flags]-
--jsonPrint JSON.