How To Upgrade

Judul

No changes

Permalink

No changes

Konten

OldNew
1# How To Upgrade LiteCart1# How To Upgrade LiteCart
22
3 **This article does not apply to Softaculous users** who can3 **This article does not apply to Softaculous users** who can benefit from one click or automatic upgrades through the software channel. This article is for those who are not using Softaculous.
4 benefit from one click or automatic upgrades through the4
5 software channel. This article is for those who are not using5You can upgrade from any previous master release version of LiteCart. The upgrade procedure will sort out and apply all necessary version patches. This is what you need to do, when upgrading the platform.
6 Softaculous.6
771. **Backup your files AND database!!** Do not underestimate the damage that can be caused by a failed upgrade.
8You can upgrade from any previous master release version of LiteCart.8
9The upgrade procedure will sort out and apply all necessary version92. **Upload the contents of the folder public_html/** to the corresponding path of your installation **replacing the current files**. Any modified files will be overwritten! If you have renamed your admin/ folder, make sure the files of the admin/ folder are **uploaded to the right place**.
10patches. This is what you need to do, when upgrading the platform.10
11113. **Point your browser to** `https://www.yoursite.com/install/upgrade.php` and follow the instructions on the page.
121. **Backup your files AND database!!** Do not underestimate the12
13damage that can be caused by a failed upgrade.13Alternatively if you are a CLI user. **Execute the CLI command**
1414```sh
152. **Upload the contents of the folder public_html/** to the15/var/www/path/to/litecart/install/upgrade.php
16corresponding path of your installation **replacing the current16```
17files**. Any modified files will be overwritten! If you have renamed17
18your admin/ folder, make sure the files of the admin/ folder are184. Make sure everything went fine and **delete the install/folder**.
19**uploaded to the right place**.19
2020 **If there are complications after your installation**, try switching to the default template and disable any vMods.
213. **Point your browser to**21
22 and follow the22If you need help, turn to our [forums](https://www.litecart.net/forums/).
23instructions on the page.23
2424Please note: **Add-ons are version specific** and might cause your upgraded platform to malfunction. Make sure all your add-ons are up to date.
25Alternatively if you are a CLI user. **Execute the CLI command**25
26*php /var/www/path/to/litecart/install/upgrade.php*26## Will My Add-ons Stop Working?
2727
284. Make sure everything went fine and **delete the install/28Both yes, and no. Some will be affected, some not. It all depends on what changes were made to the new version of LiteCart. This is a perfectly natural cause from upgrading. If an add-on or modification stopped working it indicates that there most probably were changes made to LiteCart to improve the original feature, and for users' best experience. You should therefore make sure your add-ons are up to date and compatible with the new version.
29folder**.29
3030 **We always recommend having a development platform** for testing. The Add-ons Store has a great tool for transfering changes between the two platforms called [Deploy Changes](https://www.litecart.net/addons/33/deploy-changes).
31 **If there are complications after your installation**, try31
32 switching to the default template and disable any vQmods.32All application errors are logged in the "logs/errors.log" file. When loading a page with errors, append **?debug** to the URL and you should see extended information regarding the error.
3333
34If you need help, turn to our forums at .34## See Also
3535
36Please note: **Add-ons are version specific** and might cause your36* [How to prevent losing your changes before upgrading](how_to_prevent_losing_changes_before_upgrade)
37upgraded platform to malfunction. Make sure all your add-ons are up to37* [How to turn modifications into vmods](how_to_turn_modifications_into_vmods)
38date.38* [How to resume a failed upgrade](how_to_resume_a_failed_upgrade)
3939* [How to recover a broken platform](how_to_recover_a_broken_platform)
40## Will My Add-ons Stop Working?40* [How to adapt to Git](how_to_adapt_to_git)
41
42Both yes, and no. Some will be affected, some not. It all depends on
43what changes were made to the new version of LiteCart. This is a
44perfectly natural cause from upgrading. If an add-on or modification
45stopped working it indicates that there most probably were changes made
46to LiteCart to improve the original feature, and for users' best
47experience. You should therefore make sure your add-ons are up to date
48and compatible with the new version.
49
50 **We always recommend having a development platform** for
51 testing. The Add-ons Store has a great tool for transfering
52 changes between the two platforms called [Deploy Changes](https://www.litecart.net/addons/33/deploy-changes).
53
54All application errors are logged in the //~/logs/errors.log// file.
55When loading a page with errors, append **?debug** to the URL and
56you should see extended information regarding the error.
57
58## See Also
59
60[How to prevent losing your changes before upgrading](how_to_prevent_losing_changes_before_upgrade)
61
62[How to turn modifications into vqmods](how_to_turn_modifications_into_vqmods)
63
64[How to resume a failed upgrade](how_to_resume_a_failed_upgrade)
65
66[How to recover a broken platform](how_to_recover_a_broken_platform)
67
68[How to adapt to Git](how_to_adapt_to_git)

Edited by tim on 15 Apr 2024 at 04:10