-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
nextcloud: 27.1.0 -> 27.1.2, update nginx, drop nextcloud25 #259967
Conversation
EOL of Nextcloud v25 is scheduled by the end of this month.
There is some reference left which we need to adjust/delete to fix the manual build. |
First of all, a few cleanups were made to make it more readable: * Reordered the sections by their priority so what you're reading in Nix is also what you get in the final nginx.conf. * Unified media/asset locations Most notably, this fixes the Your web server is not properly set up to resolve "/ocm-provider/". warning since 27.1.2 where `ocm-provider` was moved from a static directory in the source tarball to a dynamic HTTP route[1]. Additionally, the following things were fixed: * The 404 checks for build/tests/etc. are now guaranteed to be before the `.php` location match and it's not implicitly relied upon Nix's internal attribute sorting anymore. * `.wasm` files are supported properly and a correct `Content-Type` is set. * For "legacy" routes (e.g. `ocs-provider`/`cron`/etc) a `rewrite` rule inside the location for fastcgi is used as recommended by upstream[2]. This also makes it easier to understand the purpose of the location itself (i.e. use fastcgi for PHP code). [1] nextcloud/documentation#11179 [2] https://docs.nextcloud.com/server/27/admin_manual/installation/nginx.html
fae8606
to
ad57ad1
Compare
Result of 1 package blacklisted:
1 package built:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
deployed, the error on the admin page is cleared and so far everything continued to work
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All checks passed
@onny any specific reason you have assigned this PR to you? Anyways, I think we have quite a good test coverage of this change now, so I'm inclined to merge soonish. |
Will review today
Le mar. 10 oct. 2023 à 14:07, Maximilian Bosch ***@***.***> a
écrit :
… @onny <https://github.com/onny> any specific reason you have assigned
this PR to you?
@RaitoBezarius <https://github.com/RaitoBezarius> any chance you have the
capacity to review this?
Anyways, I think we have quite a good test coverage of this change now, so
I'm inclined to merge soonish.
—
Reply to this email directly, view it on GitHub
<#259967 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACMZRBX4KQGD3X2GKPY73TX6U3AJAVCNFSM6AAAAAA5YSLVCWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJVGI2DINJUGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works as expected, plz merge
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can confirm that on my production deployment on 23.05, this works perfectly fine.
Didn't test everything through, but I think it's good to go.
Description of changes
Update was originally done by @f2k1de in #259348 (I applied their patch via
git am -3
, so author information is kept - I hope the way I did that is OK for you!)Also added the following changes / fixes:
ocm-provider
isn't a directory anymore) and tried to clean it up a bit (see commit message for more details)enableBrokenCiphersForSSE
hack & openssl 1.1 support (not needed anymore, nc26 and later have a PHP-baked RC4 implementation for legacy SSE setups)Deployed this to my own instance and tested via the web UI, Nextcloud client for file syncing & Cal/CardDAV without issues.
Closes #259348
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)