Skip to content

postinstall.sh: fixed post install script failure - #2036

Closed
larsewi wants to merge 2 commits into
cfengine:masterfrom
larsewi:postinstall
Closed

postinstall.sh: fixed post install script failure#2036
larsewi wants to merge 2 commits into
cfengine:masterfrom
larsewi:postinstall

Conversation

@larsewi

@larsewi larsewi commented Nov 13, 2025

Copy link
Copy Markdown
Contributor
  • postinstall.sh no longer fails on missing $PREFIX/httpd/htdocs/vendor
  • postinstall.sh: fixed whitespace

After building CFEngine Enterprise Hub package with starter pack, the
post install script failed during installation.

Looking at the install log I saw:
```
+ chown root:cfapache -R /var/cfengine/httpd/htdocs/vendor
chown: cannot access '/var/cfengine/httpd/htdocs/vendor': No such file or directory
```

Ticket: ENT-12603
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
@larsewi

larsewi commented Nov 13, 2025

Copy link
Copy Markdown
Contributor Author

@cf-bottom Jenkins please :)

@cf-bottom

Copy link
Copy Markdown

@larsewi

larsewi commented Nov 17, 2025

Copy link
Copy Markdown
Contributor Author

I think something else might be wrong with starter pack. Needs more investigation

@larsewi larsewi closed this Nov 17, 2025
@larsewi
larsewi deleted the postinstall branch April 27, 2026 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants