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

setGenerationTimeMs is not working after upgrade to 4.x

$
0
0

Hi @thomas_matomo,
After upgrade 4.X ‘setGenerationTimeMs’ is not working and below is the error message showing “setGenerationTimeMs is no longer supported since Matomo 4. The call will be ignored. There is currently no replacement yet”,
Do we any alternate for this, please guide us how to solve this.

Thanks
Sampath

1 post - 1 participant

Read full topic


File Size mismatch after upgrade version

$
0
0

Hello,

I have made the update from version 3.5.1 to the latest stable, 4.2.1 and everything is correct.

To verify that everything is ok, I go to the system check, and I see that it gives me a warning about the integrity of the files, giving a “file size mismatch” in the files of the “Actions” plugin.

Errors below may be due to a partial or failed upload of Matomo files.
--> Try to reupload all the Matomo files in BINARY mode. <--

File size mismatch: /var/www/educacion/cau_ce/estadisticasweb_test/plugins/Actions/Actions/ActionClickUrl.php (expected length: 1922, found: 1919)
File size mismatch: /var/www/educacion/cau_ce/estadisticasweb_test/plugins/Actions/Actions/ActionDownloadUrl.php (expected length: 1001, found: 998)
File size mismatch: /var/www/educacion/cau_ce/estadisticasweb_test/plugins/Actions/Actions/ActionSiteSearch.php (expected length: 9761, found: 9995)
File size mismatch: /var/www/educacion/cau_ce/estadisticasweb_test/plugins/Actions/Actions.php (expected length: 5936, found: 6407)
File size mismatch: /var/www/educacion/cau_ce/estadisticasweb_test/plugins/Actions/API.php (expected length: 21275, found: 21689)
File size mismatch: /var/www/educacion/cau_ce/estadisticasweb_test/plugins/Actions/Archiver.php (expected length: 23410, found: 21637)
File size mismatch: /var/www/educacion/cau_ce/estadisticasweb_test/plugins/Actions/ArchivingHelper.php (expected length: 26201, found: 24597)
File size mismatch: /var/www/educacion/cau_ce/estadisticasweb_test/plugins/Actions/Categories/DownloadsSubcategory.php (expected length: 635, found: 401)
File size mismatch: /var/www/educacion/cau_ce/estadisticasweb_test/plugins/Actions/Categories/EntryPagesSubcategory.php (expected length: 727, found: 410)
File size mismatch: /var/www/educacion/cau_ce/estadisticasweb_test/plugins/Actions/Categories/ExitPagesSubcategory.php (expected length: 723, found: 408)
File size mismatch: /var/www/educacion/cau_ce/estadisticasweb_test/plugins/Actions/Categories/OutlinksSubcategory.php (expected length: 628, found: 399)
File size mismatch: /var/www/educacion/cau_ce/estadisticasweb_test/plugins/Actions/Categories/PagesSubcategory.php (expected length: 699, found: 392)
File size mismatch: /var/www/educacion/cau_ce/estadisticasweb_test/plugins/Actions/Categories/PageTitlesSubcategory.php (expected length: 646, found: 410)
File size mismatch: /var/www/educacion/cau_ce/estadisticasweb_test/plugins/Actions/Categories/SiteSearchSubcategory.php (expected length: 825, found: 410)
File size mismatch: /var/www/educacion/cau_ce/estadisticasweb_test/plugins/Actions/Columns/ActionType.php (expected length: 2697, found: 2695)
File size mismatch: /var/www/educacion/cau_ce/estadisticasweb_test/plugins/Actions/Columns/ActionUrl.php (expected length: 1111, found: 719)
File size mismatch: /var/www/educacion/cau_ce/estadisticasweb_test/plugins/Actions/Columns/ClickedUrl.php (expected length: 1040, found: 978)
...

How can I fix this!?

Thanks in advanced!

2 posts - 2 participants

Read full topic

Bounce Rate and Return Visits Near Zero Since Setting up Matomo

$
0
0

Hi,

We’re having issues with both our bounce rate and return visit metrics since setting up Matomo (self-hosted) a few weeks ago. Any suggestions for fixes would be much appreciated!

1) Return visits near zero:

The attached screenshot shows return visits for all traffic as just 10 from 38,710 visits. Our typical return rate for all visits is ~10-15% historically in Google Analytics.

2) Bounce rate showing as 3%:

Link below is a screenshot of our main segment in Matomo which filters out non core traffic (excludes those whose entry pages are Privacy Policy pages and had certain events like logging into our product platform). It’s showing as 3% which is far off our historical rate of ~65%.

