-
-
Notifications
You must be signed in to change notification settings - Fork 26
repo downloads do not work on v0.2.7 #144
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
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I'll revert the changes (back to v0.2.6), I did testing locally but I guess I wasn't thorough enough |
Revert is completed and I can download packages, How about you @hgy59 |
@publicarray thanks, it's working again |
This comment has been minimized.
This comment has been minimized.
@hgy59, @publicarray, I've been investigating the differences between the catalog returned by our server and Synology’s server using the files in this directory:
Synology’s catalog includes both a To test this, I implemented the required changes in my branch (main...mreid-tt:spkrepo:add-catalog-beta_packages) and confirmed that the expected output was generated. However, neither DSM 7.1 nor 7.2 recognized this information to display community beta packages. Based on these findings, I believe that DSM versions beyond 6 no longer support displaying beta packages from third-party sources. Furthermore, due to how our queries work—fetching the latest build and either including or excluding betas—if the latest build is a beta version, it won’t appear in DSM 7’s Package Center when beta packages are included in the request. I verified this further by removing the line that sets Next StepsGiven this behavior, how should we proceed? My recommendation is to restrict the beta function for DSM 7 users so that it only returns the latest non-beta packages. This would:
I believe this is the root cause of the issue described in #141 (comment), and a fix has been proposed in #145. Let me know your thoughts! 🚀 |
@hgy59, I’d appreciate your feedback on the above, as well as any further details on the symptoms observed when this issue was first reported. Could you specify which package(s) failed to download and any error messages or other symptoms encountered? I’d like to fully resolve this before the next release, but I haven’t been able to fully reproduce the issue. |
AFAICR all packages were affected, and download in package center and manual download had an 404 (not found) error. |
This is unfortunate, as it doesn’t give me much to go on. @publicarray, unless we have more details, I don’t see any code changes that would have caused this behaviour. Without a way to clone the production environment and reapply the release, I’d need access to the logs from when this occurred to diagnose further. |
Hey @publicarray, when you have a moment, could we try another release with the latest changes? I’d like to get the production server updated. I’m happy to be on standby to help with testing whenever you're ready. |
Thanks, not tonight unfortunately are you available on the 17th around this time? @mreid-tt |
This comment has been minimized.
This comment has been minimized.
Yes, I can make myself available. No probs and we can always coordinate on Discord. |
Hey @publicarray, thanks for troubleshooting this with me earlier today. Based on the logs provided from a brief switchover to v0.2.7, the issue seems to be as follows: Issue Update (v0.2.6 → v0.2.7 Deployment Breakage) 1. Background
2. Dependency Changes
3. Routing & Proxy Configuration
4. Root Cause Identification
5. Next Steps
EDIT: Another solution to consider was proposed in https://github.com/SynoCommunity/kb/pull/1 |
Hey @publicarray — thanks again for your help this morning. We discovered that our production setup uses subdomain‐based blueprints (e.g. I’ve opened PR #151 to introduce a new
$ curl -H "Host: packages.synocommunity.com" 'http://127.0.0.1:5000/?package_update_channel=beta&build=24922&language=enu&major=6µ=2&arch=x86_64&minor=2'
<!DOCTYPE html>
<HTML of root page>
$ curl -H "Host: packages.synocommunity.com" 'http://127.0.0.1:5000/?package_update_channel=beta&build=24922&language=enu&major=6µ=2&arch=x86_64&minor=2'
{"keyrings": [], "packages": [{"changelog": "1. Update monit to v5.29.0<br/>2. Update OpenSSL to v1.1.1l", "conflictpkgs": null, "deppkgs": null, "desc": "Monit is a small Open Source utility for managing and monitoring Unix systems. Monit conducts automatic maintenance and repair and can execute meaningful causal actions in error situations.", "dname": "Monit", "download_count": 0, "link": "http://packages.synocommunity.com/monit/10/monit.v10.f15047%5Bapollolake-avoton-braswell-broadwell-broadwellnk-bromolow-cedarview-denverton-dockerx64-geminilake-grantley-purley-kvmx64-v1000-x86-x86_64%5D.spk?arch=x86_64&build=24922", "maintainer": "SynoCommunity", "md5": "2f9ca4f98695c96cad3937e48524227f", "package": "monit", "qinst": false, "qstart": false, "qupgrade": true, "recent_download_count": 0, "thumbnail": ["http://packages.synocommunity.com/monit/10/icon_72.png", "http://packages.synocommunity.com/monit/10/icon_256.png"], "version": "5.29.0-10"}]}
Next, I’ll merge it into |
neither to download in the package center nor the manual download works
The text was updated successfully, but these errors were encountered: