Updating
The self-hosted version supports automated updates that will notify admin users whenever new packages are available for download.
Automatic Updates
Plainpad includes a built-in update mechanism. When a new version is available, administrators see an update icon in the user menu and next to Settings. To update:
- Log in with an administrator account
- Navigate to Settings
- If an update is available, you'll see an update notification with the new version number
- Click the Update button to start the process
- Wait for the process to complete - do not close your browser during the update
Important: Make sure the Plainpad installation directory is writable so that the modified files can be replaced and the old ones can be removed. Plainpad also requires the PHP Zip, cURL and Sodium extensions for the update process to work.
Signed Updates
Since 1.2.0, Plainpad only installs release archives with a valid Ed25519 signature (the <archive>.sig file published next to it) that match the version the update server announced. Anything else is refused and nothing is installed.
Running Plainpad with Docker? Update by pulling a new image instead, see the Docker guide.
Manual Update
If the automatic update fails or you prefer to update manually:
- Download the latest release from the Plainpad GitHub Releases page
- Back up your current installation (especially the
.envfile and database) - Extract the new release files over your existing installation, replacing old files
- Keep your existing
.envfile (restore it if it was overwritten). It holds your database settings and the application key that encrypted notes depend on. - Run
php artisan refreshto apply database changes and clear the configuration cache
Tip: Always create a full backup before updating. You can back up your database with mysqldump -u user -p plainpad > backup.sql and copy the entire Plainpad directory.
Checking Your Current Version
Your current Plainpad version is shown at the bottom of the application sidebar.
If an Update Fails
Check these log files for details:
storage/logs/update-YYYY-MM-DD.logfor updater logsstorage/logs/laravel-YYYY-MM-DD.logfor application logs/var/log/apache2|nginx/error.logfor server logs
Version-Specific Upgrade Notes
Some releases need extra steps, listed below.
Upgrading from 1.1.x to 1.2.0
- Use the update button in Settings, or follow the manual steps above.
- Run
php artisan refreshto apply the new database indexes.
From 1.2.0 on, only signed releases can be installed through the update button.
Upgrading from 1.0.x to 1.1.0
Plainpad 1.1.0 moved to Laravel 12 and requires PHP 8.2 or newer. Upgrade PHP on your server first, then update Plainpad and run php artisan refresh.
Upgrading from 1.0.0-beta.4 to 1.0.0
Steps:
- Make sure the entire Plainpad directory is owned by and writable for the PHP process user (e.g.
chown -R www-data:www-data plainpad). Neverchmod 777it, other users on the server could then change the code. - Go to the settings page and click the update button.
- An error will be displayed due to the Laravel upgrade, that's fine this time.
- Finalize the upgrade by running
php artisan refreshfrom the terminal.
If you are still facing errors with your installation, check the following places for further information:
storage/logs/update-***.logfor updater logsstorage/logs/laravel-***.logfor framework logs/var/log/apache2|nginx/error.logfor server logs
Upgrading from 1.0.0-beta.3 to 1.0.0-beta.4
Steps:
- Make sure the entire Plainpad directory is owned by and writable for the PHP process user (e.g.
chown -R www-data:www-data plainpad). Neverchmod 777it, other users on the server could then change the code. - Go to the settings page and click the update button.
- An error will be displayed due to the Laravel upgrade, that's fine this time.
- Finalize the upgrade by running
php artisan refreshfrom the terminal.
If you are still facing errors with your installation, check the following places for further information:
storage/logs/update-***.logfor updater logsstorage/logs/laravel-***.logfor framework logs/var/log/apache2|nginx/error.logfor server logs
Upgrading from 1.0.0-beta.2 to 1.0.0-beta.3
Steps:
- Make sure the entire Plainpad directory is owned by and writable for the PHP process user (e.g.
chown -R www-data:www-data plainpad). Neverchmod 777it, other users on the server could then change the code. - Go to the settings page and click the update button.
Upgrading from 1.0.0-beta.1 to 1.0.0-beta.2
Steps:
- Make sure the entire Plainpad directory is owned by and writable for the PHP process user (e.g.
chown -R www-data:www-data plainpad). Neverchmod 777it, other users on the server could then change the code. - Go to the settings page and click the update button.
Upgrading from 1.0.0-alpha.1 to 1.0.0-beta.1
Steps:
- Make sure the entire Plainpad directory is owned by and writable for the PHP process user (e.g.
chown -R www-data:www-data plainpad). Neverchmod 777it, other users on the server could then change the code. - Go to the settings page and click the update button.