Werk #22142 · Aug 12, 26
omd update: Abort on a damaged skeleton hierarchy
Before touching the site, omd update now verifies that the skeleton
hierarchies of both the source and the target version contain their etc and
var directories, and that the hierarchies can be read in full. It aborts if
that is not the case:
ERROR: The skeleton hierarchy '/omd/versions/2.4.0p1.cee/skel' is incomplete
(missing: etc, var). It looks damaged, updating with it could corrupt the site.
The update was aborted.
ERROR: Cannot read the skeleton hierarchy '/omd/versions/2.4.0p1.cee/skel':
[Errno 13] Permission denied: '/omd/versions/2.4.0p1.cee/skel/etc'
Updating with it could corrupt the site. The update was aborted.
The update diffs the two hierarchies to decide which files of your site have to be created, updated or removed. If one of them is empty, truncated or only partly readable, the update concludes that the new version no longer ships the missing files and deletes them from the site. Aborting early leaves the site untouched instead.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- OMD
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0p12All Editions
- 2.4.0p36All Editions