coollabsio/coolify · error · RuntimeException

Delete this directory backup schedule and its archives befor

Error message

Delete this directory backup schedule and its archives before converting it to a file.

What it means

Error "Delete this directory backup schedule and its archives before converting it to a file." thrown in coollabsio/coolify.

Source

Thrown at app/Livewire/Project/Service/FileStorage.php:192

            }

            $this->fileStorage->loadStorageOnServer();
            $this->syncData();
            $this->dispatch('success', 'File storage loaded from server.');
        } catch (\Throwable $e) {
            return handleError($e, $this);
        } finally {
            $this->dispatch('refreshStorages');
        }
    }

    public function convertToFile()
    {
        try {
            $this->authorize('update', $this->resource);

            if ($this->fileStorage->scheduledBackups()->exists()) {
                throw new \RuntimeException('Delete this directory backup schedule and its archives before converting it to a file.');
            }

            if ($this->fileStorage->is_host_file) {
                throw new \Exception('Host file mounts are bind-only and cannot be converted.');
            }

            $this->fileStorage->deleteStorageOnServer();
            $this->fileStorage->is_directory = false;
            $this->fileStorage->content = null;
            if (data_get($this->resource, 'settings.is_preserve_repository_enabled')) {
                $this->fileStorage->is_based_on_git = true;
            }
            $this->fileStorage->save();
            $this->fileStorage->saveStorageOnServer();
        } catch (\Throwable $e) {
            return handleError($e, $this);
        } finally {
            $this->dispatch('refreshStorages');

View on GitHub (pinned to 70b9acc424)

When it happens

Trigger: Thrown at app/Livewire/Project/Service/FileStorage.php:192 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of coollabsio/coolify@70b9acc424 (2026-08-17). Data as JSON: /api/errors/29b70a04b8547105. Report an issue: GitHub.