Can't Deploy Static Sites Using Zola

Deploying a static site using the static site generate Zola (https://www.getzola.org/) results in the following error:

==> Running build command 'zola build'...
zola: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by zola)
zola: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by zola)
==> Build failed ๐Ÿ˜ž

When I set up the project, Render automatically detected that I was using Zola, suggesting that Zola should be supported.

Hi there,

It looks like the prebuilt release of Zola we use (v0.14.1) isnโ€™t compatible with our static site environment. We should fix this or remove Zola as an option.

As a workaround, you could try first building it from the source as we have cargo in our static site environment (though this will add around 5 minutes to your build time). Create a build script something like this:

#!/usr/bin/env bashgit clone https://github.com/getzola/zola.gitcd zolacargo install --path . --locked export PATH=$(pwd)/target/release/zola:$PATHcd -zola build

Regards,

Keith
Render Support, UTC+10 :australia:

Hey, thanks for the advice. Could you explain how to use this script?

When I tried inputting the command in the build command input, it didnโ€™t take 5 minutes โ€“ it just completed instantly and reported success, but actually nothing was built and it just deployed an empty folder.

Hi there,

Can you please add this to a script, for example render-build.sh and commit and push that to your GitHub repo and then use ./render-build.sh as the build command.

Regards,

Keith
Render Support, UTC+10 :australia: