Has the temp directory location changed in the past week?
Our Jekyll build has started failing on an issue in the parent theme. If we rerun old (successful) builds from 6 days ago, they now fail.
All versions of dependencies are the same in the successful builds 6 days ago compared to the unsuccessful ones today.
I have traced it back to what I believe to be the temp directory now being set to
/opt/buildhome/repo/
. I believe this might have changed in the past 6 days.
When Cloudflare builds:
When building locally:
Basically, when building in Cloudflare, the parent theme zip is downloaded inside the repo directory where its contents are seen as part of our site, which causes the build error.
I've had to enable verbose mode to generate the above output so unfortunately can't see which directory was used when it was working without error 6 days ago. But obviously can see that it uses /tmp
when we run the build locally.9 Replies
Cc @walshydev @johndotawesome
@idrleon I'm seeing that you've got some successful builds now - What ended up being the fix?
more of a workaround - I added
'jekyll-remote-theme*'
to the excludes in _config.yml
Hrmm was this your original error?
that's correct
Yeah this is a conundrum. Is there any chance you have time to put-together a simplified public repo which reproduces the issue? I totally understand if not
Shouldn't be an issue, I'll pencil it in for tomorrow
@johndotawesome here you go https://github.com/leonatherton/cf-pages-issue
GitHub
GitHub - leonatherton/cf-pages-issue
Contribute to leonatherton/cf-pages-issue development by creating an account on GitHub.
Incredible. Thank you!