Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate column name 'synctoken' #1017

Closed
2 tasks
viktorstockinger opened this issue Jan 17, 2021 · 1 comment
Closed
2 tasks

Duplicate column name 'synctoken' #1017

viktorstockinger opened this issue Jan 17, 2021 · 1 comment

Comments

@viktorstockinger
Copy link

Baikal version: 0.2.6

  • I have searched open and closed issues for duplicates
  • [x ] I have installed the release zip, not the source code zip
  • I have moved the whole, untouched Specific and config folders to the new installation

Problem:

Hi,

this is the error message I got, when upgrading to 0.7.2

Many thanks!

Uncaught exception during upgrade: PDOException: SQLSTATE[42S21]: Column already exists: 1060 Duplicate column name 'synctoken' in /home/.sites/151/site1025332/web/baikal/Core/Frameworks/BaikalAdmin/Controller/Install/VersionUpgrade.php:108 Stack trace: #0 /home/.sites/151/site1025332/web/baikal/Core/Frameworks/BaikalAdmin/Controller/Install/VersionUpgrade.php(108): PDO->exec('ALTER TABLE cal...') #1 /home/.sites/151/site1025332/web/baikal/Core/Frameworks/BaikalAdmin/Controller/Install/VersionUpgrade.php(68): BaikalAdmin\Controller\Install\VersionUpgrade->upgrade(Array, '0.2.6', '0.7.2') #2 /home/.sites/151/site1025332/web/baikal/Core/Frameworks/Flake/Core/Render/Container.php(69): BaikalAdmin\Controller\Install\VersionUpgrade->render() #3 /home/.sites/151/site1025332/web/baikal/Core/Frameworks/Flake/Controller/Page.php(90): Flake\Core\Render\Container->renderBlocks() #4 /home/.sites/151/site1025332/web/baikal/html/admin/install/index.php(100): Flake\Controller\Page->render() #5 {main}

@ByteHamster
Copy link
Member

Sounds like you have already tried to upgrade the database before that and then aborted somewhere in the middle of the upgrade. The only idea I have is to manually examine the upgrade script and try to work out how far the attempted upgrade went.

@ByteHamster ByteHamster changed the title please help Duplicate column name 'synctoken' Jan 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants