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: Permission issues
Andras Bacsai4ba2205af4db
diff --git a/src/lib/components/Setting.svelte b/src/lib/components/Setting.svelteindex 7d87dd6fb7..d7b028861d 100644--- a/src/lib/components/Setting.svelte+++ b/src/lib/components/Setting.svelte@@ -28,8 +28,9 @@aria-pressed="false"class="relative mx-20 inline-flex h-6 w-11 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out"class:opacity-50={disabled || loading}- class:bg-green-600={setting}- class:bg-stone-700={!setting}+ class:bg-green-600={!loading && setting}+ class:bg-stone-700={!loading && !setting}+ class:bg-yellow-500={loading}><span class="sr-only">Use setting</span><spandiff --git a/src/routes/services/[id]/wordpress/settings.json.ts b/src/routes/services/[id]/wordpress/settings.json.tsindex 6d6d730ae4..13d6685bf3 100644--- a/src/routes/services/[id]/wordpress/settings.json.ts+++ b/src/routes/services/[id]/wordpress/settings.json.ts@@ -68,6 +68,7 @@ export const post: RequestHandler = async (event) => {} else {await asyncExecShell(`echo "${decrypt(ftpHostKeyPrivate)}" > ${hostkeyDir}/${id}.rsa`);}+ await asyncExecShell(`chmod -R 600 ${hostkeyDir}`);const { network, engine } = destinationDocker;const host = getEngine(engine);if (ftpEnabled) {