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

mos --help suggests updating even though current version is later #1

Open
sctv opened this issue Feb 5, 2018 · 3 comments
Open

mos --help suggests updating even though current version is later #1

sctv opened this issue Feb 5, 2018 · 3 comments
Labels
enhancement New feature or request

Comments

@sctv
Copy link

sctv commented Feb 5, 2018

I have compiled from source, as I am trying it out on a rpi/arm but when I use mos --help it suggests I update it even though my compiled mos executable is at least 7 days older.

Is it trying to downgrade to channel "latest"?

Of course trying to upgrade it breaks it as it downloads an executable that is not compatible with arm.

mos --help The Mongoose OS command line tool, v. 20180205-140203/master@e4dbea8a+. Update channel: "latest". Checking updates... Out of date: new version available: 20180124-165446/master@f69e78ae+ Please run "mos update"

@dimonomid
Copy link
Contributor

dimonomid commented Feb 6, 2018

Yeah that's a known issue; the update check is very simple: it just compares the current mos build id with the one on the server (depending on the update channel: release or latest), and if they mismatch, it assumes that the server has a newer version.

Since you built your version from sources, your ID is of course different.

So this is a known issue, however there's no specific ETA for fixing it at the moment.

@dimonomid dimonomid added the enhancement New feature or request label Feb 8, 2018
@sctv
Copy link
Author

sctv commented Feb 14, 2018

Thanks.

@sctv
Copy link
Author

sctv commented Apr 6, 2018

@dimonomid should i close this?

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

No branches or pull requests

2 participants