-
-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
External images are redirected to missing.png and trigger 404 errors. This is caused because paperclip attempts to use imagemagick which isn't installed anymore. See log below.
Expected Behavior
Paperclip should be able to create temporary local copies of external images. Installing imagemagick on the container fixes the issue.
Steps To Reproduce
- Install container
- Wait for posts to arrive
- Images are 404
Environment
- OS: Unraid 6.12.13
- Docker is preinstalled
CPU architecture
x86-64
Docker creation
Container was created using portainer. I don't usually use the Unraid UI for docker management.
version: "3.8"
services:
mastodon:
image: lscr.io/linuxserver/mastodon:latest
container_name: mastodon
deploy:
mode: global
restart_policy:
condition: unless-stopped
environment:
- PUID=1013
- PGID=1013
- TZ=America/Chicago
- LOCAL_DOMAIN=dustinwilson.com
- REDIS_HOST=10.0.4.8
- REDIS_PORT=6379
- DB_HOST=10.0.4.7
- DB_USER=<secret>
- DB_NAME=<secret>
- DB_PASS=<secret>
- DB_PORT=<secret>
- BIND=0.0.0.0
- ES_ENABLED=false
- SECRET_KEY_BASE=<secret>
- OTP_SECRET=<secret>
- VAPID_PRIVATE_KEY=<secret>
- VAPID_PUBLIC_KEY=<secret>
- SMTP_SERVER=<secret>
- SMTP_PORT=<secret>
- SMTP_LOGIN=<secret>
- SMTP_PASSWORD=<secret>
- SMTP_AUTH_METHOD=<secret>
- SMTP_OPENSSL_VERIFY_MODE=<secret>
- SMTP_FROM_ADDRESS=<secret>
- S3_ENABLED=false
- WEB_DOMAIN=mastodon.dustinwilson.com
- ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY=<secret>
- ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT=<secret>
- ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY=<secret>
networks:
ipvlan:
ipv4_address: 10.0.4.10
ipv6_address: fd10:0:0:4::10
volumes:
- /mnt/vcache/appdata/mastodon:/config
- /mnt/user/appdata/mastodon/mastodon:/config/mastodon
networks:
ipvlan:
external: true
name: ipvlan
Container logs
I, [2025-06-10T16:25:31.568948 #341] INFO -- : [a17493da-8388-46d3-9355-7ca49b725d79] [paperclip] Trying to link /tmp/10e01d3eb288c996638aed00152f82b920250610-341-o59as0.jpeg to /tmp/cb516aac17b575e4ec60c21bcea4488920250610-341-j8d6ei.jpeg
I, [2025-06-10T16:25:31.569303 #341] INFO -- : [a17493da-8388-46d3-9355-7ca49b725d79] Command :: file -b --mime '/tmp/cb516aac17b575e4ec60c21bcea4488920250610-341-j8d6ei.jpeg'
I, [2025-06-10T16:25:31.572817 #341] INFO -- : [a17493da-8388-46d3-9355-7ca49b725d79] [paperclip] Trying to link /tmp/10e01d3eb288c996638aed00152f82b920250610-341-o59as0.jpeg to /tmp/b14321fe9883a9d25cb766907c1998bc20250610-341-h8x1as.jpeg
I, [2025-06-10T16:25:31.574986 #341] INFO -- : [a17493da-8388-46d3-9355-7ca49b725d79] Command :: identify -format %m '/tmp/b14321fe9883a9d25cb766907c1998bc20250610-341-h8x1as.jpeg[0]'
I, [2025-06-10T16:25:31.592193 #341] INFO -- : [a17493da-8388-46d3-9355-7ca49b725d79] method=GET path=/media_proxy/114661129838848775/small format=html controller=MediaProxyController action=show status=302 allocations=9729 duration=248.13 view=0.00 db=4.92 location=https://mastodon.dustinwilson.com/files/small/missing.png
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Issues