plugin-SiteMigration icon indicating copy to clipboard operation
plugin-SiteMigration copied to clipboard

If Plugins or Custom Variables count differ on both instances, got "Column not found: 1054 Unknown column 'custom_var_k6' in 'field list'"

Open adaqus opened this issue 9 years ago • 2 comments

Hi,

I have two instances of Piwik: Instance 1 and Instance 2. I am trying to merge data from Instance 1 to Instance 2. Instance 1 has one custom variable more than Instance 2. While running migration:site I get following error:

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'custom_var_k6' in 'field list'

So obviously both instances must have the same number of custom vars. I think it should be at least explicitly stated in documentation, but the best option would be automatically adding additional custom variables.

adaqus avatar Nov 23 '15 13:11 adaqus

Hi @adaqus thanks for the report. :+1: for suggested solutions. Pull request welcome!

mattab avatar Nov 24 '15 01:11 mattab

A similar issue was reported here: Unknown column 'location_provider' in 'field list' #36

Not only Custom Variables can differ, but also other DB fields as fields are added by plugins, and plugins may differ between Instance 1 and Instance 2.

mattab avatar Mar 15 '16 03:03 mattab