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.
8b40127b0e
fulltextsearch: update Elasticsearch to v9 ( #8004 )
2026-04-27 14:30:10 +02:00
dependabot[bot]
024e404c8d
build(deps): bump haproxy in /Containers/docker-socket-proxy
...
Bumps haproxy from 3.3.6-alpine to 3.3.7-alpine.
---
updated-dependencies:
- dependency-name: haproxy
dependency-version: 3.3.7-alpine
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-04-27 04:20:12 +00:00
copilot-swe-agent[bot]
aa831bc8a5
fulltextsearch: update elasticsearch from v8 to v9, switch apt-get to microdnf
...
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/53b5dc51-71a8-40d3-a262-4ef6ce59d92d
Co-authored-by: szaimen <42591237+szaimen@users.noreply.github.com >
2026-04-27 00:29:17 +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
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.
2eee2eac53
fix notify-push start.sh script
...
Signed-off-by: Simon L. <szaimen@e.mail.de >
2026-04-23 10:33:55 +02:00
derhagen
7bf5b18d5e
Terminate aio-containers on SIGTERM
...
Signed-off-by: derhagen <2806328+derhagen@users.noreply.github.com >
2026-04-22 14:23:41 +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.
45a1cd73b6
headers.Caddyfile: adjust the Permission Policy again ( #7976 )
2026-04-21 15:41:07 +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.
563a047a9a
headers.Caddyfile: adjust the Permission Policy like suggested by @Zoey2936
...
Signed-off-by: Simon L. <szaimen@e.mail.de >
2026-04-21 14:10:55 +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
dependabot[bot]
ce2b4c6b87
build(deps): bump docker in /Containers/mastercontainer
...
Bumps docker from 29.4.0-cli to 29.4.1-cli.
---
updated-dependencies:
- dependency-name: docker
dependency-version: 29.4.1-cli
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-04-21 04:17:11 +00:00
copilot-swe-agent[bot]
7031310257
feat(clamav): reduce RAM usage via ConcurrentDatabaseReload no and MaxThreads 2
...
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/4a5841ac-069e-4d40-8bd1-e557b685802c
docs(clamav): add comments explaining ConcurrentDatabaseReload and MaxThreads changes
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/3b943282-bf8e-469a-acee-2a0b0d699112
Co-Authored-By: szaimen <42591237+szaimen@users.noreply.github.com >
2026-04-20 17:22:48 +02:00
Simon L.
5fe6adc62a
imaginary: revert the change to the healthcheck
...
Signed-off-by: Simon L. <szaimen@e.mail.de >
2026-04-20 16:53:00 +02:00
Simon L.
5c016d5d35
mastercontainer: fix enabling opcache
...
Signed-off-by: Simon L. <szaimen@e.mail.de >
2026-04-20 16:28:57 +02:00
Simon L.
d7030396cb
mastercontianer: fix installation of opcache
...
Signed-off-by: Simon L. <szaimen@e.mail.de >
2026-04-20 16:07:52 +02:00
Simon L.
8a9c3c4512
perf(apache): improve Apache container performance and correctness ( #7959 )
2026-04-20 15:58:35 +02:00
copilot-swe-agent[bot]
49a24272f6
perf(apache): improve performance of the Apache container
...
- nextcloud.conf: increase BrotliCompressionQuality from 0 to 4
- nextcloud.conf: add mod_deflate fallback for non-Brotli clients
- nextcloud.conf: enable HTTP/2 cleartext (h2c) via mod_http2 IfModule block
- nextcloud.conf: remove Options Indexes and duplicate Options line
- nextcloud.conf: remove deprecated Satisfy Any directive
- nextcloud.conf: add KeepAlive On / KeepAliveTimeout 5 / MaxKeepAliveRequests 100
- nextcloud.conf: add EnableSendfile On / EnableMMAP Off
- Dockerfile: enable mod_http2 LoadModule via sed
- Dockerfile: tune mpm_event (MaxRequestWorkers 400, ServerLimit 16,
ThreadsPerChild 25, StartServers 2, MinSpareThreads 25, MaxSpareThreads 75)
- Caddyfile: add encode gzip zstd for response compression
- supervisord.conf: remove duplicate nodaemon=true
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/a79198ed-cd31-4e15-9074-b3d3f3f92069
fix(apache): disable HTTP/2, disable Caddy gzip, restore MaxRequestWorkers 5000
- Caddyfile: remove `encode gzip zstd` (disable gzip/zstd compression in Caddy)
- nextcloud.conf: remove HTTP/2 `<IfModule mod_http2.c>` block (disable h2c in Apache)
- Dockerfile: remove mod_http2.so LoadModule sed line
- Dockerfile: restore MaxRequestWorkers 5000, ServerLimit 200, and original comments
Kept from previous commit:
- BrotliCompressionQuality raised from 0 to 4
- mod_deflate fallback for non-Brotli clients
- KeepAlive On / KeepAliveTimeout 5 / MaxKeepAliveRequests 100
- EnableSendfile On / EnableMMAP Off
- ThreadsPerChild 25, StartServers 2, MinSpareThreads 25, MaxSpareThreads 75
- supervisord.conf: remove duplicate nodaemon=true
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/66a07d0e-2276-4b0e-b17d-53c733530d07
fix(apache): prevent double-encoding, add explanatory comments
- Add SetEnvIfNoCase Accept-Encoding \bbr\b no-gzip inside mod_brotli block
so mod_deflate is skipped for clients that already get Brotli-compressed
responses, preventing double-encoding.
- Expand all comments to explain the purpose/benefit of each added directive.
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/98098727-e2c1-4504-b0d5-47c8b06b794d
docs(apache/Dockerfile): add explanatory comments to all new directives
- Add comment block before the sed/LoadModule block explaining why mpm_event
is chosen and why mod_brotli is enabled alongside the deflate fallback.
- Add per-line comments for ThreadsPerChild, StartServers, MinSpareThreads,
and MaxSpareThreads explaining the rationale for each value.
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/2dc7afc9-b8a1-4b0a-ba13-0ad89e5c2d37
fix(apache): disable EnableSendfile to allow output filters (Brotli/deflate) on static files
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/54995b4a-7b5d-4e8e-a92a-684d32b42bd4
docs(apache/nextcloud.conf): add per-directive comments to KeepAlive block
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/329da0e6-b5dd-4cdd-8c05-9ae0bf25ebfd
reduce MaxSpareThreads from 75 to 50
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/f253e0c7-a192-4bda-96c2-c12a7e1cb81b
raise MaxKeepAliveRequests from 100 to 500 for Nextcloud sync clients
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/89da74d6-b0d3-4d19-909d-dee06cbad060
remove deflate fallback — all Nextcloud-supported browsers have Brotli
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/def9ae64-6793-4c8f-ba0c-e36ef6f8f28f
Apply suggestion from @szaimen
Signed-off-by: Simon L. <szaimen@e.mail.de >
Co-Authored-By: szaimen <42591237+szaimen@users.noreply.github.com >
2026-04-20 15:57:02 +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.
ac38ea38b7
talk container update ( #7968 )
2026-04-20 14:29:21 +02:00
Simon L.
845d08ba09
perf(postgresql): tune PostgreSQL settings for improved Nextcloud performance ( #7944 )
2026-04-20 14:26:11 +02:00
szaimen
65a3244a2f
talk-update automated change
...
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-20 12:22:52 +00:00
Simon L.
7c8433d07a
feat: improve Redis container performance ( #7948 )
2026-04-20 14:22:45 +02:00
Simon L.
7e628b1200
perf(nextcloud): tune OPcache, APCu, realpath_cache, output_buffering, and Redis session settings ( #7946 )
2026-04-20 14:21:36 +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
Simon L.
ff86c6d066
perf(fulltextsearch): improve elasticsearch healthcheck and add performance tuning ( #7947 )
2026-04-20 14:11:20 +02:00
Simon L.
ed672fb99c
ContainerDefinitionFetcher: cache the containers.json in apcu ( #7951 )
2026-04-20 14:09:04 +02:00
Simon L.
ef87e82f13
talk: improve startup ordering, NATS tuning, signaling timeouts, and healthcheck depth ( #7945 )
2026-04-20 14:01:49 +02:00
copilot-swe-agent[bot]
144c91ae02
ContainerDefinitionFetcher: cache the containers.json in apcu
...
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/b8bc4ea2-eee0-4e3f-bd71-d1c5a38c93e9
perf: set apc.shm_size=32M explicitly in mastercontainer Dockerfile
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/4af50c77-4ac1-4947-9b35-dc66d0d0cc8b
perf: revert all previous changes; cache containers.json in APCu
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/59281e92-7e5d-40ef-a152-78e0620eb949
perf: address review comments - clarify cache comment, restore readonly constructors
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/b8bc4ea2-eee0-4e3f-bd71-d1c5a38c93e9
Co-Authored-By: szaimen <42591237+szaimen@users.noreply.github.com >
2026-04-20 13:59:51 +02:00
copilot-swe-agent[bot]
5ead361c04
talk: improve startup ordering, NATS tuning, signaling timeouts, and healthcheck depth
...
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/7fd39619-0f63-494c-902c-746f00d17d02
Co-Authored-By: szaimen <42591237+szaimen@users.noreply.github.com >
Signed-off-by: Simon L. <szaimen@e.mail.de >
2026-04-20 13:58:56 +02:00
Simon L.
2b5998e57d
aio-interface: enable PHP OPcache and Twig template cache ( #7950 )
2026-04-20 13:55:33 +02:00
copilot-swe-agent[bot]
3c17a6af36
aio-interface: enable PHP OPcache and Twig template cache
...
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/2d974f3d-5f37-47e9-aa1f-00a43bcd9838
Signed-off-by: Simon L. <szaimen@e.mail.de >
Co-Authored-By: szaimen <42591237+szaimen@users.noreply.github.com >
Signed-off-by: Simon L. <szaimen@e.mail.de >
2026-04-20 13:47:59 +02:00
Simon L.
a465baa259
aio-interface: Complete Permissions-Policy header with all MDN-listed directives ( #7953 )
2026-04-20 13:40:31 +02:00
Simon L.
457f7bfee9
imaginary: improve healthcheck and start.sh ( #7949 )
2026-04-20 13:40:19 +02:00
copilot-swe-agent[bot]
aade77437c
imaginary: improve healthcheck and start.sh
...
Co-Authored-By: szaimen <42591237+szaimen@users.noreply.github.com >
2026-04-20 13:30:53 +02:00
Simon L.
5624dde376
alpine: fix labels
...
Signed-off-by: Simon L. <szaimen@e.mail.de >
2026-04-20 11:32:33 +02:00
copilot-swe-agent[bot]
98a8861690
Add missing Permissions-Policy directives to headers.Caddyfile
...
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/5735ef2f-5264-43ad-a107-433f2770d05f
Co-authored-by: szaimen <42591237+szaimen@users.noreply.github.com >
2026-04-18 10:53:10 +00:00
copilot-swe-agent[bot]
29bac9dbf9
fix(fulltextsearch): clarify healthcheck to explicitly accept green/yellow cluster status
...
Use filter_path=status to get a minimal JSON response and explicitly match
only green or yellow status (single-node clusters run yellow by design).
This is clearer and more robust than the inverted grep approach.
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/a036678d-a9f5-4db3-8cc6-3e3d52f4e97f
Co-authored-by: szaimen <42591237+szaimen@users.noreply.github.com >
2026-04-17 15:36:26 +00:00