From 2f0b6e10abd494975fc15779f81ea5715a111c56 Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 10 Sep 2025 08:38:19 -0400 Subject: [PATCH] Palmr v3.2.1-beta (#7526) - Add CUSTOM_PATH env var with comment - Update JSON: add note about new env var - Update JSON: remove warning about RAM - now advisable to leave as-is --- frontend/public/json/palmr.json | 6 +----- install/palmr-install.sh | 6 ++++-- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/frontend/public/json/palmr.json b/frontend/public/json/palmr.json index fba2fb98c..1e1422095 100644 --- a/frontend/public/json/palmr.json +++ b/frontend/public/json/palmr.json @@ -33,11 +33,7 @@ }, "notes": [ { - "text": "This LXC is very memory-hungry when updating; it requires at least 6GB RAM, but RAM may be reduced to as low as 2GB when running normally", - "type": "warning" - }, - { - "text": "To use a bind mount for storage, create symlinks to your mount for both `uploads` and `temp-uploads` in `/opt/palmr_data`", + "text": "To use a bind mount for storage, create symlinks to your mount for both `uploads` and `temp-uploads` in `/opt/palmr_data`, and uncomment `CUSTOM_PATH` to add the path to your bind mount", "type": "info" }, { diff --git a/install/palmr-install.sh b/install/palmr-install.sh index 44ac96719..6d58ac876 100644 --- a/install/palmr-install.sh +++ b/install/palmr-install.sh @@ -26,8 +26,10 @@ sed -e 's/_ENCRYPTION=true/_ENCRYPTION=false/' \ -e '/^# ENC/s/# //' \ -e "s/ENCRYPTION_KEY=.*$/ENCRYPTION_KEY=$PALMR_KEY/" \ -e "s|file:.*$|file:$PALMR_DB\"|" \ - -e '/db"$/a\# Uncomment below when using reverse proxy\ -# SECURE_SITE=true' \ + -e "\|db\"$|a\\# Uncomment below when using a reverse proxy\\ +# SECURE_SITE=true\\ +# Uncomment and add your path if using symlinks for data storage\\ +# CUSTOM_PATH=" \ .env.example >./.env $STD pnpm install $STD pnpm dlx prisma generate