Skip to content

New IDE update notice missing? #5496

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

Open
NicoHood opened this issue Oct 16, 2016 · 20 comments
Open

New IDE update notice missing? #5496

NicoHood opened this issue Oct 16, 2016 · 20 comments
Assignees
Labels
Component: Website Issues related to arduino.cc, but not the documentation content Type: Bug
Milestone

Comments

@NicoHood
Copy link
Contributor

If a new library is available the IDE will prompt you for an update. But this does not seem to happen for the IDE itself, but I remember that this worked before.

Is it just because I recompiled the IDE myself, or does this only happen on linux?

And if it works again, how can I deactivate it? I've found this, but is this still the correct way to do so?

    # echo -e "\n# By default, don't notify the user of a new upstream version." \
    #         "\n# https://bugzilla.redhat.com/show_bug.cgi?id=773519" \
    #         "\nupdate.check=false" \
    #     >> build/shared/lib/preferences.txt
@per1234
Copy link
Collaborator

per1234 commented Dec 26, 2016

I believe the cause of the updatable IDE notification no longer being shown is that https://www.arduino.cc/latest.txt has not been updated since 1.6.1.

See: https://github.com/arduino/Arduino/blob/master/app/src/processing/app/UpdateCheck.java#L54

@oqibidipo
Copy link

At last! latest.txt says 10801.

@facchinm
Copy link
Member

Yeah, we updated it last week 😄 Forgot to close this issue, thanks for the remainder

@NicoHood
Copy link
Contributor Author

I do not get an update notification for archlinux. This is okay, as we dont want a notifications, however I am not sure if the feature is broken then?

@oqibidipo
Copy link

The problem is that the update URL in the IDE is an HTTP URL which is redirected to HTTPS. HttpURLConnection will not follow the redirect when the protocol changes. Changing the URL in the source will fix this for new new versions, but old versions will still remain silent about updates.

However, this could be solved by configuring the server to deliver latest.txt over HTTP while redirecting everything else.

@NicoHood
Copy link
Contributor Author

Nah I think the webserver should stay with https. However it is good to know why this happens.

@facchinm
Copy link
Member

@oqibidipo @NicoHood thanks for the heads-up and the debugging session, we'll check what we can do to get the notification back on older IDEs (I think serving that file over http is ok)

@per1234
Copy link
Collaborator

per1234 commented May 10, 2017

It looks like https://www.arduino.cc/latest.txt has reverted to 10601 for some reason.

@facchinm
Copy link
Member

@mastrolinux could you check please? Thanks @per1234

@per1234
Copy link
Collaborator

per1234 commented Jun 16, 2017

@mastrolinux https://www.arduino.cc/latest.txt is still at 10601. I just don't understand how this can be so difficult.

@per1234 per1234 added Component: Website Issues related to arduino.cc, but not the documentation content Type: Bug labels Jul 5, 2017
@facchinm facchinm added this to the Release 1.8.4 milestone Jul 31, 2017
@facchinm facchinm modified the milestones: Release 1.8.4, Next Aug 18, 2017
@mastrolinux
Copy link
Contributor

mastrolinux commented Oct 15, 2018

I do not know what string I should write in the file, please advice @facchinm

@mastrolinux mastrolinux assigned facchinm and unassigned mastrolinux Oct 15, 2018
@facchinm
Copy link
Member

@mastrolinux 10807 will be fine ;)

@mastrolinux
Copy link
Contributor

Done

@per1234
Copy link
Collaborator

per1234 commented Feb 7, 2019

I'm reopening because https://www.arduino.cc/latest.txt was never updated to 10808 when the release of Arduino IDE 1.8.8 happened.

Can this be automated or added to a official release checklist so that it doesn't get forgotten on future releases?

@facchinm facchinm removed their assignment Feb 11, 2019
@facchinm
Copy link
Member

@mastrolinux may you update that file to read 10808 ?

@alranel
Copy link

alranel commented May 8, 2019

I'm running 1.8.8 (macOS) and I'm not getting the update notice.
http://www.arduino.cc/latest.txt currently contains 10809 and updates are enabled in Preferences. Not sure what's going on here...

@per1234
Copy link
Collaborator

per1234 commented May 10, 2019

I'm running 1.8.8 (macOS) and I'm not getting the update notice.

I also don't get update notices with Arduino IDE 1.8.8 running on a Linux 64 bit virtual machine or the Linux ARM 32 bit version on a Raspberry Pi.

I do get the expected update notice with Arduino IDE 1.8.8 on Windows 10.

@ngammarano
Copy link

https://www.arduino.cc/latest.txt currently says 10810.

Shouldn't it say 10812 as it is the latest version (https://www.arduino.cc/en/Main/Software)?

@oqibidipo
Copy link

1.8.13 has been out for two months, but latest.txt says 10812.

@rsora
Copy link

rsora commented Aug 31, 2020

@oqibidipo https://www.arduino.cc/latest.txt should show 10813 now.

Happy coding!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Website Issues related to arduino.cc, but not the documentation content Type: Bug
Projects
None yet
Development

No branches or pull requests

8 participants