Apps and software
Software installer
Install WordPress, Joomla, Drupal, Nextcloud or Matomo from the vendor's verified package, adopt existing installations, check their core files against the official release, repair and quarantine, log in with one click and harden them.
On this page
Berth has its own software installer for the common PHP applications: WordPress, Joomla, Drupal, Nextcloud and Matomo. It does more than unpack an archive. Every installation is downloaded from the vendor and checked against the vendor's own hash, and the panel keeps watching it afterwards: core files are compared with the official release every night, known vulnerabilities are reported, and changed files can be repaired without deleting anything.
How it works
All five applications sit behind one common layer, with a driver per application. What works for one application appears in the same place for the others, and a driver says plainly what it cannot do (yet).
- Everything runs as the subscription's system user, through a fixed set of agent operations. There are no free-form commands and no code from elsewhere. The tools are each application's own: wp-cli for WordPress, the Joomla console, drush and Composer for Drupal,
occfor Nextcloud, the Matomo console. - Software comes only from the official source and is checked against the hash that source publishes. The verified archive is kept as a reference package, which is also the yardstick for integrity checks and the source for repairs.
- A way back for risky steps. Before an update or restore the panel takes a snapshot when the website is below the policy's size limit (2 GB by default); otherwise the nightly backup is the way back. Repairs keep the old files in quarantine.
| WordPress | Joomla | Drupal | Nextcloud | Matomo | |
|---|---|---|---|---|---|
| Install from verified package | yes | yes | yes | yes | yes |
| Integrity check and repair | yes | yes | yes | yes | yes |
| Automatic updates | core, plugins, themes | core | core, modules | core (within major) | core (within major) |
| Smart updates | yes | core | core | no | no |
| Staging | both ways | both ways | both ways | copy only | no |
| One-click login | yes | yes | yes | yes | no |
| Duplicate to another domain | yes | yes | yes | yes | no |
| Hardening checklist | yes | yes | yes | yes | yes |
Install an application
- Go to Software → Install. The page is called "Install software".
- Choose the application, the website, and optionally a subfolder such as
blog. - The panel checks the folder straight away and shows one of three states:
- Empty: nothing there, only the Berth start page or a host's placeholder files.
- Empty enough: other files are present but nothing collides; they stay.
- Not possible here: with the reason and the files in the way.
- Fill in the site name and the administrator, and optionally a password. Click Continue.
- A review shows exactly what will happen: software and version, address and folder, the new database, the administrator, and what happens to each name already in the folder. Click Install.
The installation runs as a background task with its steps and a live log: check the folder, fetch and verify the package, place it, create the database, install, harden, register. It cannot be stopped halfway, because a half-installed site is a broken site. If it fails, the task removes what it created and puts any moved host files back. A generated password is shown only to the person who installed, and only once.
When is a folder suitable?
The same rule is applied by the live check and again by the agent just before placing files:
- There must be no software in the folder or in its subfolders: no other WordPress, Joomla, Drupal, Nextcloud or Matomo, and no other recognised application such as Laravel, Magento, TYPO3, Moodle, a Node app or a Git checkout.
- It must not be inside another installation's own folders (for example
wp-contentof a WordPress in the document root). Next to it, such as/blogbeside a WordPress, is fine. - Nothing may collide with a name in the package. The exceptions are the Berth start page, which is replaced, and loose placeholder files from a previous host (
index.html,.htaccess,robots.txt,favicon.icoand the like), which move to a quarantine folder outside the website and can be restored from the installation's page.
From the command line
Each application has its own command group:
berth wp install --domain example.com --title "Acme" --admin-user beheer \
--admin-email admin@example.com --locale en_GB
berth joomla install --domain example.nl --site-name "Acme" --admin-user beheer --admin-email admin@example.com
berth drupal install --domain example.org --site-name "Acme" --admin-user beheer --admin-email admin@example.com --profile standard
berth nextcloud install --domain cloud.example.com --admin-user beheer --admin-email admin@example.com
berth matomo install --domain stats.example.com --admin-user beheer --admin-email admin@example.com --site-url https://example.comThe administrator account may not be called admin. An empty password is generated and shown once. WordPress can be installed in nl_NL, en_US, en_GB, de_DE or fr_FR; Drupal in Dutch or English. --force (installing over existing files) exists only on the CLI and API.
Nextcloud gets its data folder next to the document root, outside the website, plus its system cron. Matomo gets its database, super user, HTTPS and hourly archiving through cron.
Existing installations
Installations that already exist, for example after a migration from Plesk, are recognised by their files and registered automatically by a daily scan. You can also scan now, adopt an installation in a specific folder, or detach one so the panel forgets it (files and database stay):
berth software scan --all
berth software list --domain example.com
berth software adopt --domain example.com --path shop
berth software forget --domain example.com --id 12The overview under Software lists every installation with its version, available updates, known vulnerabilities and integrity state, as a table or as cards. Clicking a name opens all details: version and release date, folder, database, PHP version, update policy, last check, pending updates per plugin or extension, findings and the restore points.
Integrity: compare with the official release
Every night, and on demand, the panel compares each installation's core files with the reference package of the same version:
- changed files (a different hash),
- missing files,
- extra files in the core folders, such as an injected backdoor in
wp-includes.
User content (wp-content, images, sites/*/files) and configuration are not counted. For each differing file the detail view shows the expected SHA-256 and size from the package next to what was found, with its modification time. WordPress plugins are checked against the checksums of wordpress.org as well, and Nextcloud also runs its own signature check. A change in the core sends a notification to the administrator, and to the customer when the package has customer notifications on.
berth software verify --domain example.com --id 12
berth software verify --allThe overview shows a chip: untouched or the number of changed files.
Repair and quarantine
Repair puts changed and missing core files back from the reference package, and moves extra files in the core folders to a quarantine folder outside the website, keeping their old paths. Nothing is ever deleted. The files that get replaced go into the quarantine too, so every repair can be undone. User content and configuration always stay as they are.
berth software repair --domain example.com --id 12
berth software quarantine --domain example.com --id 12 # list repair rounds
berth software quarantine --domain example.com --id 12 --restore <round> --files wp-includes/x.php
berth software quarantine --domain example.com --id 12 --remove <round>If a site was actually compromised, repairing the core is only one step. Also run a malware scan, check users and plugins, and consider restoring only the software from a backup.
Known vulnerabilities
The overview flags installations, plugins, themes, extensions and modules with a known vulnerability, with the CVE and severity. Sources are the vendors' own advisories and, for WordPress, the Wordfence vulnerability feed; Drupal also uses composer audit. Security releases can be installed immediately even when normal updates wait; see Smart updates. The server-wide picture is in Vulnerability management.
One-click login
From the application's page, log in as an administrator without knowing the password. The panel creates a one-time link that works once and only for a short moment. This is available for WordPress, Joomla, Drupal and Nextcloud.
berth wp login --domain example.com --user-id 1
berth joomla login --domain example.nl
berth nextcloud login --domain cloud.example.com --username beheerHardening
Each application has a security checklist with one-click fixes for what can be fixed safely. WordPress is hardened right after installation.
| Application | Checklist items |
|---|---|
| WordPress | file permissions of wp-config.php, debug output, the built-in file editor, salts, XML-RPC, no PHP in uploads, sensitive files, core and plugin files |
| Joomla | installation folder removed, configuration permissions, debug, error reporting, force SSL |
| Drupal | trusted host patterns, settings permissions, error level, pending database updates |
| Nextcloud | configuration permissions, debug, HTTPS, background jobs via cron, trusted domain, WebDAV and the WAF |
| Matomo | configuration permissions, private folders, HTTPS, trusted hosts check, archiving via cron |
berth wp security --domain example.com
berth wp security --domain example.com --fix xmlrpc --fix file_edit
berth joomla harden --domain example.nlThe WordPress page also has a maintenance mode with its own page, debug on and off, and cache flushing.
Duplicate an installation
Duplicate makes an independent copy on another domain of the same subscription, or on an existing domain with an empty document root. The copy gets its own database, and addresses are rewritten.
berth wp duplicate --domain example.com --target copy.example.comFor a temporary copy to test changes on, use staging instead.
Related
- Smart updates: update policy, smart updates and snapshots
- Staging
- PHP and Databases