Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Clearly mention production.yaml.new before asking to restart

Anna Filina0b0168fd2139
diff --git a/support/doc/production.md b/support/doc/production.md
index 03bf716916..e18e233df8 100644
--- a/support/doc/production.md
+++ b/support/doc/production.md
@@ -310,17 +310,23 @@ Run the upgrade script (the password it asks is PeerTube's database user passwor
```bash [GNU/Linux]
cd /var/www/peertube/peertube-latest/scripts && sudo -H -u peertube ./upgrade.sh
-sudo systemctl restart peertube # Or use your OS command to restart PeerTube if you don't use systemd
```
```bash [FreeBSD]
cd /var/www/peertube/peertube-latest/scripts && sudo -H -u peertube ./upgrade.sh
cd /var/www/peertube/peertube-latest && sudo -H -u peertube npm explore sharp -- npm run build
-sudo systemctl restart peertube # Or use your OS command to restart PeerTube if you don't use systemd
```
:::
+The upgrade will create a `production.yaml.new` file with differences marked as merge conflicts.
+Review this file and replace your existing `production.yaml` with it before restarting.
+
+```bash
+# Make sure you first updated your configuration per the note above
+sudo systemctl restart peertube # Or use your OS command to restart PeerTube if you don't use systemd
+```
+
You may want to run `sudo -u peertube pnpm store prune` after several upgrades to free up disk space.
<details>