From 524aaf9db04114cfe7292e34818051e2a70ed80e Mon Sep 17 00:00:00 2001 From: Bohdan Shulha Date: Sun, 25 Aug 2024 15:32:56 +0200 Subject: [PATCH] chore: add os notice to readme --- README.md | 6 ++++++ bootstrap/app.php | 5 +---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index cc595ea..d53d4ef 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,12 @@ We would like to extend our thanks to the following sponsors for funding Ptah.sh - _None so far_ +## Suppoted Operating Systems + +Currently we support only the latest stable Ubuntu (24.04) with x86_64 architecture. You can build Agent and/or the server software for other operating systems, but no guarantee it will work. + +In case of any trouble, please ask for help in the [community chat](https://r.ptah.sh/chat). + ## Contributing Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [CONTRIBUTING.md](https://github.com/ptah-sh/ptah-server/blob/main/CONTRIBUTING.md). diff --git a/bootstrap/app.php b/bootstrap/app.php index 81bd98e..dc85d1e 100644 --- a/bootstrap/app.php +++ b/bootstrap/app.php @@ -61,13 +61,10 @@ ) use ($schedule) { foreach ($services as $service) { foreach ($service->latestDeployment->data->processes as $process) { - // FIXME: this is an array when running migrations - if (is_array($process)) { - continue; - } if ($process->replicas === 0) { continue; } + foreach ($process->volumes as $volume) { $backupSchedule = $volume->backupSchedule; if ($backupSchedule === null) {