diff --git a/apps/api/src/routes/api/v1/services/handlers.ts b/apps/api/src/routes/api/v1/services/handlers.ts index 9b5b84042..02943b18f 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.json index 2805130d2..cab9ecc80 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}}.

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.

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.svelte index 598c7b62d..bc259cbd6 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.svelte index 2980426ea..587ab4acd 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.svelte index 0d0fa158e..30866b1e7 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.svelte index 0a33c1402..6b8245973 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.svelte index 47acc27af..43ea7c871 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 {