From 7609636ef4c501e21437e432e68cb717b08f4cbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 16 Sep 2020 22:35:56 +0200 Subject: [PATCH] Testing (#7) - Explicity set the correct owner and group for the data dir during backup restore Co-authored-by: Rasmus Mattsson Kallio --- issue_template.md | 8 ++++---- manifest.json | 4 ++-- scripts/restore | 1 + 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/issue_template.md b/issue_template.md index d2236f2..5bf8a81 100644 --- a/issue_template.md +++ b/issue_template.md @@ -7,8 +7,8 @@ about: Create a report to help us debug, it would be nice to fill the template a **How to post a meaningful bug report** 1. *Read this whole template first.* 2. *Determine if you are on the right place:* - - *If you were performing an action on the app from the webadmin or the CLI (install, update, backup, restore, change url...), you are on the right place!* - - *Otherwise, the issue may be due to HedgeDoc itself. Refer to its documentation or repository for help.* + - *If you were performing an action on the app from the webadmin or the CLI (install, update, backup, restore, change_url...), you are on the right place!* + - *Otherwise, the issue may be due to Droppy itself. Refer to its documentation or repository for help.* - *If you have a doubt, post here, we will figure it out together.* 3. *Delete the italic comments as you write over them below, and remove this guide.* --- @@ -34,8 +34,8 @@ about: Create a report to help us debug, it would be nice to fill the template a - *If you used the webadmin, please perform the equivalent command from the CLI first.* - *If the error occurs in your browser, explain what you did:* 1. *Go to '...'* - 2. *Click on '....'* - 3. *Scroll down to '....'* + 2. *Click on '...'* + 3. *Scroll down to '...'* 4. *See error* **Expected behavior** diff --git a/manifest.json b/manifest.json index e71e4ac..6a2b82e 100644 --- a/manifest.json +++ b/manifest.json @@ -6,11 +6,11 @@ "en": "Self-hosted file storage server", "fr": "Serveur de stockage de fichiers auto-hébergé" }, - "version": "12.2.0~ynh1", + "version": "12.2.0~ynh2", "url": "https://github.com/silverwind/droppy", "license": "BSD-2-Clause", "maintainer": { - "name": "" + "name": "eric_G" }, "requirements": { "yunohost": ">= 3.8.1" diff --git a/scripts/restore b/scripts/restore index 873b5d8..13dfe47 100644 --- a/scripts/restore +++ b/scripts/restore @@ -96,6 +96,7 @@ systemctl enable $app.service #================================================= ynh_restore_file "/home/yunohost.app/$app" +chown -R "$app:$app" "/home/yunohost.app/$app" #================================================= # INTEGRATE SERVICE IN YUNOHOST