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: Vscode permission fix
Andras Bacsai68f2f4f97832
diff --git a/src/routes/services/[id]/vscodeserver/start.json.ts b/src/routes/services/[id]/vscodeserver/start.json.tsindex e928de7bba..4ca29c215c 100644--- a/src/routes/services/[id]/vscodeserver/start.json.ts+++ b/src/routes/services/[id]/vscodeserver/start.json.ts@@ -100,12 +100,13 @@ export const post: RequestHandler = async (event) => {await asyncExecShell(`DOCKER_HOST=${host} docker compose -f ${composeFileDestination} up -d`);const changePermissionOn = persistentStorage.map((p) => p.path);-- await asyncExecShell(- `DOCKER_HOST=${host} docker exec -u root ${id} chown -R 1000:1000 ${changePermissionOn.join(- ' '- )}`- );+ if (changePermissionOn.length > 0) {+ await asyncExecShell(+ `DOCKER_HOST=${host} docker exec -u root ${id} chown -R 1000:1000 ${changePermissionOn.join(+ ' '+ )}`+ );+ }return {status: 200};