Empty or invalid response when core:archive


(Alex) #1

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


Error making archive
(Matthieu Aubry) #2

Thanks for the report! let’s continue the discussion in Notice - unserialize(): Error at offset 0 of 53988 bytes · Issue #14229 · matomo-org/matomo · GitHub to consolidate into one place :slight_smile: