coollabsio/coolify · error · Exception

Host file mounts are bind-only and cannot be converted.

Error message

Host file mounts are bind-only and cannot be converted.

What it means

Error "Host file mounts are bind-only and cannot be converted." thrown in coollabsio/coolify.

Source

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

            $this->fileStorage->is_based_on_git = $this->isBasedOnGit;
            $this->fileStorage->is_preview_suffix_enabled = $this->isPreviewSuffixEnabled;

            $this->fileStorage->save();
        } else {
            // Sync from model
            $this->content = $this->fileStorage->content;
            $this->isBasedOnGit = $this->fileStorage->is_based_on_git;
            $this->isPreviewSuffixEnabled = $this->fileStorage->is_preview_suffix_enabled ?? true;
        }
    }

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

            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 = true;
            $this->fileStorage->content = null;
            $this->fileStorage->is_based_on_git = false;
            $this->fileStorage->save();
            $this->fileStorage->saveStorageOnServer();
        } catch (\Throwable $e) {
            return handleError($e, $this);
        } finally {
            $this->dispatch('refreshStorages');
        }
    }

    public function loadStorageOnServer()
    {
        try {

View on GitHub (pinned to 70b9acc424)

When it happens

Trigger: Thrown at app/Livewire/Project/Service/FileStorage.php:151 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/7cf7409c947d7693. Report an issue: GitHub.