diff --git a/docker-compose.yml b/docker-compose.yml index 7f7735d46c..9f039087cb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -791,7 +791,7 @@ services: - OPR_PROXY_HEALTHCHECK=enabled mariadb: - image: mysql:8.0.33 # fix issues when upgrading using: mysql_upgrade -u root -p + image: mariadb:10.7 # fix issues when upgrading using: mysql_upgrade -u root -p container_name: appwrite-mariadb <<: *x-logging networks: diff --git a/src/Appwrite/Platform/Tasks/Backup.php b/src/Appwrite/Platform/Tasks/Backup.php index ebee91fac6..a7c782c908 100644 --- a/src/Appwrite/Platform/Tasks/Backup.php +++ b/src/Appwrite/Platform/Tasks/Backup.php @@ -283,10 +283,12 @@ class Backup extends Action */ public function checkEnvVariables(): void { - foreach ([ + foreach ( + [ '_APP_CONNECTIONS_BACKUPS_STORAGE', '_APP_CONNECTIONS_DB_REPLICAS', - ] as $env) { + ] as $env + ) { if (empty(App::getEnv($env))) { throw new Exception('Can\'t read ' . $env); }