Problems, need help? Have a tip or advice? Post it here.
3 posts Page 1 of 1
I am trying out Couch V2 on my local system and thought that I'd use a local demo site I've been working on as the basis for my Couch V2 training site i.e. use all the templates and data that I've already created. The demo site is built on Couch V1.4.5RC1 and I used gen_dump.php to create the install-ex.php file, which I then placed within the couch folder of the new V2 site. The installation of Couch V2 failed with:
Installation failed!
1136: Column count doesn't match value count at row 1
INSERT INTO couch_templates VALUES (1, 'index.php', '', 0, 1, 'Home', 0, 0, 0, 15, 0, 0, 0, NULL, NULL);

I can't work out what I've done wrong - perhaps I'm jumping the gun trying to do this?
Hi @potato, gen_dump.php and install_ex.php can be used only in migration between servers, not between versions. To use new Couch with old data, please back up your database and simply overwrite old installation with new couch files. Make sure config.php and kfunctions.php in /couch/addons/ are in line with new versions.
Couch2 will upgrade database. If you run old version after upgrade, it will work but new version will brake, so backup in this case is a good thing.
Join COUCH:TALK channel here https://t.me/couchcms_chat
Ryazania — a framework to boost productivity with Add-ons viewtopic.php?f=2&t=13475
Support my efforts to help the community https://boosty.to/trendo/donate
thanks, I created a copy of the database in phpmyadmin - seems obvious now!
3 posts Page 1 of 1