Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thil library remove files prom the spiffs #15

Open
maxmenGMK opened this issue Jul 7, 2021 · 1 comment
Open

Thil library remove files prom the spiffs #15

maxmenGMK opened this issue Jul 7, 2021 · 1 comment
Assignees
Labels
bug Something isn't working question Further information is requested

Comments

@maxmenGMK
Copy link

maxmenGMK commented Jul 7, 2021

Effortless_SPIFFS when starts removes all files from spiffs on the ESP.
Environment
PlatformIO
thebigpotatoe/Effortless-SPIFFS@^2.3.0

Desktop (please complete the following information):

  • OS: WIN7
  • Browser Firefox
  • Version 89.0.2

To Reproduce
Steps to reproduce the behavior:

  1. Inslall the #include "ESPAsyncWebServer.h" and #include "SPIFFSEditor.h"
  2. upload file (in my case main web-page index.html) in platformio console put: pio run -t uploadfs
  3. Open ESP IP and see your webpage and it will be there.
  4. Install #include <Effortless_SPIFFS.h, put eSPIFFS fileSystem; and fileSystem.openFromFile("/settings.txt", mem_hourtoeat); in the code and try to open index page - there no page because it was removed from spiffs.
  5. Remove #include <Effortless_SPIFFS.h> and then again upload index.html file
  6. Open web-interface (ip of ESP) again and it will open now after deleting Effortless_SPIFFS

Expected behavior
Effortless_SPIFFS when starts clear the spiffs on the ESP i suppose.

@maxmenGMK maxmenGMK added the bug Something isn't working label Jul 7, 2021
@thebigpotatoe
Copy link
Owner

This may be a clash of file systems? Is SPIFFSEditor.h using SPIFFS or LittleFS?

@thebigpotatoe thebigpotatoe added the question Further information is requested label Jun 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants