Run v5 migration script

This commit is contained in:
Johannes Zellner 2022-12-16 15:53:50 +01:00
parent 73d4a02c4a
commit afae3cc99e

View file

@ -87,6 +87,10 @@ else
[[ -n "${CLOUDRON_LDAP_SERVER:-}" ]] && update_ldap [[ -n "${CLOUDRON_LDAP_SERVER:-}" ]] && update_ldap
fi fi
# REMOVE THIS ON NEXT RELEASE
echo "=> Run migration script for v5.0"
node ./dist/scripts/migrations/peertube-5.0.js
chown -R cloudron:cloudron /app/data /run/peertube chown -R cloudron:cloudron /app/data /run/peertube
echo "==> Starting PeerTube" echo "==> Starting PeerTube"