ubergeek77 / Lemmy-Easy-Deploy

Deploy Lemmy the easy way!
MIT License
133 stars 14 forks source link

customPictrs.env file not properly being passed #78

Closed marrenia closed 10 months ago

marrenia commented 10 months ago

Did you check the FAQ & Troubleshooting section for answers to common questions and issues?

Yes/No Yes Describe the issue What happened? Post any relevant log snippets. I added a customPictrs.env file in the custom folder to make pictrs use object store, but it seems like pictrs ignores the settings i supplied in this file and continues to use block storage despite that. Diagnostic Information Run ./deploy.sh -d and paste the output below:


==== Docker Information ====
Detected runtime: docker (Docker version 24.0.6, build ed223bc)
Detected compose: docker compose (Docker Compose version v2.21.0)
Runtime state: OK

==== System Information ==== OS: Linux KERNEL: 5.14.0-284.30.1.el9_2.x86_64 (x86_64) HOSTNAME: OK SHELL: bash MEMORY: total used free shared buff/cache available Mem: 7.3Gi 1.4Gi 168Mi 312Mi 6.4Gi 5.9Gi Swap: 0B 0B 0B

DISTRO:

NAME="AlmaLinux" PRETTY_NAME="AlmaLinux 9.2 (Turquoise Kodkod)" CPE_NAME="cpe:/o:almalinux:almalinux:9::baseos"

==== Lemmy-Easy-Deploy Information ==== Version: 1.3.1

IMAGE CREATED STATUS lemmy-easy-deploy-proxy 6 minutes ago Up 6 minutes ghcr.io/ubergeek77/lemmy-ui:0.18.5 6 minutes ago Up 6 minutes ghcr.io/ubergeek77/lemmy:0.18.5 6 minutes ago Up 6 minutes asonix/pictrs:0.4.0 6 minutes ago Up 6 minutes postgres:15-alpine 6 minutes ago Up 6 minutes

Integrity: ba5b1cf116361b3fcdddb81bc05cad2757ef61d07b93829d72f8e4a39108440e ./deploy.sh 92c95dfc886792b8df2e9fffb540fc71a35c3bc6fd6c7662134da1545a79457a ./templates/Caddy-Dockerfile.template c1202e70662dd2228da36a35a0f38ec8fc81bec8964d7315d02e8671a58dd7d7 ./templates/Caddyfile.template 2537678c7971df36c1ed95f4228d3cfcb15bb4a28a60d939eaf8dd75b5d64a36 ./templates/cloudflare.snip c9cb4c5fee12930e17798a02ae1bd12e2dc69e149a394c24511bc9d4e6b776d4 ./templates/compose-email.snip c494a610bcb4cd1cfc0a4fe4fb0f6d437b2a84a0ad1625daee240e6dd6f1c910 ./templates/compose-email-volumes.snip f5325a9e26b29da51c6d3295aa278ff08ce71ffd2cd63dc4bebf00e54c468899 ./templates/docker-compose.yml.template 1c202b1b6e87c65b2fcda6035c9fe3f8631d76662907ffd38f24b14686e30647 ./templates/lemmy-email.snip c834cdce9eaf77f38155b404724fdfe66845575386ee516987452aa715642a6f ./templates/lemmy.hjson.template

Custom Files: total 4.0K -rw-r--r--. 1 0 0 375 Oct 17 21:39 customPictrs.env

==== Settings ==== CLOUDFLARE: Yes CADDY_DISABLE_TLS: false CADDY_HTTP_PORT: 80 CADDY_HTTPS_PORT: 443 LEMMY_TLS_ENABLED: true ENABLE_EMAIL: true SMTP_PORT: 587 ENABLE_POSTFIX: false POSTGRES_POOL_SIZE: 5

==== Generated Files ==== Deploy Version: 0.18.5;0.18.5

total 40K drwxr-xr-x. 2 0 0 4.0K Aug 27 11:33 caddy -rw-r--r--. 1 0 0 82 Oct 17 21:39 caddy.env -rw-r--r--. 1 0 0 375 Oct 17 21:39 customPictrs.env -rw-r--r--. 1 0 0 1.7K Oct 17 21:39 docker-compose.yml -rw-r--r--. 1 0 0 50 Aug 27 11:33 lemmy.env -rw-r--r--. 1 0 0 746 Oct 17 21:39 lemmy.hjson -rw-r--r--. 1 0 0 49 Aug 27 11:33 pictrs.env -rw-r--r--. 1 0 0 32 Oct 17 21:39 postfix.env -rw-r--r--. 1 0 0 51 Aug 27 11:33 postgres.env -rw-r--r--. 1 0 0 14 Oct 17 21:40 version

vengefulpunk commented 3 months ago

I see you closed this shortly after you created it. Did you find a fix for this?