@Milan_Doubek wrote:
Hi!
Do you have any idea, why Matomo doesn’t group the page titles?
The older version does that automatically.
Thanks in advance.
Posts: 1
Participants: 1
@Milan_Doubek wrote:
Hi!
Do you have any idea, why Matomo doesn’t group the page titles?
The older version does that automatically.
Thanks in advance.
Posts: 1
Participants: 1
@farfalla wrote:
Hello,
After running diagnosis I have goten this message.
Es wurden unerwartete Dateien in deiner Matomo-Installation gefunden. -- Bitte lösche diese Dateien, um Fehler zu vermeiden. -- Zu löschende Datei: misc/cron/piwik.js
I deleted piwik.js as recommended, rerun diagnosis and got no further messages.
But, after some days, when I run diagnosis again, the message appeared again.
I tried this several times but with the same outcome.
How can I delete piwik.js effectively?Thanks and Regards
Posts: 1
Participants: 1
@larsskj wrote:
I’m trying to move my Matomo instance from an oldfashioned server to Kubernetes. I’ve tried to follow the examples at the matomo-org/docker site at Github.
Basically, everything works: I have two URLs - matomo.<domain>.<tld> and piwik.<domain>.<tld> encrypted using SSL, and I can reach the two sites from the outside world. But the setup doesn’t register any new traffic.
I have three pods/containers running in Kubernetes: A MariaDB using the stock image, the Matomo FPM image and an Nginx frontend. I have backed up the database from the old system and restored it onto the new database. I can access and log in to Matomo, and all my old data is there.
But no new traffic is recorded. I’m not sure how to troubleshoot the Matomo FCGI app, but I can see from the logs that traffic enters Nginx properly - the Nginx log shows an entry for each visit to my medium traffic site.
Any ideas about how to troubleshoot this issue?
Regards,
Lars
Posts: 1
Participants: 1
@toredash wrote:
Hi,
Currently seing random issues within the admin UI of Matomo that I am unable to debug myself.
Matomo is run in a multi container environment.
Example of error url:
index.php?module=PrivacyManager&action=privacySettings&date=today&period=week&idSite=8Randomly, this spits out these warnings:
WARNING: /var/www/plugins/PrivacyManager/Config.php(68): Warning - array_key_exists() expects parameter 2 to be array, string given - Matomo 3.8.1 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already) × WARNING: /var/www/plugins/CustomVariables/CustomVariables.php(102): Warning - Illegal string offset 'CustomVariables.MaxNumCustomVariables' - Matomo 3.8.1 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already) × WARNING: /var/www/plugins/CustomVariables/CustomVariables.php(81): Warning - array_key_exists() expects parameter 2 to be array, string given - Matomo 3.8.1 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already)
I also notice that if I change the settings in the PrivacyManger page, it is not stored. Hard refreshing the page a few times and the old settings is present.
I’ve provided the nginx.conf, config.ini.php
config.ini.php:
; <?php exit; ?> DO NOT REMOVE THIS LINE ; file automatically generated or modified by Matomo; you can manually override the default values in global.ini.php by redefining them in this file. [database] host = "%%DBHOST%%" username = "%%MYSQL_USER%%" password = "%%MYSQL_PASSWORD%%" dbname = "%%MYSQL_DBNAME%%" tables_prefix = "matomo_" [General] salt = "%%MATOMO_SALT%%" trusted_hosts[] = "%%MATOMO_HOSTNAME%%" trusted_hosts[] = "%%MATOMO_TRACKER_HOSTNAME%%" ; disable browser trigger archiving for all requests (even those with a segment) browser_archiving_disabled_enforce = 0 multi_server_environment = 1 ; when set to 1, all requests to Matomo will return a maintenance message without connecting to the DB ; this is useful when upgrading using the shell command, to prevent other users from accessing the UI while Upgrade is in progress maintenance_mode = %%MATOMO_MAINTENANCE_MODE%% ; by default, the real time Live! widget will update every 5 seconds and refresh with new visits/actions/etc. ; you can change the timeout so the widget refreshes more often, or not as frequently live_widget_refresh_after_seconds = 5 ; by default, the Live! real time visitor count widget will check to see how many visitors your ; website received in the last 3 minutes. changing this value will change the number of minutes ; the widget looks in. live_widget_visitor_count_last_minutes = 5 ; In "All Websites" dashboard, when looking at today's reports (or a date range including today), ; the page will automatically refresh every 5 minutes. Set to 0 to disable automatic refresh multisites_refresh_after_seconds = 0 ; If set to 1, Matomo will automatically redirect all http:// requests to https:// ; If SSL / https is not correctly configured on the server, this will break Matomo ; If you set this to 1, and your SSL configuration breaks later on, you can always edit this back to 0 ; it is recommended for security reasons to always use Matomo over https force_ssl = 1 assume_secure_protocol = 1 ; by default, an update notification for a new version of Matomo is shown to every user. Set to 1 if only ; the superusers should see the notification. show_update_notification_to_superusers_only = 1 ; Uncomment line below if you use a standard proxy proxy_client_headers[] = HTTP_X_FORWARDED_FOR proxy_host_headers[] = HTTP_X_FORWARDED_HOST ; In some rare cases it may be useful to explicitely tell Matomo not to use LOAD DATA INFILE ; This may for example be useful when doing Mysql AWS replication enable_load_data_infile = 1 ; by default, Matomo uses PHP's built-in file-based session save handler with lock files. ; For clusters, use dbtable. ; We did use redis, but not supported since 3.8.0 session_save_handler = dbtable ; If set to 0 it will disable advertisements for providers of Professional Support for Matomo. piwik_professional_support_ads_enabled = 0 ; By setting this option to 0, it will disable the "Auto update" feature enable_auto_update = 0 ; By setting this option to 0 (e.g. in common.config.ini.php) the installer will be disabled. enable_installer = %%MATOMO_ENABLE_INSTALLER%% ; By setting this option to 0: ; - links to Enable/Disable/Uninstall plugins will be hidden and disabled ; - links to Uninstall themes will be disabled (but user can still enable/disable themes) enable_plugins_admin = 0 ; By setting this option to 1, it will be possible for Super Users to upload Matomo plugin ZIP archives directly in Matomo Administration. ; Enabling this opens a remote code execution vulnerability where ; an attacker who gained Super User access could execute custom PHP code in a Matomo plugin. enable_plugin_upload = 0 ; By default we check whether the Custom logo is writable or not, before we display the Custom logo file uploader enable_custom_logo_check = 0 ; If you use this Matomo instance over multiple hostnames, Matomo will need to know ; a unique instance_id for this instance, so that Matomo can serve the right custom logo and tmp/* assets, ; independently of the hostname Matomo is currently running under. instance_id = %%MATOMO_HOSTNAME%% [log] ; possible values for log: screen, database, file log_writers[] = screen ; log level, everything logged w/ this level or one of greater severity ; will be logged. everything else will be ignored. possible values are: ; ERROR, WARN, INFO, DEBUG log_level = %%MATOMO_LOG_LEVEL%% [Plugins] Plugins[] = "CorePluginsAdmin" Plugins[] = "CoreAdminHome" Plugins[] = "CoreHome" Plugins[] = "WebsiteMeasurable" Plugins[] = "IntranetMeasurable" Plugins[] = "Diagnostics" Plugins[] = "CoreVisualizations" Plugins[] = "Proxy" Plugins[] = "API" Plugins[] = "ExamplePlugin" Plugins[] = "Widgetize" Plugins[] = "Transitions" Plugins[] = "LanguagesManager" Plugins[] = "Actions" Plugins[] = "Dashboard" Plugins[] = "MultiSites" Plugins[] = "Referrers" Plugins[] = "UserLanguage" Plugins[] = "DevicesDetection" Plugins[] = "Goals" Plugins[] = "Ecommerce" Plugins[] = "SEO" Plugins[] = "Events" Plugins[] = "UserCountry" Plugins[] = "GeoIp2" Plugins[] = "VisitsSummary" Plugins[] = "VisitFrequency" Plugins[] = "VisitTime" Plugins[] = "VisitorInterest" Plugins[] = "ExampleAPI" Plugins[] = "RssWidget" Plugins[] = "Feedback" Plugins[] = "Monolog" Plugins[] = "Login" Plugins[] = TwoFactorAuth Plugins[] = "UsersManager" Plugins[] = "SitesManager" Plugins[] = "Installation" Plugins[] = "CoreUpdater" Plugins[] = "CoreConsole" Plugins[] = "ScheduledReports" Plugins[] = "UserCountryMap" Plugins[] = "Live" Plugins[] = "CustomVariables" Plugins[] = "PrivacyManager" Plugins[] = "ImageGraph" Plugins[] = "Annotations" Plugins[] = "MobileMessaging" Plugins[] = "Overlay" Plugins[] = "SegmentEditor" Plugins[] = "Insights" Plugins[] = "Morpheus" Plugins[] = "Contents" Plugins[] = "BulkTracking" Plugins[] = "Resolution" Plugins[] = "DevicePlugins" Plugins[] = "Heartbeat" Plugins[] = "Intl" Plugins[] = "Marketplace" Plugins[] = "ProfessionalServices" Plugins[] = "UserId" Plugins[] = "CustomPiwikJs" Plugins[] = "QueuedTracking" Plugins[] = "DBStats" Plugins[] = "TasksTimetable" Plugins[] = "CustomDimensions" Plugins[] = "CustomReports" Plugins[] = "InvalidateReports" [PluginsInstalled] PluginsInstalled[] = "Diagnostics" PluginsInstalled[] = "Login" PluginsInstalled[] = TwoFactorAuth PluginsInstalled[] = "CoreAdminHome" PluginsInstalled[] = "UsersManager" PluginsInstalled[] = "SitesManager" PluginsInstalled[] = "Installation" PluginsInstalled[] = "Monolog" PluginsInstalled[] = "Intl" PluginsInstalled[] = "CorePluginsAdmin" PluginsInstalled[] = "CoreHome" PluginsInstalled[] = "WebsiteMeasurable" PluginsInstalled[] = "IntranetMeasurable" PluginsInstalled[] = "CoreVisualizations" PluginsInstalled[] = "Proxy" PluginsInstalled[] = "API" PluginsInstalled[] = "ExamplePlugin" PluginsInstalled[] = "Widgetize" PluginsInstalled[] = "Transitions" PluginsInstalled[] = "LanguagesManager" PluginsInstalled[] = "Actions" PluginsInstalled[] = "Dashboard" PluginsInstalled[] = "MultiSites" PluginsInstalled[] = "Referrers" PluginsInstalled[] = "UserLanguage" PluginsInstalled[] = "DevicesDetection" PluginsInstalled[] = "Goals" PluginsInstalled[] = "Ecommerce" PluginsInstalled[] = "SEO" PluginsInstalled[] = "Events" PluginsInstalled[] = "UserCountry" PluginsInstalled[] = "GeoIp2" PluginsInstalled[] = "VisitsSummary" PluginsInstalled[] = "VisitFrequency" PluginsInstalled[] = "VisitTime" PluginsInstalled[] = "VisitorInterest" PluginsInstalled[] = "ExampleAPI" PluginsInstalled[] = "RssWidget" PluginsInstalled[] = "Feedback" PluginsInstalled[] = "CoreUpdater" PluginsInstalled[] = "CoreConsole" PluginsInstalled[] = "ScheduledReports" PluginsInstalled[] = "UserCountryMap" PluginsInstalled[] = "Live" PluginsInstalled[] = "CustomVariables" PluginsInstalled[] = "PrivacyManager" PluginsInstalled[] = "ImageGraph" PluginsInstalled[] = "Annotations" PluginsInstalled[] = "MobileMessaging" PluginsInstalled[] = "Overlay" PluginsInstalled[] = "SegmentEditor" PluginsInstalled[] = "Insights" PluginsInstalled[] = "Morpheus" PluginsInstalled[] = "Contents" PluginsInstalled[] = "BulkTracking" PluginsInstalled[] = "Resolution" PluginsInstalled[] = "DevicePlugins" PluginsInstalled[] = "Heartbeat" PluginsInstalled[] = "Marketplace" PluginsInstalled[] = "ProfessionalServices" PluginsInstalled[] = "UserId" PluginsInstalled[] = "CustomPiwikJs" PluginsInstalled[] = "QueuedTracking" PluginsInstalled[] = "TagManager" PluginsInstalled[] = "DBStats" PluginsInstalled[] = "TasksTimetable" PluginsInstalled[] = "CustomDimensions" PluginsInstalled[] = "CustomReports" PluginsInstalled[] = "InvalidateReports" [QueuedTracking] notify_queue_threshold_single_queue = 250000 ; Below config is not really needed sincce the processQueue.sh script queries Redis manually before starting an process-job backend = "redis" redisHost = "%%REDIS_HOST%%" redisPort = 6379 redisDatabase = 2 redisPassword = "" queueEnabled = true numQueueWorkers = %%QUEUEDTRACKING_WORKERS%% processDuringTrackingRequest = false numRequestsToProcess = %%QUEUEDTRACKING_NUM_REQUEST_TO_PROCESS%% useSentinelBackend = false sentinelMasterName = "HardCodedIn config.ini.php" [Cache] ; available backends are 'file', 'array', 'null', 'redis', 'chained' ; 'array' will cache data only during one request ; 'null' will not cache anything at all ; 'file' will cache on the filesystem ; 'redis' will cache on a Redis server, use this if you are running Matomo with multiple servers. Further configuration in [RedisCache] is needed ; 'chained' will chain multiple cache backends. Further configuration in [ChainedCache] is needed backend = redis [ChainedCache] backends[] = array backends[] = redis [RedisCache] ; Redis server configuration. host = "%%REDIS_HOST%%" port = 6379 ; instead of host and port a unix socket path can be configured ;unix_socket = "" timeout = 0.0 password = "" database = 0 ; In case you are using queued tracking: Make sure to configure a different database! Otherwise queued requests might ; be flushed [Debug] enable_sql_profiler = %%MATOMO_SQL_PROFILING%%
nginx.conf:
daemon off; user nginx; pid /run/nginx.pid; worker_processes auto; error_log /proc/1/fd/2 info; worker_rlimit_nofile 8192; load_module /etc/nginx/modules/ngx_http_geoip2_module.so; events { worker_connections 2048; use epoll; multi_accept on; } http { include mime.types; default_type application/octet-stream; access_log /proc/1/fd/1; aio threads; sendfile on; # Variables hash table size variables_hash_bucket_size 64; variables_hash_max_size 2048; # GeoIP 2 geoip2 /etc/nginx/geoip/GeoLite2-Country.mmdb { auto_reload 5m; $geoip2_metadata_country_build metadata build_epoch; $geoip2_data_country_geonameid country geoname_id; $geoip2_data_country_iso country iso_code; $geoip2_data_country_name country names en; $geoip2_data_country_is_eu country is_in_european_union; } geoip2 /etc/nginx/geoip/GeoLite2-City.mmdb { auto_reload 5m; $geoip2_data_city_name city names en; $geoip2_data_city_geonameid city geoname_id; $geoip2_data_continent_code continent code; $geoip2_data_continent_geonameid continent geoname_id; $geoip2_data_continent_name continent names en; $geoip2_data_location_accuracyradius location accuracy_radius; $geoip2_data_location_latitude location latitude; $geoip2_data_location_longitude location longitude; $geoip2_data_location_metrocode location metro_code; $geoip2_data_location_timezone location time_zone; $geoip2_data_postal_code postal code; $geoip2_data_rcountry_geonameid registered_country geoname_id; $geoip2_data_rcountry_iso registered_country iso_code; $geoip2_data_rcountry_name registered_country names en; $geoip2_data_rcountry_is_eu registered_country is_in_european_union; $geoip2_data_region_geonameid subdivisions 0 geoname_id; $geoip2_data_region_iso subdivisions 0 iso_code; $geoip2_data_region_name subdivisions 0 names en; } geoip2 /etc/nginx/geoip/GeoLite2-ASN.mmdb { auto_reload 5m; $geoip2_data_org autonomousSystemOrganization; } ## Timeouts client_body_timeout 60; client_header_timeout 60; keepalive_timeout 10 10; send_timeout 60; ## TCP options tcp_nopush on; tcp_nodelay on; ## Handling of IPs in proxied and load balancing situations real_ip_header X-Forwarded-For; set_real_ip_from 10.0.0.0/8; ## Hide the Nginx version number server_tokens off; ## Body size client_max_body_size 64M; client_body_buffer_size 128k; ## Compression gzip on; gzip_buffers 16 8k; gzip_comp_level 1; gzip_http_version 1.1; gzip_min_length 10; gzip_types text/plain text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript image/x-icon application/vnd.ms-fontobject font/opentype application/x-font-ttf; gzip_vary on; gzip_proxied any; gzip_disable "msie6"; ## Serve already compressed files directly, bypassing on-the-fly compression gzip_static on; ## FastCGI fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; fastcgi_buffers 256 4k; fastcgi_intercept_errors on; fastcgi_read_timeout 14400; ## FastCGI GeoIP 2 fastcgi_param MM_ADDR $remote_addr; fastcgi_param MMDB_ADDR $remote_addr; fastcgi_param MM_CITY_NAME $geoip2_data_city_name; fastcgi_param MM_CITY_GEONAMEID $geoip2_data_city_geonameid; fastcgi_param MM_CONTINENT_CODE $geoip2_data_continent_code; fastcgi_param MM_CONTINENT_GEONAMEID $geoip2_data_continent_geonameid; fastcgi_param MM_CONTINENT_NAME $geoip2_data_continent_name; fastcgi_param MM_COUNTRY_GEONAMEID $geoip2_data_country_geonameid; fastcgi_param MM_COUNTRY_CODE $geoip2_data_country_iso; fastcgi_param MM_COUNTRY_NAME $geoip2_data_country_name; fastcgi_param MM_COUNTRY_IN_EU $geoip2_data_country_is_eu; fastcgi_param MM_LOCATION_ACCURACY_RADIUS $geoip2_data_location_accuracyradius; fastcgi_param MM_LATITUDE $geoip2_data_location_latitude; fastcgi_param MM_LONGITUDE $geoip2_data_location_longitude; fastcgi_param MM_LOCATION_METROCODE $geoip2_data_location_metrocode; fastcgi_param MM_LOCATION_TIMEZONE $geoip2_data_location_timezone; fastcgi_param MM_POSTAL_CODE $geoip2_data_postal_code; fastcgi_param MM_REGISTERED_COUNTRY_GEONAMEID $geoip2_data_rcountry_geonameid; fastcgi_param MM_REGISTERED_COUNTRY_ISO $geoip2_data_rcountry_iso; fastcgi_param MM_REGISTERED_COUNTRY_NAME $geoip2_data_rcountry_name; fastcgi_param MM_REGISTERED_COUNTRY_IN_EU $geoip2_data_rcountry_is_eu; fastcgi_param MM_REGION_GEONAMEID $geoip2_data_region_geonameid; fastcgi_param MM_REGION $geoip2_data_region_iso; fastcgi_param MM_REGION_NAME $geoip2_data_region_name; fastcgi_param MM_ISP $geoip2_data_org; fastcgi_param MM_ORG $geoip2_data_org; server { listen 8000; root /var/www; index index.php; ## only allow accessing the following php files location ~ ^/(index|matomo|piwik|js/index).php { fastcgi_pass unix:/var/run/php-fpm7.sock; } ## needed for HeatmapSessionRecording plugin location = /plugins/HeatmapSessionRecording/configs.php { fastcgi_pass unix:/var/run/php-fpm7.sock; } ## deny access to all other .php files location ~* ^.+\.php$ { deny all; return 403; } ## serve all other files normally location / { try_files $uri $uri/ =404; } ## disable all access to the following directories location ~ /(config|tmp|core|lang) { deny all; return 404; } location ~ /\.ht { deny all; return 403; } location ~ \.(gif|ico|jpg|png|svg|js|css|htm|html|mp3|mp4|wav|ogg|avi|ttf|eot|woff|woff2|json)$ { allow all; ## Cache images,CSS,JS and webfonts for an hour ## Increasing the duration may improve the load-time, but may cause old files to show after an Matomo upgrade expires 1h; add_header Pragma public; add_header Cache-Control "public"; } location ~ /(libs|vendor|plugins|misc/user) { deny all; return 403; } ## properly display textfiles in root directory location ~/(.*\.md|LEGALNOTICE|LICENSE) { default_type text/plain; } } }
Using PHP Version 7.2.14, opcache
Posts: 1
Participants: 1
@SSvishnevsky wrote:
WARNING: /var/www/piwik/vendor/twig/twig/lib/Twig/Extension/Core.php(740): Notice - Array to string conversion - Matomo 3.8.1 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already)
Posts: 2
Participants: 2
@Balazs wrote:
I have an AngularJS application where I would like to track user ids.
When the user left-clicks a link leading to another page in the application, which is opened on a new tab thanks to target="_blank" in the anchor, then it works, the user id is tracked.
However, when the user right-clicks on the link and opens it on a new tab, the user is is not tracked, and the visit is shown as Direct Entry.
Posts: 1
Participants: 1
@wuffers wrote:
Updated 3.7 to 3.8.1 on a working installation. After database update (no errors), I can no longer log into the site using my admin credentials.
I initially got this error:
Error: Form security failed. Please reload the form and check that your cookies are enabled. If you use a proxy server, you must configure Matomo to accept the proxy header that forwards the Host header. Also, check that your Referrer header is sent correctly. Also, you may force Matomo to use a secure connection: in your config file config/config.ini.php set force_ssl=1 below section [General]
On subsequent logins, the page just refreshes without any errors. Tried on different browsers and computers, which all exhibit the same issue. Strangely, the IOS app works with those same credentials. I do get an invalid user/pass if I do use wrong credentials.
I do have a reverse proxy (haproxy) as well as a cache layer (varnish) before apache 2.4, with remoteip module enabled. This was working just prior to the update. Debug logs don’t show anything when this occurs.
My [general] section in my config is this:
[General] assume_secure_protocol = 1 trusted_hosts[] = "my-host.com" salt = "salt-value"
What should I look at next to troubleshoot this?
Posts: 1
Participants: 1
@ben1 wrote:
Hi all
Since an update i have this Problem that i have duplicate entry’s and i get lot of loading error’s in the frontend anybody got clue what could cause this?
Duplicate entry 'piwik_archive_numeric_2018_11' for key 'PRIMARY' - in plugin Goals"
Posts: 1
Participants: 1
@frederik-b wrote:
Hi,
I instantiated a matomo docker container linked to a mariadb container in kubernetes and the setup works flawlessly.
Using the latest image from here: Docker Hub
flavour: apache, no fpmNow I’m getting this error all the time when trying to login:
Error: Form security failed. Please reload the form and check that your cookies are enabled. If you use a proxy server, you must configure Matomo to accept the proxy header that forwards the Host header. Also, check that your Referrer header is sent correctly.
I do have a custom reverse proxy in front of the setup, which forwards everything on /matomo
and made sure to provide the relevant headers:
‘x-forwarded-host’, ‘x-forwarded-for’, ‘x-forwarded-uri’: ‘/matomo’Also I created an alias in the apache virtualhost file:
Alias /matomo "/var/www/html"
the autoconfigured section of the config looks as follows:
[General] proxy_client_headers[] = "HTTP_X_FORWARDED_FOR" proxy_host_headers[] = "HTTP_X_FORWARDED_HOST" salt = "..." trusted_hosts[] = "matomo" # the internal domain where the loadbalancer redirects to trusted_hosts[] = "my-domain.de" # the actual domain where the loadbalancer runs
I manually added
proxy_uri_header = 1
for no effectprinting all php headers gives the following:
x-forwarded-host: my-domain.de accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8 x-forwarded-for: 000.000.000.000, 000.000.000.000, 000.000.000.000 x-forwarded-uri: /matomo host: matomo content-length: 103 cache-control: max-age=0 origin: https://my-domain.de upgrade-insecure-requests: 1 content-type: application/x-www-form-urlencoded user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36 referer: https://my-domain.de/matomo/index.php accept-encoding: gzip, deflate, br accept-language: en-US,en;q=0.9,de;q=0.8 x-cloud-trace-context: 00000000000000000000000000000000/00000000000000000000 via: 1.1 google x-forwarded-proto: https connection: Keep-Alive
the IPs are correct, I just zeroed them for posting
I triple checked everything from here:
https://matomo.org/faq/how-to-install/faq_98/
and still nothing helpsI’ld really appreciate some help.
Posts: 1
Participants: 1
@dcj wrote:
Hey everyone!
I’m wondering how I would go about installing Matomo in a React project hosted on Netlify (or if this is even possible).
To be clear, I’m talking about installing Matomo, and not using the Matomo Cloud version of the service.
I’ve found these two libraries:
and I imagine if I wanted either of them to work with a first-party installation of Matomo (hosted at mydomain.whatever/analytics or something), that I would just put that in the respective URL field of either of those plugins, instead of a mydomain.matomo.cloud address.
I am currently moving my webapp from the default Create React App single-page structure to a Gatsby project, so I can use either of those, but the part I’m stuck on is figuring out how to get Matomo set up on my own domain, like mydomain.whatever/analytics.
All the installation guides or threads I have found are about installing it on a server manually, and as I understand it, Netlify is a “serverless” hosting solution, so I’m not even sure if this is possible.
I’m really lost and would greatly appreciate any help!
Thank you
Posts: 1
Participants: 1
@keild wrote:
Dear matomo team / community,
We might have run into a bug when trying to copy custom dashboard layouts to other users. When updating to the latest version at least there was an error message that might provide a hint why it fails, saying:
“Cannot copy dashboard to user […]%40[…], user not found or user does not have access to same site.”
Copying dashboard layouts to users that do not contain special characters in their usernames does work flawlessly though. Therefore we are assuming that there might be an encoding / decoding error at some point during the process of copying dashboard layouts.
We are using two premium plugins (white label + roll-up reporting) and overall, our custom dashboard layouts all use widgets being available by default.
Finally, why exactly might copying dashboard layouts fail when a user does not have access to the same site as mentioned in the above error message? Ain’t those layouts in general independent from user rights towards sites?
Thanks for any feedback on the above
Posts: 2
Participants: 2
@francoip wrote:
Hello guys,
I don’t understand what appens, I finished my apache & php setup (PHP 7.0.10 (cli) (built: Nov 2 2016 13:59:40))
I start apache instance that displayed the testpage on browsers (all).
Here I copy the zip file content to my intranet workdirectory
I restart apache
I open browsers http://myipormydns/ then page is blank instead of getting the installer pageI can try to run http:/ip.ip.ip.ip/matomo.php with similar results
I can try to run http:/ip.ip.ip.ip/piwik.php but then browser displays file content instead of interpreting it.
I just don’t understand what the f**k I did bad.
Thanks for help
Posts: 1
Participants: 1
@Rommel wrote:
Hi Team,
I have a user who is tracking her production link through the Piwik site but she is seeing the local host in reports. Can you please suggest why it is picking the local host and how this can be removed.regards,
Rommel Raju
Posts: 1
Participants: 1
@piwik2 wrote:
Hello, I’m running into a very big problem with the size of my Piwik_archive_blob files. I’ve searched around and can’t find a solution that fixes the issue. My server is completely out of disk space because of this and I need help badly.
This is what the file sizes look like:
18.8GiB [##########] piwik_archive_blob_2019_01.ibd 15.2GiB [######## ] piwik_archive_blob_2018_12.ibd 11.8GiB [###### ] piwik_archive_blob_2018_11.ibd 7.4GiB [### ] piwik_archive_numeric_2018_12.ibd 7.1GiB [### ] piwik_archive_numeric_2019_01.ibd 6.5GiB [### ] piwik_archive_blob_2019_02.ibd 6.2GiB [### ] piwik_archive_numeric_2018_11.ibd 5.9GiB [### ] piwik_archive_blob_2018_10.ibd 3.6GiB [# ] piwik_archive_numeric_2018_10.ibd 3.1GiB [# ] piwik_archive_blob_2018_01.ibd 2.6GiB [# ] piwik_archive_numeric_2019_02.ibd
Can someone please help point me in the right direction?
Posts: 1
Participants: 1
@b.strauss wrote:
Hi, we use the Live.GetLastVisitsDetails HTTP API to render data in our custom frontend. Recently we found out that Live.GetLastVisitsDetails is not returning data that was previously returned. Data (events with custom dimensions) that was recently there from february is now gone. After a bit of research we used this command (How do I tell Matomo to invalidate the past historical reports so they can be re-processed from the logs? FAQ - Analytics Platform - Matomo) to reprocess the data. But now all data is gone, even that from yesterday. Has this todo with archiving? Is there some way to “un”-archive the data? Or is there a parameter for Live.GetLastVisitsDetails to get all the data, even the archived one?
Thanks
Posts: 1
Participants: 1
@jpcorb wrote:
Hi everyone !
I have an implementation of Matomo 3.8.1 using Debian. We have a huge traffic. In a month and a half, we gathered 7.5 GB of data. The server runs pretty well, but I recently implemented the auto-archiving with a crontab. It works well. However, when it gets to the month archiving process, it takes more than the 30 minutes -mentioned in the documentation- and it crashes asking for more memory with PHP. I already raised the memory to 512MB like the documentation proposed. I disabled it at the moment since it is causing me precious data loss…
Do you any advice to get this functionality operational?
Do I have to export my database and restart the tables because it is too big ?Thank you in advance !
Posts: 1
Participants: 1
@jhankar_patel wrote:
Hi There,
So when I try to view some data the URL changes to https:unknown sometimes.
Posts: 1
Participants: 1
@FunnyMedia wrote:
Hi,
Is it possible to get a live view on de start page?
domain.net/index.php?module=MultiSites&action=index&idSite=1&period=day&date=today
Now I refresh the page (F5) but no result or update.
When I click a website I see actual / live views but not on the “main” siteThanks for the help
Posts: 1
Participants: 1
@ZAZmaster wrote:
When i run
/usr/bin/php7.3 /var/www/matomo/console -v core:archive --url=https://matomo/
Has error
DEBUG [2019-03-19 06:38:21] 17061 /usr/bin/php7.2 -q /var/www/matomo/console climulti:request -q --matomo-domain='matomo' --superuser 'module=API&method=API.get&idSite=27&period=day&date=last52&format=php&trigger=archivephp&pid=3b6971038de3803fd2ccfc23ffc8da6ac76f3b889142e53799756b065e4a6ae26b88083551cae22dc5c3307ee334dfe6e0610&runid=17061' > /var/www/matomo/tmp/climulti/3b6971038de3803fd2ccfc23ffc8da6ac76f3b889142e53799756b065e4a6ae26b88083551cae22dc5c3307ee334dfe6e0610.output 2>&1 & WARNING [2019-03-19 06:38:22] 17061 /var/www/matomo/core/Common.php(271): Notice - unserialize(): Error at offset 0 of 62824 bytes - Matomo 3.9.0 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already) ERROR [2019-03-19 06:38:22] 17061 Empty or invalid response '[2019-03-19 06:38:21] piwik.DEBUG: Loaded plugins: CorePluginsAdmin, CoreAdminHome, CoreHome, WebsiteMeasurable, IntranetMeasurable, Diagnostics, CoreVisualizations, Proxy, API, ExamplePlugin, Widgetize, Transitions, LanguagesManager, Actions, Dashboard, MultiSites, Referrers, UserLanguage, DevicesDetection, Goals, Ecommerce, SEO, Events, UserCountry, VisitsSummary, VisitFrequency, VisitTime, VisitorInterest, ExampleAPI, RssWidget, Feedback, Monolog, Login, TwoFactorAuth, UsersManager, SitesManager, Installation, CoreUpdater, CoreConsole, ScheduledReports, UserCountryMap, Live, CustomVariables, PrivacyManager, ImageGraph, Annotations, MobileMessaging, Overlay, SegmentEditor, Insights, Morpheus, Contents, BulkTracking, Resolution, DevicePlugins, Heartbeat, Intl, Marketplace, ProfessionalServices, UserId, CustomPiwikJs, BotTracker, QueuedTracking, ReferrersManager, SecurityInfo [] {"class":"Piwik\\Plugin\\Manager","request_id":17148} a:52:{s:10:"2019-01-27";a:40:{s:16:"nb_uniq_visitors";d:5;s:9:"nb_visits";d:5;s:8:"nb_users";i:0;s:10:"nb_actions";d:5;s:11:"max_actions";d:1;s:12:"bounce_count";d:5;s:16:"sum_visit_length";i:0;s:19:"nb_visits_returning";d:1;s:20:"nb_actions_returning";d:1;s:26:"nb_uniq_visitors_returning";d:1;s:18:"nb_users_returning";i:0;s:21:"max_actions_returning";d:1;s:21:"bounce_rate_returning";s:4:"100%";s:30:"nb_actions_per_visit_returning";d:1;s:26:"avg_time_on_site_returning";d:0;s:14:"nb_conversions";i:0;s:19:"nb_visits_converted";i:0;s:7:"revenue";i:0;s:15:"conversion_rate";s:2:"0%";s:24:"nb_conversions_new_visit";i:0;s:29:"nb_visits_converted_new_visit";i:0;s:17:"revenue_new_visit";i:0;s:25:"conversion_rate_new_visit";s:2:"0%";s:30:"nb_conversions_returning_visit";i:0;s:35:"nb_visits_converted_returning_visit";i:0;s:23:"revenue_returning_visit";i:0;s:31:"conversion_rate_returning_visit";s:2:"0%";s:12:"nb_pageviews";d:5;s:17:"nb_uniq_pageviews";d:5;s:12:"nb_downloads";i:0;s:17:"nb_uniq_downloads";i:0;s:11:"nb_outlinks";i:0;s:16:"nb_uniq_outlinks";i:0;s:11:"nb_searches";i:0;s:11:"nb_keywords";i:0;s:28:"nb_hits_with_time_generation";d:5;s:19:"avg_time_generation";d:1.506;s:11:"bounce_rate";s:4:"100%";s:20:"nb_actions_per_visit";d:1;s:16:"avg_time_on_site";d:0;}s:10:"2019-01-28";a:40:{s:16:"nb_uniq_visitors";d:20;s:9:"nb_visits";d:22;s:8:"nb_users";i:0;s:10:"nb_actions";d:149;s:11:"max_actions";d:29;s:12:"bounce_count";d:9;s:16:"sum_visit_length";d:8403;s:19:"nb_visits_returning";d:7;s:20:"nb_actions_returning";d:53;s:26:"nb_uniq_visitors_returning";d:5;s:18:"nb_users_returning";i:0;s:21:"max_actions_returning";d:29;s:21:"bounce_rate_returning";s:3:"43%";s:30:"nb_actions_per_visit_returning";d:7.6;s:26:"avg_time_on_site_returning";d:323;s:14:"nb_conversions";i:0;s:19:"nb_visits_converted";i:0;s:7:"revenue";i:0;s:15:"conversion_rate";s:2:"0%";s:24:"nb_conversions_new_visit";i:0;s:29:"nb_visits_converted_new_visit";i:0;s:17:"revenue_new_visit";i:0;s:25:"conversion_rate_new_visit";s:2:"0%";s:30:"nb_conversions_returning_visit";i:0;s:35:"nb_visits_converted_returning_visit";i:0;s:23:"revenue_returning_visit";i:0;s:31:"conversion_rate_returning_visit";s:2:"0%";s:12:"nb_pageviews";d:105;s:17:"nb_uniq_pageviews";d:84;s:12:"nb_downloads";d:36;s:17:"nb_uniq_downloads";d:28;s:11:"nb_outlinks";d:1;s:16:"nb_uniq_outlinks";d:1;s:11:"nb_searches";d:7;s:11:"nb_keywords";d:4;s:28:"nb_hits_with_time_generation";d:105;s:19:"avg_time_generation";d:1.469;s:11:"bounce_rate";s:3:"41%";s:20:"nb_actions_per_visit";d:6.8;s:16:"avg_time_on_site";d:382;}s:10:"2019-01-29";a:40:{s:16:"nb_uniq_visitors";d:18;s:9:"nb_visits";d:20;s:8:"nb_users";i:0;s:10:"nb_actions";d:268;s:11:"max_actions";d:134;s:12:"bounce_count";d:5;s:16:"sum_visit_length";d:19520;s:19:"nb_visits_returning";d:11;s:20:"nb_actions_returning";d:96;s:26:"nb_uniq_visitors_returning";d:9;s:18:"nb_users_returning";i:0;s:21:"max_actions_returning";d:32;s:21:"bounce_rate_returning";s:3:"18%";s:30:"nb_actions_per_visit_returning";d:8.7;s:26:"avg_time_on_site_returning";d:1076;s:14:"nb_conversions";i:0;s:19:"nb_visits_converted";i:0;s:7:"revenue";i:0;s:15:"conversion_rate";s:2:"0%";s:24:"nb_conversions_new_visit";i:0;s:29:"nb_visits_converted_new_visit";i:0;s:17:"revenue_new_visit";i:0;s:25:"conversion_rate_new_visit";s:2:"0%";s:30:"nb_conversions_returning_visit";i:0;s:35:"nb_visits_converted_returning_visit";i:0;s:23:"revenue_returning_visit";i:0;s:31:"conversion_rate_returning_visit";s:2:"0%";s:12:"nb_pageviews";d:223;s:17:"nb_uniq_pageviews";d:133;s:12:"nb_downloads";d:44;s:17:"nb_uniq_downloads";d:34;s:11:"nb_outlinks";d:1;s:16:"nb_uniq_outlinks";d:1;s:11:"nb_searches";i:0;s:11:"nb_keywords";i:0;s:28:"nb_hits_with_time_generation";d:223;s:19:"avg_time_generation";d:1.207;s:11:"bounce_rate";s:3:"25%";s:20:"nb_actions_per_visit";d:13.4;s:16:"avg_time_on_site";d:976;}s:10:"2019-01-30";a:40:{s:16:"nb_uniq_visitors";d:14;s:9:"nb_visits";d:14;s:8:"nb_users";i:0;s:10:"nb_actions";d:79;s:11:"max_actions";d:50;s:12:"bounce_count";d:7;s:16:"sum_visit_length";d:5146;s:19:"nb_visits_returning";d:6;s:20:"nb_actions_returning";d:59;s:26:"nb_uniq_visitors_returning";d:6;s:18:"nb_users_returning";i:0;s:21:"max_actions_returning";d:50;s:21:"bounce_rate_returning";s:3:"50%";s:30:"nb_actions_per_visit_returning";d:9.8;s:26:"avg_time_on_site_returning";d:816;s:14:"nb_conversions";i:0;s:19:"nb_visits_converted";i:0;s:7:"revenue";i:0;s:15:"conversion_rate";s:2:"0%";s:24:"nb_conversions_new_visit";i:0;s:29:"nb_visits_converted_new_visit";i:0;s:17:"revenue_new_visit";i:0;s:25:"conversion_rate_new_visit";s:2:"0%";s:30:"nb_conversions_returning_visit";i:0;s:35:"nb_visits_converted_returning_visit";i:0;s:23:"revenue_returning_visit";i:0;s:31:"conversion_rate_returning_visit";s:2:"0%";s:12:"nb_pageviews";d:73;s:17:"nb_uniq_pageviews";d:42;s:12:"nb_downloads";d:5;s:17:"nb_uniq_downloads";d:4;s:11:"nb_outlinks";i:0;s:16:"nb_uniq_outlinks";i:0;s:11:"nb_searches";d:1;s:11:"nb_keywords";d:1;s:28:"nb_hits_with_time_generation";d:73;s:19:"av
Try to use php7.2 and 7.1 and 5.6
Posts: 2
Participants: 2
@guenther wrote:
I started console core:archive --url=https://piwik.tiberius-systems.at/
but it gives me the folowing error:
/var/www/html/piwik/core/Common.php(271): Notice - unserialize(): Error at offset 0 of 53988 bytes - Matomo 3.9.0 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already)
ERROR [2019-03-19 08:09:20] 8327 Empty or invalid response '[2019-03-19 08:09:19] piwik.DEBUG: Loaded plugins: CorePluginsAdmin, CoreAdminHome, CoreHome, WebsiteMeasurable, IntranetMeasurable, Diagnostics, CoreVisualizations, Proxy, API, ExamplePlugin, Widgetize, Transitions, LanguagesManager, Actions, Dashboard, MultiSites, Referrers, UserLanguage, DevicesDetection, Goals, Ecommerce, SEO, Events, UserCountry, GeoIp2, VisitsSummary, VisitFrequency, VisitTime, VisitorInterest, ExampleAPI, RssWidget, Feedback, Monolog, Login, TwoFactorAuth, UsersManager, SitesManager, Installation, CoreUpdater, CoreConsole, ScheduledReports, UserCountryMap, Live, CustomVariables, PrivacyManager, ImageGraph, Annotations, MobileMessaging, Overlay, SegmentEditor, Insights, Morpheus, Contents, BulkTracking, Resolution, DevicePlugins, Heartbeat, Intl, Marketplace, ProfessionalServices, UserId, CustomPiwikJs, TagManager [] {“class”:“Piwik\Plugin\Manager”,“request_id”:8414} [2019-03-19 08:09:19] piwik.DEBUG: /* trigger = CronArchive / SELECT count(distinct log_visit.idvisitor) AS1
, count() AS2
, sum(log_visit.visit_total_actions) AS3
, max(log_visit.visit_total_actions) AS4
, sum(log_visit.visit_total_time) AS5
, sum(case log_visit.visit_total_actions when 1 then 1 when 0 then 1 else 0 end) AS6
, sum(case log_visit.visit_goal_converted when 1 then 1 else 0 end) AS7
, count(distinct log_visit.user_id) AS39
FROM piwik_log_visit AS log_visit WHERE log_visit.visit_last_action_time >= ? AND log_visit.visit_last_action_time <= ? AND log_visit.idsite IN (?) [] {“class”:“VisitsSummary”,“request_id”:8414} [2019-03-19 08:09:19] piwik.DEBUG: PluginsArchiver::callAggregateAllPlugins: Initializing archiving process for all plugins [visits = 0, visits converted = ] [“callAggregateAllPlugins”,“0”,null] {“class”:“VisitsSummary”,“request_id”:8414} [2019-03-19 08:09:19] piwik.DEBUG: PluginsArchiver::callAggregateAllPlugins: Skipping archiving for plugin ‘ExamplePlugin’ (no visits). [“callAggregateAllPlugins”,“ExamplePlugin”] {“class”:“VisitsSummary”,“request_id”:8414} [2019-03-19 08:09:19] piwik.DEBUG: PluginsArchiver::callAggregateAllPlugins: Skipping archiving for plugin ‘Actions’ (no visits). [“callAggregateAllPlugins”,“Actions”] {“class”:“VisitsSummary”,“request_id”:8414} [2019-03-19 08:09:19] piwik.DEBUG: PluginsArchiver::callAggregateAllPlugins: Skipping archiving for plugin ‘Referrers’ (no visits). [“callAggregateAllPlugins”,“Referrers”] {“class”:“VisitsSummary”,“request_id”:8414} [2019-03-19 08:09:19] piwik.DEBUG: PluginsArchiver::callAggregateAllPlugins: Skipping archiving for plugin ‘UserLanguage’ (no visits). [“callAggregateAllPlugins”,“UserLanguage”] {“class”:“VisitsSummary”,“request_id”:8414} [2019-03-19 08:09:19] piwik.DEBUG: PluginsArchiver::callAggregateAllPlugins: Skipping archiving for plugin ‘DevicesDetection’ (no visits). [“callAggregateAllPlugins”,“DevicesDetection”] {“class”:“VisitsSummary”,“request_id”:8414} [2019-03-19 08:09:19] piwik.DEBUG: PluginsArchiver::callAggregateAllPlugins: Skipping archiving for plugin ‘Goals’ (no visits). [“callAggregateAllPlugins”,“Goals”] {“class”:“VisitsSummary”,“request_id”:8414} [2019-03-19 08:09:19] piwik.DEBUG: PluginsArchiver::callAggregateAllPlugins: Skipping archiving for plugin ‘Events’ (no visits). [“callAggregateAllPlugins”,“Events”] {“class”:“VisitsSummary”,“request_id”:8414} [2019-03-19 08:09:19] piwik.DEBUG: PluginsArchiver::callAggregateAllPlugins: Skipping archiving for plugin ‘UserCountry’ (no visits). [“callAggregateAllPlugins”,“UserCountry”] {“class”:“VisitsSummary”,“request_id”:8414} [2019-03-19 08:09:19] piwik.DEBUG: PluginsArchiver::callAggregateAllPlugins: Skipping archiving for plugin ‘VisitTime’ (no visits). [“callAggregateAllPlugins”,“VisitTime”] {“class”:“VisitsSummary”,“request_id”:8414} [2019-03-19 08:09:19] piwik.DEBUG: PluginsArchiver::callAggregateAllPlugins: Skipping archiving for plugin ‘VisitorInterest’ (no visits). [“callAggregateAllPlugins”,“VisitorInterest”] {“class”:“VisitsSummary”,“request_id”:8414} [2019-03-19 08:09:19] piwik.DEBUG: PluginsArchiver::callAggregateAllPlugins: Skipping archiving for plugin ‘CustomVariables’ (no visits). [“callAggregateAllPlugins”,“CustomVariables”] {“class”:“VisitsSummary”,“request_id”:8414} [2019-03-19 08:09:19] piwik.DEBUG: PluginsArchiver::callAggregateAllPlugins: Skipping archiving for plugin ‘Contents’ (no visits). [“callAggregateAllPlugins”,“Contents”] {“class”:“VisitsSummary”,“request_id”:8414} [2019-03-19 08:09:19] piwik.DEBUG: PluginsArchiver::callAggregateAllPlugins: Skipping archiving for plugin ‘Resolution’ (no visits). [“callAggregateAllPlugins”,“Resolution”] {“class”:“VisitsSummary”,“request_id”:8414} [2019-03-19 08:09:19] piwik.DEBUG: PluginsArchiver::callAggregateAllPlugins: Skipping archiving for plugin ‘DevicePlugins’ (no visits). [“callAggregateAllPlugins”,“DevicePlugins”] {“class”:“VisitsSummary”,“request_id”:8414} [2019-03-19 08:09:19] piwik.DEBUG: PluginsArchiver::callAggregateAllPlugins: Skipping archiving for plugin ‘UserId’ (no visits). [“callAggregateAllPlugins”,“UserId”] {“class”:“VisitsSummary”,“request_id”:8414} [2019-03-19 08:09:19] piwik.DEBUG: day archive, idSite = 4 (temporary archive), segment ‘’, report = ‘VisitsSummary’, UTC datetime [2019-03-18 23:00:00 -> 2019-03-19 22:59:59] [“day”,4,“temporary archive”,"",“VisitsSummary”,“2019-03-18 23:00:00”,“2019-03-19 22:59:59”] {“class”:“VisitsSummary”,“request_id”:8414} [2019-03-19 08:09:19] piwik.DEBUG: /* trigger = CronArchive / SELECT count(distinct log_visit.idvisitor) AS1
, count() AS2
, sum(log_visit.visit_total_actions) AS3
, max(log_visit.visit_total_actions) AS4
, sum(log_visit.visit_total_time) AS5
, sum(case log_visit.visit_total_actions when 1 then 1 when 0 then 1 else 0 end) AS6
, sum(case log_visit.visit_goal_converted when 1 then 1 else 0 end) AS7
, count(distinct log_visit.user_id) AS39
FROM piwik_log_visitany idea?
thanks in advance
Posts: 4
Participants: 4