[REGLE] Archive impossible avec V.2.1.0


#1

Bonjour,

Je viens juste de mettre à jour ma version vers la dernière version et depuis ma tache CRON d’archivage ne fonctionne plus.
Voici l’erreur que j’ai :

Error in the last Piwik archive.php run:
The Piwik URL http://monsite.net/index.php does not seem to be pointing to a Piwik server. Response was ‘
Warning: system() has been disabled for security reasons in /home/tdconce1/public_html/stats/core/CliMulti/Process.php on line 158
a:34:{s:9:“nb_visits”;s:6:“Visits”;s:16:“nb_uniq_visitors”;s:15:“Unique visitors”;s:10:“nb_actions”;s:7:“Actions”;s:20:“nb_actions_per_visit”;s:17:“Actions per Visit”;s:16:“avg_time_on_site”;s:20:“Avg. Time on Website”;s:11:“bounce_rate”;s:11:“Bounce Rate”;s:15:“conversion_rate”;s:15:“Conversion Rate”;s:5:“label”;s:5:“Label”;s:4:“date”;s:4:“Date”;s:16:“avg_time_on_page”;s:17:“Avg. time on page”;s:14:“sum_time_spent”;s:41:“Total time spent by visitors (in seconds)”;s:16:“sum_visit_length”;s:41:“Total time spent by visitors (in seconds)”;s:12:“bounce_count”;s:7:“Bounces”;s:22:“bounce_count_returning”;s:33:“Bounce Count for Returning Visits”;s:11:“max_actions”;s:28:“Maximum actions in one visit”;s:21:“max_actions_returning”;s:38:“Maximum actions in one returning visit”;s:29:“nb_visits_converted_returning”;s:36:“Number of converted returning visits”;s:26:“sum_visit_length_returning”;s:51:“Total time spent by returning visitors (in seconds)”;s:19:“nb_visits_converted”;s:23:“Visits with Conversions”;s:14:“nb_conversions”;s:11:“Conversions”;s:7:“revenue”;s:7:“Revenue”;s:7:“nb_hits”;s:9:“Pageviews”;s:15:“entry_nb_visits”;s:9:“Entrances”;s:22:“entry_nb_uniq_visitors”;s:16:“Unique entrances”;s:14:“exit_nb_visits”;s:5:“Exits”;s:21:“exit_nb_uniq_visitors”;s:12:“Unique exits”;s:18:“entry_bounce_count”;s:7:“Bounces”;s:17:“exit_bounce_count”;s:7:“Bounces”;s:9:“exit_rate”;s:9:“Exit rate”;s:26:“sum_daily_nb_uniq_visitors”;s:27:“Unique visitors (daily sum)”;s:32:“sum_daily_entry_nb_uniq_visitors”;s:28:“Unique entrances (daily sum)”;s:31:“sum_daily_exit_nb_uniq_visitors”;s:24:“Unique exits (daily sum)”;s:16:“entry_nb_actions”;s:27:“Actions after entering here”;s:22:“entry_sum_visit_length”;s:61:“Total time spent by visitors (in seconds) after entering here”;}’.

Here is the full errors output:


INIT
Querying Piwik API at: http://monsite.net/index.php
Running Piwik 2.1.0 as Super User: admin
ERROR: The Piwik URL http://monsite.net/index.php does not seem to be pointing to a Piwik server. Response was ‘
Warning: system() has been disabled for security reasons in /home/tdconce1/public_html/stats/core/CliMulti/Process.php on line 158
a:34:{s:9:“nb_visits”;s:6:“Visits”;s:16:“nb_uniq_visitors”;s:15:“Unique visitors”;s:10:“nb_actions”;s:7:“Actions”;s:20:“nb_actions_per_visit”;s:17:“Actions per Visit”;s:16:“avg_time_on_site”;s:20:“Avg. Time on Website”;s:11:“bounce_rate”;s:11:“Bounce Rate”;s:15:“conversion_rate”;s:15:“Conversion Rate”;s:5:“label”;s:5:“Label”;s:4:“date”;s:4:“Date”;s:16:“avg_time_on_page”;s:17:“Avg. time on page”;s:14:“sum_time_spent”;s:41:“Total time spent by visitors (in seconds)”;s:16:“sum_visit_length”;s:41:“Total time spent by visitors (in seconds)”;s:12:“bounce_count”;s:7:“Bounces”;s:22:“bounce_count_returning”;s:33:“Bounce Count for Returning Visits”;s:11:“max_actions”;s:28:“Maximum actions in one visit”;s:21:“max_actions_returning”;s:38:“Maximum actions in one returning visit”;s:29:“nb_visits_converted_returning”;s:36:“Number of converted returning visits”;s:26:“sum_visit_length_returning”;s:51:“Total time spent by returning visitors (in seconds)”;s:19:“nb_visits_converted”;s:23:“Visits with Conversions”;s:14:“nb_conversions”;s:11:“Conversions”;s:7:“revenue”;s:7:“Revenue”;s:7:“nb_hits”;s:9:“Pageviews”;s:15:“entry_nb_visits”;s:9:“Entrances”;s:22:“entry_nb_uniq_visitors”;s:16:“Unique entrances”;s:14:“exit_nb_visits”;s:5:“Exits”;s:21:“exit_nb_uniq_visitors”;s:12:“Unique exits”;s:18:“entry_bounce_count”;s:7:“Bounces”;s:17:“exit_bounce_count”;s:7:“Bounces”;s:9:“exit_rate”;s:9:“Exit rate”;s:26:“sum_daily_nb_uniq_visitors”;s:27:“Unique visitors (daily sum)”;s:32:“sum_daily_entry_nb_uniq_visitors”;s:28:“Unique entrances (daily sum)”;s:31:“sum_daily_exit_nb_uniq_visitors”;s:24:“Unique exits (daily sum)”;s:16:“entry_nb_actions”;s:27:“Actions after entering here”;s:22:“entry_sum_visit_length”;s:61:“Total time spent by visitors (in seconds) after entering here”;}’.

Quand je fais cette tache manuellement en passant par cette adresse :

http://monsite.net/misc/cron/archive.php?token_auth=xxxxxxxxxxxxxxxxxxxxxxx

Je n’ai aucun soucis, tout se fait normalement.

S’il vous plait aidez moi c’est trés urgent !!


(Matthieu Aubry) #2

Merci du rapport! j’ai essaye de corriger le probleme: Do not use system() as it is sometimes disabled · matomo-org/matomo@dfff459 · GitHub

essaye d’appliquer ce patch et ce devrait corriger l’erreur ?


#3

Bonjour,

J’ai fait un copier/coller du code donné sur le lien dans le fichier présent sur mon serveur.

J’ai remis en fonction la tache CRON, elle s’est exécuté 1 fois pour le moment et je n’ai pas reçu d’email d’erreur.

A priori cela semble fonctionner (tu)(:P)

D’autres personnes avaient cette erreur ?

Merci