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

error 500 updating 3.6.0-dev2 to 3.6.0-dev4 not possible #1109

Closed
harvey637 opened this issue Mar 9, 2023 · 7 comments
Closed

error 500 updating 3.6.0-dev2 to 3.6.0-dev4 not possible #1109

harvey637 opened this issue Mar 9, 2023 · 7 comments

Comments

@harvey637
Copy link

harvey637 commented Mar 9, 2023

Hi,
updating from 3.6.0-dev.2 to 3.6.0-dev.4 results in
internal error 500

I did:
reinstalled esp32 with new partitioning from 3.5.0-B2
factory reset
added old config manually (and compared downloaded configs)
added my custimization (mostly disabling warmwater ....)

back to 3.6.0-dev.2: working, but
some problems with customizations, like NOT saving some WW related stuff, json looks broken:

         "03/wwchargeduration|>0<3810",
          "03/wwcharge",
          "03/wwextra1",
          "03/wwextra2",
          "03/wwdisinfecting",
          "03/wwdisinfectday",
          "03/wwdisinfecttime|>0<1431",
          "03hybridstrategy",
          "03switchovertemp",

and

          "03elheatstep2",
          "03elheatstep3",
          "03ww/wwalternatingop",
          "03ww/wwaltopprioheat|>20<120",
          "03ww/wwaltopprioww|>30<120",
          "03ww/wwcomfoff|>15<65",
          "03ww/wwecooff|>15<65",

I am hopiong that this might be fixed, but cannot test due to update problem :-(

sadly the latest commit results in rejected build ...
cu
Harvey

@harvey637 harvey637 changed the title error 500 updating 3.0.0-dev2 to 3.6.0-dev4 not possible error 500 updating 3.6.0-dev2 to 3.6.0-dev4 not possible Mar 9, 2023
@harvey637
Copy link
Author

harvey637 commented Mar 9, 2023

some info on sizes:


EMS-ESP Version
v3.6.0-dev.2

Platform (Platform / SDK)
ESP32 / v4.4.2

System Betriebszeit
000+00:21:11.041

CPU Frequenz
240 MHz

freier RAM Speicher (Gesamt / max. Block)
97 KB / 39 KB

Flash Speicher (Größe / Geschwindigkeit)
4.096 KB / 40 MHz

Programm (Genutzt / Frei)
1.973 KB / 11 KB

Dateisystem (Genutzt / Frei)
32 KB / 32 KB

If the size of languages create a problem ther might be versions with only the major languages and other versions ...

@MichaelDvP
Copy link
Contributor

Yes, the actual dev4 is to large for 4MB flash (with symetrical ota partitions). My dev3 is mostly up to date with dev4 but fits in partiton. See #608 for a possible solution.

3.5.0b2 have not all customization-features, upload the customization file again after update to 3.6.0-dev.x

@harvey637
Copy link
Author

Hi @ MichaelDvP,
thank you for your answer.
So I will wait for a near future solution. I dont want to burn my productive ems-esp, this gets me into family trouble!

If a solution might be to strip down languages, what about a small subset? How needs to switch from swedisch to vietnamese on the fly? Or load a language package as addon with only the english basic?
If the software grows (always goes into this direction :-) an "english only" version with the upload (and deletion!) of a choosen language? As bare minimum I can live with an english_only version, that is uptodate, better as no updates possible or buy new hardware just to switch between 10 languages.

Just my idea, might be easier as to play around with partiition schemes and multilevel OTA updating.
cu
Harvey

@proddy
Copy link
Contributor

proddy commented Mar 10, 2023

dev-4 should fit now.

@proddy proddy closed this as completed Mar 10, 2023
@harvey637
Copy link
Author

Hi,
thank you - but .....
Do I have to wait for a new build, as a freshly downloaded 3.6.0-dev.4 still breaks the upload, and it is 2 days old :-)

I will check again later today ...
cu+
Harvey

@proddy
Copy link
Contributor

proddy commented Mar 10, 2023

Hi, thank you - but ..... Do I have to wait for a new build, as a freshly downloaded 3.6.0-dev.4 still breaks the upload, and it is 2 days old :-)

I will check again later today ... cu+ Harvey

oops, forgot to upload...!

@harvey637
Copy link
Author

harvey637 commented Mar 10, 2023

ok, it is there and uploaded, working! Thank You!

Flash size is really getting low:

EMS-ESP Version
v3.6.0-dev.5

Platform (Platform / SDK)
ESP32 / v4.4.2

System Betriebszeit
000+00:06:43.009

CPU Frequenz
240 MHz

freier RAM Speicher (Gesamt / max. Block)
98 KB / 39 KB

Flash Speicher (Größe / Geschwindigkeit)
4.096 KB / 40 MHz

Programm (Genutzt / Frei)
1.983 KB / 1 KB

Dateisystem (Genutzt / Frei)
32 KB / 32 KB

saving customisations can wait for future release :-)

cu
Harvey

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants