Open schwartzman opened 3 weeks ago
hi @schwartzman,
Could you please specify exactly the tag that you're using ?
@floryn90 in hugo:1.38.0-ext-alpine-onbuild
still getting
hugo v0.138.0-ad82998d54b3f9f8c2741b67356813b55b3134b9+extended linux/amd64 BuildDate=2024-11-06T11:22:34Z VendorInfo=gohugoio
WARN deprecated: resources.ToCSS was deprecated in Hugo v0.128.0 and will be removed in a future release. Use css.Sass instead.
WARN Failed to write jsconfig.json: open /src/assets/jsconfig.json: permission denied
Total in 1265 ms
Error: error building site: mkdir /src/resources/_gen/assets/sass: permission denied
The command '/bin/sh -c if [ -e "$ONBUILD_SCRIPT_VALUE" ]; then exec sh $ONBUILD_SCRIPT_VALUE; else exec hugo $HUGO_CMD; fi' returned a non-zero code: 1
Error: Process completed with exit code 1.
Could you please specify exactly the tag that you're using ?
Hey, sorry for the slow response on this.
We use the ext-ubuntu-ci
flavor.
Have just tested 0.136.5
and 0.137.1
in our deployment pipeline and the initial permissions error is present with both.
Reverting to 0.136.1-ext-ubuntu-ci
yields expected behavior.
Could you please specify exactly the tag that you're using ?
Hey, sorry for the slow response on this.
We use the
ext-ubuntu-ci
flavor.Have just tested
0.136.5
and0.137.1
in our deployment pipeline and the initial permissions error is present with both.Reverting to
0.136.1-ext-ubuntu-ci
yields expected behavior.
Could you please try to use the latest image: 0.138.0 and let me know?
Same problem persists with 0.138.0.
(Is there a reason this issue has been marked closed when it remains so completely unresolved?)
@floryn90 in
hugo:1.38.0-ext-alpine-onbuild
still gettinghugo v0.138.0-ad82998d54b3f9f8c2741b67356813b55b3134b9+extended linux/amd64 BuildDate=2024-11-06T11:22:34Z VendorInfo=gohugoio WARN deprecated: resources.ToCSS was deprecated in Hugo v0.128.0 and will be removed in a future release. Use css.Sass instead. WARN Failed to write jsconfig.json: open /src/assets/jsconfig.json: permission denied Total in 1265 ms Error: error building site: mkdir /src/resources/_gen/assets/sass: permission denied The command '/bin/sh -c if [ -e "$ONBUILD_SCRIPT_VALUE" ]; then exec sh $ONBUILD_SCRIPT_VALUE; else exec hugo $HUGO_CMD; fi' returned a non-zero code: 1 Error: Process completed with exit code 1.
could you please provide more details? I just checked to build my website using the ext-alpine-onbuild image and it worked fine without specifying any user, just using the default hugo user.
Same problem persists with 0.138.0.
(Is there a reason this issue has been marked closed when it remains so completely unresolved?)
Yesterday I built new docker images with Hugo version 0.138.0 where I put a fix regarding the permission issue. Could you please try with latest 0.138.0 images and let me know if the issue persist?
Describe the bug Running on Github Actions, 0.136.2 yields permission errors. Any filesystem action resulting from the command
hugo
fails, with a "permission denied" error.To Reproduce Upgrade from 0.136.1 to 0.136.2