Skip to content

Commit 0bb644b

Browse files
adriendupuismnocon
andcommitted
Reorganize "Update and migration" (#2519)
--------- Co-authored-by: Marek Nocoń <[email protected]> (cherry picked from commit ac53a56)
1 parent 8e163e2 commit 0bb644b

File tree

9 files changed

+172
-348
lines changed

9 files changed

+172
-348
lines changed

docs/update_and_migration/from_2.5/to_3.3.latest.md

Lines changed: 0 additions & 177 deletions
This file was deleted.

docs/update_and_migration/from_2.5/to_3.3.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,10 @@ Add the following rewrite rule to your web server configuration:
152152
rewrite "^/build/(.*)" "/build/$1" break;
153153
```
154154

155-
## Next steps
155+
## 6. Update the database
156156

157-
Now, proceed to the last step, [updating to the latest v3.3 patch version](to_3.3.latest.md).
157+
[[% include 'snippets/update/db/update_db_2.5-3.3.md' %]]
158+
159+
## 7. Update to the latest patch version
160+
161+
Now, proceed to the last step, [updating to the latest v3.3 patch version](update_from_3.3.md).

docs/update_and_migration/from_2.5/update_from_2.5.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ Afterwards, it is strongly recommended to also [update to the latest v4.6 LTS](t
1616
1. [Update the app](to_3.2.md#3-update-the-app)
1717
1. [Update code to v3](adapt_code_to_v3.md)
1818
1. [Update to v3.3](to_3.3.md)
19-
1. [Update the database](to_3.3.latest.md#6-update-the-database)
20-
1. [Update to the latest patch version](to_3.3.latest.md#7-update-to-the-latest-patch-version)
21-
1. [Finish the update](to_3.3.latest.md#8-finish-the-update)
19+
1. [Update the database](to_3.3.md#6-update-the-database)
20+
1. [Update to the latest patch version](update_from_3.3.md)
21+
1. [Finish the update](update_from_3.3.md#finish-the-update)

docs/update_and_migration/from_3.3/update_from_3.3.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ description: Update your installation to the latest v3.3 version from an earlier
55
# Update from v3.3.x to v3.3.latest
66

77
This update procedure applies if you are using a v3.3 installation without the latest maintenance release.
8+
To update from an 3.2 to 3.3, see [Updating the app to v3.3](to_3.3.md). From older version, explore [this section](update_ibexa_dxp.md).
89

910
Go through the following steps to update to the latest maintenance release of v3.3 (v[[= latest_tag_3_3 =]]).
1011

@@ -439,3 +440,9 @@ Run the following scripts:
439440
### v3.3.40
440441

441442
A command to deal with duplicated database entries, as reported in [IBX-8562](https://issues.ibexa.co/browse/IBX-8562), will be available soon.
443+
444+
## Finish the update
445+
446+
[[% include 'snippets/update/finish_the_update.md' %]]
447+
448+
[[% include 'snippets/update/notify_support.md' %]]

docs/update_and_migration/from_4.4/update_from_4.4.md

Lines changed: 2 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -240,56 +240,6 @@ php bin/console ibexa:migrations:import vendor/ibexa/order-management/src/bundle
240240
php bin/console ibexa:migrations:migrate --file=order_permissions.yaml
241241
```
242242

243-
### v4.5.2
243+
## Update to v4.5.latest
244244

245-
#### Database update
246-
247-
Run the following scripts:
248-
249-
=== "MySQL"
250-
251-
``` bash
252-
mysql -u <username> -p <password> <database_name> < vendor/ibexa/installer/upgrade/db/mysql/ibexa-4.5.1-to-4.5.2.sql
253-
```
254-
255-
=== "PostgreSQL"
256-
257-
``` bash
258-
psql <database_name> < vendor/ibexa/installer/upgrade/db/postgresql/ibexa-4.5.1-to-4.5.2.sql
259-
```
260-
261-
### v4.5.3
262-
263-
#### Database update [[% include 'snippets/experience_badge.md' %]] [[% include 'snippets/commerce_badge.md' %]]
264-
265-
Run the following scripts:
266-
267-
=== "MySQL"
268-
269-
``` bash
270-
mysql -u <username> -p <password> <database_name> < vendor/ibexa/installer/upgrade/db/mysql/ibexa-4.5.2-to-4.5.3.sql
271-
```
272-
273-
=== "PostgreSQL"
274-
275-
``` bash
276-
psql <database_name> < vendor/ibexa/installer/upgrade/db/postgresql/ibexa-4.5.2-to-4.5.3.sql
277-
```
278-
279-
### v4.5.4
280-
281-
#### Database update
282-
283-
Run the following scripts:
284-
285-
=== "MySQL"
286-
287-
``` bash
288-
mysql -u <username> -p <password> <database_name> < vendor/ibexa/installer/upgrade/db/mysql/ibexa-4.5.3-to-4.5.4.sql
289-
```
290-
291-
=== "PostgreSQL"
292-
293-
``` bash
294-
psql <database_name> < vendor/ibexa/installer/upgrade/db/postgresql/ibexa-4.5.3-to-4.5.4.sql
295-
```
245+
You can now continue applying the instructions for the 4.5 patch releases, starting with [v4.5.2](update_from_4.5.md#v452).

0 commit comments

Comments
 (0)