An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix: mariadb backups
Andras Bacsaiccf63c67e83b
diff --git a/app/Jobs/DatabaseBackupJob.php b/app/Jobs/DatabaseBackupJob.phpindex f9e947c5a4..e24eba848f 100644--- a/app/Jobs/DatabaseBackupJob.php+++ b/app/Jobs/DatabaseBackupJob.php@@ -141,21 +141,21 @@ class DatabaseBackupJob implements ShouldQueue, ShouldBeEncrypted} else if ($databaseType === 'standalone-mariadb') {$this->container_name = "{$this->database->name}-$serviceUuid";$this->directory_name = $serviceName . '-' . $this->container_name;- $commands[] = "docker exec $this->container_name env | grep MARIADB_";+ $commands[] = "docker exec $this->container_name env";$envs = instant_remote_process($commands, $this->server);$envs = str($envs)->explode("\n");-+ ray($envs);$rootPassword = $envs->filter(function ($env) {return str($env)->startsWith('MARIADB_ROOT_PASSWORD=');})->first();if ($rootPassword) {- $this->database->mysql_root_password = str($rootPassword)->after('MARIADB_ROOT_PASSWORD=')->value();+ $this->database->mariadb_root_password = str($rootPassword)->after('MARIADB_ROOT_PASSWORD=')->value();} else {$rootPassword = $envs->filter(function ($env) {return str($env)->startsWith('MYSQL_ROOT_PASSWORD=');})->first();if ($rootPassword) {- $this->database->mysql_root_password = str($rootPassword)->after('MYSQL_ROOT_PASSWORD=')->value();+ $this->database->mariadb_root_password = str($rootPassword)->after('MYSQL_ROOT_PASSWORD=')->value();}}diff --git a/config/sentry.php b/config/sentry.phpindex 8710a39891..980c71a6cd 100644--- a/config/sentry.php+++ b/config/sentry.php@@ -7,7 +7,7 @@ return [// The release version of your application// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))- 'release' => '4.0.0-beta.130',+ 'release' => '4.0.0-beta.131',// When left empty or `null` the Laravel environment will be used'environment' => config('app.env'),diff --git a/config/version.php b/config/version.phpindex 9a7e0b2b70..4a865bbd4c 100644--- a/config/version.php+++ b/config/version.php@@ -1,3 +1,3 @@<?php-return '4.0.0-beta.130';+return '4.0.0-beta.131';diff --git a/versions.json b/versions.jsonindex 30c872a043..c960ce7d7b 100644--- a/versions.json+++ b/versions.json@@ -4,7 +4,7 @@"version": "3.12.36"},"v4": {- "version": "4.0.0-beta.130"+ "version": "4.0.0-beta.131"}}}