Open sourceIn the free reqad package (GPL-3.0).
App installer
Install Joomla, Drupal or Nextcloud on a site in a minute, with a database of its own. Updates are part of it: the server checks for new versions every day, saves the app's files and database before an update, and puts both back when the update fails or the site breaks. Accounts can turn on automatic updates for each install.
reqad installer on the command line, and the REST API. Hosting accounts install and manage their own apps under Software > App installer and Software > Installed apps in their account panel Premium.The apps
| App | What it is | Where it can go |
|---|---|---|
| Joomla | Websites, blogs and online magazines, with thousands of extensions and templates. | A site, or a folder of a site (example.com/blog) |
| Drupal | Websites and online platforms with structured content, users, roles and many languages. | A site, or a folder of a site |
| Nextcloud | Your own cloud for files, calendars and contacts, synced to computers and phones. | A site of its own, such as cloud.example.com. Its files are kept outside the site's folder, in ~/nextcloud-data/<domain>. |
Each app is offered in its newest stable release only. An install gets that version when the site's PHP can run it; otherwise the form says which PHP version the site needs, and the PHP its makers recommend. The account panel also shows WordPress as the first card, which leads to the WordPress Toolkit's installer.
How an install works
- The site and folder are checked. The folder must be empty, or hold no other app. Sites and apps already in a folder inside it are left alone. Nextcloud wants a site to itself: nothing else may go inside it.
- The package is downloaded once to the server and checked against the SHA-256 in the catalog before it is used.
- It is unpacked as the hosting account into a hidden folder next to the site, never as root.
- A database and its user are made for the app, named after the account like any other of its databases.
- The app's own installer runs with the site's PHP version, as the account. The administrator's password is handed over in a way that never shows up in the server's process list.
- The finished site is moved into place, and the web server gets the rules the app needs (below). If any step fails, everything made so far is taken back: the files, the database and its user.
The administrator's password can be typed or made up. A made-up password is shown once; the server does not keep it. A common user name such as admin is allowed, with a hint to pick another: such names are the first ones attackers try.
Web server rules
- With nginx running PHP, an app in a folder gets its own location, and Drupal and Nextcloud get the rules their makers publish (their code folders closed to the web, Nextcloud's WebDAV, calendar and contacts addresses). Reqad keeps them in a block of its own in the site's configuration and puts it back when the site's configuration is written again.
- With Apache, the apps use their own
.htaccessfiles. Options the sites may not use are changed into ones they may, so the apps never answer with an error 500. - The WordPress page cache, when it is on for the site, never caches an app's folder.
Updates
Every day at 04:40 the server reads the version of each install from its files and compares it with the catalog. An install with a newer version shows available in the panel and in the account panel, and in the Needs attention card. An update runs in the background, one at a time per install, and takes a few minutes:
- The site's home page is opened, to know it worked before.
- The app's files are copied, as the account, to
~/app-backups/<app>-<site>-<date>/files. The two newest copies are kept. Its database is saved too: one copy for the server, one in that folder for the account. - The new version is unpacked next to the app and copied over it. Configuration, uploads and extensions stay.
- The app's own update steps run (Joomla's finishing step, Drupal's database updates, Nextcloud's
occ upgrade). - The home page is opened again. If the update failed, or the page answers an error where it worked before, the files and the database are put back as they were.
Some steps are refused, as the apps' makers say: Joomla goes to a new major version only from the last minor release of the old one (x.4), and Nextcloud goes one major version at a time.
Auto-updates
Off by default, for each install. The account (or you, on the App Installer page) chooses Same major version (for example 6.2.0 to 6.2.1 or 6.3.0, never 7.0) or All versions. They run after the daily check, one after another. After 3 failed updates in a row an install's auto-updates stop until someone chooses again.
Removing an app
Remove first shows what goes and what stays. By default the app's files, its database (with its user, when nothing else uses it), Nextcloud's data folder and the app's backups in ~/app-backups go. You can keep the database or the backups. Without the files, the app only leaves the list.
- Only the app's own files go. Files an account added to the folder, and other sites and apps inside it, stay; the dialog names them.
- A database stays when it is not one of the account's own, or when a WordPress site or another app uses it.
- An app that had a site to itself leaves the site with the welcome page a new site starts with. Nextcloud's background job is removed with it.
The App Installer page
Apps offered lists each app with its version, the PHP it needs and how many times it is installed. Switch an app off and it can no longer be installed; the installs already there stay and keep their updates.
Installed apps lists every install of every account, with a search box and a filter for those with an update. Each one has:
| Button | What it does |
|---|---|
| Check | Reads its version from its files again. |
| Update | Starts an update and follows it on the page. When it is done, See more shows every step it took. |
| Auto-updates | Off, same major version or all versions. |
| Dashboard | The app's own sign-in page. |
| Panel | Opens the account's Installed apps in its account panel Premium. |
| Remove | As above. |
Turning it off for accounts
- Accounts > Account panel > Features > App installer Premium, or
reqad installer settings --accounts=off: accounts can no longer install apps, and the catalog is gone from their panel. The apps they have keep their updates, and Installed apps stays for them until they have none. - A hosting package Premium limits how many apps an account installs: App installer apps. At 0, the account's panel has no app installer.
The catalog
The versions offered, with their download addresses and SHA-256 checksums, come from a list Reqad ships. The package reqad-installer-catalog brings a newer list whenever one of the apps has a new release, so new versions, security releases above all, reach your server without waiting for a Reqad update. It is installed with Reqad, and the system's updates keep it current:
dnf install reqad-installer-catalog dnf update reqad-installer-catalog
Every package in the list was checked against what its makers publish before it was added: Nextcloud's signature, Drupal's release history and the checksums of Joomla's releases. A new major version of an app is added only once Reqad was tested with it. Installs on the server learn about a new version at the next daily check, or at once with reqad installer check.
Command line
reqad installer catalog
reqad installer list [--account=ACCOUNT]
reqad installer install joomla example.com --path=blog \
--admin-user=editor --admin-email=me@example.com
reqad installer update 12 --wait
reqad installer auto 12 minor
reqad installer remove 12 --keep-database
reqad installer settings --apps-off=nextcloudinstall prints a made-up administrator password once, unless --password asks for one or --password-stdin reads it. reqad installer --help lists every option. With --user=ACCOUNT, the command acts as that account and sees only its apps.
API
| Request | What it does |
|---|---|
GET /v1/installer/catalog | The apps and versions offered |
GET /v1/installer/targets?app=joomla | The account's sites, with the version each would get, or why not |
GET / POST /v1/installer/apps | List the installs, install an app |
GET / PATCH /v1/installer/apps/{id} | One install (?refresh=1 reads its version again), its auto-updates |
POST /v1/installer/apps/{id}/update | Start an update; GET .../jobs/{job} follows it |
GET /v1/installer/apps/{id}/remove, DELETE /v1/installer/apps/{id} | What removing would delete and keep, then remove it |
GET / PATCH /v1/installer/settings | The switches (server tokens only) |
An account's token sees and changes only that account's apps. AI assistants (MCP) can read the catalog and the installs, but not install, update or remove.
Good to know
- Everything inside an account's home is done as the account, so an app can never reach further than the account itself.
- Apps count toward the account's disk space, and their files and databases are in its backups like everything else. Nextcloud's data folder can grow large.
- An app installed by hand, or before the app installer, is not in the list, but the installer recognises it and will not install another app into its folder.
- Updates follow the catalog only. An app updated from its own dashboard keeps working; the daily check notes its new version.
Need a hand? Create a free account or contact us.