Skip to content

Commit

Permalink
Merge pull request #1928 from M0rgan01/update-page-9.x
Browse files Browse the repository at this point in the history
Improve update page (9.x)
  • Loading branch information
M0rgan01 authored Feb 14, 2025
2 parents 239b9a0 + 6395437 commit e0dcc93
Show file tree
Hide file tree
Showing 14 changed files with 51 additions and 342 deletions.
4 changes: 2 additions & 2 deletions basics/keeping-up-to-date/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ For a detailed step-by-step guide, refer to the Migration Documentation (link to

## Read more

- {{< page-link "9/basics/keeping-up-to-date/upgrade" >}}
- {{< page-link "9/basics/keeping-up-to-date/update" >}}
- {{< page-link "9/basics/keeping-up-to-date/backup" >}}
- {{< page-link "9/basics/keeping-up-to-date/migration" >}}

[1]: {{< relref "/9/basics/keeping-up-to-date/upgrade" >}}
[1]: {{< relref "/9/basics/keeping-up-to-date/update" >}}
2 changes: 1 addition & 1 deletion basics/keeping-up-to-date/backup.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,4 @@ There are a lot of ways to connect to a MySQL server. Many different softwares a
For your information, you can also automate your backup using the Update Assistant module. This module guides you through the configuration and execution of your backup before performing your update. You have two options: perform the backup directly from the [module interface in your Back-Office][1], or from the [associated Command-Line (CLI)][2].

[1]: {{< relref "/9/basics/keeping-up-to-date/use-autoupgrade-module" >}}
[2]: {{< relref "/9/basics/keeping-up-to-date/upgrade-module/upgrade-cli" >}}
[2]: {{< relref "/9/basics/keeping-up-to-date/update/upgrade-cli" >}}
34 changes: 34 additions & 0 deletions basics/keeping-up-to-date/update/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
menuTitle: Update
title: How to update PrestaShop
description: Everything you need to know to update your PrestaShop to the latest version
weight: 80
aliases:
- /9/basics/keeping_up-to-date/update
---

# How to update PrestaShop

This chapter describes several ways to complete an update of PrestaShop.

## Update Assistant module - Update from the Back-Office interface
<!--TODO create link 'here' when Update from the Back-Office is ready-->
You can use provided `Update Assistant` module to update your store to the newest version using web interface. You can read more about the module and how to use it here.

## Update Assistant module - Update from the Command-Line (CLI)
<!--TODO create link 'here' when Update from the Command-Line is ready-->
`Update Assistant` module is fully accessible through `cli`. You can read all the details here.

## Support service

Doing an update by yourself can be risky. If you feel uncomfortable with doing it on your own, you can find support on <a href="https://www.prestashop-project.org/support/" target="_blank">prestashop-project.org </a>.

Basically, the process and the result will be the same. The existing data on the store will be kept, as well as your module and your current theme.

Many agencies and freelancers in your area may also provide this kind of service.

More information about support: <a href="https://www.prestashop-project.org/support/" target="_blank">PrestaShop project support page</a>

## Read more

{{% children /%}}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Post-restore checklist
weight: 60
aliases:
- /9/development/upgrade-module/post-restore-checklist
- /9/development/update/post-restore-checklist
---

# Post-restore checklist
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Post-update checklist
weight: 50
aliases:
- /9/development/upgrade-module/post-update-checklist
- /9/development/update/post-update-checklist
---

# Post-update checklist
Expand All @@ -24,5 +24,5 @@ The following steps will be executed during the upgrade:
- If something’s wrong, you can restore a backup with this module. Your backup is available at {admin}/autoupgrade/backup and can be restored either manually or via the [command line interface][1]
- If you can't access your back office, try enabling the debug mode manually in config/defines.inc.php by setting _PS_MODE_DEV_ to true ([see the dedicated documentation][2])

[1]: {{< relref "/9/basics/keeping-up-to-date/upgrade-module/upgrade-cli" >}}
[1]: {{< relref "/9/basics/keeping-up-to-date/update/upgrade-cli" >}}
[2]: {{< relref "/9/development/configuration/configuring-prestashop#enabling-debug-mode" >}}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Upgrade CLI
weight: 40
aliases:
- /9/development/upgrade-module/upgrade-cli
- /9/development/update/upgrade-cli
---

# Module CLI
Expand All @@ -23,8 +23,8 @@ The following parameters are mandatory:

You can also use these parameters:

* **--channel**: Specify the [channel to use]({{< ref "/9/basics/keeping-up-to-date/upgrade-module/channels.md" >}})
* **--action**: Specify the [step you want to start from]({{< ref "/9/basics/keeping-up-to-date/upgrade-module/upgrade-process-steps.md" >}}) (Default: `UpgradeNow`)
* **--channel**: Specify the channel to use
* **--action**: Specify the [step you want to start from]({{< ref "/9/basics/keeping-up-to-date/update/upgrade-process-steps.md" >}}) (Default: `UpgradeNow`)

If you use default `action` parameter, it will run the full upgrade process.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Upgrade Module internal behavior
weight: 20
aliases:
- /9/development/upgrade-module/upgrade-module-internal-behavior
- /9/development/update/upgrade-module-internal-behavior
---

# Upgrade module internal behavior
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Upgrade Process Steps
weight: 30
aliases:
- /9/development/upgrade-module/
- /9/development/update/
useMermaid: true
---

Expand Down
18 changes: 0 additions & 18 deletions basics/keeping-up-to-date/upgrade-module/_index.md

This file was deleted.

44 changes: 0 additions & 44 deletions basics/keeping-up-to-date/upgrade-module/channels.md

This file was deleted.

210 changes: 0 additions & 210 deletions basics/keeping-up-to-date/upgrade.md

This file was deleted.

Loading

0 comments on commit e0dcc93

Please sign in to comment.