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

Add Storage check at startup - erase all if storage looks corrupt #1766

Closed
gfwilliams opened this issue Mar 3, 2020 · 4 comments
Closed

Comments

@gfwilliams
Copy link
Member

This came about after a recent firmware update that increased the file name length for Storage: http://forum.espruino.com/conversations/344251/#comment15131232

@gfwilliams
Copy link
Member Author

A few people having issues updating - so I think this one needs doing

@conoro
Copy link

conoro commented Mar 6, 2020

Would this also be responsible for "Delete All Apps" failing on every watch I've upgraded in the past week? So I have the watch running old apps and old (month+) firmware:

  1. Update Firmware
    2 Connect from App Loader
  2. Go to About > Delete All Apps
  3. Shows activity bar for 20 or 30 seconds
  4. Always gives an error.
  5. Click "Install Default Apps"
  6. The deletion phase of that works fine and the new apps then all install ok.

So it's not a blocker, it's just confusing users that the first delete never works.

@gfwilliams
Copy link
Member Author

If you're using the old firmware, does https://banglejs.com/oldapps/ work for deleting all the apps?

https://banglejs.com/apps seems to work fine for deleting apps for me on a new Bangle.js firmware.

This issue won't be a problem for running old firmware. It's only if you update an old firmware to new firmware and the watch then doesn't load apps and becomes hard to connect to

@conoro
Copy link

conoro commented Mar 6, 2020

Ah gotcha thanks.

This worked ok:

  1. Update Firmware
  2. Remove all apps, using /oldapps
  3. Install default apps using /apps

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

No branches or pull requests

2 participants