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(LocalFileVolume): add missing directory creation command for workdir in saveStorageOnServer method
Andras Bacsai45ca76ed1cee
diff --git a/app/Models/LocalFileVolume.php b/app/Models/LocalFileVolume.phpindex c56cd76947..b3e71d75de 100644--- a/app/Models/LocalFileVolume.php+++ b/app/Models/LocalFileVolume.php@@ -119,6 +119,7 @@ class LocalFileVolume extends BaseModel$commands = collect([]);if ($this->is_directory) {$commands->push("mkdir -p $this->fs_path > /dev/null 2>&1 || true");+ $commands->push("mkdir -p $workdir > /dev/null 2>&1 || true");$commands->push("cd $workdir");}if (str($this->fs_path)->startsWith('.') || str($this->fs_path)->startsWith('/') || str($this->fs_path)->startsWith('~')) {