Quantcast
Channel: Support & Bugs - Matomo forums
Viewing all 5845 articles
Browse latest View live

Is this Cron Job Working?

$
0
0

A couple days after updating to 4.1.1, I have started getting a “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” error when trying to view reports. The ‘real-time’ report does show the current visitors and sometimes the ‘visits log’ does too.
I have “Archive reports when viewed from the browser” off and my Cron Job appears to be working. The “matomo-archive-output” file after a Cron Job says this:

INFO [2021-02-19 16:01:03] 1122843  ---------------------------
INFO [2021-02-19 16:01:03] 1122843  INIT
INFO [2021-02-19 16:01:03] 1122843  Running Matomo 4.1.1 as Super User
INFO [2021-02-19 16:01:03] 1122843  ---------------------------
INFO [2021-02-19 16:01:03] 1122843  NOTES
INFO [2021-02-19 16:01:04] 1122843  - Async process archiving not supported, using curl requests.
INFO [2021-02-19 16:01:04] 1122843  - Reports for today will be processed at most every 18000 seconds. You can change this value in Matomo UI > Settings > General Settings.
INFO [2021-02-19 16:01:04] 1122843  - Archiving was last executed without error 11 min 0s ago
INFO [2021-02-19 16:01:04] 1122843  ---------------------------
INFO [2021-02-19 16:01:04] 1122843  START
INFO [2021-02-19 16:01:04] 1122843  Starting Matomo reports archiving...
INFO [2021-02-19 16:01:05] 1122843  Start processing archives for site 1.
INFO [2021-02-19 16:01:05] 1122843    Will invalidate archived reports for today in site ID = 1's timezone (2021-02-19 00:00:00).
INFO [2021-02-19 16:01:05] 1122843    Will invalidate archived reports for yesterday in site ID = 1's timezone (2021-02-18 00:00:00).
INFO [2021-02-19 16:01:05] 1122843  Finished archiving for site 1, 0 API requests, Time elapsed: 0.050s [1 / 2 done]
INFO [2021-02-19 16:01:05] 1122843  Start processing archives for site 3.
INFO [2021-02-19 16:01:05] 1122843  Finished archiving for site 3, 0 API requests, Time elapsed: 0.005s [2 / 2 done]
INFO [2021-02-19 16:01:06] 1122843  Done archiving!
INFO [2021-02-19 16:01:06] 1122843  ---------------------------
INFO [2021-02-19 16:01:06] 1122843  SUMMARY
INFO [2021-02-19 16:01:06] 1122843  Processed 0 archives.
INFO [2021-02-19 16:01:06] 1122843  Total API requests: 0
INFO [2021-02-19 16:01:06] 1122843  done: 0 req, 1086 ms, no error
INFO [2021-02-19 16:01:06] 1122843  Time elapsed: 1.086s
INFO [2021-02-19 16:01:06] 1122843  ---------------------------
INFO [2021-02-19 16:01:06] 1122843  SCHEDULED TASKS
INFO [2021-02-19 16:01:06] 1122843  Starting Scheduled tasks... 
INFO [2021-02-19 16:01:06] 1122843  Scheduler: executing task Piwik\Plugins\CustomJsTracker\Tasks.updateTracker...
INFO [2021-02-19 16:01:06] 1122843  Scheduler: finished. Time elapsed: 0.003s
INFO [2021-02-19 16:01:06] 1122843  Scheduler: executing task Piwik\Plugins\PrivacyManager\Tasks.deleteLogData...
INFO [2021-02-19 16:01:06] 1122843  Scheduler: finished. Time elapsed: 0.005s
INFO [2021-02-19 16:01:06] 1122843  Scheduler: executing task Piwik\Plugins\PrivacyManager\Tasks.anonymizePastData...
INFO [2021-02-19 16:01:06] 1122843  Scheduler: finished. Time elapsed: 0.001s
INFO [2021-02-19 16:01:06] 1122843  done
INFO [2021-02-19 16:01:06] 1122843  ---------------------------

Should the process archives be zero or total API requests be zero?

When I try to do a full system check it says:

