[GH-ISSUE #1123] Spiffs gets erased after ssid and password save #963

Closed
opened 2026-02-28 01:27:52 +03:00 by kerem · 5 comments
Owner

Originally created by @Qbunjo on GitHub (Sep 10, 2020).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1123

PLEASE TRY DEVELOPMENT BRANCH before submitting bugs on release or master, in case they were already fixed.

POST SERIAL OUTPUT !

Issues without basic info will be ignored or closed!

Please fill the info fields, it helps to get you faster support ;)

if you have a stack dump decode it:
https://github.com/esp8266/Arduino/blob/master/doc/Troubleshooting/stack_dump.rst

for better debug messages:
https://github.com/esp8266/Arduino/blob/master/doc/Troubleshooting/debugging.rst

----------------------------- Remove above -----------------------------

Basic Infos

Hardware

WiFimanager Branch/Release:

  • [ x] Master
  • Development

Esp8266/Esp32:

  • [x ] ESP8266
  • ESP32

Hardware: ESP-12e, esp01, esp25

  • ESP01
  • [x ] ESP12 E/F/S (nodemcu, wemos, feather)
  • Other

ESP Core Version: 2.4.0, staging

  • 2.3.0
  • [x ] 2.4.0
  • staging (master/dev)

Description

Hi there,
I Just added your manager to my project.
https://github.com/The-Coobaz/hunter-hack
I use spiffs to keep web page and css. But When I added the manager, after saving ssid and pass, The spiffs gets cleared. I don't know why id does happen, since I can't find in your library place where the credentials gets saved.

Settings in IDE

Module: NodeMcu, Wemos D1

Additional libraries:

Sketch


#include <Arduino.h>

void setup() {

}

void loop() {

}

Debug Messages

messages here
Originally created by @Qbunjo on GitHub (Sep 10, 2020). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1123 ## PLEASE TRY DEVELOPMENT BRANCH before submitting bugs on release or master, in case they were already fixed. ## ## POST SERIAL OUTPUT ! Issues without basic info will be ignored or closed! Please fill the info fields, it helps to get you faster support ;) if you have a stack dump decode it: https://github.com/esp8266/Arduino/blob/master/doc/Troubleshooting/stack_dump.rst for better debug messages: https://github.com/esp8266/Arduino/blob/master/doc/Troubleshooting/debugging.rst ----------------------------- Remove above ----------------------------- ### Basic Infos #### Hardware **WiFimanager Branch/Release:** - [ x] Master - [ ] Development **Esp8266/Esp32:** - [x ] ESP8266 - [ ] ESP32 **Hardware: ESP-12e, esp01, esp25** - [ ] ESP01 - [x ] ESP12 E/F/S (nodemcu, wemos, feather) - [ ] Other **ESP Core Version: 2.4.0, staging** - [ ] 2.3.0 - [x ] 2.4.0 - [ ] staging (master/dev) ### Description Hi there, I Just added your manager to my project. https://github.com/The-Coobaz/hunter-hack I use spiffs to keep web page and css. But When I added the manager, after saving ssid and pass, The spiffs gets cleared. I don't know why id does happen, since I can't find in your library place where the credentials gets saved. ### Settings in IDE Module: NodeMcu, Wemos D1 Additional libraries: ### Sketch ```cpp #include <Arduino.h> void setup() { } void loop() { } ``` ### Debug Messages ``` messages here ```
kerem 2026-02-28 01:27:52 +03:00
  • closed this issue
  • added the
    Question
    label
Author
Owner

@tablatronix commented on GitHub (Sep 10, 2020):

The esp saves the credentials on its own wm doesnt save anything. So I suspect you have a esp lib issue or corrupt memory, do a full erase.

<!-- gh-comment-id:690693133 --> @tablatronix commented on GitHub (Sep 10, 2020): The esp saves the credentials on its own wm doesnt save anything. So I suspect you have a esp lib issue or corrupt memory, do a full erase.
Author
Owner

@Qbunjo commented on GitHub (Sep 10, 2020):

Whoah! What a prompt answer! I will examine that.

<!-- gh-comment-id:690707140 --> @Qbunjo commented on GitHub (Sep 10, 2020): Whoah! What a prompt answer! I will examine that.
Author
Owner

@tablatronix commented on GitHub (Sep 10, 2020):

also may sound dumb, but make sure you are not calling spiff.format.... lol

<!-- gh-comment-id:690752202 --> @tablatronix commented on GitHub (Sep 10, 2020): also may sound dumb, but make sure you are not calling spiff.format.... lol
Author
Owner

@Qbunjo commented on GitHub (Sep 11, 2020):

Noo, I am not that dumb :)

<!-- gh-comment-id:690880438 --> @Qbunjo commented on GitHub (Sep 11, 2020): Noo, I am not that dumb :)
Author
Owner

@Qbunjo commented on GitHub (Sep 11, 2020):

Hi. I did as you advised. Did full erase and updated library to current dev version. Everything works now. Thanks for your hint.

<!-- gh-comment-id:691219425 --> @Qbunjo commented on GitHub (Sep 11, 2020): Hi. I did as you advised. Did full erase and updated library to current dev version. Everything works now. Thanks for your hint.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#963
No description provided.