[matomo-web] matomo: Run database migrations on start



commit 81ca21068923b9858a66ff650dac1e768f5d4a61
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Tue Mar 2 08:54:26 2021 +0100

    matomo: Run database migrations on start

 matomo/start.sh | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/matomo/start.sh b/matomo/start.sh
index 2bf7795..4631df1 100755
--- a/matomo/start.sh
+++ b/matomo/start.sh
@@ -4,4 +4,5 @@
 cp /usr/local/share/GeoIP/*.mmdb /var/www/html/misc
 
 cp -r /opt/matomo/extra-plugins/* /var/www/html/plugins/
+php /var/www/html/console core:update --yes
 php-fpm


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]