[GH-ISSUE #96] Json templates are not cleaned up #43

Closed
opened 2026-03-20 17:26:14 +01:00 by sascha_hemi · 1 comment
Owner

Originally created by @PieterBoeren on GitHub (Jul 28, 2023).
Original GitHub issue: https://github.com/OpenEPaperLink/OpenEPaperLink/issues/96

Describe the bug
When you once use a Json template on a tag, the file is never cleaned from disk. Maybe it's intended, but since disk space is limited, I would expect "old" json files to be removed once they are no longer in use.

To Reproduce
Steps to reproduce the behavior:

  1. Upload a Json template (I used the "jsontemplate-demo.html")
  2. Change the config of the tag to something else (weather/current date/etc)
  3. Open the file browser and observe the json file still in the root folder

Expected behavior
Json files should be removed after they are not used anymore (maybe already after image generation?)

Originally created by @PieterBoeren on GitHub (Jul 28, 2023). Original GitHub issue: https://github.com/OpenEPaperLink/OpenEPaperLink/issues/96 **Describe the bug** When you once use a Json template on a tag, the file is never cleaned from disk. Maybe it's intended, but since disk space is limited, I would expect "old" json files to be removed once they are no longer in use. **To Reproduce** Steps to reproduce the behavior: 1. Upload a Json template (I used the "jsontemplate-demo.html") 2. Change the config of the tag to something else (weather/current date/etc) 3. Open the file browser and observe the json file still in the root folder **Expected behavior** Json files should be removed after they are not used anymore (maybe already after image generation?)
sascha_hemi added the bug label 2026-03-20 17:26:14 +01:00
Author
Owner

@nlimper commented on GitHub (Jul 31, 2023):

fixed in b4bf060a51

<!-- gh-comment-id:1659126851 --> @nlimper commented on GitHub (Jul 31, 2023): fixed in https://github.com/jjwbruijn/OpenEPaperLink/commit/b4bf060a51009602e1b318db22b1724c14929341
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/OpenEPaperLink#43