webtimeless

Troubleshooting

Fixes for missing packages, Apache modules, WordPress requirements, database sign-in and cleanup.

Missing packages. The installer lists what is missing and offers to install it. By hand:

sudo apt update
sudo apt install apache2 mysql-server php php-mysql php-curl php-gd php-xml php-zip curl git openssl

The site does not open. Check that Apache has its modules and that the vhost is valid:

sudo a2enmod ssl rewrite
sudo apache2ctl configtest && sudo systemctl restart apache2
grep local.spellbook.test /etc/hosts

The browser warns about the certificate. Its CA is not trusted there yet, see Certificates.

WordPress does not install. Check the PHP modules it needs:

php -m | grep -E "mysql|curl|gd|xml"

No database connection. Check that MySQL runs (sudo systemctl start mysql), and that the account in /etc/default/devmagic.conf signs in.

A removal left something behind. Check each place by hand:

ls -la /var/www/local.spellbook.test
ls -la /etc/apache2/sites-available/local.spellbook.test-ssl.conf /etc/apache2/sites-enabled/local.spellbook.test-ssl.conf
grep local.spellbook.test /etc/hosts

Still stuck? Open an issue on GitHub (opens in a new tab) with your system, the full error and the steps that led to it.

Type to search the docs, guides, comparisons and tool pages.