Skip to content

Running "./console core:purge-old-archive-data all" fails on some system with [Exception] Date format #11778

@mattab

Description

@mattab

Running the following command works on most servers (demo2, localhost, etc.)

./console core:purge-old-archive-data all

But on demo.piwik.org it does not work and outputs:

  [Exception]                                                                                                                                                                     
  Date format must be: YYYY-MM-DD, or 'today' or 'yesterday' or any keyword supported by the strtotime function (see http://php.net/strtotime for more information): -2976912000  

core:purge-old-archive-data [--exclude-outdated] [--exclude-invalidated] [--exclude-ranges] [--skip-optimize-tables] [--include-year-archives] [--force-optimize-tables] [dates1] ... [datesN]

We should investigate to make sure this command always work as we use it for time to time.

Metadata

Metadata

Assignees

Labels

BugFor errors / faults / flaws / inconsistencies etc.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions