{"record":{"id":"11c5d4052188fecf","repo":"coollabsio/coolify","slug":"host-file-mounts-are-bind-only-and-cannot-be-loade","errorCode":null,"errorMessage":"Host file mounts are bind-only and cannot be loaded from the server.","messagePattern":"Host file mounts are bind-only and cannot be loaded from the server\\.","errorType":"exception","errorClass":"Exception","httpStatus":null,"severity":"error","filePath":"app/Livewire/Project/Service/FileStorage.php","lineNumber":173,"sourceCode":"            $this->fileStorage->is_directory = true;\n            $this->fileStorage->content = null;\n            $this->fileStorage->is_based_on_git = false;\n            $this->fileStorage->save();\n            $this->fileStorage->saveStorageOnServer();\n        } catch (\\Throwable $e) {\n            return handleError($e, $this);\n        } finally {\n            $this->dispatch('refreshStorages');\n        }\n    }\n\n    public function loadStorageOnServer()\n    {\n        try {\n            $this->authorize('update', $this->resource);\n\n            if ($this->fileStorage->is_host_file) {\n                throw new \\Exception('Host file mounts are bind-only and cannot be loaded from the server.');\n            }\n\n            $this->fileStorage->loadStorageOnServer();\n            $this->syncData();\n            $this->dispatch('success', 'File storage loaded from server.');\n        } catch (\\Throwable $e) {\n            return handleError($e, $this);\n        } finally {\n            $this->dispatch('refreshStorages');\n        }\n    }\n\n    public function convertToFile()\n    {\n        try {\n            $this->authorize('update', $this->resource);\n\n            if ($this->fileStorage->scheduledBackups()->exists()) {","sourceCodeStart":155,"sourceCodeEnd":191,"githubUrl":"https://github.com/coollabsio/coolify/blob/70b9acc42467278373e00de77abb40684e25b395/app/Livewire/Project/Service/FileStorage.php#L155-L191","documentation":"Error \"Host file mounts are bind-only and cannot be loaded from the server.\" thrown in coollabsio/coolify.","triggerScenarios":"Thrown at app/Livewire/Project/Service/FileStorage.php:173 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"70b9acc42467278373e00de77abb40684e25b395","analyzedAt":"2026-08-17T01:41:01.313Z","schemaVersion":2},"datasetVersion":"2026-08-17T04:17:16.089Z"}