Commit Graph

32 Commits

Author SHA1 Message Date
Jonas Heinrich
052cec991b nextcloud34: init at 34.0.1
Co-authored-by: Jonas Heinrich <757752+onny@users.noreply.github.com>
Co-Authored-By: Joseph Price <joe@pricey.uk>
2026-07-10 16:49:27 +02:00
Maximilian Bosch
85022a753c nixos/nextcloud: warn on secrets from OCC ending up in the journal
Closes #513470

`nextcloud-occ` can be used to set sensitive parameters in `config.php`.
However, the entire argv unconditionally ends up in the journal's
metadata. Even with `--description=` being set, the full command is
logged and thus persisted.
2026-05-14 18:52:19 +02:00
Jonas Heinrich
79e727ee32 nixos/doc/manual: add upgrade notice to release notes 2026-02-21 17:22:36 +01:00
Maximilian Bosch
6e416f8cc2 nixos/nextcloud: drop httpd configuration from manual
Closes #243203

This hasn't changed in years because nobody maintains it. Considering
the amount of updates in the meantime to the nginx configuration, I'm
pretty sure that this doesn't work anymore.

I think it's OK to keep the part about how to really disable nginx, but
that's it.

The reason this also closes #243203 is that config in the manual saw
zero maintenance and I don't expect that to change. This should really
be maintained by interested people in a community wiki.
2025-10-12 19:11:36 +02:00
provokateurin
34a7111f89 nextcloud32: init at 32.0.0 2025-10-07 09:45:28 +02:00
provokateurin
ba24e7fa23 nixos/nextcloud: Pass OC_PASS and NC_PASS environment variables to nextcloud-occ 2025-09-03 08:54:48 +02:00
Wolfgang Walther
62fe016519 treewide: run treefmt with mdcr/nixfmt 2025-07-24 13:52:31 +02:00
Wolfgang Walther
6c47e7d5da treewide: fix syntax errors in nix code blocks
Fixes all code blocks with "nix" language in markdown files for syntax
errors to be able to run nixfmt in the next step.
2025-07-24 13:52:29 +02:00
Jeremy Fleischman
0a4c03ed81 nextcloud: add nextcloud.nginx.enableFastcgiRequestBuffering option
Enabling this option fixes (works around) Nextcloud's notorious "0 byte file"
issue. See these upstream issues:

- https://github.com/nextcloud/documentation/issues/9574
- https://github.com/nextcloud/server/issues/7995

This fixes https://github.com/NixOS/nixpkgs/issues/252980

Co-authored-by: Maximilian Bosch <6025220+Ma27@users.noreply.github.com>
2025-07-06 13:21:01 -07:00
Maximilian Bosch
5a6f0a43ae nixos/nextcloud: document nextcloud-occ command
It's not clear how to use this command in other systemd units, this
section gives a recommendation.

I realized that there's no explicit mention of `nextcloud-occ` in the
first place, so I wrote some introductory sentences as well.
2025-07-05 12:42:06 +02:00
Maximilian Bosch
773094b49c nixos/nextcloud: clarify support status of apps in the manual
Realized that this is something, I discussed with Benedikt, but wasn't
written down somewhere.
2025-03-25 12:41:30 +00:00
transcaffeine
dfe1187fea nextcloud31: init at 31.0.0
Release notes: https://github.com/nextcloud/server/releases/tag/v31.0.0
Upgrade notes: https://docs.nextcloud.com/server/31/admin_manual/release_notes/upgrade_to_31.html
2025-02-26 08:29:34 +01:00
Maximilian Bosch
94307683c1 nixos/nextcloud: reword docs about logs a bit
Originally, I only wanted to remove
"The logreader application doesn't work, as it was the case before.".

