Actions
Bug #29549
closedDatabase migration fails on SQLite
Difficulty:
Triaged:
Yes
Description
StandardError: An error has occurred, this and all later migrations canceled: SQLite3::SQLException: near "T1": syntax error: DELETE FROM katello_repository_docker_meta_tags T1 USING katello_repository_docker_meta_tags T2 WHERE T1.ctid < T2.ctid AND T1.repository_id = T2.repository_id AND T1.docker_meta_tag_id = T2.docker_meta_tag_id; /opt/theforeman/tfm/root/usr/share/gems/gems/sqlite3-1.3.13/lib/sqlite3/database.rb:91:in `initialize' /opt/theforeman/tfm/root/usr/share/gems/gems/sqlite3-1.3.13/lib/sqlite3/database.rb:91:in `new' /opt/theforeman/tfm/root/usr/share/gems/gems/sqlite3-1.3.13/lib/sqlite3/database.rb:91:in `prepare' /opt/theforeman/tfm/root/usr/share/gems/gems/sqlite3-1.3.13/lib/sqlite3/database.rb:137:in `execute' /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/connection_adapters/sqlite3_adapter.rb:255:in `block (2 levels) in execute' /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-5.2.1/lib/active_support/dependencies/interlock.rb:48:in `block in permit_concurrent_loads' /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-5.2.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-5.2.1/lib/active_support/dependencies/interlock.rb:47:in `permit_concurrent_loads'
Updated by The Foreman Bot almost 5 years ago
- Status changed from New to Ready For Testing
- Assignee set to Justin Sherrill
- Pull request https://github.com/Katello/katello/pull/8663 added
Updated by Justin Sherrill almost 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|fc1dbc745a1b7df2d657b70bf2a58b8de2235341.
Updated by The Foreman Bot almost 5 years ago
- Pull request https://github.com/Katello/katello/pull/8672 added
Updated by Jonathon Turel almost 5 years ago
- Target version set to Katello 3.16.0
- Triaged changed from No to Yes
- Fixed in Releases Katello 3.16.0 added
- Fixed in Releases deleted (
)
Actions