Illegal length modifier specified ‘f’ in s[np]printf call
in /home/***.com/vendor/twig/twig/src/Cache/FilesystemCache.php line 61

Any ideas what might be causing these problem?

Thanks!

4 posts - 2 participants

Read full topic


Matomo Heartbeat

$
0
0

I am using matomo for wordpress and it keeps showing the time spent on the last page of the visit as 0 seconds. I have enabled the heartbeat to ping every 5 seconds but it made no difference.

Is there anyway to fix this?

1 post - 1 participant

Read full topic

Auto archiving returns error access

$
0
0

Hi all,

after upgrading to the latest version 4.1.1 (from 3.8) we started to have the following issue when we executing the auto-archive command in a windows server with task manager:

D:\php\php.exe “D:\inetpub\wwwroot\analytics/console” core:archive --accept-invalid-ssl-certificate
INFO [2021-02-22 08:54:43] 7788 ---------------------------
INFO [2021-02-22 08:54:43] 7788 INIT
INFO [2021-02-22 08:54:43] 7788 Running Matomo 4.1.1 as Super User
INFO [2021-02-22 08:54:43] 7788 ---------------------------
INFO [2021-02-22 08:54:43] 7788 NOTES
INFO [2021-02-22 08:54:43] 7788 - Async process archiving not supported, using curl requests.
INFO [2021-02-22 08:54:43] 7788 - Reports for today will be processed at most every 900 seconds. You can change this value in Matomo UI > Settings > General Settings.
INFO [2021-02-22 08:54:43] 7788 - Archiving was last executed without error 1 days 8 hours ago
INFO [2021-02-22 08:54:48] 7788 ---------------------------
INFO [2021-02-22 08:54:48] 7788 START
INFO [2021-02-22 08:54:48] 7788 Starting Matomo reports archiving…
INFO [2021-02-22 08:54:53] 7788 Start processing archives for site 1.
INFO [2021-02-22 08:54:53] 7788 Will invalidate archived reports for today in site ID = 1’s timezone (2021-02-22 00:00:00).
INFO [2021-02-22 08:54:53] 7788 Will invalidate archived reports for yesterday in site ID = 1’s timezone (2021-02-21 00:00:00).
ERROR [2021-02-22 08:54:53] 7788 Got invalid response from API request: ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=day&date=2021-02-22&format=json&trigger=archivephp. Response was ‘{“result”:“error”,“message”:“You can’t access this resource as it requires a ‘superuser’ access.”}’
INFO [2021-02-22 08:54:53] 7788 Archived website id 1, period = day, date = 2021-02-22, segment = ‘’, 0 visits found. Time elapsed: 0.559s

Sometimes it works properly, sometimes it doesn’t. If we:

  1. set the parameter “Archive reports when viewed from the browser” to “Yes”, then

  2. refresh our matomo page and then

  3. we execute the command above, it works. It might be a coincidence though :slight_smile:

Any lead will be very helpful for us!

Cheers,
Michail

1 post - 1 participant

Read full topic

Missing yearly data "Visitors Overview"&"Visits Over Time" dashboard widget

$
0
0

Hi, first and foremost and would like to thank everybody who has worked extremely hard over the years to make Matomo/Piwik one of the best open source platforms out there. I have been a Matomo/Piwik user since 2008 and have managed to keep my data over the years.

I’m currently experiencing a weird issue with Matomo and the “Visitors Overview” and “Visits Over Time” dashboard widgets.

For some odd reason, when attempting to view my yearly stats, it’s not displaying all of my data from the year 2018.

The widgets are not displaying full data: for example, the “Visitors Overview” doesn’t provide data for number of visits, average duration, % visits that bounced but shows data from average generation time, pageviews, unique pageviews, total searches on your website, unique keywords.

Furthermore, the "Visits Over Time’ dashboard widget shows absolutely zero visits during the 2018 calendar year.

However, the “Returning Visits over time” widget shows data from 2018.

I have checked the database using phpMyAdmin and the visit logs for the entire 12 months are there.

Any recommendations as to how to fix this particular issue.

Thanks in advance, your help is appreciated.!!

1 post - 1 participant

Read full topic

Error in email reports scheduled reports truncate limit

$
0
0

After the update to Matomo 3.14.1, the scheduled_reports_truncate limit parameter is no longer correct. The rows in the email reports are always limited to 100 regardless of the value set in the config.ini.php.
Is this a bug?

Regards
Pete

1 post - 1 participant

Read full topic

Session expired after upgrade to the latest version

$
0
0

Hey there,

I am facing an issue after major upgrade to the latest Matomo version. I have Googled a lot and see it was an issue with some older versions, but it happens again to me (never happened before this upgrade).

The thing is that right after I visit the dashboard I get notification : Your session has expired due to inactivity. Please log in to continue.

When I login and go back to the dashboard, same notification happens.

I tried fixing it buy modifying core/Session.php , but seems like all needed changes are already present in latest version (Session Inactivity Timeout) and after few of reconnects I get temporary blocked because “too many failed attempts”

These are cookies I see once I reach dashboard:

If any other information is needed, please let me know. Anyone else facing same issue?

6 posts - 2 participants

Read full topic

Matomo running very slow

$
0
0

Hi Team,
Matomo is running super slow.

https://matomo.org/faq/troubleshooting/faq_140/#:~:text=It%20takes%20a%20long%20time%20to%20load%20widgets%2C%20reports%20and%20pages.,-Category%3A%20Troubleshooting&text=There%20are%20a%20few%20possible,could%20be%20slow%20to%20load%3A&text=This%20is%20because%20Matomo%20by,to%20enable%20Database%20session%20storage.

We have set up cron job and we have 1000 users per day - SAAS.

I was wandering if you could help me here or suggest a way ? Please see enclosed below and this screen remains sometime and then it changes to widgets are loading and sends me contact admin for this.

2 posts - 2 participants

Read full topic

Upgrade to 4.2.0 fails with SQL error

$
0
0

Hi there,

I’ve tried to upgrade the databse from version 3.13.5-rc1 to the new version 4.2.0.

I’m getting the following error:

Error trying to execute the migration ‘UPDATE matomo_log_visit SET visitor_seconds_since_first = visitor_days_since_first * 86400,
visitor_seconds_since_order = visitor_days_since_order * 86400,
visitor_seconds_since_last = visitor_days_since_last * 86400;’.
The error was: SQLSTATE[HY000]: General error: 3100 Error on observer while running replication hook ‘before_commit’.

I’ve tried re-running the db upgrade, but I keep getting this error.

2 posts - 2 participants

Read full topic


A fatal error occurred v4.2.0: Illegal length modifier specified 'f' in s[np]printf call

$
0
0

Hello, last night I updated to 4.2.0 and then I received the following:

A fatal error occurred
The following error just broke Matomo (v4.2.0):
Illegal length modifier specified ‘f’ in s[np]printf call
in /home/matomo/domain.com/vendor/twig/twig/src/Cache/FilesystemCache.php line 61

I followed the troubleshooting guide as much as possible. For example, I disabled plugins to no avail. Another troubleshooting technique is to restart the web server however, I cannot restart my web server becuase it is on a shared platform.

I then downloaded and opened a new install locally and compared line 61 code of the file FilesystemCache.php and it matches line 61 of that file that is live. At this point I am miffed about where to look to resolve this issue.

I admit, I am not as nerdy as I would like to be with this, but I am willing to dig in, I just need some direction.

Thank you

2 posts - 2 participants

Read full topic

No analysis since yesterday

$
0
0

Hi there

I’m using matomo since many years without any problems.
Since two days there are no analysis.

On the Developer Tool in Firefox is an issue:

POST https://www.xyz.xy/piwik/matomo.php?action_name=www.xyz.xy | Home&idsite=3&rec=1&r=430866&h=19&m=35&s=18&url=https:/www.xyz.xy/index.htm&urlref=https://www.xyz.xy/History.htm&_id=123456789&_idn=0&_refts=0&send_image=0&cookie=1&res=2560x1440&pv_id=4Hc5fI&pf_srv=32&pf_tfr=0

Status 400 Bad Request
Version HTTP/2
Referrer Policy no-referrer-when-downgrade

I think it’s the same problem like here:

What could it be?
Can you help me?

Kind regards,

Benno

1 post - 1 participant

Read full topic

Archiving extremly slow after Update 4.1.1 -> 4.2

$
0
0

After an Update to 4.2 archiving has become extremly slow, even when using auto-archive with a cronjob:
/usr/bin/php /path/to/matomo/console core:archive --url=http://example.org/matomo/

mytop shows that temporary tables are created and dropped very slowly and the archiving does produce high server load. All this came with the update to 4.2 and was not a problem before.

On that server Matomo is running on PHP 7.3 and MariaDB 10.0.38.

Thx,
Flux24

1 post - 1 participant

Read full topic

Matomo4.2安装配置后,无法收集到访问日志

$
0
0

我按照官方文档进行了配置,并且在网站页面添加了javascript ,但是访问我的网站确一直没有收集到访问日志。查看matomo的nginx日志,有对应网站上的请求记录。但是在mysql的matomo_log_visited中没有任何信息。我在命令行执行/usr/bin/php72 /data/soft/matomo3/console core:archive --url=https://demo.com 输出如下内容:

INFO [2021-02-24 09:49:03] 17724 START
INFO [2021-02-24 09:49:03] 17724 Starting Matomo reports archiving…
INFO [2021-02-24 09:49:04] 17724 Start processing archives for site 1.
INFO [2021-02-24 09:49:04] 17724 Finished archiving for site 1, 0 API requests, Time elapsed: 0.156s [1 / 1 done]
INFO [2021-02-24 09:49:04] 17724 Done archiving!

2 posts - 2 participants

Read full topic

Email scheduled reports not sending

$
0
0

Hi there,

I have set up email reports in Matomo - one weekly and one daily. However, they just aren’t sending. I’ve even clicked the Send Report Now link and nothing is being sent. I am included in the email so I know they aren’t being sent out. This is crucial for stakeholder management and I can’t see an obvious reason why they’re not sending.

Thanks in advance.

2 posts - 2 participants

Read full topic

Regex for conversion matching not working correctly?

$
0
0

Hi,

I’ve been trying to count conversions with matomo when an URL with a certain URL pattern has been visited. The URL looks like this:

http://domain/keyword/keyword/1/2408

The regex we’ve created is this: domain/[^/]/[^/]/1/ which is correct according to regex101: build, test, and debug regex

But when using this regex in Matomo for conversion tracking, nothing happens.

Is there somethign wrong with matomo or could help me with a regex that works with matomo, please?

Best,

Paul

1 post - 1 participant

Read full topic

The plugin GoogleAnalyticsImporter could not be loaded as it has missing dependencies: GoogleAnalyticsImporter requires Matomo >=4.1.2-rc2. Please contact your Matomo administrator

$
0
0

Hi,

I’m trying to import old google analytics data into a wordpress site but I’m having problems even accessing the “import” section within Matomo admin. The image below shows my issues:-

I have double checked I have the latest versions of both Matomo plugins so that shouldn’t be the problem?

I found this in this forum but I can’t seem to find how to clean the cache. Or maybe I just have to wait for it to expire?

Any help with would be greatly appreciated.

1 post - 1 participant

Read full topic


SELECT searching 30 000 000 rows without index

$
0
0

Hi there,

we are having severe performance problems in our matomo installation (4.2), possibly after upgrading from 3.x, but that is not sure.

When a user logs in, it seems like there are several select statements searching in the matomo_log_action table but not using the hashed index for name.

With phpMyAdmin I can see that those SELECT’s are searching in 30 000 000 rows of matomo_log_action and they return about 7 000 rows with name “audi” in for example. This search takes about 100 seconds, the CPU Load goes to 100%.

This is the SELECT-statement, which causes the high load:

SELECT idaction FROM matomo_log_action WHERE ( name LIKE CONCAT(’%’, ‘audi-’, ‘%’) AND type = 4 )

=> Result is 7000 statements like this:

39194899
44399276
22335681

If I execute the statement by hand with the name-tag added to the statement ike this:

SELECT idaction,name FROM matomo_log_action WHERE ( name LIKE CONCAT(’%’, ‘audi-’, ‘%’) AND type = 4 )

it yields:

39194899 audi -#- Praktikum - Audi Customer Care der Zukunft (m/w/d) -#- 1301635 -#- r1gg53a63tcok7n340e6q9n935

44399276 audi -#- Praktikum - Audi Vorseriencenter (VSC) - Produkt- / Prozesstechnik Elektronik -#- 1040527 -#- m5uca6e97klb9rk7fvmmsen587

22335681 audi -#- Praktikum - Produktplanung Karosserie Lack (m/w/d) -#- 1281078 -#- b08eboq6lukpsmklilubtnvdb4

Takes also 100 seconds.

So far this is understandable for me but why takes this search place at all?

This statement originates from core/Tracker/TableLogAction.php and is built in the function

getSelectQueryWhereNameContains($matchType, $actionType)

and does not use the hashed index for name, obviously because there are wildcards in the name involved.

It seems like this has something to do with segmentation?

Any ideas on this problem would be appreciated…

Cheers Michael

1 post - 1 participant

Read full topic

Performance metrics problems after upgrade to 4.2

$
0
0

Hi,
I’ve opened an issue post over at GitHub about this.

I want to downgrade to version 4.1 for now, until this gets sorted out. Besides copying the 4.1 files at Matomo’s folder, what DB queries are needed? Or in general, what should be done about the database?

1 post - 1 participant

Read full topic

URGENTLY need support for downgrade to v. 4.1.1

$
0
0

The 4.2 version didn’t work for me. I need to downgrade to the previous version as soon as possible.

I got matomo-4.1.1.zip from builds.matomo.org, but after uploading the files and replacing the default config.ini.php with the one I use, I got this error:

Your Matomo codebase is running the old version 4.1.1 and we have detected that your Matomo Database has already been upgraded to the newer version 4.2.0. Maybe your Matomo administrators are currently finishing the upgrade process. Please try again in a few minutes. If you still have this issue please contact your Matomo administrator for assistance. 

What needs to be done in the database in order to work?
I have searched your site, documentation, your github - there is no relevant database info.

Please respond, this has to be fixed.
Should have never done this update.

1 post - 1 participant

Read full topic

Update to 4.2.0: core:archive exception

$
0
0

Hey,

I receive the following exception after updating to 4.2.0:

root@b06e25217d80:/var/www/html# /usr/local/bin/php /var/www/html/console --matomo-domain=matomo.mydomain.com core:archive > /var/log/matomo-archive.log
 </html>'ter>nginx/1.19.1</center>/h1></center>d>zing the following response from ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=year&date=2020-01-01&format=json&plugin=VisitFrequency&trigger=archivephp&pluginOnly=1: '<html>
ERROR [2021-02-27 13:56:30] 4697  1 total errors during this script execution, please investigate and try and fix these errors.
ERROR [2021-02-27 13:56:30] 4697  Uncaught exception: /var/www/html/core/CronArchive.php(605): 1 total errors during this script execution, please investigate and try and fix these errors.
1 total errors during this script execution, please investigate and try and fix these errors.


                                                                                                 
  [Exception]                                                                                    
  1 total errors during this script execution, please investigate and try and fix these errors.  
                                                                                                 


core:archive [--url="..."] [--skip-idsites[="..."]] [--skip-all-segments] [--force-idsites[="..."]] [--skip-segments-today] [--force-periods[="..."]] [--force-date-last-n="..."] [--force-date-range[="..."]] [--force-idsegments="..."] [--concurrent-requests-per-website[="..."]] [--concurrent-archivers[="..."]] [--disable-scheduled-tasks] [--accept-invalid-ssl-certificate] [--php-cli-options[="..."]] [--force-all-websites] [--force-report[="..."]]


Thanks,
Ben

1 post - 1 participant

Read full topic

Goal triggered by event with a value does not show the revenue

$
0
0

I defined a goal whenever a user fires an event. The event triggers with a value. On my project the event is fired by this javascript code:

_paq.push(['trackEvent', eventCategory, eventAction, eventValue]);

where eventValue is an integer. When I look in Matomo at the events list I see that the event was fired and when I open the second tab on the event list “Ereignisaktion” in German there are value listed.

Additionally I set a goal based on this event and I clicked the checkbox to use the event value a the revenue. The events show up as reached goals but no revenue is calculated, it stays 0 (zero). Does anyone have an idea what causes this?

Best,
Tobias Krause

1 post - 1 participant

Read full topic

Viewing all 5845 articles
Browse latest View live