diff --git a/changelog/entries/unreleased/bug/fixes_the_code_action_failing_on_cloudron.json b/changelog/entries/unreleased/bug/fixes_the_code_action_failing_on_cloudron.json new file mode 100644 index 0000000000..75a646c108 --- /dev/null +++ b/changelog/entries/unreleased/bug/fixes_the_code_action_failing_on_cloudron.json @@ -0,0 +1,9 @@ +{ + "type": "bug", + "message": "Fixes the code action failing on Cloudron", + "issue_origin": "github", + "issue_number": null, + "domain": "core", + "bullet_points": [], + "created_at": "2026-12-01" +} diff --git a/deploy/cloudron/cloudron_env.sh b/deploy/cloudron/cloudron_env.sh index 5639a91f16..63fcfbc3c4 100755 --- a/deploy/cloudron/cloudron_env.sh +++ b/deploy/cloudron/cloudron_env.sh @@ -16,6 +16,9 @@ export BASEROW_CADDY_ADDRESSES=${BASEROW_CADDY_ADDRESSES:-:80} export DJANGO_SETTINGS_MODULE='baserow.config.settings.base' export DATA_DIR=/app/data export DISABLE_EMBEDDED_PSQL=yes +# The filesystem is read-only on Cloudron, so tools that write a cache (like +# wasmtime, used by the code runner) need a writable location. +export XDG_CACHE_HOME=/tmp/.cache export EMAIL_SMTP="true" export EMAIL_SMTP_USE_TLS=""