[GH-ISSUE #280] Configuration of all tags is lost #2926

Closed
opened 2026-03-20 22:05:49 +01:00 by sascha_hemi · 9 comments
Owner

Originally created by @seeers on GitHub (Apr 3, 2024).
Original GitHub issue: https://github.com/OpenEPaperLink/OpenEPaperLink/issues/280

As soon as I started giving all the tags a name, everything disappeared again overnight :)
I'm not sure what exactly happened, but unfortunately all the settings (alias / content) were lost overnight.
The RAW files from the last update are still under /current.
I use a Yellow AP (ESP32-S3) with a C6 module as radio - Version 2.52
The content of log.txt:

...
2024-04-03 03:33:44 http getJsonTemplateUrl http://openhab2/tmp/bad2.json  
2024-04-03 03:34:24 http getJsonTemplateUrl http://openhab2/tmp/bad.json  
2024-04-03 03:34:31 http getJsonTemplateUrl http://openhab2/tmp/bad2.json  
2024-04-03 03:45:08 http getJsonTemplateUrl https://script.googleusercontent.com/macros.....cencored :)   
2024-04-03 03:48:44 http getJsonTemplateUrl http://openhab2/tmp/bad2.json  
2024-04-03 03:49:25 http getJsonTemplateUrl http://openhab2/tmp/bad.json
2024-04-03 04:00:03 Nightly reboot
2024-04-03 02:00:21 Unable to connect to WiFi
2024-04-03 02:00:21 Starting configuration AP, ssid OpenEPaperLink
2024-04-03 04:00:22 Reboot. Reason: Software
2024-04-03 04:05:21 Attempting to reconnect to WiFi. 

image

Are there any similar cases?

Originally created by @seeers on GitHub (Apr 3, 2024). Original GitHub issue: https://github.com/OpenEPaperLink/OpenEPaperLink/issues/280 As soon as I started giving all the tags a name, everything disappeared again overnight :) I'm not sure what exactly happened, but unfortunately all the settings (alias / content) were lost overnight. The RAW files from the last update are still under /current. I use a Yellow AP (ESP32-S3) with a C6 module as radio - Version 2.52 The content of log.txt: ``` ... 2024-04-03 03:33:44 http getJsonTemplateUrl http://openhab2/tmp/bad2.json 2024-04-03 03:34:24 http getJsonTemplateUrl http://openhab2/tmp/bad.json 2024-04-03 03:34:31 http getJsonTemplateUrl http://openhab2/tmp/bad2.json 2024-04-03 03:45:08 http getJsonTemplateUrl https://script.googleusercontent.com/macros.....cencored :) 2024-04-03 03:48:44 http getJsonTemplateUrl http://openhab2/tmp/bad2.json 2024-04-03 03:49:25 http getJsonTemplateUrl http://openhab2/tmp/bad.json 2024-04-03 04:00:03 Nightly reboot 2024-04-03 02:00:21 Unable to connect to WiFi 2024-04-03 02:00:21 Starting configuration AP, ssid OpenEPaperLink 2024-04-03 04:00:22 Reboot. Reason: Software 2024-04-03 04:05:21 Attempting to reconnect to WiFi. ``` ![image](https://github.com/jjwbruijn/OpenEPaperLink/assets/16150580/a35b777d-7742-4380-8c0e-67c128fe4691) Are there any similar cases?
sascha_hemi added the bug label 2026-03-20 22:05:49 +01:00
Author
Owner

@nlimper commented on GitHub (Apr 3, 2024):

Friendly reminder that a backup of the database is kept in localstorage of your browser. Using the browser you used last to config a tag, go to the config tab and choose 'restore tagDB' ('Restores the tagDB with the auto-saved version by the browser') and your tag settings are back. The tags will look like expired at first (as the 'last seen' time will be way in the past) but that solves by itself.

<!-- gh-comment-id:2035428499 --> @nlimper commented on GitHub (Apr 3, 2024): Friendly reminder that a backup of the database is kept in localstorage of your browser. Using the browser you used last to config a tag, go to the config tab and choose 'restore tagDB' ('Restores the tagDB with the auto-saved version by the browser') and your tag settings are back. The tags will look like expired at first (as the 'last seen' time will be way in the past) but that solves by itself.
Author
Owner

@seeers commented on GitHub (Apr 4, 2024):

Thanks for the tip, that sounds like a great function if something goes wrong.
Unfortunately it didn't work for me, the content remains empty.
image

Update: restore from my mobile phone has worked

<!-- gh-comment-id:2036184858 --> @seeers commented on GitHub (Apr 4, 2024): Thanks for the tip, that sounds like a great function if something goes wrong. Unfortunately it didn't work for me, the content remains empty. ![image](https://github.com/jjwbruijn/OpenEPaperLink/assets/16150580/d36f6143-5386-4d4d-bea7-cf63b2f403f2) Update: restore from my mobile phone has worked
Author
Owner

@seeers commented on GitHub (Apr 4, 2024):

The whole thing is not bad for me now, are there any suspicions as to where this problem is coming from? Is there anything I can do to help localise it?

<!-- gh-comment-id:2036185969 --> @seeers commented on GitHub (Apr 4, 2024): The whole thing is not bad for me now, are there any suspicions as to where this problem is coming from? Is there anything I can do to help localise it?
Author
Owner

@nlimper commented on GitHub (Apr 4, 2024):

In theory, it could have happened that at that same moment, a new image pushed via http was being written to the file system. I will improve the procedure of the nightly reboot a bit.

<!-- gh-comment-id:2036680388 --> @nlimper commented on GitHub (Apr 4, 2024): In theory, it could have happened that at that same moment, a new image pushed via http was being written to the file system. I will improve the procedure of the nightly reboot a bit.
Author
Owner

@seeers commented on GitHub (Apr 4, 2024):

I don't know if it helps but in my case only json templates are retrieved from a local webserver and from google. Nothing is pushed via http

<!-- gh-comment-id:2037914566 --> @seeers commented on GitHub (Apr 4, 2024): I don't know if it helps but in my case only json templates are retrieved from a local webserver and from google. Nothing is pushed via http
Author
Owner

@foorschtbar commented on GitHub (Apr 27, 2024):

Same problem here. With 2.52 it was a lot better than with 2.07b (https://github.com/jjwbruijn/OpenEPaperLink/issues/231), but still happend sometimes.

<!-- gh-comment-id:2080783102 --> @foorschtbar commented on GitHub (Apr 27, 2024): Same problem here. With 2.52 it was a lot better than with 2.07b (https://github.com/jjwbruijn/OpenEPaperLink/issues/231), but still happend sometimes.
Author
Owner

@kopierschnitte commented on GitHub (May 20, 2024):

Same here since 2.x but I only pull images from http (and use the weather function). Restore always works.

<!-- gh-comment-id:2119698997 --> @kopierschnitte commented on GitHub (May 20, 2024): Same here since 2.x but I only pull images from http (and use the weather function). Restore always works.
Author
Owner

@foorschtbar commented on GitHub (Oct 28, 2024):

@nlimper is there any fix? it happend to me every 1 or 2 weeks :(

<!-- gh-comment-id:2441107815 --> @foorschtbar commented on GitHub (Oct 28, 2024): @nlimper is there any fix? it happend to me every 1 or 2 weeks :(
Author
Owner

@nlimper commented on GitHub (Oct 28, 2024):

I closed it due to inactivity. And I on the Discord server I don't see any recent reports that it's happening.
It's kind of impossible to debug without more detailed info/logs, as I cannot reproduce it myself. You would have to catch the UART output of the AP right when it happens, maybe that gives more info.
In any case, you can backup the database and restore it when needed, but I agree it can be annoying when you need to do that every 1-2 weeks...

<!-- gh-comment-id:2441170951 --> @nlimper commented on GitHub (Oct 28, 2024): I closed it due to inactivity. And I on the Discord server I don't see any recent reports that it's happening. It's kind of impossible to debug without more detailed info/logs, as I cannot reproduce it myself. You would have to catch the UART output of the AP right when it happens, maybe that gives more info. In any case, you can backup the database and restore it when needed, but I agree it can be annoying when you need to do that every 1-2 weeks...
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/OpenEPaperLink#2926