But then, the rest sounded a little weird, so I reworded the paragraph a
bit more ;-)
2025-02-14 09:29:40 +01:00
provokateurin
9683835f04 nixos/nextcloud: Update logreader warning description
The error is only logged as an info since https://github.com/nextcloud/logreader/pull/1449.
This was a bug in the app, since the error is not fixable by the admin due to the logging configuration.
2025-01-26 13:52:03 +01:00
Jonas Heinrich
1b121c1ea2 nextcloud30: init at 30.0.0 2024-10-01 12:48:45 +02:00
Maximilian Bosch
3302dc7c34 nixos/doc: mention "No such file or directory" error on Nextcloud
That was... interesting to debug. It took a me a bit of reading C code
until I realized that the realpath cache is internally used for
`file_get_contents`, but not for `file_exists` 🙃

I'm not comfortable on doing the workaround in the module, but I think
it's good to have this documented in the manual.
2024-09-16 18:57:10 +02:00
Maximilian Bosch
c2586ca239 nixos/nextcloud: warn about unsafe path transitions
Closes #294588
It _may_ also be an answer to #169733.

See explanation from upstream[1] for further details.

[1] https://github.com/systemd/systemd/issues/19618#issuecomment-843273818
2024-07-01 21:20:12 +02:00
Maximilian Bosch
c7a1616be7 nixos/nextcloud: add trailing slashes to carddav/caldav redirect
This seems to solve the problem with the warning about carddav/caldav
redirects being broken.
2024-05-05 18:17:25 +02:00
Maximilian Bosch
28f4adfb79 nixos/nextcloud: document known warnings 2024-05-01 11:03:23 +02:00
Maximilian Bosch
23f73fb2e6 nixos/nextcloud: php83 for nc29, update release notes
* PHP 8.3 seems supported, so let's go for it!

* The conditions for which Nextcloud will be the default were bogus: for
  <24.11 I'd suggest to go for nextcloud29 already. The people on
  unstable relying on the condition were on nextcloud28 so the upgrade
  will work fine.

  Also, it's unstable, so such upgrades are to be expected IMHO.

* Update the release notes to reflect that the new default is Nextcloud
  29 and warn that only one major upgrade at a time can be done.
2024-04-25 15:27:30 +02:00
Janne Heß
bc77c7a973 treewide: Mark Nix blocks in markdown as Nix
This should help us with highlighting and future formatting.
2024-03-28 09:28:12 +01:00
Jonas Heinrich
e1c0d281b2 nixos/nextcloud: Rename extraOptions to settings 2024-01-26 14:22:49 +01:00
Jonas Heinrich
dd8c96379f nixos/nextcloud: Move options into now freeForm extraOptions 2023-12-29 01:04:46 +01:00
Maximilian Bosch
bec9edfd20 nixos/doc: mention nc28 2023-12-14 17:44:41 +01:00
Anthony Roussel
e30f48be94 treewide: fix redirected and broken URLs
Using the script in maintainers/scripts/update-redirected-urls.sh
2023-11-11 10:49:01 +01:00
Maximilian Bosch
8702ae0110 nixos/nextcloud: drop enableBrokenCiphersForSSE
🎉
2023-10-09 12:40:57 +02:00
Maximilian Bosch
5a2769d981 nextcloud27: init
Fixes #237560
2023-06-16 14:11:38 +02:00
Gabriel Fontes
f9f76529cd nixos/nextcloud: default createLocally to false 2023-05-14 12:09:50 -03:00
Gabriel Fontes
fddf531c6f nixos/nextcloud: refactor database.createLocally
Fixes https://github.com/NixOS/nixpkgs/issues/228971
2023-05-01 12:20:40 -03:00
Maximilian Bosch
0abc5bcc7e nixos/nextcloud: for nc26 it's not necessary anymore to set enableBrokenCiphersForSSE to false 2023-04-20 12:20:52 +02:00
Maximilian Bosch
42c78ccc6b nixos/nextcloud: release notes 2023-03-22 22:37:17 +01:00
pennae
42ea3f2699 nixos/nextcloud: convert manual chapter to MD 2023-01-10 10:31:58 +01:00