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

Contao 4.6 Install tool throws error after updating from 4.4 #28

Closed
dmolineus opened this issue Aug 24, 2018 · 5 comments
Closed

Contao 4.6 Install tool throws error after updating from 4.4 #28

dmolineus opened this issue Aug 24, 2018 · 5 comments
Assignees
Labels
Milestone

Comments

@dmolineus
Copy link
Contributor

Affected version(s)

Contao 4.6.0

Description
After updating a contao installation to Contao 4.6.0 from 4.4.20 I opened the install tool which stopped working because of following error: "Column not found: 1054 Unknown column 'youtubeOptions' in 'field list'"

It seems like that the migration script is running before the database fields are created.

How to reproduce

  1. Install Contao 4.4
  2. Update to Contao 4.6
  3. Open the install tool
@fritzmg
Copy link
Contributor

fritzmg commented Aug 24, 2018

Contao 4.5 introduced the youtubeOptions field. Contao 4.6 requires a database upgrade involving the youtubeOptions field, but it does not create it itself. Thus this error occurs when going directly from 4.4 to 4.6.

@leofeyer
Copy link
Member

But it should run the version 4.5 update beforehand, shouldn't it?

@leofeyer
Copy link
Member

Ah, I see. The version 4.5 update does not add the field. 😢

@leofeyer leofeyer added the bug label Aug 24, 2018
@leofeyer leofeyer added this to the 4.6.1 milestone Aug 24, 2018
@fritzmg
Copy link
Contributor

fritzmg commented Aug 24, 2018

Exactly. Also it wasn't necessary for the 4.5 update to create the field, since no migration has to be done.

@leofeyer
Copy link
Member

Fixed in 90d6837.

leofeyer added a commit that referenced this issue Aug 30, 2018
leofeyer added a commit that referenced this issue Aug 30, 2018
@leofeyer leofeyer modified the milestones: 4.6.1, 4.6 May 14, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants