mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[GH-ISSUE #1318] attachment_total_size_remaining is not affected by attachment-total-size-limit #935
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#935
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Offerel on GitHub (Apr 25, 2025).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1318
Sometimes i need to send messages with logfiles as attachment. This resulted in an error message yesterday:
This message is not understandable for me. The topic where I have sent a message can only be accessed by one user. The attachment sent along is 2.2MB in size. The following is set in server.yml:
At least I can find the 15MB in the error log under
attachment_file_size_limit=15728640. If I increaseattachment-total-size-limit, however, this does not change the output ofattachment_total_size_remaining=2097152in the log file. The value remains the same.After a bit of trial and error, I ended up changing the values
Now I can send the message. From my point of view, I would understand this as a bug, since the topic is not a visitor or public topic, but a closed topic for just this one user. Obviously
attachment_total_size_remaining=2097152refers to the newly set values (visitor-attachment-total-size-limit/visitor-attachment-daily-bandwidth-limit).If this is not a bug, why does ntfy behave like this? Or is this rather a bug? When will the values be reset?
attachment_total_size_remaining=2097152has been unchanged for more than 2 days.I have asked the same at https://matrix.to/#/!KQaqifczWbCaidLETg:matrix.org/$-ZfVNSIH8oYlPG4OWAU42HSu2hKTJ1htzn5fYjYs0PA?via=matrix.org&via=t2bot.io&via=tchncs.de