Note: Bounce rate even for All visits (not using any segments) shows as 30% in Matomo, and historically is >70% in GA so this doesn’t seem to be an issue only with the segment we’ve applied.

Any thoughts/ suggestions on what may be causing either of the above?

Many thanks!

1 post - 1 participant

Read full topic

Feb 2021 Month Stats Missing

$
0
0

Hi… I am using Piwik 2.16.1… I have checked Feb month data on a week wise but all of a sudden Feb Month stats alone missing in the tool. Please facilitate.

2 posts - 2 participants

Read full topic

Matomo on CyberPanel

$
0
0

I successfully installed Matomo on CyberPanel, but cannot solve one last issue, cron. Installation is as:

cd /home/matomo.mydomain.com/matomo
wget https://builds.matomo.org/matomo-latest.zip && unzip matomo-latest.zip
cp -ar matomo/* .
rm -rf matomo-latest.zip 'How to install Matomo.html' matomo
chown -R cyberpanel:cyberpanel /home/matomo.mydomain.com/matomo
chmod -R 755 /home/matomo.mydomain.com/matomo

So, in ‘normal’ (GCP Marketplace deployment image), I have for /etc/cron.d/matomo-archive:

MAILTO="myemail@mydomain.com"
5 * * * * root /usr/bin/php /var/www/html/console core:archive --url=https://matomo.mydomain.com/matomo/ > /home/files/matomo-archive.log

and working

su root -s /bin/bash -c "/usr/bin/php /var/www/html/console core:archive --url=https://matomo.mydomain.com/matomo/"

On CyberPanel installation for /etc/cron.d/matomo-archive, I set:

MAILTO="myemail@mydomain.com"
5 * * * * root /usr/bin/php /home/matomo.mydomain.com/matomo/console core:archive --url=https://matomo.mydomain.com/matomo/ > /home/files/matomo-archive.log

but output is bad and cron actually not working (so, I have for):

su root -s /bin/bash -c "/usr/bin/php /home/matomo.mydomain.com/matomo/console core:archive --url=https://matomo.mydomain.com/matomo/"

output as

#!/usr/bin/env php

So, it looks that something is wrong with my paths (I guess to console).

Does anyone understand what I did wrong?

2 posts - 2 participants

Read full topic

Image tracking no visitors

$
0
0

I am not getting any results testing for a new website. I’m not using JavaScript just image tracking. The URL showing in the website logs is

GET /analytics/matomo.php?idsite=4&rec=1&action_name=Media%20Manager HTTP/1.1

This is returning 200 to the browser.

However the dashboard is not showing any visitors and log is empty ?
Version 3.13
Thanks
Paul

1 post - 1 participant

Read full topic

Archiving Error when Updating ISP Database

$
0
0

My Matomo instance (On-Premise) is giving me the following errors when running the archiving function (during cron job and manual run):

/matomo/plugins/GeoIp2/GeoIP2AutoUpdater.php(175): GeoIP2AutoUpdater: failed to download 'https://geolite.maxmind.com/download/geoip/database/GeoLite2-ASN.tar.gz'
curl_exec: Could not resolve host: geolite.maxmind.com. Hostname requested was: geolite.maxmind.com

Looking this up, I noticed all of the posts around 2018 or 2019 saying Maxmind was no longer free and that the default database was going to be switched to dbip city lite, which my company is fine with. I can confirm that the setting in Matomo for the “Location Database” is the dbip URL (https://download.db-ip.com/free/dbip-city-lite-2021-03.mmdb.gz).

That said, I still get the issue above, and I can’t help but notice the “ISP Database” in the Geolocation Settings has a disabled text input field with the URL listed above in the error. I notice the field does have a “name” attribute, so I’m sure I could just enable the field in DevTools and submit an empty value, but I don’t know if that’s the right thing to do or if it would even do anything (or let me even try submitting). I don’t know that we need an ISP database for what we’re doing with the analytics, unless it’s used for other processes in Matomo. In short, how do I resolve this?

P.S. There’s a whole laundry list of issues that came about along with this one, but this is the last thing that I can’t seem to figure out. For brevity (though not much apparently), I’ve left out how I got to this point, but I can mention that too if it’s relevant.

1 post - 1 participant

Read full topic

Creating Secondary dimension like in Google Analytics


How to remove a specific Event in Matomo?

$
0
0

In Matomo it is possible to find a list of events by clicking on Behaviour -> Events. But how you can remove an event? Is there a guide to do this?

2 posts - 2 participants

Read full topic

Matomo WordPress/Akeeba Backup/resources problem?

$
0
0

Hello

I’m using Matomo for the first time, and have installed it in a WordPress site on a project development server, set up so that it tracks me and the site owner – the two people who are working on this website. This is so that I can get a feel for how it works and the reports it generates.

All worked well for a week or two, until I noticed it had stopped showing data, both in the WP summary area and in the more detailed reports.

There, it said:

"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."

I went through the steps on the troubleshooting page: https://matomo.org/faq/wordpress/matomo-for-wordpress-is-not-showing-any-statistics-not-archiving-how-do-i-fix-it/ and noticed that the cron job had stopped working a few days previously, on the same day that the Akeeba Backup plugin wasn’t able to complete a site backup.

Working through that troubleshooting page, I wasn’t able to activate manual archiving. Standard WP debugging didn’t give me any clues either, but I found this page: https://matomo.org/faq/wordpress/my-wp-cron-is-not-working-how-do-i-enable-browser-archiving/ about browser archiving.

I enabled this, and Matomo > Summary showed me the following error:

"Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 262144 bytes) in mysite.com/wp-content/plugins/akeebabackupwp/app/Solo/engine/Psr/Log/AbstractLogger.php on line 135.

Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 262144 bytes) in Unknown on line 0"

Lines 133–135 of that Akeeba file say:

public function debug($message, array $content = [])
{
$this->debug($message, $context);
}

I disabled Akeeba Backup, and Matomo started working again. It was tracking visits, running the cron and showing reports.

When I reenabled/reinstalled it, Matomo stopped working again. And Akeeba also wasn’t able to make a backup. According to the progress report, it stopped when it got to the Matomo directory.

I then excluded the Matomo directory from the backups, and they now complete OK, although Matomo doesn’t work. It’s also not ideal that the Matomo info isn’t included in the backups.

At some point during all this a fatal WordPress error occurred. From the email it triggered:

"An error of type E_ERROR was caused in line 135 of the file XXX"

(the same line in the same Akeeba Backup file mentioned above.)

My guess is that there isn’t an incompatibility between Matomo and Akeeba Backup, but rather a lack of server resources that is impacting both of these plugins and/or how they interact with each other.

Somewhere along the line I also increased the PHP memory limit to 512MB.

What seems to be the actual problem here? Lack of disc space? Lack of database capacity? Lack of server memory?

Would installing the on-premises version of Matomo instead of the WP version make a difference? Or do I need to address disc space/database capacity/server memory first?

I’d really appreciate some expert input, as I’d love to get this working and ideally use Matomo on other projects. And sorry for the long post. I thought I’d better explain things as well as possible.

Thanks, Paul

1 post - 1 participant

Read full topic

Create segment from campaign

$
0
0

Hi all,

I’m trying to create a segment from a campaign. It should be really simple but I can’t even find campaign as an alternative in the dropdown list or when I search. Is it not available or what am I doing wrong?

Thanks in advance,
Daniel

1 post - 1 participant

Read full topic

Search engine keywords performance not connecting

$
0
0

Hi,
Using wordpress and woocommerce
I have set google and bink keyword imports (google and bing are connected and list my website correctly as “available to import”), however i cant seem to “Configure Websites”, both Google and Bing give same problem.
I select website and account from the dropdown and click save… it reloads the same page, nothing is saved. Both Google and Bing do the same.

So i think something is wrong on plugin side in Wordpress

2 posts - 1 participant

Read full topic

setRequestQueueInterval() isn't working as expected

$
0
0

Hi Colleagues,

I’ve been using Matomo library for quite some time now and I recently implemented bulkTracking using the library. I wanted to set an interval for which duration the events will be queued and the bulk request will be sent after this interval.

I got to know that setRequestQueueInterval() can be used to set the queue interval. However, it doesn’t work like an interval but rather like inactivity time after which request is fired.

What I mean here is - If I set the timeout to be 15 seconds and if I start using the application at 4:00:00 pm and used it continuously for 1 minute, I expect that at the end of my 1 min activity, there should be 4 requests fired. However, there’s no request fired at all. Rather, there’s 1 request fired at 4:01:15 pm, i.e., after 15 seconds of inactivity from 4:01:00 pm.

is this a bug? How do I achieve my requirement? Kindly let me know. Thank you.

1 post - 1 participant

Read full topic

Problem with the Two-Factor Authentication setting

$
0
0

Hello,
On my personal Joomla site, in Matomo version 4.1.1 I wanted to change some settings.
I enabled “two-factor authentication” but was surprised not to see the setting. When I wanted to change the menu to see other Matomo settings, I got a window for setting this function: "You must configure two-factor authentication before you can identify yourself.
Please follow the next steps to configure two-factor authentication. "
But, only then did I realize that I need to download an app on my mobile phone, scan a QR code, and enter an activation code.
The problem is, on my mobile phone, I cannot download an app.
So I am stuck at this stage and cannot go back. No “Cancel” or “Back” button to disable Two-Factor Authentication. So I no longer have access to Matomo statistics.
Via FTP, I modified the “config.ini.php” file by removing line 146: PluginsInstalled [] = “TwoFactorAuth” but that doesn’t change anything!
The question: How to disable this setting without having access to Matomo?
Via FTP, in which file can I deactivate it?

Thanks for your help.
Michael

2 posts - 1 participant

Read full topic

Js error when loading the admin menu

$
0
0

Hi!
This is my first time installing Matomo and everything is working fine except 1 thing. When the admin menu is loading I get 403 response for two of the js-files it tries to load:

I am using:
Matomo version: 4.2.1
MySQL version: 8.0.23-0ubuntu0.20.04.1
PHP version: 7.4.3
Nginx version: 1.18.0

Permissions for the matomo/plugins/CoreHome is:
drwxr-xr-x www-data www-data
and
permission in /CoreHome/javascripts are:
-rwxr-xr-x www-data www-data

The other scripts seems to loading fine, why are these two not?
Regards,
Fredrik

2 posts - 2 participants

Read full topic


Set up GeoIP2 for Windows

$
0
0

Hi All,

We set up matomo on a windows server. I’d like to activate the GeoIP2 to geolocate users.
I had download both BD of maxmind and DBIP, I had activate the functionnality of BDIP / GeoIP2 (php) but it’s still not working and I think I forget a step.
where I can find a step-by-step documentation to correctly install and configure the GeoIP2 component?

Thanks
J

4 posts - 2 participants

Read full topic

New matomo w/ bitnami ova installation issue

$
0
0

Hi all,
I’m new here and have loaded up a bitnami (debian) image of matomo with vmware 2vcpu 8GB RAM.

The site is up and running, tracking and recording sites as intended however, the matomo site crashes and is unreachable randomly. Sometimes waiting 20-60 minutes and the site will be back up but most of the time, I need to reboot the server for it return. During this time, the apache and db services are still up and running. sometimes restarting apache fixes it but usually not.

1 post - 1 participant

Read full topic

Matomo TagManager issue after upgrade

$
0
0

Hi Guys - We upgraded from 3.7 to 4.2. Getting below issues with TagManager, need help in troubleshooting!
The plugin TagManager could not be loaded as it has missing dependencies: TagManager requires Piwik <4.0.0-b1. Please contact your Matomo administrator.
How do we fix this?

1 post - 1 participant

Read full topic

Summing visits in different methods (Bug?)

$
0
0

Hello, I have an issue with the sums Matomo returns in different widgets respectively different analysis methods. For example “Visits Overview” vs “Channel Types”: Comparing every day of a 14 days period the amount of visits in “Visits Overview” is equal to total visits in “Channel Type”.

Comparing the first week the amounts are also equal (sorry, no two images possible, but the amounts are equal).

Comparing the second week the amounts deviate extremely (see image below)

Sometimes the sum in “Visits Overview” is wrong, sometimes the sum in “Channel types”.
This issue occurs with no regularity but I found no way to avoid it. And I’ve got also no chance to update the values, if this issue occurs (except from deleting all reports and running into the same issue anywhere else on generating the reports again).

I use Matomo 4.2.1 on premise an analyzing logfiles.

Thank you for your advice and help.

1 post - 1 participant

Read full topic

Google Analytics import issue

$
0
0

Hello! I am running an instance of Matomo 4.2.1, with PHP 7.4.3 and MariaDB 10.3.25 on an Ubuntu 20.04 server. I have installed and configured the Google Analytics importer plugin (v4.1.1) following the guide on your website, as I’m trying to move an existing dataset from Google to Matomo. However, I’m having an issue. The importer has started and has been importing everything from 2018, and it’s currently at 2019 (been running a few days, data limit reached). However, if I open the page related to that particular website, and set the view to day/month/year, it’s completely empty. I’m completely sure that the Property ID, Account ID and View are correct.
It looks like it’s correctly running, but no data is actually imported.

Any idea on how to troubleshoot this? Thanks!

1 post - 1 participant

Read full topic

Viewing all 5850 articles
Browse latest View live