LOAD DATA INFILE Debian 10 => impasse!

peut-être un problème de droit sur les répertoires ?
En supposant que ton instance de Matomo est installée dans /var/www/matomo et que l’utilisateur www-data est utilisé pour apache (c’est le cas pour debian 10)
voici les commandes pour appliquer les bons accès :

sudo chown -R www-data:www-data /var/www/matomo
sudo find /var/www/matomo/tmp -type f -exec chmod 644 {} \;
sudo find /var/www/matomo/tmp -type d -exec chmod 755 {} \;
sudo find /var/www/matomo/tmp/assets/ -type f -exec chmod 644 {} \;
sudo find /var/www/matomo/tmp/assets/ -type d -exec chmod 755 {} \;
sudo find /var/www/matomo/tmp/cache/ -type f -exec chmod 644 {} \;
sudo find /var/www/matomo/tmp/cache/ -type d -exec chmod 755 {} \;
sudo find /var/www/matomo/tmp/logs/ -type f -exec chmod 644 {} \;
sudo find /var/www/matomo/tmp/logs/ -type d -exec chmod 755 {} \;
sudo find /var/www/matomo/tmp/tcpdf/ -type f -exec chmod 644 {} \;
sudo find /var/www/matomo/tmp/tcpdf/ -type d -exec chmod 755 {} \;
sudo find /var/www/matomo/tmp/templates_c/ -type f -exec chmod 644 {} \;
sudo find /var/www/matomo/tmp/templates_c/ -type d -exec chmod 755 {} \;
1 Like