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: Wordpress FTP permission issues
Andras Bacsaiedfed57df34e
diff --git a/apps/api/src/routes/api/v1/services/handlers.ts b/apps/api/src/routes/api/v1/services/handlers.tsindex 9b5b840429..02943b18f6 100644--- a/apps/api/src/routes/api/v1/services/handlers.ts+++ b/apps/api/src/routes/api/v1/services/handlers.ts@@ -2539,7 +2539,7 @@ export async function activateWordpressFtp(request: FastifyRequest, reply: Fasti};await fs.writeFile(`${hostkeyDir}/${id}.sh`,- `#!/bin/bash\nchmod 600 /etc/ssh/ssh_host_ed25519_key /etc/ssh/ssh_host_rsa_key\nuserdel -f xfs`+ `#!/bin/bash\nchmod 600 /etc/ssh/ssh_host_ed25519_key /etc/ssh/ssh_host_rsa_key\nuserdel -f xfs\nchown -R 33:33 /home/${ftpUser}/wordpress/`);await asyncExecShell(`chmod +x ${hostkeyDir}/${id}.sh`);await fs.writeFile(`${hostkeyDir}/${id}-docker-compose.yml`, yaml.dump(compose));diff --git a/apps/ui/src/lib/locales/en.json b/apps/ui/src/lib/locales/en.jsonindex 2805130d26..cab9ecc80e 100644--- a/apps/ui/src/lib/locales/en.json+++ b/apps/ui/src/lib/locales/en.json@@ -180,7 +180,7 @@"domain_already_in_use": "Domain {{domain}} is already used.","dns_not_set_error": "DNS not set correctly or propogated for {{domain}}.<br><br>Please check your DNS settings.","domain_required": "Domain is required.",- "settings_saved": "Settings saved.",+ "settings_saved": "Configuration saved.","dns_not_set_partial_error": "DNS not set","domain_not_valid": "Could not resolve domain or it's not pointing to the server IP address.<br><br>Please check your DNS configuration and try again.","git_source": "Git Source",diff --git a/apps/ui/src/routes/databases/[id]/_Databases/_Databases.svelte b/apps/ui/src/routes/databases/[id]/_Databases/_Databases.svelteindex 598c7b62d7..bc259cbd6b 100644--- a/apps/ui/src/routes/databases/[id]/_Databases/_Databases.svelte+++ b/apps/ui/src/routes/databases/[id]/_Databases/_Databases.svelte@@ -89,7 +89,7 @@loading = true;await post(`/databases/${id}`, { ...database, isRunning: $status.database.isRunning });generateDbDetails();- toast.push('Settings saved.');+ toast.push('Configuration saved.');} catch (error) {return errorNotification(error);} finally {diff --git a/apps/ui/src/routes/services/[id]/_Services/_Services.svelte b/apps/ui/src/routes/services/[id]/_Services/_Services.svelteindex 2980426ea0..587ab4acdd 100644--- a/apps/ui/src/routes/services/[id]/_Services/_Services.svelte+++ b/apps/ui/src/routes/services/[id]/_Services/_Services.svelte@@ -45,7 +45,7 @@});await post(`/services/${id}`, { ...service });$disabledButton = false;- toast.push('Settings saved.');+ toast.push('Configuration saved.');} catch (error) {return errorNotification(error);} finally {diff --git a/apps/ui/src/routes/services/[id]/__layout.svelte b/apps/ui/src/routes/services/[id]/__layout.svelteindex 0d0fa158e8..30866b1e7c 100644--- a/apps/ui/src/routes/services/[id]/__layout.svelte+++ b/apps/ui/src/routes/services/[id]/__layout.svelte@@ -109,6 +109,7 @@loading = true;try {await post(`/services/${service.id}/${service.type}/start`, {});+ return window.location.reload()} catch (error) {return errorNotification(error);} finally {diff --git a/apps/ui/src/routes/sources/[id]/_Github.svelte b/apps/ui/src/routes/sources/[id]/_Github.svelteindex 0a33c14026..6b8245973c 100644--- a/apps/ui/src/routes/sources/[id]/_Github.svelte+++ b/apps/ui/src/routes/sources/[id]/_Github.svelte@@ -20,7 +20,7 @@htmlUrl: source.htmlUrl.replace(/\/$/, ''),apiUrl: source.apiUrl.replace(/\/$/, '')});- toast.push('Settings saved.');+ toast.push('Configuration saved.');} catch (error) {return errorNotification(error);} finally {diff --git a/apps/ui/src/routes/sources/[id]/_Gitlab.svelte b/apps/ui/src/routes/sources/[id]/_Gitlab.svelteindex 47acc27af9..43ea7c8716 100644--- a/apps/ui/src/routes/sources/[id]/_Gitlab.svelte+++ b/apps/ui/src/routes/sources/[id]/_Gitlab.svelte@@ -69,7 +69,7 @@htmlUrl: source.htmlUrl.replace(/\/$/, ''),apiUrl: source.apiUrl.replace(/\/$/, '')});- toast.push('Settings saved.');+ toast.push('Configuration saved.');} catch (error) {return errorNotification(error);} finally {