I get 6 unserialize errors when running archive

WARNING [2020-05-01 14:52:47] 472 C:\inetpub\wwwroot\webmetrics.mygeosource.com\core\Common.php(297): Notice - unserialize(): Error at offset

0 of 703 bytes - Matomo 3.13.4 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it mi

ght have been reported already)

/php/php.exe : ERROR [2020-05-01 14:52:47] 472 Empty or invalid response '<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN”


At C:\Users\matomo_admin\Documents\Matomo archive V3.ps1:1 char:1

  • /php/php.exe C:\inetpub\wwwroot\webmetrics.mygeosource.com\console co …

  • CategoryInfo : NotSpecified: (ERROR [2020-05-…l1-strict.dtd">:String) [], RemoteException

  • FullyQualifiedErrorId : NativeCommandError

 <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>IIS

Windows Server</title> <style type="text/css"> <!-- body { color:#000000; background-color:#0072C6; margin:0; } #container {

margin-left:auto; margin-right:auto; text-align:center; } a img { border:none; } --> </style> </head> <body> <div id="container"> <a

href="http://go.microsoft.com/fwlink/?linkid=66138&amp;clcid=0x409"><img src="iisstart.png" alt="IIS" width="960" height="600" /></a> </div>

</body> </html>' for website id 3, Time elapsed: 0.833s, skipping

INFO [2020-05-01 14:52:47] 472 - tracking data found for website id 4 since 2020-05-01 07:00:00 UTC (since midnight)


When archiving from the console Matomo calls the web API for some things. It seems like your webserver is responding with some error message instead of Matomo for these API requests.

Please check your webserver error log and config to find out why it response with some Windows Server page.

Resolved: I was running it against the wrong URL.

1 Like