S.O.S. Nessuna diagnostica e tanti ooopppsss

Buon salve a tutti, sono un camionista che ha l’ambizione di creare uno strumento web che possa aiutare i colleghi a non sbagliare sul proprio cronotachigrafo digitale.
Ho installato matomo al posto di google Analytics (che ha fatto tutto da sè, buon anima) . Il buon matomo però mi da questo errore e non mi traccia niente. Ho fatto e rifatto il troubleshooting, ma niente. Ah un altra cosa , i report si imbarazzano con OOOOPPPS… un disastro…
Aiuto sigh
shell_exec
It is recommended to turn on this PHP built-in function. Read this to learn more.
set_time_limit
mail
parse_ini_file
glob
gzopen
md5_file

ah non mi apre nemmeno la pagina admin matomo, apposto siamo.

Ciao, benvenuto :truck: :articulated_lorry:
occorre verificare che il tuo hosting abbia i requisiti per eseguire matomo (oltre alle altre attività).

In fase di installazione dovresti aver visto una checklist che deve diventare verde per procedere.

Successivamente, per scoprire che problema sia “oops” occorre attivare la modalità debug.

Ciao Tassoman, grazie del tuo benvenuto.
Matomo l’ho installato nel mio sito WP tramite plugin . Sono hostato da ergonet che , suppongo, abbia i requisiti necessari. Non ho le competenze tecniche per dire altro. So solo copiarti il report degli errori e sperare in un futuro migliore…
# Matomo

  • Versione del plugin Matomo: 4.10.0
  • Config esiste ed è scrivibile.: Sì ("$abs_path/wp-content/uploads/matomo/config/config.ini.php" )
  • JS Tracker esiste ed è scrivibile.: Sì ("$abs_path/wp-content/uploads/matomo/matomo.js" )
  • Directory del plugin: Yes ([{“pluginsPathAbsolute”:"$abs_path/wp-content/plugins/matomo/plugins",“webrootDirRelativeToMatomo”:"…/"}])
  • Directory Tmp scrivibile: Yes ($abs_path/wp-content/cache/matomo)
  • Versione di Matomo: 4.10.0
  • Blog idSite di Matomo: 1
  • Matomo Install Version: 4.10.0 (Install date: 2022-07-12 21:02:56)
  • Upgrades outstanding: No
  • Upgrade in progress: No

Endpoints

  • Matomo JavaScript Tracker URL: ($site_url/wp-content/uploads/matomo/matomo.js)
  • Matomo JavaScript Tracker - WP Rest API: ($site_url/wp-json/matomo/v1/hit/)
  • Matomo HTTP Tracking API: ($site_url/wp-content/plugins/matomo/app/matomo.php)
  • Matomo HTTP Tracking API - WP Rest API: ($site_url/wp-json/matomo/v1/hit/)

Crons

  • Tempo del server: 2022-07-15 14:33:24
  • Ora del blog: 2022-07-15 16:33:24 (Le date sottostanti sono mostrate nel fuso orario del blog)
  • Sync users & sites: Next run: 2022-07-15 21:04:33 (4 ore 31 minuti) ( Last started: 2022-07-14 21:08:35 (-19 ore 24 minuti). Last ended: 2022-07-14 21:08:35 (-19 ore 24 minuti). Interval: daily)
  • Archive: Next run: 2022-07-15 17:03:28 (30 minuti 4 secondi) ( Last started: 2022-07-15 16:07:54 (-25 minuti 30 secondi). Last ended: 2022-07-15 16:08:11 (-25 minuti 13 secondi). Interval: hourly)
  • Update GeoIP DB: Next run: 2022-08-11 21:04:18 (27 giorni 4 ore) ( Last started: 2022-07-12 22:56:06 (-2 giorni 17 ore). Last ended: 2022-07-12 22:56:09 (-2 giorni 17 ore). Interval: matomo_monthly)

Controlli obbligatori

  • Versione PHP >= : ok
  • PDO estensione: ok
  • PDO\MYSQL estensione: ok
  • MYSQLI estensione: ok
  • Altre estensioni Richieste: ok
  • Funzioni richieste: ok
  • Richiesta configurazione PHP (php.ini): ok
  • Directories con permessi di scrittura: ok
  • Directory con diritti di scrittura per Gestione Tag: ok

Controlli opzionali

  • 64-bit PHP Binary: ok
  • Stato del tracker: ok
  • Memoria massima: ok
  • Fuso orario: ok
  • Apri URL: ok
  • PageSpeed disabilitato: ok
  • GD > 2.x + Freetype (grafica): ok
  • Altre estensioni: ok
  • Warning Altre funzioni: warning (shell_exec It is recommended to turn on this PHP built-in function. Read this to learn more. set_time_limit mail parse_ini_file glob gzopen md5_file )
  • Filesystem: ok
  • Ultima archiviazione completata con successo: ok
  • Capacità del database: ok
  • Dimensione Massima Pacchetto: ok
  • Geolocalizzazione: ok
  • Aggiorna tramite HTTPS: ok
  • Supports Async Archiving: No
  • Location provider ID: geoip2php
  • Location provider available: Yes
  • Location provider working: Yes
  • Warning Proxy header: HTTP_X_REAL_IP (A proxy header is set which means you maybe need to configure a proxy header in the Advanced settings to make location reporting work. If the location in your reports is detected correctly, you can ignore this warning. Learn more: https://matomo.org/faq/wordpress/how-do-i-fix-the-proxy-header-warning-in-the-matomo-for-wordpress-system-report/)
  • Matomo URL: Yes ($site_url/wp-content/plugins/matomo/app)

Matomo Settings

  • Track mode: default
  • Track codeposition: footer
  • Track api endpoint: default
  • Track js endpoint: default
  • Version history: 4.10.0
  • Core version: 4.10.0
  • Last tracking settings update: 1657877595
  • Last settings update: 1657877595
  • Track content: all
  • Track ecommerce: No
  • Disable cookies: Yes
  • Limit cookies visitor: 600
  • Limit cookies session: 600
  • Limit cookies referral: 600

Logs

  • Nessuno:

WordPress

  • Home URL: $site_url
  • Site URL: $site_url
  • WordPress Version: 6.0.1
  • Number of blogs: 1
  • Multisite Enabled: No
  • Network Enabled: No
  • WP_DEBUG: No
  • WP_DEBUG_DISPLAY: Yes
  • WP_DEBUG_LOG: No
  • DISABLE_WP_CRON: -
  • FORCE_SSL_ADMIN: Yes
  • WP_CACHE: No
  • CONCATENATE_SCRIPTS: No
  • COMPRESS_SCRIPTS: -
  • COMPRESS_CSS: -
  • ENFORCE_GZIP: -
  • WP_LOCAL_DEV: -
  • WP_CONTENT_URL: $site_url/wp-content
  • WP_CONTENT_DIR: $abs_path/wp-content
  • UPLOADS: -
  • BLOGUPLOADDIR: -
  • DIEONDBERROR: -
  • WPLANG: -
  • ALTERNATE_WP_CRON: -
  • WP_CRON_LOCK_TIMEOUT: 60
  • WP_DISABLE_FATAL_ERROR_HANDLER: -
  • MATOMO_SUPPORT_ASYNC_ARCHIVING: -
  • MATOMO_TRIGGER_BROWSER_ARCHIVING: -
  • MATOMO_ENABLE_TAG_MANAGER: -
  • MATOMO_SUPPRESS_DB_ERRORS: -
  • MATOMO_ENABLE_AUTO_UPGRADE: -
  • MATOMO_DEBUG: -
  • MATOMO_SAFE_MODE: -
  • MATOMO_GLOBAL_UPLOAD_DIR: -
  • MATOMO_LOGIN_REDIRECT: -
  • Permalink Structure: /%postname%/
  • Possibly uses symlink: No
  • Upload base url: $site_url/wp-content/uploads
  • Upload base dir: $abs_path/wp-content/uploads
  • Upload url: $site_url/wp-content/uploads/2022/07
  • Custom upload_path:
  • Custom upload_url_path:
  • Compatible content directory: Yes

WordPress Plugins

MU Plugins

  • akeeba-backup-coreupdate.php:

Plugins

  • Ads.txt Manager: 1.4.0
  • Akeeba Backup for WordPress: 7.6.10 (Network enabled)
  • Better Plugin Compatibility Control: 6.0.0
  • Bing Webmaster Url Submission: 1.0.13
  • Category Tag Pages: 1.0
  • Everest Toolkit: 1.2.0
  • GDPR Cookie Consent: 2.1.2
  • Genesis Blocks: 1.5.0
  • Genesis Simple Share: 1.1.5
  • GTranslate: 2.9.12
  • Gutenberg: 13.6.0
  • Kirki Customizer Framework: 4.0.24
  • Login LockDown: v1.8.1
  • Matomo Analytics - Ethical Stats. Powerful Insights.: 4.10.0
  • Max Mega Menu: 2.9.7
  • Really Simple SSL: 5.3.2
  • Redirection: 5.2.3
  • Simple Google reCAPTCHA: 3.9
  • Simple Page Ordering: 2.4.1
  • Site Kit by Google: 1.78.0
  • SiteOrigin Widgets Bundle: 1.38.0
  • Smart Slider 3: 3.5.1.7
  • UpdraftPlus - Backup/Restore: 1.22.14
  • WP-CopyProtect [Protect your blog posts]: 3.1.0
  • WP RSS Aggregator: 4.21
  • Yet Another Related Posts Plugin (YARPP): 5.27.8
  • Yoast SEO: 19.3
  • Active Plugins: 26 (ads-txt akeebabackupwp better-plugin-compatibility-control bing-webmaster-tools category-tag-pages cookie-law-info everest-toolkit genesis-blocks genesis-simple-share google-site-kit gtranslate gutenberg kirki login-lockdown matomo megamenu really-simple-ssl redirection simple-google-recaptcha simple-page-ordering smart-slider-3 so-widgets-bundle updraftplus wordpress-seo wp-copyprotect yet-another-related-posts-plugin)
  • Theme: grace-mag (grace-mag)

Server

  • Server Info: Apache
  • PHP OS: Linux
  • PHP Version: 7.4.22
  • PHP SAPI: fpm-fcgi
  • PHP Binary Name: php-fpm
  • PHP Error Reporting: 0 After bootstrap: 0
  • Timezone: UTC
  • WP timezone: Europe/Rome
  • Locale: it_IT
  • User Locale: it_IT
  • Memory Limit: 256M (At least 128MB recommended. Depending on your traffic 256MB or more may be needed.)
  • WP Memory Limit: 256M
  • WP Max Memory Limit: 256M
  • Timezone version: 2021.1
  • Time: 1657895604
  • Max Execution Time: 300
  • Max Post Size: 256M
  • Max Upload Size: 268435456
  • Max Input Vars: 10000
  • Disabled PHP functions: Yes (show_source,system,shell_exec,passthru,exec,popen,proc_open,opcache_get_status,symlink,link)
  • zlib.output_compression is off: Yes
  • Curl Version: 7.70.0, NSS/3.44 (OpenSSL/1.0.2k-fips)
  • Suhosin installed: No

Database

  • MySQL Version: 5.5.5
  • Mysqli Connect: Yes
  • Force MySQL over Mysqli: No
  • DB Prefix: mod193_
  • DB CHARSET: utf8
  • DB COLLATE:
  • SHOW ERRORS: No
  • SUPPRESS ERRORS: No
  • Uses Socket: No
  • Uses IPv6: No
  • Matomo tables found: 69
  • DB tables exist: Yes
  • Matomo users found: 1
  • Matomo sites found: 1
  • Autorizzazioni obbligatorie: OK

Browser

  • Browser: (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.114 Safari/537.36)
  • Language: it-it,it,en-us,en

Ciao, vedo la configurazione ma nessun report di errori. Stai indicando 256MB di memoria, dovrebbero essere sufficienti. Poi non mi pare ci siano altre anomalie.
Ti occorre di attivare temporaneamente il debug e leggere di che errore si tratta. Puoi chiedere assistenza alla azienda che ti fornisce hosting.
Buon lavoro

Ciao Tassoman ti riporto i warning elencati nella fila dei controlli opzionali:

Ho anche provato a capirci qualcosa, tuttavia le indicazioni non corrispondono a soluzioni idonee al plugin wp. Non genero report e non riesco ad accedere all’area admin. Devo rinunciare a matomo? Sono un caso così disperato?
Rimango in attesa di tuoi riscontri.
Buona serata.

Di solito è meglio scegliere forniture di hosting che permettono l’accesso alla linea di comando (shell SSH), oltre che accesso FTP, in modo da poter controllare meglio le applicazioni.

In questo caso i warning che hai citato, sono avvertimenti, non errori (come oopss) quindi non dovrebbero interrompere la fruizione del servizio. Se riesci a modificare la configurazione di matomo per mezzo della modifica al file config/config.inc.php come indicato in precedenza, riuscirai ad attivare i log di debug e capirci meglio.