Copilot
6375921282
add eurooffice ( #8052 )
2026-06-04 12:42:02 +02:00
Copilot
1f94bc8af0
aio-interface: extract Nextcloud latest-major upgrade logic to dedicated script and add UI trigger button ( #7988 )
...
* Extract Nextcloud major upgrade logic to script and add UI button
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/8cd11b09-5073-4e27-8e59-9afffaf96c1f
Rename sendNotification to execCommandInContainer and reuse for upgrade method
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/88744552-9d64-4de2-9f64-5a98a5e3b200
Add $cmd array validation to execCommandInContainer
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/45d5228c-7834-404e-ba54-90b5c8c207c8
Apply suggestion from @szaimen
Signed-off-by: Simon L. <szaimen@e.mail.de >
Apply suggestion from @szaimen
Signed-off-by: Simon L. <szaimen@e.mail.de >
Apply suggestion from @szaimen
Signed-off-by: Simon L. <szaimen@e.mail.de >
Apply suggestion from @szaimen
Signed-off-by: Simon L. <szaimen@e.mail.de >
Set installLatestMajor when upgrade-to-latest-major button is clicked
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/7b977c85-9b74-4027-a536-152e49a01976
Extract getLatestMajorVersion() to avoid duplicating the version string
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/d5ec921f-8629-4f6e-949a-e8f89f1eb85f
Address PR review comments and hardcode updater channel to stable
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/c40941ff-2bf8-4a57-82be-2a0bd22b19a2
Restore sendNotification(), update cron files, extract getPlainStreamingCallback()
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/a5b6cd86-d278-4771-8a11-976c4a862966
Remove getPlainStreamingCallback, unify on getAddToStreamingResponseBody
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/15a4b815-076b-469f-95b2-c61df688a28d
Revert "Remove getPlainStreamingCallback, unify on getAddToStreamingResponseBody"
This reverts commit 6846c3a99549703121461f910cc26e6c116e0dc4.
* Refactor creating and using addToStreamingResponseBody()
This way we stick to having one implementation of the function, not three.
Signed-off-by: Pablo Zmdl <pablo@nextcloud.com >
* Read streamed output line by line, not via buffer
This way the code doesn't wait for a buffer to be filled, and we don't need to
implement logic ourselves that is provided by a present library already.
Signed-off-by: Pablo Zmdl <pablo@nextcloud.com >
* Ensure all HTTP requests are proxied, even with streaming
When requesting a streamed response, Guzzle apparently doesn't use curl, and thus we have to specify the unix socket proxy differently.
We can't specify it when creating the client, though (Guzzle complains).
Signed-off-by: Pablo Zmdl <pablo@nextcloud.com >
* Fix syntax errors
Signed-off-by: Pablo Zmdl <pablo@nextcloud.com >
* Remove broken code
Signed-off-by: Pablo Zmdl <pablo@nextcloud.com >
* Fix readline line from streaming response
Signed-off-by: Pablo Zmdl <pablo@nextcloud.com >
* Strip ANSI codes from command output before sending it to the browser
Signed-off-by: Pablo Zmdl <pablo@nextcloud.com >
* Run PHP commands as www-data
Signed-off-by: Pablo Zmdl <pablo@nextcloud.com >
* Properly compare version numbers
Signed-off-by: Pablo Zmdl <pablo@nextcloud.com >
* Fix using memory limits from env
Signed-off-by: Pablo Zmdl <pablo@nextcloud.com >
* Fix return type spec
This method always returns a closure, never null.
Signed-off-by: Pablo Zmdl <pablo@nextcloud.com >
* Use more general return type
Signed-off-by: Pablo Zmdl <pablo@nextcloud.com >
* Avoid psalm complaint
Signed-off-by: Pablo Zmdl <pablo@nextcloud.com >
* Fix namespace of return type
Signed-off-by: Pablo Zmdl <pablo@nextcloud.com >
* Apply suggestion from @szaimen
Signed-off-by: Simon L. <szaimen@e.mail.de >
---------
Signed-off-by: Pablo Zmdl <pablo@nextcloud.com >
Signed-off-by: Simon L. <szaimen@e.mail.de >
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: Pablo Zmdl <pablo@nextcloud.com >
Co-authored-by: Simon L. <szaimen@e.mail.de >
2026-06-03 12:38:50 +02:00
szaimen
1937bf9690
nextcloud-update automated change
...
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-06-02 13:48:22 +00:00
szaimen
b1ca6f4997
nextcloud-update automated change
...
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-05-29 08:07:10 +00:00
Ivan Mihov
d2d59eb207
Add dockhand.update: false to the Dockerfiles
...
Signed-off-by: Ivan Mihov <ivan@mihov.me >
2026-05-28 11:41:41 +02:00
Simon L.
dabb7d0224
server.config.php: fix serverid closing bracket
...
Signed-off-by: Simon L. <szaimen@e.mail.de >
2026-05-22 10:06:32 +02:00
Simon L.
3a988938b2
server.config.php: downstream sync serverid upstream change
...
Signed-off-by: Simon L. <szaimen@e.mail.de >
2026-05-21 10:48:37 +02:00
dependabot[bot]
441a2a28e3
build(deps): bump php in /Containers/nextcloud
...
Bumps php from 8.3.30-fpm-alpine3.23 to 8.3.31-fpm-alpine3.23.
---
updated-dependencies:
- dependency-name: php
dependency-version: 8.3.31-fpm-alpine3.23
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-05-08 04:22:05 +00:00
Simon L.
9f9846461e
nextcloud: update to 33.0.3
...
Signed-off-by: Simon L. <szaimen@e.mail.de >
2026-04-30 11:19:13 +02:00
Simon L.
9b9b3b638d
nextcloud: overwrite the log level every start
...
Signed-off-by: Simon L. <szaimen@e.mail.de >
2026-04-29 15:01:17 +02:00
Simon L.
50643afd6a
allow to adjust the log level globally ( #7902 )
2026-04-28 18:08:27 +02:00
Simon L.
461f9e14c1
Apply suggestion from @szaimen
...
Signed-off-by: Simon L. <szaimen@e.mail.de >
2026-04-27 17:57:47 +02:00
Simon L.
457a0d9fef
Apply suggestion from @szaimen
...
Signed-off-by: Simon L. <szaimen@e.mail.de >
2026-04-27 17:56:07 +02:00
copilot-swe-agent[bot]
ffd9dd2da8
refactor: move request_terminate_timeout to Dockerfile; remove 502 docs section
...
- Remove request_terminate_timeout sed from start.sh (was runtime-dynamic)
- Add request_terminate_timeout sed to Dockerfile alongside pm.process_idle_timeout
so it is baked into the image permanently at build time
- Remove the 502 Bad Gateway troubleshooting subsection from reverse-proxy.md
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/bc8a9920-0b43-4645-9591-180fa8783767
Co-authored-by: szaimen <42591237+szaimen@users.noreply.github.com >
2026-04-27 15:54:49 +00:00
copilot-swe-agent[bot]
2bc3c4e7ec
refine: improve sed pattern specificity and remove hardcoded timeout from docs
...
- Use \s*= in pm.process_idle_timeout sed pattern to match only setting
lines, not comment-only lines that mention the setting name
- Remove hardcoded '5 minutes' from docs; reference pm.process_idle_timeout
by name so it stays accurate if the value changes
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/2fd7a6d1-bfdb-4f26-a8d0-cd54a7307999
Co-authored-by: szaimen <42591237+szaimen@users.noreply.github.com >
2026-04-27 15:32:37 +00:00
copilot-swe-agent[bot]
46eb2dfc7d
fix: prevent 502 Bad Gateway via PHP-FPM worker pool exhaustion and cold-start latency
...
- Add request_terminate_timeout = PHP_MAX_TIME in start.sh: without this
(default 0 = disabled) workers blocked on a slow DB query, stalled Redis
connection, or hung syscall are never reaped. Over time they fill
pm.max_children and Apache returns 502 Bad Gateway to the reverse proxy.
- Set pm.process_idle_timeout = 300s in Dockerfile: the upstream default of
10 s kills all idle workers after a brief quiet period. The next request
burst must then wait for fresh PHP-FPM forks; on a loaded host that
spawn latency can push Apache past its FastCGI deadline and produce a 502.
300 s keeps a warm pool through normal desktop-sync polling cycles.
- Add a dedicated 502 troubleshooting subsection to reverse-proxy.md
documenting the six most common causes (proxy timeout, worker exhaustion,
stuck workers, Redis session lock contention, container cold start, Caddy
cert renewal) with actionable diagnostics.
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/2fd7a6d1-bfdb-4f26-a8d0-cd54a7307999
Co-authored-by: szaimen <42591237+szaimen@users.noreply.github.com >
2026-04-27 15:31:14 +00:00
Simon L.
30cb79bb62
postgres and nextcloud: Allow arbitrary characters in passwords (no binary required) ( #7898 )
2026-04-24 11:34:23 +02:00
Simon L.
6185478b21
allow to adjust the log level globally (nextcloud)
...
Signed-off-by: Simon L. <szaimen@e.mail.de >
2026-04-24 10:35:17 +02:00
copilot-swe-agent[bot]
e76ccf4f3c
Guard against empty installed_version when php -r fails in nextcloud entrypoint.sh
...
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/48f0714b-3f49-4e28-b48e-d58fea2e881e
Co-authored-by: szaimen <42591237+szaimen@users.noreply.github.com >
2026-04-23 14:36:46 +00:00
Simon L.
fadbdc5c78
nextcloud: adjust phpredis session timeouts to match Nextclouds config
...
Signed-off-by: Simon L. <szaimen@e.mail.de >
2026-04-23 13:01:54 +02:00
Simon L.
e05bdaeca0
nextcloud: allow to configure memcache_customprefix for redis
...
Signed-off-by: Simon L. <szaimen@e.mail.de >
2026-04-23 12:29:54 +02:00
Simon L.
7699ac9c12
nextcloud: enable taskprocessing:worker as standard service ( #7981 )
2026-04-23 11:22:10 +02:00
Simon L.
54ca36ec46
nextcloud: adjust redis timeouts ( #7980 )
2026-04-23 10:46:53 +02:00
copilot-swe-agent[bot]
8a5440134b
nextcloud: adjust redis timeouts
...
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/1f9b7c14-6c7a-4008-b690-5167db1f90e6
Co-Authored-By: szaimen <42591237+szaimen@users.noreply.github.com >
Signed-off-by: Simon L. <szaimen@e.mail.de >
2026-04-23 10:45:02 +02:00
Simon L.
b2e02da46b
nextcloud: enable taskprocessing:worker as standard service
...
Co-Authored-By: szaimen <42591237+szaimen@users.noreply.github.com >
Signed-off-by: Simon L. <szaimen@e.mail.de >
2026-04-22 13:20:14 +02:00
Simon L.
954f250ac8
nextcloud-entrypoint.sh: make log-type configurable ( #7901 )
2026-04-22 10:54:35 +02:00
Simon L.
304dc97ad6
address review
...
Signed-off-by: Simon L. <szaimen@e.mail.de >
2026-04-21 14:41:49 +02:00
Simon L.
d6e4b83c51
apps.config.php: allow to disable the internal app store ( #7864 )
2026-04-21 14:15:09 +02:00
Simon L.
f91d26115b
Revert "nextcloud: switch PHP-FPM to dynamic mode and add max_requests to recycle stale workers"
...
Signed-off-by: Simon L. <szaimen@e.mail.de >
2026-04-21 13:42:47 +02:00
copilot-swe-agent[bot]
66236c1a2e
nextcloud: switch PHP-FPM to dynamic mode and add max_requests to recycle stale workers
...
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/29135c39-9a45-49bd-85fe-8d3eea344450
Signed-off-by: Simon L. <szaimen@e.mail.de >
docs: add per-setting inline comments to PHP-FPM sed block in Dockerfile
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/398bb2f7-e5be-4ffc-942a-7ab10dbaa1be
Co-Authored-By: szaimen <42591237+szaimen@users.noreply.github.com >
2026-04-20 15:37:39 +02:00
Simon L.
7c8433d07a
feat: improve Redis container performance ( #7948 )
2026-04-20 14:22:45 +02:00
copilot-swe-agent[bot]
fceec6f23e
feat: improve Redis container performance
...
- Disable RDB persistence (--save "") since Redis is used as a pure
cache and lock store; snapshotting causes fork/CoW pressure and I/O spikes
- Set --maxmemory-policy allkeys-lru to enable LRU eviction and prevent
unbounded memory growth
- Enable lazyfree background deletions (--lazyfree-lazy-*) to move key
eviction, expiry, and DEL operations off the main event loop thread
- Enable active memory defragmentation (--activedefrag yes) for long-running
instances
- Increase background task frequency to --hz 15 for faster key expiry
- Add Transparent Huge Pages (THP) startup warning, consistent with the
existing vm.overcommit_memory check
- Refactor start.sh to build arguments via a bash array, avoiding eval
and safely handling the empty-string --save "" and the password argument
- Remove the pre-existing unreachable exec "$@" at the end of start.sh
- Add timeout and read_timeout (1.5s) to standalone Redis config in
redis.config.php to prevent PHP workers from hanging indefinitely
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/e68c1986-419f-49b4-9cd0-c1f0efda0351
Co-Authored-By: Simon L. <szaimen@e.mail.de >
Co-Authored-By: szaimen <42591237+szaimen@users.noreply.github.com >
2026-04-20 14:20:27 +02:00
copilot-swe-agent[bot]
7cd0450dae
perf(nextcloud): tune OPcache, APCu, realpath_cache, output_buffering, and Redis session settings
...
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/623eef77-7b4e-428b-b06f-e0c7403f8cf6
Co-authored-by: szaimen <42591237+szaimen@users.noreply.github.com >
2026-04-17 15:36:12 +00:00
Erwan Hervé
52c3192f26
chore: add OCI standard labels to all Dockerfiles ( #7899 )
...
Signed-off-by: Erwan Hervé <erwan.herve@outlook.fr >
Signed-off-by: Erwan Hervé <62173453+Erwan-loot@users.noreply.github.com >
Co-authored-by: Simon L. <szaimen@e.mail.de >
2026-04-17 10:42:55 +02:00
Simon L.
5e92b7d743
nextcloud-entrypoint: rewrite turn and stun logic to always add turn and stun server
...
Signed-off-by: Simon L. <szaimen@e.mail.de >
2026-04-16 16:18:27 +02:00
Simon L.
1e5eb87582
nextcloud: add server.config.php that adds the serverid by using the hostname as key
...
Signed-off-by: Simon L. <szaimen@e.mail.de >
2026-04-16 10:51:31 +02:00
Simon L.
47733776b9
nextcloud-entrypoint.sh: make log-type configurable
...
Signed-off-by: Simon L. <szaimen@e.mail.de >
2026-04-13 15:43:35 +02:00
copilot-swe-agent[bot]
44148ba4a3
Fix password string handling without Go binaries using PGPASSWORD env var and psql variable interpolation
...
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/6baec41e-95d9-4966-8cf8-4b12727139fd
Co-authored-by: szaimen <42591237+szaimen@users.noreply.github.com >
2026-04-13 10:03:01 +00:00
Simon L.
0b8eecd9e5
update bundled Nextcloud version to v33
...
Signed-off-by: Simon L. <szaimen@e.mail.de >
2026-04-09 14:56:10 +02:00
Simon L.
f99a59fb58
apps.config.php: allow to disable the internal app store
...
Signed-off-by: Simon L. <szaimen@e.mail.de >
2026-04-07 15:08:42 +02:00
szaimen
a85641ceb9
nextcloud-update automated change
...
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-02 11:19:39 +00:00
szaimen
960fe801df
nextcloud-update automated change
...
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-27 12:16:30 +00:00
Pablo Zmdl
ba3ee91c35
Exclude /lost+found from rsync
...
Signed-off-by: Pablo Zmdl <pablo@nextcloud.com >
2026-03-11 12:27:05 +01:00
Simon L.
ea326ba723
Merge pull request #7652 from nextcloud/enh/noid/redis-tls-support
...
redis.config.php: allow to enable tls
2026-03-06 10:00:32 +01:00
Simon L.
d11650f798
redis.config.php: allow to enable tls
...
Signed-off-by: Simon L. <szaimen@e.mail.de >
2026-02-25 10:41:03 +01:00
Simon L.
f12b47b301
s3.config.php: allow to configure request_checksum_calculation and response_checksum_validation
...
Signed-off-by: Simon L. <szaimen@e.mail.de >
2026-02-24 14:17:07 +01:00
Simon L.
f46358b50e
redis.config.php: fix some now optional values
...
Signed-off-by: Simon L. <szaimen@e.mail.de >
2026-02-23 10:25:12 +01:00
Simon L.
8344d8ade6
redis.config.php: fix typo
...
Signed-off-by: Simon L. <szaimen@e.mail.de >
2026-02-20 12:52:59 +01:00
Simon L.
1c0222774b
Merge pull request #7402 from nextcloud/enh/noid/allow-configure-redis-cluster
...
allow to configure redis cluster
2026-02-18 18:34:25 +01:00
Simon L.
b2c8afb661
Merge pull request #7603 from nextcloud/enh/noid/allow-configure-db-persistent
...
nextcloud-entrypoint.sh: allow to configure dbpersistent setting
2026-02-18 13:52:24 +01:00