forked from cloudron-apps/peertube-app
run migration script as explained in https://github.com/Chocobozzz/PeerTube/releases/tag/v4.2.0
This commit is contained in:
parent
6326d86698
commit
6b9e6af286
1 changed files with 2 additions and 0 deletions
2
start.sh
2
start.sh
|
@ -79,6 +79,8 @@ else
|
||||||
update_config
|
update_config
|
||||||
|
|
||||||
[[ -n "${CLOUDRON_LDAP_SERVER:-}" ]] && update_ldap
|
[[ -n "${CLOUDRON_LDAP_SERVER:-}" ]] && update_ldap
|
||||||
|
|
||||||
|
(sleep 30; echo "==> Generating avatar miniatures"; gosu cloudron:cloudron node dist/scripts/migrations/peertube-4.2.js) &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chown -R cloudron:cloudron /app/data /run/peertube
|
chown -R cloudron:cloudron /app/data /run/peertube
|
||||||
|
|
Loading…
Reference in a new issue