Hello
Je suis en train de passer en php-fpm 5.6. Mais depuis, lorsque j’essaie d’aller sur le marketplace, j’ai : An error occurred
error_log : uniquement cette page d’erreur d’affichée, et rien d’autre
une idée de logs ou je pourrai trouver l’origine du probleme ? dnas quelles conditions cette page se déclanche ?
merci !
1 Like
est ce qu’il y vraiement une equipe piwik qui regarde de temps en temps le forum ? je vois beaucoup de questions sans réponses ici
je pense pas qu’une équipe regarde de temps en temps le forum. C’est vrai que beaucoup de question reste sans réponses ici. De plus j’ai le même problème que toi et je n’arrive pas à le résoudre.
Bonjour @karan.gcuf
Depuis 2015, le temps a passé, et Innocraft et Matomo ont pu investir dans le suivi des différents canaux de support.
En ce qui concerne les fichiers de logs, il y a celui de Matomo et celui d’Apache. Pour ce dernier, je vous laisse voir la configuration que vous avez mise en placE. En ce qui concerne Matomo, vous toruverez ici la réponse à votre question :
Et pout revenir au problème initial, il y a peut-être une soution ici :
opened 06:58PM - 30 Jan 23 UTC
closed 07:37AM - 31 Jan 23 UTC
answered
## Expected Behavior
No segfault
## Current Behavior
At random intervals, m… atomo stops working. I can login, but I can't see any results in the dashboard, all attempts to process requests via the matomo-php-tracker all result in php-fpm segfaults, as seen below:
```
php-fpm[2355]: segfault at 7f10c583abd0 ip 0000557eeb067858 sp 00007ffeef69ec40 error 4 in php-fpm[557eead8f000+3f3000]
Code: f8 10 0f 84 aa 01 00 00 49 8b 46 18 f6 40 50 01 0f 85 94 00 00 00 49 8b 46 18 48 8b 40 50 48 8b 00 48 85 c0 0f 84 a0 00 00 00 <8b> 10 83 fa 01 76 2c f6 40 04 40 75 05 83 ea 01 89 10 48 89 c7 e8
php-fpm[2502]: segfault at 7f10c6145150 ip 0000557eeb067858 sp 00007ffeef69ec40 error 4 in php-fpm[557eead8f000+3f3000]
Code: f8 10 0f 84 aa 01 00 00 49 8b 46 18 f6 40 50 01 0f 85 94 00 00 00 49 8b 46 18 48 8b 40 50 48 8b 00 48 85 c0 0f 84 a0 00 00 00 <8b> 10 83 fa 01 76 2c f6 40 04 40 75 05 83 ea 01 89 10 48 89 c7 e8
php-fpm[2357]: segfault at 8 ip 0000557eeb0678a1 sp 00007ffeef69ec40 error 4 in php-fpm[557eead8f000+3f3000]
Code: 42 50 01 0f 85 93 00 00 00 49 8b 56 18 48 8b 52 50 48 89 02 41 8b 57 14 89 d5 83 e5 fc 48 03 68 10 83 e2 01 0f 84 8f 00 00 00 <0f> b6 45 08 3c 0b 0f 84 c3 00 00 00 3c 0a 0f 85 e3 00 00 00 48 8b
php-fpm[2643]: segfault at 8 ip 0000557eeb0678a1 sp 00007ffeef69ec40 error 4 in php-fpm[557eead8f000+3f3000]
Code: 42 50 01 0f 85 93 00 00 00 49 8b 56 18 48 8b 52 50 48 89 02 41 8b 57 14 89 d5 83 e5 fc 48 03 68 10 83 e2 01 0f 84 8f 00 00 00 <0f> b6 45 08 3c 0b 0f 84 c3 00 00 00 3c 0a 0f 85 e3 00 00 00 48 8b
php-fpm[2358]: segfault at 7f10c6145150 ip 0000557eeb067868 sp 00007ffeef69ec40 error 7 in php-fpm[557eead8f000+3f3000]
Code: 0f 85 94 00 00 00 49 8b 46 18 48 8b 40 50 48 8b 00 48 85 c0 0f 84 a0 00 00 00 8b 10 83 fa 01 76 2c f6 40 04 40 75 05 83 ea 01 <89> 10 48 89 c7 e8 4e 9e fc ff 49 8b 56 18 f6 42 50 01 0f 85 93 00
php-fpm[2503]: segfault at 8 ip 0000557eeb0678a1 sp 00007ffeef69ec40 error 4 in php-fpm[557eead8f000+3f3000]
Code: 42 50 01 0f 85 93 00 00 00 49 8b 56 18 48 8b 52 50 48 89 02 41 8b 57 14 89 d5 83 e5 fc 48 03 68 10 83 e2 01 0f 84 8f 00 00 00 <0f> b6 45 08 3c 0b 0f 84 c3 00 00 00 3c 0a 0f 85 e3 00 00 00 48 8b
php-fpm[2367]: segfault at 8 ip 0000557eeb0678a1 sp 00007ffeef69ec40 error 4 in php-fpm[557eead8f000+3f3000]
Code: 42 50 01 0f 85 93 00 00 00 49 8b 56 18 48 8b 52 50 48 89 02 41 8b 57 14 89 d5 83 e5 fc 48 03 68 10 83 e2 01 0f 84 8f 00 00 00 <0f> b6 45 08 3c 0b 0f 84 c3 00 00 00 3c 0a 0f 85 e3 00 00 00 48 8b
php-fpm[167398]: segfault at 8 ip 0000557eeb0678a1 sp 00007ffeef69ec40 error 4 in php-fpm[557eead8f000+3f3000]
Code: 42 50 01 0f 85 93 00 00 00 49 8b 56 18 48 8b 52 50 48 89 02 41 8b 57 14 89 d5 83 e5 fc 48 03 68 10 83 e2 01 0f 84 8f 00 00 00 <0f> b6 45 08 3c 0b 0f 84 c3 00 00 00 3c 0a 0f 85 e3 00 00 00 48 8b
php-fpm[2351]: segfault at 8 ip 0000557eeb0678a1 sp 00007ffeef69ec40 error 4 in php-fpm[557eead8f000+3f3000]
Code: 42 50 01 0f 85 93 00 00 00 49 8b 56 18 48 8b 52 50 48 89 02 41 8b 57 14 89 d5 83 e5 fc 48 03 68 10 83 e2 01 0f 84 8f 00 00 00 <0f> b6 45 08 3c 0b 0f 84 c3 00 00 00 3c 0a 0f 85 e3 00 00 00 48 8b
php-fpm[167400]: segfault at 8 ip 0000557eeb0678a1 sp 00007ffeef69ec40 error 4 in php-fpm[557eead8f000+3f3000]
Code: 42 50 01 0f 85 93 00 00 00 49 8b 56 18 48 8b 52 50 48 89 02 41 8b 57 14 89 d5 83 e5 fc 48 03 68 10 83 e2 01 0f 84 8f 00 00 00 <0f> b6 45 08 3c 0b 0f 84 c3 00 00 00 3c 0a 0f 85 e3 00 00 00 48 8b
php-fpm[167045]: segfault at 7f10c6145150 ip 0000557eeb067858 sp 00007ffeef69ec40 error 4 in php-fpm[557eead8f000+3f3000]
Code: f8 10 0f 84 aa 01 00 00 49 8b 46 18 f6 40 50 01 0f 85 94 00 00 00 49 8b 46 18 48 8b 40 50 48 8b 00 48 85 c0 0f 84 a0 00 00 00 <8b> 10 83 fa 01 76 2c f6 40 04 40 75 05 83 ea 01 89 10 48 89 c7 e8
php-fpm[2501]: segfault at 8 ip 0000557eeb0678a1 sp 00007ffeef69ec40 error 4 in php-fpm[557eead8f000+3f3000]
Code: 42 50 01 0f 85 93 00 00 00 49 8b 56 18 48 8b 52 50 48 89 02 41 8b 57 14 89 d5 83 e5 fc 48 03 68 10 83 e2 01 0f 84 8f 00 00 00 <0f> b6 45 08 3c 0b 0f 84 c3 00 00 00 3c 0a 0f 85 e3 00 00 00 48 8b
php-fpm[2356]: segfault at 8 ip 0000557eeb0678a1 sp 00007ffeef69ec40 error 4 in php-fpm[557eead8f000+3f3000]
Code: 42 50 01 0f 85 93 00 00 00 49 8b 56 18 48 8b 52 50 48 89 02 41 8b 57 14 89 d5 83 e5 fc 48 03 68 10 83 e2 01 0f 84 8f 00 00 00 <0f> b6 45 08 3c 0b 0f 84 c3 00 00 00 3c 0a 0f 85 e3 00 00 00 48 8b
php-fpm[167405]: segfault at 8 ip 0000557eeb0678a1 sp 00007ffeef69ec40 error 4 in php-fpm[557eead8f000+3f3000]
Code: 42 50 01 0f 85 93 00 00 00 49 8b 56 18 48 8b 52 50 48 89 02 41 8b 57 14 89 d5 83 e5 fc 48 03 68 10 83 e2 01 0f 84 8f 00 00 00 <0f> b6 45 08 3c 0b 0f 84 c3 00 00 00 3c 0a 0f 85 e3 00 00 00 48 8b
php-fpm[2365]: segfault at 8 ip 0000557eeb0678a1 sp 00007ffeef69ec40 error 4 in php-fpm[557eead8f000+3f3000]
Code: 42 50 01 0f 85 93 00 00 00 49 8b 56 18 48 8b 52 50 48 89 02 41 8b 57 14 89 d5 83 e5 fc 48 03 68 10 83 e2 01 0f 84 8f 00 00 00 <0f> b6 45 08 3c 0b 0f 84 c3 00 00 00 3c 0a 0f 85 e3 00 00 00 48 8b
php-fpm[169450]: segfault at 7fe80d8f50e0 ip 0000559fa9214858 sp 00007ffdf392db20 error 4 in php-fpm[559fa8f3c000+3f3000]
Code: f8 10 0f 84 aa 01 00 00 49 8b 46 18 f6 40 50 01 0f 85 94 00 00 00 49 8b 46 18 48 8b 40 50 48 8b 00 48 85 c0 0f 84 a0 00 00 00 <8b> 10 83 fa 01 76 2c f6 40 04 40 75 05 83 ea 01 89 10 48 89 c7 e8
php-fpm[169406]: segfault at 7fe80d8f50e0 ip 0000559fa9214858 sp 00007ffdf392db20 error 4 in php-fpm[559fa8f3c000+3f3000]
Code: f8 10 0f 84 aa 01 00 00 49 8b 46 18 f6 40 50 01 0f 85 94 00 00 00 49 8b 46 18 48 8b 40 50 48 8b 00 48 85 c0 0f 84 a0 00 00 00 <8b> 10 83 fa 01 76 2c f6 40 04 40 75 05 83 ea 01 89 10 48 89 c7 e8
php-fpm[169448]: segfault at 7fe80e331620 ip 0000559fa9214858 sp 00007ffdf392db20 error 4 in php-fpm[559fa8f3c000+3f3000]
Code: f8 10 0f 84 aa 01 00 00 49 8b 46 18 f6 40 50 01 0f 85 94 00 00 00 49 8b 46 18 48 8b 40 50 48 8b 00 48 85 c0 0f 84 a0 00 00 00 <8b> 10 83 fa 01 76 2c f6 40 04 40 75 05 83 ea 01 89 10 48 89 c7 e8
php-fpm[169452]: segfault at 7fe80e331620 ip 0000559fa9214858 sp 00007ffdf392db20 error 4 in php-fpm[559fa8f3c000+3f3000]
Code: f8 10 0f 84 aa 01 00 00 49 8b 46 18 f6 40 50 01 0f 85 94 00 00 00 49 8b 46 18 48 8b 40 50 48 8b 00 48 85 c0 0f 84 a0 00 00 00 <8b> 10 83 fa 01 76 2c f6 40 04 40 75 05 83 ea 01 89 10 48 89 c7 e8
php-fpm[169455]: segfault at 14600000001 ip 0000559fa9254c87 sp 00007ffdf392db40 error 6 in php-fpm[559fa8f3c000+3f3000]
Code: 66 0f ef c0 f2 0f 10 0f f2 48 0f 2a 06 e9 a8 e7 ff ff e8 dc 7f fc ff 41 ff 27 8b 50 10 48 8b 48 08 f6 c6 ff 0f 84 45 02 00 00 <83> 01 01 8b 50 10 49 83 c7 20 48 8b 40 08 89 56 08 48 89 06 41 ff
traps: php-fpm[169416] trap stack segment ip:559fa92148a1 sp:7ffdf392db20 error:0 in php-fpm[559fa8f3c000+3f3000]
php-fpm[174544]: segfault at 7fe80e535508 ip 0000559fa9214858 sp 00007ffdf392db20 error 4 in php-fpm[559fa8f3c000+3f3000]
Code: f8 10 0f 84 aa 01 00 00 49 8b 46 18 f6 40 50 01 0f 85 94 00 00 00 49 8b 46 18 48 8b 40 50 48 8b 00 48 85 c0 0f 84 a0 00 00 00 <8b> 10 83 fa 01 76 2c f6 40 04 40 75 05 83 ea 01 89 10 48 89 c7 e8
php-fpm[169411]: segfault at 7fe80e535508 ip 0000559fa9214858 sp 00007ffdf392db20 error 4 in php-fpm[559fa8f3c000+3f3000]
Code: f8 10 0f 84 aa 01 00 00 49 8b 46 18 f6 40 50 01 0f 85 94 00 00 00 49 8b 46 18 48 8b 40 50 48 8b 00 48 85 c0 0f 84 a0 00 00 00 <8b> 10 83 fa 01 76 2c f6 40 04 40 75 05 83 ea 01 89 10 48 89 c7 e8
php-fpm[169422]: segfault at 7fe80e535508 ip 0000559fa9214858 sp 00007ffdf392db20 error 4 in php-fpm[559fa8f3c000+3f3000]
Code: f8 10 0f 84 aa 01 00 00 49 8b 46 18 f6 40 50 01 0f 85 94 00 00 00 49 8b 46 18 48 8b 40 50 48 8b 00 48 85 c0 0f 84 a0 00 00 00 <8b> 10 83 fa 01 76 2c f6 40 04 40 75 05 83 ea 01 89 10 48 89 c7 e8
php-fpm[169412]: segfault at 7fe80e535508 ip 0000559fa9214858 sp 00007ffdf392db20 error 4 in php-fpm[559fa8f3c000+3f3000]
Code: f8 10 0f 84 aa 01 00 00 49 8b 46 18 f6 40 50 01 0f 85 94 00 00 00 49 8b 46 18 48 8b 40 50 48 8b 00 48 85 c0 0f 84 a0 00 00 00 <8b> 10 83 fa 01 76 2c f6 40 04 40 75 05 83 ea 01 89 10 48 89 c7 e8
php-fpm[169439]: segfault at 7fe80e535508 ip 0000559fa9214858 sp 00007ffdf392db20 error 4 in php-fpm[559fa8f3c000+3f3000]
Code: f8 10 0f 84 aa 01 00 00 49 8b 46 18 f6 40 50 01 0f 85 94 00 00 00 49 8b 46 18 48 8b 40 50 48 8b 00 48 85 c0 0f 84 a0 00 00 00 <8b> 10 83 fa 01 76 2c f6 40 04 40 75 05 83 ea 01 89 10 48 89 c7 e8
php-fpm[169444]: segfault at 8 ip 0000559fa92148a1 sp 00007ffdf392db20 error 4 in php-fpm[559fa8f3c000+3f3000]
Code: 42 50 01 0f 85 93 00 00 00 49 8b 56 18 48 8b 52 50 48 89 02 41 8b 57 14 89 d5 83 e5 fc 48 03 68 10 83 e2 01 0f 84 8f 00 00 00 <0f> b6 45 08 3c 0b 0f 84 c3 00 00 00 3c 0a 0f 85 e3 00 00 00 48 8b
php-fpm[174771]: segfault at 7fe80e535508 ip 0000559fa9214858 sp 00007ffdf392db20 error 4 in php-fpm[559fa8f3c000+3f3000]
Code: f8 10 0f 84 aa 01 00 00 49 8b 46 18 f6 40 50 01 0f 85 94 00 00 00 49 8b 46 18 48 8b 40 50 48 8b 00 48 85 c0 0f 84 a0 00 00 00 <8b> 10 83 fa 01 76 2c f6 40 04 40 75 05 83 ea 01 89 10 48 89 c7 e8
php-fpm[169425]: segfault at 7fe80e535508 ip 0000559fa9214858 sp 00007ffdf392db20 error 4 in php-fpm[559fa8f3c000+3f3000]
Code: f8 10 0f 84 aa 01 00 00 49 8b 46 18 f6 40 50 01 0f 85 94 00 00 00 49 8b 46 18 48 8b 40 50 48 8b 00 48 85 c0 0f 84 a0 00 00 00 <8b> 10 83 fa 01 76 2c f6 40 04 40 75 05 83 ea 01 89 10 48 89 c7 e8
traps: php-fpm[169430] trap stack segment ip:559fa92148a1 sp:7ffdf392db20 error:0 in php-fpm[559fa8f3c000+3f3000]
php-fpm[169433]: segfault at 8 ip 0000559fa92148a1 sp 00007ffdf392db20 error 4 in php-fpm[559fa8f3c000+3f3000]
Code: 42 50 01 0f 85 93 00 00 00 49 8b 56 18 48 8b 52 50 48 89 02 41 8b 57 14 89 d5 83 e5 fc 48 03 68 10 83 e2 01 0f 84 8f 00 00 00 <0f> b6 45 08 3c 0b 0f 84 c3 00 00 00 3c 0a 0f 85 e3 00 00 00 48 8b
php-fpm[169446]: segfault at 7fe80e535508 ip 0000559fa9214858 sp 00007ffdf392db20 error 4 in php-fpm[559fa8f3c000+3f3000]
Code: f8 10 0f 84 aa 01 00 00 49 8b 46 18 f6 40 50 01 0f 85 94 00 00 00 49 8b 46 18 48 8b 40 50 48 8b 00 48 85 c0 0f 84 a0 00 00 00 <8b> 10 83 fa 01 76 2c f6 40 04 40 75 05 83 ea 01 89 10 48 89 c7 e8
php-fpm[169414]: segfault at 559fa92bfb40 ip 0000559fa92149c0 sp 00007ffdf392db20 error 7 in php-fpm[559fa8f3c000+3f3000]
Code: 00 00 e8 43 15 f9 ff 48 be 02 00 00 00 0a 00 00 00 48 89 30 48 8b 4d 00 8b 55 08 48 c7 40 18 00 00 00 00 48 89 48 08 89 50 10 <48> 89 45 00 c7 45 08 0a 01 00 00 48 89 03 c7 43 08 0a 01 00 00 e9
php-fpm[169427]: segfault at 7fe80e24e0a8 ip 0000559fa9214858 sp 00007ffdf392db20 error 4 in php-fpm[559fa8f3c000+3f3000]
Code: f8 10 0f 84 aa 01 00 00 49 8b 46 18 f6 40 50 01 0f 85 94 00 00 00 49 8b 46 18 48 8b 40 50 48 8b 00 48 85 c0 0f 84 a0 00 00 00 <8b> 10 83 fa 01 76 2c f6 40 04 40 75 05 83 ea 01 89 10 48 89 c7 e8
```
When this happens, matomo displays the following error:
```
Oops… there was a problem during the request. Maybe the server had a temporary issue, or maybe you requested a report with too much data. Please try again. If this error occurs repeatedly please contact your Matomo administrator for assistance.
```
## Possible Solution
No idea. Since this is a production server, I can't run debug stuff.
Temporarily, I can run `systemctl restart php-fpm` and matomo goes back to working fine, but eventually it will reach a point when it starts segfaulting again.
## Steps to Reproduce (for Bugs)
Unfortunately, I can't reliably reproduce the issue, it just happens randomly (I think).
## Context
I just login and see real time visits. Tracking is done via the matomo-php-tracker (not the javascript code). I am using AlmaLinux, Apache 2.4.37 and PHP 7.4.30, all official packages as supported by RHEL. The server also runs other PHP projects, only Matomo is affected, no other php-fpm process has issues.
Thank you.
## Your Environment
* Matomo Version: 4.13.3
* PHP Version: 7.4.30
* Server Operating System: AlmaLinux 8.7
* Additionally installed plugins: none
* Browser: Firefox 109
* Operating System: Fedora Linux
Bonjour,
J’ai le même souci, avec une install de Matomo avec un Docker-compose : pas de MarketPlace, il est vide.
Je l’ai installer sur une autre VM toujours avec le même Docker-compose, et la ça fonctionne.
VM 1 : Docker version 26.1.3, build b72abbb, Docker Compose version v2.27.0
VM 2 : Docker version 27.2.1, build 9e34c9b, Docker Compose version v2.29.2
Même OS et même niveau de mise à jours pour les deux VM.
Maintenant reste à savoir comment le marketplace communique pour comprendre la différence d’install ou de conf dans mes docker …
Fred
Bonjour @kiterfoo
Essaye de regarder dans les logs de Matomo, pour voir s’il y a une erreur.
Sinon, en principe, le MarketPlace communique avec un lien HTTP entre ton serveur hébergeant Matomo et les plugins de Matomo. N’y a-t-il pas un blocage (firewall ou autre) ?
Pour info, certains paramètres empêchent Matomo de communiquer avec l’extérieur :
Bonjour,
Merci pour cette réponse, j’ai comparé les deux logs des deux serveurs, et la seule ligne qui diffère est la suivante :
[warn] 36#36: *44 an upstream response is buffered to a temporary file /var/cache/nginx/fastcgi_temp/7/00/0000000007 while reading upstream, client: 10.34.103.180, server: , request: “GET /index.php?module=Marketplace&action=overview&idSite=1&period=day&date=2024-09-18&activated=&mode=admin&type=&show= HTTP/1.1”, upstream: “fastcgi://192.168.64.4:9000”, host: “yy.xx.fr ”, referrer: “https://yy.xx.fr/ ”
Je vais continué mes recherche sur cette difference, même si ce n’est pas une erreur en soit.
Fred
Bonjour @kiterfoo
Ça semble lié !
J’ai trouvé cela :
Bonsoir,
J’ai ajouté dans la conf nginx :
location ~ ^/(index|matomo|piwik|js/index|plugins/HeatmapSessionRecording/configs).php {
La ligne suivante :
proxy_max_temp_file_size 0;
Ce qui règle mon message [warn], mais toujours pas de marketplace
J’ai vu sur un autre Forum allemand le même souci que moi, mais sans réponse …
ça sent pas bon pour moi