Update 0.1.7.md

This commit is contained in:
Stefan Pejcic
2024-04-17 12:18:02 +02:00
committed by GitHub
parent ba84dccb41
commit 88be08829f

View File

@@ -17,7 +17,7 @@ Not yet released.
- Fixed bug with email alerts not being sent if server does not have a valid ssl
- Fixed js error when there are no docker images on *OpenAdmin > Docker Settings*
- Fixed bug where the system erroneously flagged initial admin login as a new admin login.
- [Fixed bug in the update script where failed updates were being retried.](https://github.com/stefanpejcic/OpenPanel/issues/72)
- [Fixed bug in the update script where failed updates were being retried.](#skip-version)
@@ -56,6 +56,29 @@ Fixed bug with wrong description added for successfull update.
![screenshot](https://i.postimg.cc/PxDqzftk/2024-04-15-17-24.png)
----
### Skip version
Administrators now have the ability to specify which OpenPanel versions to skip during updates by modifying the `/etc/openpanel/upgrade/skip_versions` file.
This feature proves handy when manually updating from an older version and wishing to skip certain intermediate versions.
For instance, if a user is updating from OpenPanel 0.1.3 with autopatches disabled, the update process would typically progress from 0.1.4 to 0.1.5, then to 0.1.6, and finally to the latest version, 0.1.7.
However, if there are minimal differences between versions 0.1.4 and 0.1.5, an admin can opt to skip version 0.1.4 by appending it to the `/etc/openpanel/upgrade/skip_versions` file:
```bash
echo 0.1.4 >> /etc/openpanel/upgrade/skip_versions
```
Consequently, during the update procedure, specified version 0.1.4 will be skipped.
It's worth noting that while skipping versions is possible, it's generally not recommended since each update typically takes around 30 seconds.
In the event of a failed update to a particular version, the opencli update scripts will automatically add that version to the `/etc/openpanel/upgrade/skip_versions` file to prevent future attempts at updating to it.
-----