Troubleshooting
Solutions to common problems you may encounter when running Plainpad.
Blank Page / 500 Error
If you see a blank page or a 500 Internal Server Error, check the following:
- Plainpad Logs - Plainpad writes its own logs to
storage/logs/laravel-YYYY-MM-DD.log. Updates log tostorage/logs/update-YYYY-MM-DD.log. - PHP Error Logs - Check your server's PHP error log for detailed error messages. On most servers this is located at
/var/log/php/error.logor/var/log/apache2/error.log. - File Permissions - Ensure the web server can read all files and write to the necessary directories.
- PHP Version - Verify that PHP 8.2 or newer is installed:
php -v - Required Extensions - Check that all required PHP extensions are enabled.
# Check installed PHP extensions
php -m | grep -E 'mbstring|pdo_mysql|openssl|curl|zip|sodium' Database Connection Failed
If Plainpad cannot connect to the database:
- Verify
DB_HOST,DB_PORT,DB_DATABASE,DB_USERNAMEandDB_PASSWORDin the.envfile in the Plainpad root - Ensure the database server is running
- Check that the database user has sufficient privileges
- If using MySQL, verify the host and port are correct
# Test MySQL connection
mysql -u username -p -h localhost plainpad_db URL Rewriting Not Working
If you get 404 errors when navigating Plainpad:
Apache
- Ensure
mod_rewriteis enabled:sudo a2enmod rewrite - Verify
AllowOverride Allis set in your virtual host configuration - Restart Apache after changes:
sudo systemctl restart apache2
Nginx
- Ensure your
try_filesdirective is configured correctly - Reload Nginx after changes:
sudo systemctl reload nginx
Notes Not Saving
Plainpad saves notes in the browser first and syncs them with the server every 60 seconds. If syncing fails ten times in a row, it keeps retrying every 10 minutes. If notes fail to save:
- Check that the database is accessible and has sufficient disk space
- Check browser console for JavaScript errors
- Ensure you haven't exceeded any PHP upload or post size limits
- As a last resort, use Profile → Invalidate Cache to reset the local copy. Changes that haven't synced yet are lost.
Working Offline
If Plainpad is already open, you can keep reading and writing without a connection. Changes are stored on your device and sync automatically once you're back online. Opening Plainpad from scratch while offline is not enabled by default; it can be added through Custom Development.
Can't Log In
Plainpad limits failed logins to 5 attempts per 15 minutes for each account and IP address, and password recovery to 5 requests per 15 minutes. Wait 15 minutes and try again.
If logins fail for everyone behind a reverse proxy, the proxy's address is being counted for all users. Set TRUSTED_PROXIES in .env, see Installation.
Performance Issues
If Plainpad feels slow:
- Enable PHP OPcache for faster script execution
- Ensure your database server has adequate resources
- Check server resource usage (
top,htop)
Still Need Help?
If the above solutions don't resolve your issue:
- Search existing GitHub Issues
- Ask in our Discord community
- Book a Technical Support session for direct assistance