I am running Nextcloud on a pi4 currently with bookworm kernel 6.1.53 and this certbot data:
bookworm-[6.1.53-v8+]-root@nextcloudpi:~ #
Name Version Rev Tracking Publisher Notes
certbot 2.6.0 3026 latest/stable certbot-eff✓ classic
core 16-2.60.3 16096 latest/stable canonical✓ core
core20 20230801 2019 latest/stable canonical✓ base
apache2 -v
Server version: Apache/2.4.57 (Debian)
Server built: 2023-04-13T03:26:51
Making a certcheck and autorenew with certbot are working.
After upgrading to kernel 6.1.54 the
dry-run is no longer working and the renew also stops with
'can not write wellknown-acme challenge'
Reverting to kernel to 6.1.53 solved the problem for now
but I am afraid that further kernel-updates will bring back the problems.