From 1b277ad388c9c01181b23ef5376f0b39c3fce964 Mon Sep 17 00:00:00 2001 From: Jimmy Monin Date: Thu, 24 May 2018 20:31:58 +0200 Subject: [PATCH] Add phpMyAdmin temporary folder with needed rights (See here: https://stackoverflow.com/questions/49730100/error-in-phpmyadmin-after-updating-to-v4-8-0-the-cfgtempdir-tmp-is-no) --- scripts/install | 3 +++ scripts/upgrade | 3 +++ 2 files changed, 6 insertions(+) diff --git a/scripts/install b/scripts/install index 9fda0c2..e9aacbb 100644 --- a/scripts/install +++ b/scripts/install @@ -135,6 +135,9 @@ chown -R root: $final_path # config.inc.php contains sensitive data, restrict its access chown root:$app $final_path/config.inc.php chmod 640 $final_path/config.inc.php +# Setup phpMyAdmin temporary folder +mkdir $final_path/tmp +chown $app: $final_path/tmp #================================================= # SETUP SSOWAT diff --git a/scripts/upgrade b/scripts/upgrade index 3bd8553..8eb660c 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -151,6 +151,9 @@ chown -R root: $final_path # config.inc.php contains sensitive data, restrict its access chown root:$app $final_path/config.inc.php chmod 640 $final_path/config.inc.php +# Setup phpMyAdmin temporary folder +mkdir $final_path/tmp +chown $app: $final_path/tmp #================================================= # SETUP SSOWAT