Peertube cannot start after upgrade from 4 to 5.1

Ubuntu 20.02
I have maked all system updates and after this was done i upgrade peertube

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

but after all was done, i restart peertube and this issue is comming.

Jun 29 17:39:32 tv1.gomntu.space systemd[1]: peertube.service: Scheduled restart job, restart counter is at 4.
Jun 29 17:39:32 tv1.gomntu.space systemd[1]: Stopped PeerTube daemon.
Jun 29 17:39:32 tv1.gomntu.space systemd[1]: Started PeerTube daemon.
Jun 29 17:39:33 tv1.gomntu.space peertube[7121]: /var/www/peertube/versions/peertube-v5.2.0/node_modules/config/lib/config.js:179
Jun 29 17:39:33 tv1.gomntu.space peertube[7121]: throw new Error(‹ Configuration property " › + property + ‹ " is not defined ›);
Jun 29 17:39:33 tv1.gomntu.space peertube[7121]: ^
Jun 29 17:39:33 tv1.gomntu.space peertube[7121]: Error: Configuration property « object_storage.upload_acl.public » is not defined
Jun 29 17:39:33 tv1.gomntu.space peertube[7121]: at Config.get (/var/www/peertube/versions/peertube-v5.2.0/node_modules/config/lib/config.js:179:11)
Jun 29 17:39:33 tv1.gomntu.space peertube[7121]: at Object. (/var/www/peertube/versions/peertube-v5.2.0/dist/server/initializers/config.js:124:28)
Jun 29 17:39:33 tv1.gomntu.space peertube[7121]: at Module._compile (node:internal/modules/cjs/loader:1257:14)
Jun 29 17:39:33 tv1.gomntu.space peertube[7121]: at Module._extensions…js (node:internal/modules/cjs/loader:1311:10)
Jun 29 17:39:33 tv1.gomntu.space peertube[7121]: at Module.load (node:internal/modules/cjs/loader:1115:32)
Jun 29 17:39:33 tv1.gomntu.space peertube[7121]: at Module._load (node:internal/modules/cjs/loader:962:12)
Jun 29 17:39:33 tv1.gomntu.space peertube[7121]: at Module.require (node:internal/modules/cjs/loader:1139:19)
Jun 29 17:39:33 tv1.gomntu.space peertube[7121]: at require (node:internal/modules/helpers:121:18)
Jun 29 17:39:33 tv1.gomntu.space peertube[7121]: at Object. (/var/www/peertube/versions/peertube-v5.2.0/dist/server/helpers/logger.js:12:18)
Jun 29 17:39:33 tv1.gomntu.space peertube[7121]: at Module._compile (node:internal/modules/cjs/loader:1257:14)
Jun 29 17:39:33 tv1.gomntu.space peertube[7121]: Node.js v20.3.1
Jun 29 17:39:33 tv1.gomntu.space systemd[1]: peertube.service: Main process exited, code=exited, status=1/FAILURE
Jun 29 17:39:33 tv1.gomntu.space systemd[1]: peertube.service: Failed with result ‹ exit-code ›.
Jun 29 17:39:33 tv1.gomntu.space systemd[1]: peertube.service: Scheduled restart job, restart counter is at 5.
Jun 29 17:39:33 tv1.gomntu.space systemd[1]: Stopped PeerTube daemon.
Jun 29 17:39:33 tv1.gomntu.space systemd[1]: peertube.service: Start request repeated too quickly.
Jun 29 17:39:33 tv1.gomntu.space systemd[1]: peertube.service: Failed with result ‹ exit-code ›.
Jun 29 17:39:33 tv1.gomntu.space systemd[1]: Failed to start PeerTube daemon.

Check the changelog from all version from 4 to 5.1 for upgrade instructions. You have missing configuration keys in your production.yaml file: