Empty or invalid response


(Renzo Bauen) #1

Beim Ausführen von console core:archive --url=“meine Domain” erhalte ich zuerst folgende Warnung:

Common.php: Notice - unserialize(): Error at offset 0

Und anschliessend eine Fehlermeldung:
Empty or invalid respons ‘-- hier folgt die Aufzählung aller Plugins und deren Konfiguration’ for website id1, Time eoapsed: 0.622s, skipping

Bei der Warnung steht noch, dass man das im Forum melden soll…! Was ich hiermit gemacht habe:-)
Der Fehler tritt erst auf, seit ich 3.8.1 installiert habe (als Update).

Ich wäre dankbar für jede Idee, was ich machen könnte um diesen Fehler zu eliminieren.
Besten Dank!
Renzo


(Fabian Dellwing) #2

Interessant wäre hier mal die vollständige Fehlermeldung die PHP selbst irgendwie hinschreiben sollte.


(Renzo Bauen) #3

Meinst Du das?

INFO [2019-02-27 11:19:35] 2883623 ---------------------------
INFO [2019-02-27 11:19:35] 2883623 INIT
INFO [2019-02-27 11:19:35] 2883623 Running Matomo 3.8.1 as Super User
INFO [2019-02-27 11:19:35] 2883623 ---------------------------
INFO [2019-02-27 11:19:35] 2883623 NOTES
INFO [2019-02-27 11:19:35] 2883623 - Reports for today will be processed at most every 900 seconds. You can change this value in Matomo UI > Settings > General Settings.
INFO [2019-02-27 11:19:35] 2883623 - Reports for the current week/month/year will be requested at most every 3600 seconds.
INFO [2019-02-27 11:19:35] 2883623 - Archiving was last executed without error 1 days 3 hours ago
INFO [2019-02-27 11:19:35] 2883623 - Will process 3 other websites because the last time they were archived was on a different day (in the website’s timezone) , IDs: 1, 2, 3
INFO [2019-02-27 11:19:35] 2883623 ---------------------------
INFO [2019-02-27 11:19:35] 2883623 START
INFO [2019-02-27 11:19:35] 2883623 Starting Matomo reports archiving…
INFO [2019-02-27 11:19:35] 2883623 Day has finished for website id 1 since last run
INFO [2019-02-27 11:19:35] 2883623 Will pre-process for website id = 1, period = day, date = last3
INFO [2019-02-27 11:19:35] 2883623 - pre-processing all visits
WARNING [2019-02-27 11:19:37] 2883623 public_html/piwik/core/Common.php(271): Notice - unserialize(): Error at offset 0 of 98031 bytes - 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)
ERROR [2019-02-27 11:19:37] 2883623 Empty or invalid response '[2019-02-27 11:19:35] piwik.DEBUG: Loaded plugins: CorePluginsAdmin, CoreAdminHome, CoreHome, WebsiteMeasurable, IntranetMeasurable, Diagnostics, CoreVisualizations, Proxy, API, Widgetize, Transitions, LanguagesManager, Actions, Dashboard, MultiSites, Referrers, UserLanguage, DevicesDetection, Goals, Ecommerce, SEO, Events, UserCountry, VisitsSummary, VisitFrequency, VisitTime, VisitorInterest, ExampleAPI, 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, ExampleVisualization, MobileAppMeasurable, Provider, AnonymousPiwikUsageMeasurement, BotTracker, ExampleRssWidget, IP2Location, LiveTab, LogViewer, ReferrersManager, SecurityInfo, TasksTimetable, TreemapVisualization [] {“class”:“Piwik\Plugin\Manager”,“request_id”:2883746} [2019-02-27 11:19:36] piwik.DEBUG: /* trigger = CronArchive / SELECT count(distinct log_visit.idvisitor) AS 1, count() AS 2, sum(log_visit.visit_total_actions) AS 3, max(log_visit.visit_total_actions) AS 4, sum(log_visit.visit_total_time) AS 5, sum(case log_visit.visit_total_actions when 1 then 1 when 0 then 1 else 0 end) AS 6, sum(case log_visit.visit_goal_converted when 1 then 1 else 0 end) AS 7, count(distinct log_visit.user_id) AS 39 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”:2883746} [2019-02-27 11:19:36] piwik.DEBUG: PluginsArchiver::callAggregateAllPlugins: Initializing archiving process for all plugins [visits = 1, visits converted = 0] [“callAggregateAllPlugins”,“1”,“0”] {“class”:“VisitsSummary”,“request_id”:2883746} [2019-02-27 11:19:36] piwik.DEBUG: PluginsArchiver::callAggregateAllPlugins: Archiving day reports for plugin ‘Actions’. [“callAggregateAllPlugins”,“Actions”] {“class”:“VisitsSummary”,“request_id”:2883746} [2019-02-27 11:19:36] piwik.DEBUG: /* trigger = CronArchive / SELECT log_action.name, log_action.type, log_action.idaction, log_action.url_prefix, count(distinct log_link_visit_action.idvisit) as 2, count(distinct log_link_visit_action.idvisitor) as 1, count() as 12, sum( case when custom_float is null then 0 else custom_float end ) / 1000 as 30, sum( case when custom_float is null then 0 else 1 end ) as 31, min(custom_float) / 1000 as 32, max(custom_float) / 1000 as 33, CASE WHEN (MAX(log_link_visit_action.custom_var_v5) = 0 AND log_link_visit_action.custom_var_k5 = ‘_pk_scount’) THEN 1 ELSE 0 END AS 28, SUM( CASE WHEN log_action_name_ref.type = 8 THEN 1 ELSE 0 END) AS 29 FROM piwik_log_link_visit_action AS log_link_visit_action LEFT JOIN piwik_log_action AS log_action ON log_link_visit_action.%s = log_action.idaction LEFT JOIN piwik_log_action AS log_action_name_ref ON log_link_visit_action.idaction_name_ref = log_action_name_ref.idaction WHERE log_link_visit_action.server_time >= ? AND log_link_visit_action.server_time <= ? AND log_link_visit_action.idsite IN (?) AND log_link_visit_action.%s IS NOT NULL AND log_link_visit_action.idaction_event_category IS NULL GROUP BY log_link_visit_action.%s ORDER BY 12 DESC, name ASC [] {“class”:“Actions”,“request_id”:2883746} [2019-02-27 11:19:36] piwik.DEBUG: /* trigger = CronArchive / SELECT log_action.name, log_action.type, log_action.idaction, log_action.url_prefix, count(distinct log_link_visit_action.idvisit) as 2, count(distinct log_link_visit_action.idvisitor) as 1, count() as 12, sum( case when custom_float is null then 0 else custom_float end ) / 1000 as 30, sum( case when custom_float is null then 0 else 1 end ) as 31, min(custom_float) / 1000 as 32, max(custom_float) / 1000 as 33, CASE WHEN (MAX(log_link_visit_action.custom_var_v5) = 0 AND log_link_visit_action.custom_var_k5 = ‘_pk_scount’) THEN 1 ELSE 0 END AS 28, SUM( CASE WHEN log_action_name_ref.type = 8 THEN 1 ELSE 0 END) AS 29 FROM piwik_log_link_visit_action AS log_link_visit_action LEFT JOIN piwik_log_action AS log_action ON log_link_visit_action.%s = log_action.idaction LEFT JOIN piwik_log_action AS log_action_name_ref ON log_link_visit_action.idaction_name_ref = log_action_name_ref.idaction WHERE log_link_visit_action.server_time >= ? AND log_link_visit_action.server_time <= ? AND log_link_visit_action.idsite IN (?) AND log_link_visit_action.%s IS NOT NULL AND log_link_visit_action.idaction_event_category IS NULL GROUP BY log_link_visit_action.%s ORDER BY 12 DESC, name ASC [] {“class”:“Actions”,“request_id”:2883746} [2019-02-27 11:19:36] piwik.DEBUG: /* trigger = CronArchive */ SELECT log_visit.visit_entry_idaction_url as idaction, log_action.type, log_action.name, count(distinct log_visit.idvisitor) as 17


(Fabian Dellwing) #4

Hast du zufällig vor kurzer Zeit auf PHP 7.3 geupgraded?


(Renzo Bauen) #5

Ja, habe ich… ich kann 7.1, 7.2 oder 7.3 wählen. Welches ist optimal?

Lg Renzo

conPassione gmbh

Renzo Bauen

TYPO3 Bronce Associate

Ideen entfalten mit Leidenschaft


(Fabian Dellwing) #6

Versuche es mal bitte mit 7.2, soweit ich das mitbekommen habe wurde bei 7.3 irgendetwas beim unserialize() geändert, was schon bei vielen Projekten Probleme gemacht hat.


(Alex) #7

Ich versuche 7.2 zu benutzen und habe den gleichen Fehler …


#8

falsches Thema … …


(Matthieu Aubry) #9

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: