Skip to content

WordPress

Install WordPress with PHP 8.4, MariaDB, OPcache, and scheduled events run by cron. WordPress updates its core automatically, and plugins and themes get automatic updates too.

Install over SSH
uberspace app install wordpress
Manual installation
WordPress Guide
Playbook
wordpress.yaml (version 0.2)
Last changed
2026-12-04

One-click install in the dashboard

Choose WordPress as a preinstalled app when you create a new Asteroid.

Before you start

Use a fresh Asteroid with an empty document root. This playbook sets PHP limits and OPcache for the whole Asteroid; use a separate Asteroid for other PHP applications. It refuses to reuse existing files, an existing database, or a domain root that another backend serves. This is a fresh-install playbook, not an upgrade or repair tool.

The default domain is your Asteroid domain, such as isabell.uber.space. If you choose a custom domain, configure its DNS first.

Installation

In the dashboard: When creating a new Asteroid, choose WordPress as a "preinstalled App".

Over SSH: On an Asteroid with an empty document root, run the app installer. It downloads the WordPress playbook from the Lab, shows the configuration, and asks for confirmation before installing. Example output is abbreviated:

[isabell@moondust ~]$ uberspace app install wordpress
[...]
OK: playbook finished

To install WordPress in German with your own site title, use:

[isabell@moondust ~]$ uberspace app install wordpress --var locale=de_DE --var title="Isabell's Blog"
[...]
OK: playbook finished

These are alternative installation commands; run only one on your fresh Asteroid.

Useful options:

Option Default Purpose
--var admin_mailaddress=you@example.com sysmail@isabell.uber.space Receives password-reset emails; set an address you read
--var admin_username=alice Your Asteroid name WordPress admin username
--var domain=blog.example.com Your Asteroid domain Public WordPress domain; configure its DNS first
--var db_name=isabell_blog isabell_wordpress New MariaDB database; must start with your Asteroid name and _
--var locale=de_DE en_GB Language of the WordPress installation
--var title="Isabell's Blog" isabell's new Website Site title

To preview the configuration and the tasks without changing anything, add --dry.

First login

Open https://isabell.uber.space/wp-admin. Your username is your Asteroid name unless you supplied a different admin_username. Use Lost your password? on the login page to set a password through the admin email address. You can also set it over SSH with WP-CLI, which prompts for the new password. Example output is abbreviated:

[isabell@moondust ~]$ wp user update isabell --prompt=user_pass --path=/var/www/virtual/$USER/html
[...]
Success: Updated user 1.

Configuration

Email: WordPress sends mail, such as password resets, through local sendmail. No SMTP credentials are required. Check that the recovery email arrives, including in your spam folder.

PHP: PHP 8.4 allows uploads and posts up to 64 MB and requests of up to 180 seconds, with a 256 MB memory limit that also leaves room for WP-CLI (~/.config/php/wordpress.ini). OPcache keeps compiled PHP code in memory and in ~/tmp/opcache (~/.config/php/opcache.ini).

Scheduled events: WordPress's own wp-cron.php is disabled. A cron job runs due events every five minutes instead, so they also run on quiet sites and do not slow down page views.

Caching: For page, object, and database caching with Redis and W3 Total Cache, follow the Guide's caching section.

Security: The playbook enables HSTS for your domain and verifies the WordPress core checksums after downloading.

Custom domain: Add the domain to your Asteroid in the Uberspace dashboard and set up DNS with your registrar or DNS provider as shown there. Then change the domain in the WordPress admin dashboard under Settings > General.

Updates and backups

WordPress updates its core automatically. Daily cron jobs enable automatic updates for all plugins and themes, including ones you add later. Check Dashboard > Updates regularly for updates that could not be installed automatically. See the Guide's update instructions for details.

Keep backups of the database and wp-content, especially before larger updates. For database exports, follow the MariaDB Manual.

For maintenance responsibilities, see Your app, your freedom, your responsibility.

Troubleshooting

Installation logs are in ~/logs/app_playbooks/. If installation fails, read those logs before making changes; the playbook will refuse to overwrite a partial installation on a second run.

Scheduled events log to the journal with the identifier wp-cron; read them with journalctl --user -t wp-cron. Tools > Site Health in the WordPress admin dashboard lists configuration problems and recommendations.