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:

  1. Log in with an administrator account
  2. Navigate to Settings
  3. If an update is available, you'll see an update notification with the new version number
  4. Click the Update button to start the process
  5. 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:

  1. Download the latest release from the Plainpad GitHub Releases page
  2. Back up your current installation (especially the .env file and database)
  3. Extract the new release files over your existing installation, replacing old files
  4. Keep your existing .env file (restore it if it was overwritten). It holds your database settings and the application key that encrypted notes depend on.
  5. Run php artisan refresh to 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.log for updater logs
  • storage/logs/laravel-YYYY-MM-DD.log for application logs
  • /var/log/apache2|nginx/error.log for server logs

Version-Specific Upgrade Notes

Some releases need extra steps, listed below.

Upgrading from 1.1.x to 1.2.0

  1. Use the update button in Settings, or follow the manual steps above.
  2. Run php artisan refresh to 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:

  1. 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). Never chmod 777 it, other users on the server could then change the code.
  2. Go to the settings page and click the update button.
  3. An error will be displayed due to the Laravel upgrade, that's fine this time.
  4. Finalize the upgrade by running php artisan refresh from the terminal.

If you are still facing errors with your installation, check the following places for further information:

  • storage/logs/update-***.log for updater logs
  • storage/logs/laravel-***.log for framework logs
  • /var/log/apache2|nginx/error.log for server logs

Upgrading from 1.0.0-beta.3 to 1.0.0-beta.4

Steps:

  1. 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). Never chmod 777 it, other users on the server could then change the code.
  2. Go to the settings page and click the update button.
  3. An error will be displayed due to the Laravel upgrade, that's fine this time.
  4. Finalize the upgrade by running php artisan refresh from the terminal.

If you are still facing errors with your installation, check the following places for further information:

  • storage/logs/update-***.log for updater logs
  • storage/logs/laravel-***.log for framework logs
  • /var/log/apache2|nginx/error.log for server logs

Upgrading from 1.0.0-beta.2 to 1.0.0-beta.3

Steps:

  1. 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). Never chmod 777 it, other users on the server could then change the code.
  2. Go to the settings page and click the update button.

Upgrading from 1.0.0-beta.1 to 1.0.0-beta.2

Steps:

  1. 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). Never chmod 777 it, other users on the server could then change the code.
  2. Go to the settings page and click the update button.

Upgrading from 1.0.0-alpha.1 to 1.0.0-beta.1

Steps:

  1. 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). Never chmod 777 it, other users on the server could then change the code.
  2. Go to the settings page and click the update button.