Skip to content
Snippets Groups Projects
  1. May 31, 2019
    • Adrian Schmutzler's avatar
      upgrade.html: Rename uploaded firmware before sysupgrade · dbd8607b
      Adrian Schmutzler authored
      
      At the moment sysupgrade via WebUI is broken on many devices.
      This is reproducible: While the (few) status messages seem
      normal, the device boots again with the old firmware.
      Sysupgrade via SSH always works.
      
      The sysupgrade call in upgrade.html directly uses the path of
      the uploaded firmware file as argument. From several tests and
      based on caught stdout/stderr from this line, it looks like haserl
      deletes the uploaded firmware file due to a hidden trigger before
      or even while it is processed by sysupgrade.
      
      The easiest way to work around that is to just rename the file
      before using it as argument to sysupgrade. This will preserve the
      file DURING sysupgrade. If sysupgrade fails explicitly (status
      code != 0), remove the file to provide sufficient memory for
      another upload.
      
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      Reviewed-by: default avatarFabian Bläse <fabian@blaese.de>
      Reviewed-by: default avatarRobert Langhammer <rlanghammer@web.de>
      dbd8607b
  2. May 25, 2019
  3. May 09, 2019
  4. Apr 15, 2019
  5. Apr 10, 2019
  6. Mar 27, 2019
  7. Feb 18, 2019
  8. Feb 10, 2019
  9. Feb 05, 2019
  10. Feb 03, 2019
  11. Jan 31, 2019
  12. Jan 29, 2019
  13. Jan 28, 2019
  14. Jan 27, 2019
Loading