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

Updates #152

Closed
wamboin23 opened this issue Sep 2, 2018 · 6 comments
Closed

Updates #152

wamboin23 opened this issue Sep 2, 2018 · 6 comments

Comments

@wamboin23
Copy link

wamboin23 commented Sep 2, 2018

I am having issues with updating from the UI.

Currently on 0.8.1 (should be), but version number still shows 0.8.0. Running on a Wemos D1 Mini (ESP8266).

The file downloads with no issues, I can select the file to update, the ESP restarts as normal, but when it comes back online, the version number has not incremented.

I don't know if it is updating, but not incrementing the version number, or if it is not updating. Is there any other way to check and see if the update was successful?

Brendan

@omersiar
Copy link
Collaborator

omersiar commented Sep 2, 2018

I think there should be update status on Event Log. Thank you for your finding.

@wamboin23
Copy link
Author

I was unable to access the event log. The page would load, but it would not fetch the data.

I have done a reflash with 0.8.1, and will see how things go next update.

Although, I may have figured out the issue. Does the file that gets downloaded for the update need to be unpacked before updating? To put it a different way, what file format is the web UI expecting to see for an update file?

@omersiar
Copy link
Collaborator

omersiar commented Sep 3, 2018

generic.bin which is extracted from esprfid-0.x.x.tar.gz

@wamboin23
Copy link
Author

Problem resolved then.

I was just feeding it the same file I downloaded, as a completed compressed file. It only occurred to me when I unpacked it to get the bin file to flash tonight.

Possibly add into the UI, near the select file button in the update tab, something mentioning it is expecting a bin file. There was no notification that it was an unexpected file, whereas when restoring a settings file, it will prompt to say it is a good or bad file.

@omersiar
Copy link
Collaborator

omersiar commented Sep 3, 2018

Thank you for the feedback, i will add a sanity check.

omersiar added a commit that referenced this issue Sep 3, 2018
@omersiar
Copy link
Collaborator

omersiar commented Sep 5, 2018

@omersiar omersiar closed this as completed Sep 5, 2018
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