libremesh / lime-packages

LibreMesh packages configuring OpenWrt for wireless mesh networking
https://libremesh.org/
GNU Affero General Public License v3.0
277 stars 96 forks source link

firmware upgrade via webui simple mode: no keep-no-settings #170

Closed FreifunkUFO closed 7 years ago

FreifunkUFO commented 7 years ago

trying firmware upgrade via "simple mode" gives me no chance to say "keep no settings". its mentioned on the webui, but there is no checkbox!

unchecking the "keep settings" checkbox is very important, because libremesh is an autoconfig mesh firmware.. (so keeping settings is not needed for most of the devices. To uncheck that option is mandatory for testing)

no-keep-no-settings

ilario commented 7 years ago

This happens because packages/lime-webui/luasrc/view/flashops.htm introduced in commit 430deae lacks the option, no idea why. @nicopace can you fix this?

nicopace commented 7 years ago

Shouldn't be keeping it. don't have a device to test next to me. can you test @FreifunkUFO ?

p4u commented 7 years ago

The libremesh web upgrade uses the command line tool "lime-sysupgrade" which is a wrapper of standard sysupgrade. It saves only few configuration files such as /etc/config/lime, /etc/passwd /etc/dropbear and so on. But none of the standard UCI /etc/config files is saved so it would not be a problem.

So IMO this behavior is correct. If you don't want to save any file (not even /etc/config/lime) just use standard "sysupgrade -n" from command line.

On 07/09/17 20:27, Nicolás Pace wrote:

Shouldn't be keeping it. don't have a device to test next to me. can you test @FreifunkUFO https://github.com/freifunkufo ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/libremesh/lime-packages/issues/170#issuecomment-313936809, or mute the thread https://github.com/notifications/unsubscribe-auth/ABBo9qbOIZxJMGhbkRUYtNVq8uqPJj3zks5sMRuqgaJpZM4OMuIP.

ilario commented 7 years ago

Ok, so it's just a matter of removing the Check "Keep settings" to retain the current configuration (requires a compatible firmware image). text from here.

aparcar commented 7 years ago

hopefully fixed in #180