mirror of
https://github.com/OpenEPaperLink/OpenEPaperLink.git
synced 2026-03-21 00:04:28 +01:00
[GH-ISSUE #159] Access point forgets content of all tags #1737
Reference in New Issue
Block a user
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 @seeers on GitHub (Nov 9, 2023).
Original GitHub issue: https://github.com/OpenEPaperLink/OpenEPaperLink/issues/159
Originally assigned to: @nlimper on GitHub.
I would like to report a possible problem that has now occurred for the second time after a few weeks of operation.
The access point "forgets" the set content of all tags. Nothing has been changed for a few days, everything was forgotten overnight.
The last image is still displayed on the tags, in the access point all tags are set to "Static image" as shown in the screenshot. Of the 5 tags, two were configured with a json template, one with weather and one with the current date.
env: OpenEPaperLink_Mini_AP
build date: 2023-10-09 14:10 (compiled from github master branch on this date)
esp32 version: custom
filesystem version: unknown
psram size: 2090543
flash size: 4194304
Status since this morning:

@seeers commented on GitHub (Nov 10, 2023):
Another thing that occurs to me is that a tag has disappeared from the Currently active tags. Here the battery is empty, maybe it has something to do with that.
@JacSavage commented on GitHub (Nov 12, 2023):
I can confirm this happening to my two tags also.
@seeers commented on GitHub (Nov 13, 2023):
did you also run out of battery on a tag and did it then disappear from the list?
@marcovannoord commented on GitHub (Nov 16, 2023):
I also have this problem. I have not been able to catch it red-handed when doing this, but i have seen this pop up:
It might or might not be related, since this didn't cause the tags to be gone. However, if the system panics while it is writing the database, it might corrupt it.
@marcovannoord commented on GitHub (Nov 17, 2023):
I think i managed to catch it in the act:
It tries to write to spiffs, but does not have enough memory, and probably fails.
Would it be sufficient to check the mallocs before trying to write?
@marcovannoord commented on GitHub (Nov 22, 2023):
Update:
I have increased the intervals at which the different tasks run, and i have not seen this issue any more for the past 4 days, while normally it would happen every x-hours.
Apperantly, there can be a race-condition that causes this bug.
@kopierschnitte commented on GitHub (Jan 24, 2024):
Same problem here ... happens almost every day.
@nlimper commented on GitHub (Jan 24, 2024):
If you use VScode/platformIO, try to install the latest commit, which will probably make the network connection a lot more stable. (this will also be added to the next release, if you just want to update the AP without hassle).
For now, I'm closing this. If it re-appears after the next update, feel free to open it again, but please, no 'me too!' comments. If a bug is there, it will be there for everybody ;-) Of course, if you have new info, it is always welcome to add.