Skip to content

5.0.3 to 5.0.4: DB Update - #2997

Merged
adriendupuis merged 3 commits into
5.0from
fix-sitefactory-update
Jan 5, 2026
Merged

adriendupuis merged 3 commits into
5.0from
fix-sitefactory-update

Conversation

@adriendupuis

@adriendupuis adriendupuis commented Jan 5, 2026

Copy link
Copy Markdown
Contributor
Question Answer
JIRA Ticket IBX-10320
Versions 5.0.3 and 5.0.4
Edition Experience, Commerce

ibexa-5.0.2-to-5.0.3.sql files have been edited between 5.0.3 and 5.0.4
https://github.com/ibexa/installer/commit/c84c6ad3c5b9b9367fdae85ec1c7c888a298ecd3

If someone ended on v5.0.3, this DB upgrade SQL file won't be played again so the v5.0.4 part must be executed manually.

  • v5.0.3→v5.0.4: needed
  • v5.0.2→v5.0.3→v5.0.4: needed
  • v5.0.2→v5.0.4: not needed

ibexa_site_public_access is a site factory table only existing on Experience and Commerce.
The ibexa_site_public_access.tree_root_location_id isn't used until v5.0.4 https://github.com/ibexa/site-factory/commit/f248888b0ccee6f9bee84556455c3e19fe00d8ef

I added condition to not override tree_root_location_id if the last request have already been ran.

Preview: https://ez-systems-developer-documentation--2997.com.readthedocs.build/en/2997/update_and_migration/from_5.0/update_from_5.0/#database-update_1

Checklist

  • Text renders correctly
  • Text has been checked with vale
  • Description metadata is up to date
  • Redirects cover removed/moved pages
  • Code samples are working
  • PHP code samples have been fixed with PHP CS fixer
  • Added link to this PR in relevant JIRA ticket or code PR

@github-actions

github-actions Bot commented Jan 5, 2026

Copy link
Copy Markdown

Preview of modified files

Preview of modified Markdown:

@adriendupuis
adriendupuis marked this pull request as ready for review January 5, 2026 14:35
@adriendupuis
adriendupuis merged commit 59d98fa into 5.0 Jan 5, 2026
7 checks passed
@adriendupuis
adriendupuis deleted the fix-sitefactory-update branch January 5, 2026 16:10
adriendupuis added a commit that referenced this pull request Jan 5, 2026
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

Successfully merging this pull request may close these issues.

2 participants