-
Notifications
You must be signed in to change notification settings - Fork 383
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
(owncloud-client) package not up-to-date, autoupdate seems broken #1502
Comments
It isn't a problem with the updater (from the looks of it). Unfortunately, when the updater is trying to validate the MSI installer the updater found, the server refuses the download due to an SSL/TLS handshake failure: https://gist.github.com/choco-bot/a14b1e5bfaf70839b338eb1ab7f8226f#owncloud-client
That most likely happened because of an origin timeout error when pushing the package to chocolatey.org (In these cases, the source isn't updated in the repository). That doesn't matter much, though. |
@AdmiringWorm The same fix could help this package too. |
@RedBaron2 not relevant, as that fix went directly into AU and not in the lightworks package. |
@AdmiringWorm Second using the same site SSL test as that issue. Download.owncloud.com server supports TLS 1.3 I'm suggesting that you try adding the line of code into the verification or the chocolateyinstall.ps1 file and test. If it works then you have solved the problem. If not then you are back to the drawing board. My local version of this package of owncloud-client has never missed an update, but it is Windows 10 Pro not the appveyor server build. |
@RedBaron2 Most likely AU, or at least the environment it runs in, needs to be fixed. Somebody has a very similar issue here majkinetor/au#213 This will become a general problem as more and more webservers will drop TLS1.0/1.1 support completely. Comparing the TLS configuration of owncloud.org and download.owncloud.com explains why update.ps1 runs fine: The former still supports TLS 1.0/1.1, while the latter doesn't... Apparently this would not be an issue with recent versions of PowerShell/.Net. I'm not sure whether i fully understand dependencies/responsibilities here. Is AU developed and maintained as an independent project, but used for chocolatey community repository automation? If so, who operates that specific installation of AU? I believe it would be up to them to either migrate to a more recent environment or reconfigure the existing one accordingly. In any case, at least TLS1.2, better yet TLS1.3, should be supported and enabled. |
@marcquark FYI: |
@RedBaron2 it is in AU: https://github.com/majkinetor/au/blob/0264eef17f0f428eeed8fbfafe3a93a226c3e5d3/AU/Public/Update-Package.ps1#L384 If I remember correctly, that line in lightworks was used to test what was necessary before implementing it in au itself.
TLS1.2 is supported, both by AU and by the environment, otherwise every single package in this repository that would download anything (or parse) from github would be failing as it requires TLS 1.2. |
Thx for elaborating guys, the picture is becoming clearer now :) So, if it should work, what could be done to debug why the download from choco-bot is failing? Could somebody point me in a direction here, i.e. could i create some minimalist example and run it on AppVeyor, possibly trying out different environments? Or was that already done behind the scenes and boils down to "can't fix it"? Would it be an option to update the package manually until a fix for choco-bot is available? |
@AdmiringWorm @majkinetor |
@RedBaron2 yes, however the updateall script then calls the package script, and the package script calls update.
Honestly, I have no idea how to debug it, I have already tried to debug it both locally and by doing RDP to the appveyor instance. Both of these returned a successful update.
Different environments have been tested in the past, originally the WMF5 image was used, but this caused problems in some rare cases and was changed to use the
That is only an option if there is a user associated with the package (other than the chocolatey user), and it would be his/her responsibility to keep it up to date in that case. |
@AdmiringWorm @marcquark |
@RedBaron2 thanks for checking that out. |
Looks like updating the appveyor image used worked, thanks again @RedBaron2 for looking into it. I will be closing this issue now as I noticed the updater mentioned that the latest version was pushed (it will take a few hours before it is available without a version argument). |
Re-Opening as the latest version is failing due to invalid mailing list/forum url |
Expected Behavior
owncloud-client should be on the most recent version (2.6.3) and the package should auto-update
Current Behavior
The last version of the package according to https://chocolatey.org/packages/owncloud-client is 2.6.1, but the sources here indicate that the last successful auto-update was 2.6.0 https://github.com/chocolatey-community/chocolatey-coreteampackages/blob/master/automatic/owncloud-client/owncloud-client.nuspec
Possible Solution
Fix the auto-updater, i believe it would have to be adjusted because ownCloud changed their website layout
Steps to Reproduce (for bugs)
irrelevant
Context
irrelevant
Your Environment
irrelevant
The text was updated successfully, but these errors were encountered: