diff --git a/abra.sh b/abra.sh index fa4c797..60daaa0 100644 --- a/abra.sh +++ b/abra.sh @@ -195,6 +195,9 @@ upgrade_mariadb() { mariadb-upgrade -p`cat /run/secrets/db_root_password` } +set_metrics_token() { + run_occ "config:app:set serverinfo token --value '$(cat /run/secrets/metrics_token)'" +} # Checks whether this instance looks ready to update to the next Nextcloud # major version. #