Error in cronjob since update 0.9


(Danya ISS) #1

Since I’ve updated to Piwik 0.9 I got the following Cronjob error:
/home/maxstats/public_html/piwik/misc/cron/archive.sh: line 83: syntax error near unexpected token `done’

Part of the file that is affected:

31     echo "Archiving for idsite = $idsite done!"
82   fi
83 done
84
85 echo "Reports archiving finished."

How to fix this?


(vipsoft) #2

I don’t see any obvious errors in the script. Try the latest version: http://dev.piwik.org/trac/export/2898/trun…cron/archive.sh


(Danya ISS) #3

I haven’t got the error since. And the stats are building fine.
So, I don’t know what caused the error, but it vanished by itself.
Strange, though. If I’ll get the error again, I’ll try to overwrite the file with the one mentioned above.