From 1238fe61cdde11f32661bd875eb778e75b685e5b Mon Sep 17 00:00:00 2001 From: Bram Date: Wed, 2 Dec 2026 20:07:44 +0100 Subject: [PATCH] Fixes the code action failing on Cloudron (#6974) --- .../bug/fixes_the_code_action_failing_on_cloudron.json | 9 +++++++++ deploy/cloudron/cloudron_env.sh | 3 +++ 2 files changed, 12 insertions(+) create mode 100644 changelog/entries/unreleased/bug/fixes_the_code_action_failing_on_cloudron.json 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=""