Updating ProjectSend
Back up the database and uploads, then pull a new Docker image or run update.sh on a zip install. Notes for the 2.8.0 and 2.7.1 important steps.
· Updated · By ProjectSend Team

This note is based on ProjectSend 2.8.0 (October 2026).
Back up your database and uploads, then choose your path. On Docker, pull a new image and restart the container — the container migrates the database on the way up. On a zip install, run update.sh from the install directory. Both paths run the same database migrations. Read the changelog for the version you are moving to before you start — anything that needs a manual step is written there.
Before you start, whichever path you are on
Every update carries some risk of data loss if something goes wrong mid-migration. A backup taken before you start is how you get back to a working state. The update guide covers the full detail for each path.
- Back up the database using
mysqldump(see the commands below). Migrations move forward only — there is no undo command. - Back up uploads and
.env. On Docker they are on thestoragevolume. On a manual install they arestorage/app/files/and.envin the install directory. - Note the version you are on from the System card on the dashboard. That is the image tag or zip to go back to if you need it.
# Docker
docker compose exec -T db \
mysqldump -u root -p --single-transaction projectsend \
> projectsend-before-update.sql
# Your own server
mysqldump -u projectsend -p --single-transaction \
projectsend > projectsend-before-update.sqlA backup you have never tried restoring is a hope, not a backup. Restoring into a scratch database takes five minutes and tells you something real about whether the backup is good.
Updating a Docker installation
For the official image, the whole update is two commands:
docker compose pull
docker compose up -dThat is the complete procedure. There is no migration step to run, no cache to clear. The container migrates the database before the web server accepts a single request, so the site never serves new code against an old schema.
If you pinned an exact version tag in your compose file, edit the tag first — docker compose pull on a pinned tag fetches the same image you already have.
Compose built from a source checkout
If you build the image from a clone rather than pulling the published one, add one extra step because the image is yours to build:
docker compose down
git pull
docker compose up -d --build
docker compose exec app composer install
npm ci && npm run buildThe last two lines are only needed when the release changed its PHP dependencies or its compiled frontend — they are what a source checkout has that the published image does not. If a page says the application is "not installed yet" or "not built yet" after the update, one of those two ran without its lock file moving forward.
What the container does on startup
Before the web server accepts a single request, the entrypoint runs in order: it generates APP_KEY only if one does not already exist (yours is left alone); waits up to 60 seconds for the database; runs php artisan projectsend:update — which migrates the schema, restores built-in roles, relinks storage, clears compiled caches and records the version applied; then starts php-fpm, nginx, the queue worker and the scheduler.
The queue worker runs inside the same container as the application, so it is replaced along with it and never keeps running old code after an update.
To confirm the update ran:
docker compose logs app | grep -A5 "Running migrations"
docker compose psThe app container should reach "healthy". The first time an administrator opens ProjectSend after the update, they land on a page naming the version now running and what the release brought.
Updating a manual installation
From your install directory:
cd /var/www/projectsend
sudo ./update.shThe script asks three questions: whether to check GitHub for a newer release, whether to download it (verifying the checksum published beside it), and whether you have a backup. It puts the site in maintenance mode, unpacks the release over the installation (leaving .env and storage/ alone), migrates the database, reloads PHP-FPM and restarts the queue worker.
Options
--zip <path>— apply a zip you downloaded yourself--backup— dump the database first, to/var/backups/projectsend(--backup-dirto change)--check— report installed and available versions, no root needed--user,--php-fpm,--worker— override what the script detected--no-restart— leave systemd alone; you must reload PHP-FPM yourself-y/--yes— unattended mode; requires--backupor--i-have-a-backup--force— apply an older release (read the note about migrations before using this)
Doing it by hand
If you prefer to run the steps yourself:
cd /var/www/projectsend
sudo -u www-data php artisan down
# unpack the release over this directory, keeping .env and storage/
sudo chown -R www-data:www-data .
sudo -u www-data php artisan projectsend:update
sudo systemctl reload php8.4-fpm
sudo systemctl restart projectsend-worker
sudo -u www-data php artisan upThe PHP-FPM reload is the step that matters. With OPcache configured for production (opcache.validate_timestamps=0), PHP does not re-read a file it has already compiled. Replacing the files changes nothing until PHP-FPM is reloaded: the database ends up on the new version and the web server keeps serving old code. If this happens, staff now see a banner naming the version being served, the version that was installed, and the command that fixes it.
Keeping your own service providers
An update overwrites bootstrap/providers.php. To register custom service providers that survive updates, create bootstrap/providers.local.php:
<?php
// bootstrap/providers.local.php
return [
App\Providers\AcmeServiceProvider::class,
];No release ships this file, so updates leave it alone. Put the class itself somewhere the release does not ship either — for example, app/Providers/AcmeServiceProvider.php. An email theme registered there, or any other custom service, survives every update.
Version-specific notes
Each release's changelog lists anything that needs a manual step after updating, under Important. Nothing in those sections stops the upgrade. Read the changelog for the version you are moving to before you start — and read each one in between if you are skipping releases.
2.8.0 (October 2026)
Full notes: 2.8.0 changelog or the GitHub release.
- Re-create API tokens that set file details. Making a file public, setting its expiry date, download limit or categories, and uploading into a public folder are now abilities you tick on the token. Older tokens do not have them, so those fields are left as-is until the token is re-created with the new abilities.
- Check API tokens that act on other people's files or manage staff. A token now does only what it was given, even when its owner could do more. Tokens that manage staff or edit others' files may need their abilities reviewed.
- Check custom email templates that used Markdown. Lines in notification emails are now shown as plain text, so links and formatting typed into a custom template appear as written.
- If you install from the zip and upload very large files, add the upload-completion block from the nginx example in INSTALL.md. Without it, finishing a multi-gigabyte upload on slow storage can time out after a minute.
2.7.1
Full notes: 2.7.1 changelog.
- If you installed from the zip, update PHP on your server to 8.4.27 or later. PHP fixed two critical flaws (CVE-2026-109618, CVE-2026-109619) that let anyone who can reach a site run code on it, with no login needed. ProjectSend cannot fix this, because it is in PHP itself. Restart PHP-FPM or Apache afterwards. System > About shows which PHP version your web server is running. The Docker image already includes the fix.
- If mail stops working after updating, check Settings > Email. The Encryption field now does what it says — before 2.7.1 it was ignored. Use TLS for port 587 or 25, and SSL for port 465.
2.7.0
Full notes: 2.7.0 changelog.
- If your installation cannot send email, accounts that sign in through Google, Microsoft or another provider can no longer set their own first password. The link to set it now arrives by email. An administrator can set the password from the account screen until mail works.
- If an integration changes its own account's email, password or two-factor authentication through the API, it now gets a 403. Do that from the profile screen instead.
Troubleshooting
The logs are where to start. On Docker: docker compose logs app | tail -40. On a manual install: storage/logs/laravel.log.
The site shows the old version after updating
Stale OPcache. php artisan reporting the new version while the browser reads the old one is this exact symptom. Staff now see a banner naming both versions and the command that fixes it. sudo ./update.sh does the reload for you unless you passed --no-restart.
500 errors on every page
Usually compiled caches from the previous version. Run php artisan optimize:clear, then reload PHP-FPM. Check storage/logs/ for the real error before assuming that is the cause.
"Base table or view not found" or a missing column
The migrations did not run or did not finish. Run php artisan migrate --force and read its output. On Docker: docker compose logs app.
If you need to go back
- Restore the code: the previous image tag on Docker, or the previous directory or zip on a manual install.
- Restore the database dump you took before starting.
- On a manual install, run
php artisan projectsend:updateafterwards, so the installation agrees with the code you restored. A container does this itself on boot.
Restore both, not one. A newer database schema against older code is the one combination ProjectSend does not expect, because migrations only ever move forward.
If something in this note does not match what your installation is doing, open an issue at github.com/projectsend/projectsend/issues. General questions and help live in the Discord server. Corrections to the docs can go straight to the repo as a pull request.
Frequently asked questions
- Do I need to do anything before updating?
- Back up the database and your uploads first. On Docker, back up the storage volume. On a manual install, back up storage/app/files/ and .env. The dashboard's System card shows the version you are on; note it in case you need to restore.
- Does the Docker update need any extra commands?
- No. docker compose pull followed by docker compose up -d is the complete procedure. The container runs the database migrations before the web server accepts a single request, so the site never serves new code against an old schema.
- Where is update.sh and what does it do?
- update.sh ships with every release zip in the install directory. Run sudo ./update.sh from there. It asks three questions, handles the download, verifies the checksum, takes a backup if you ask, migrates the database and reloads PHP-FPM. Run update.sh --check to see installed and available versions without downloading anything.
- My mail stopped working after the 2.7.1 update. What changed?
- The Encryption field in Settings > Email now does what it says — before 2.7.1 it was ignored. Set it to TLS for ports 587 and 25, and SSL for port 465. If it was set incorrectly but mail happened to work anyway, this update surfaces that.
- What do I need to do after updating to 2.8.0?
- If you use API tokens, re-create any that set file details such as the public flag, expiry or download limit. Those are now abilities you tick on the token; older tokens do not have them. Also review tokens that act on other people's files or manage staff accounts, since token scope changed.
ProjectSend Team. Written by the people who build and maintain ProjectSend, the open-source client portal developed in the open since 2011.
ProjectSend is free and open source
It's GPL v2 and built in the open. If something here didn't work for you, or you know a better way to do it, let us know: that's how the docs and the software get better.
Prefer not to run a server? ProjectSend Cloud is the hosted version, run by the same people.