#### Describe the bug
I want to enable SSL using cloudflare certificate (and beβ¦hind cloudflare's protections)
#### To Reproduce
1. Fresh install with options :
- ports.http=10260
- ports.https=10261
- http.compression=true
2. Add custom php config to `/var/snap/nextcloud/current/nextcloud/config/custom.config.php`
```
<?php
$CONFIG = array(
'trusted_domains' => array(
'cloud.example.com',
'192.168.1.10:10260',
),
'trusted_proxies' => array(
'localhost',
'127.0.0.1',
'::1',
),
'force_locale' => 'fr',
'logtimezone' => 'Europe/Paris',
'forwarded_for_headers' => array (
'HTTP_CF_CONNECTING_IP',
),
'overwritehost' => 'cloud.example.com',
'overwriteprotocol' => 'https',
'overwrite.cli.url' => 'https://cloud.example.com',
'overwritewebroot' => '/',
);
```
2. add `cert.pem`, `privkey.pem`, `chain.pem` to `/var/snap/nextcloud/current/nextcloud/config/`
4. Go to http port, create admin account, get automatically redirected to `https://cloud.example.com`
5. `nextcloud.enable-https custom -s cert.pem privkey.pem cert.pem` and get following output :
```
Installing custom certificate... done
Restarting apache... done
```
6. Get cloudflare error : Invalid SSL certificate (526).
#### Expected behavior
I expect to get access to nextcloud, with https and the certificates I gave earlier.
#### Screenshots
![image](https://github.com/nextcloud-snap/nextcloud-snap/assets/43311443/744b58b4-c18c-42ae-8a1a-47f02f9925ba)
#### OS/snapd/snap version
What OS and version are you running? Please also include the output of the
following commands:
```
root@raspberry:~# snap list nextcloud
Name Version Rev Tracking Publisher Notes
nextcloud 27.1.4snap1 39216 latest/stable nextcloudβ -
root@raspberry:~# snap version
snap 2.61.1
snapd 2.61.1
series 16
ubuntu 22.04
kernel 5.15.0-1045-raspi
root@raspberry:~# uname -a
Linux raspberry 5.15.0-1045-raspi #48-Ubuntu SMP PREEMPT Tue Jan 16 13:24:44 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux
```
OS : Ubuntu 22.04 LTS
#### Logs
Please paste in the output from
[this script](https://github.com/nextcloud/nextcloud-snap/wiki/Issue-Debugging-Scripts)
to assist in debugging (note that it's pre-formatted).
<details>
<summary>Apache</summary>
<p>
### Status
```
β snap.nextcloud.apache.service - Service for snap application nextcloud.apache
Loaded: loaded (/etc/systemd/system/snap.nextcloud.apache.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2024-02-01 14:34:32 CET; 55s ago
Main PID: 74545 (run-httpd)
Tasks: 84 (limit: 9189)
Memory: 27.0M
CPU: 14.580s
CGroup: /system.slice/snap.nextcloud.apache.service
ββ74545 /bin/sh /snap/nextcloud/39216/bin/run-httpd -k start -DFOREGROUND
ββ75375 /bin/sh /snap/nextcloud/39216/bin/httpd-wrapper -k start -DFOREGROUND
ββ75433 httpd -d /snap/nextcloud/39216 -DEnableHTTPS -DEnableHSTS -DEnableCompression -k start -DFOREGROUND
ββ75435 httpd -d /snap/nextcloud/39216 -DEnableHTTPS -DEnableHSTS -DEnableCompression -k start -DFOREGROUND
ββ75436 httpd -d /snap/nextcloud/39216 -DEnableHTTPS -DEnableHSTS -DEnableCompression -k start -DFOREGROUND
ββ75437 httpd -d /snap/nextcloud/39216 -DEnableHTTPS -DEnableHSTS -DEnableCompression -k start -DFOREGROUND
Feb 01 14:34:40 raspberry nextcloud.apache[74855]: System config value memcache.locking set to string \OC\Memcache\Redis
Feb 01 14:34:42 raspberry nextcloud.apache[74935]: System config value memcache.local set to string \OC\Memcache\Redis
Feb 01 14:34:44 raspberry nextcloud.apache[75018]: No such app enabled: updatenotification
Feb 01 14:34:46 raspberry nextcloud.apache[74579]: Making sure nextcloud is fully upgraded...
Feb 01 14:34:47 raspberry nextcloud.apache[75304]: Nextcloud is already latest version
Feb 01 14:34:47 raspberry nextcloud.apache[74545]: All set! Running httpd...
Feb 01 14:34:48 raspberry nextcloud.apache[75375]: Certificates have been activated: using HTTPS only
Feb 01 14:34:48 raspberry nextcloud.apache[75375]: Certificates look to be in order: enabling HSTS
Feb 01 14:34:48 raspberry nextcloud.apache[75375]: HTTP compression is enabled
Feb 01 14:34:48 raspberry nextcloud.apache[75433]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globallβ¦ess this message
Hint: Some lines were ellipsized, use -l to show in full.
```
### Journal
```
Feb 01 13:37:50 raspberry systemd[1]: Started Service for snap application nextcloud.apache.
Feb 01 13:37:51 raspberry nextcloud.apache[9034]: Making sure nextcloud is setup...
Feb 01 13:37:51 raspberry nextcloud.apache[9076]: Waiting for PHP...
Feb 01 13:38:10 raspberry nextcloud.apache[9076]: done
Feb 01 13:38:10 raspberry nextcloud.apache[9076]: Configuring nextcloud...
Feb 01 13:38:12 raspberry nextcloud.apache[9765]: Nextcloud is not installed - only a limited number of commands are available
Feb 01 13:38:12 raspberry nextcloud.apache[9034]: All set! Running httpd...
Feb 01 13:38:12 raspberry nextcloud.apache[9846]: No certificates are active: using HTTP only
Feb 01 13:38:12 raspberry nextcloud.apache[9846]: HTTP compression is enabled
Feb 01 13:38:13 raspberry nextcloud.apache[9907]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
Feb 01 13:39:38 raspberry systemd[1]: Stopping Service for snap application nextcloud.apache...
Feb 01 13:39:38 raspberry nextcloud.apache[14166]: No certificates are active: using HTTP only
Feb 01 13:39:38 raspberry nextcloud.apache[14166]: HTTP compression is enabled
Feb 01 13:39:38 raspberry nextcloud.apache[14245]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
Feb 01 13:39:38 raspberry systemd[1]: snap.nextcloud.apache.service: Deactivated successfully.
Feb 01 13:39:38 raspberry systemd[1]: Stopped Service for snap application nextcloud.apache.
Feb 01 13:39:38 raspberry systemd[1]: snap.nextcloud.apache.service: Consumed 5.047s CPU time.
Feb 01 13:40:29 raspberry systemd[1]: Started Service for snap application nextcloud.apache.
Feb 01 13:40:30 raspberry nextcloud.apache[15168]: Making sure nextcloud is setup...
Feb 01 13:40:30 raspberry nextcloud.apache[15381]: Waiting for PHP...
Feb 01 13:40:33 raspberry systemd[1]: Stopping Service for snap application nextcloud.apache...
Feb 01 13:40:33 raspberry nextcloud.apache[15857]: No certificates are active: using HTTP only
Feb 01 13:40:33 raspberry nextcloud.apache[15857]: HTTP compression is enabled
Feb 01 13:40:43 raspberry nextcloud.apache[15940]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
Feb 01 13:40:43 raspberry nextcloud.apache[15940]: httpd (no pid file) not running
Feb 01 13:40:43 raspberry systemd[1]: snap.nextcloud.apache.service: Deactivated successfully.
Feb 01 13:40:43 raspberry systemd[1]: Stopped Service for snap application nextcloud.apache.
Feb 01 13:40:43 raspberry systemd[1]: snap.nextcloud.apache.service: Consumed 4.280s CPU time.
Feb 01 13:40:43 raspberry systemd[1]: Started Service for snap application nextcloud.apache.
Feb 01 13:40:43 raspberry nextcloud.apache[16030]: Making sure nextcloud is setup...
Feb 01 13:40:43 raspberry systemd[1]: Stopping Service for snap application nextcloud.apache...
Feb 01 13:40:44 raspberry nextcloud.apache[16067]: Waiting for PHP...
Feb 01 13:40:44 raspberry nextcloud.apache[16074]: No certificates are active: using HTTP only
Feb 01 13:40:44 raspberry nextcloud.apache[16074]: HTTP compression is enabled
Feb 01 13:40:44 raspberry nextcloud.apache[16197]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
Feb 01 13:40:44 raspberry nextcloud.apache[16197]: httpd (no pid file) not running
Feb 01 13:40:44 raspberry systemd[1]: snap.nextcloud.apache.service: Deactivated successfully.
Feb 01 13:40:44 raspberry systemd[1]: Stopped Service for snap application nextcloud.apache.
Feb 01 13:40:44 raspberry systemd[1]: snap.nextcloud.apache.service: Consumed 1.100s CPU time.
Feb 01 13:40:44 raspberry systemd[1]: Started Service for snap application nextcloud.apache.
Feb 01 13:40:44 raspberry nextcloud.apache[16201]: Making sure nextcloud is setup...
Feb 01 13:40:45 raspberry nextcloud.apache[16242]: Waiting for PHP...
Feb 01 13:41:07 raspberry nextcloud.apache[16242]: done
Feb 01 13:41:07 raspberry nextcloud.apache[16242]: Configuring nextcloud...
Feb 01 13:41:09 raspberry nextcloud.apache[16936]: Nextcloud is not installed - only a limited number of commands are available
Feb 01 13:41:09 raspberry nextcloud.apache[16201]: All set! Running httpd...
Feb 01 13:41:09 raspberry nextcloud.apache[17027]: No certificates are active: using HTTP only
Feb 01 13:41:09 raspberry nextcloud.apache[17027]: HTTP compression is enabled
Feb 01 13:41:09 raspberry nextcloud.apache[17089]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
Feb 01 13:42:34 raspberry systemd[1]: Stopping Service for snap application nextcloud.apache...
Feb 01 13:42:34 raspberry nextcloud.apache[21233]: No certificates are active: using HTTP only
Feb 01 13:42:34 raspberry nextcloud.apache[21233]: HTTP compression is enabled
Feb 01 13:42:34 raspberry nextcloud.apache[21311]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
Feb 01 13:42:34 raspberry systemd[1]: snap.nextcloud.apache.service: Deactivated successfully.
Feb 01 13:42:34 raspberry systemd[1]: Stopped Service for snap application nextcloud.apache.
Feb 01 13:42:34 raspberry systemd[1]: snap.nextcloud.apache.service: Consumed 3.571s CPU time.
Feb 01 13:43:25 raspberry systemd[1]: Started Service for snap application nextcloud.apache.
Feb 01 13:43:26 raspberry nextcloud.apache[22189]: Making sure nextcloud is setup...
Feb 01 13:43:26 raspberry nextcloud.apache[22455]: Waiting for PHP...
Feb 01 13:43:29 raspberry systemd[1]: Stopping Service for snap application nextcloud.apache...
Feb 01 13:43:29 raspberry nextcloud.apache[22929]: No certificates are active: using HTTP only
Feb 01 13:43:29 raspberry nextcloud.apache[22929]: HTTP compression is enabled
Feb 01 13:43:39 raspberry nextcloud.apache[23011]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
Feb 01 13:43:39 raspberry nextcloud.apache[23011]: httpd (no pid file) not running
Feb 01 13:43:39 raspberry systemd[1]: snap.nextcloud.apache.service: Deactivated successfully.
Feb 01 13:43:39 raspberry systemd[1]: Stopped Service for snap application nextcloud.apache.
Feb 01 13:43:39 raspberry systemd[1]: snap.nextcloud.apache.service: Consumed 4.919s CPU time.
Feb 01 13:43:39 raspberry systemd[1]: Started Service for snap application nextcloud.apache.
Feb 01 13:43:39 raspberry nextcloud.apache[23097]: Making sure nextcloud is setup...
Feb 01 13:43:39 raspberry systemd[1]: Stopping Service for snap application nextcloud.apache...
Feb 01 13:43:39 raspberry nextcloud.apache[23136]: Waiting for PHP...
Feb 01 13:43:40 raspberry nextcloud.apache[23149]: No certificates are active: using HTTP only
Feb 01 13:43:40 raspberry nextcloud.apache[23149]: HTTP compression is enabled
Feb 01 13:43:40 raspberry nextcloud.apache[23269]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
Feb 01 13:43:40 raspberry nextcloud.apache[23269]: httpd (no pid file) not running
Feb 01 13:43:40 raspberry systemd[1]: snap.nextcloud.apache.service: Deactivated successfully.
Feb 01 13:43:40 raspberry systemd[1]: Stopped Service for snap application nextcloud.apache.
Feb 01 13:43:40 raspberry systemd[1]: snap.nextcloud.apache.service: Consumed 1.071s CPU time.
Feb 01 13:43:40 raspberry systemd[1]: Started Service for snap application nextcloud.apache.
Feb 01 13:43:40 raspberry nextcloud.apache[23274]: Making sure nextcloud is setup...
Feb 01 13:43:40 raspberry nextcloud.apache[23315]: Waiting for PHP...
Feb 01 13:44:01 raspberry nextcloud.apache[23315]: done
Feb 01 13:44:01 raspberry nextcloud.apache[23315]: Configuring nextcloud...
Feb 01 13:44:03 raspberry nextcloud.apache[24112]: Nextcloud is not installed - only a limited number of commands are available
Feb 01 13:44:03 raspberry nextcloud.apache[23274]: All set! Running httpd...
Feb 01 13:44:03 raspberry nextcloud.apache[24250]: No certificates are active: using HTTP only
Feb 01 13:44:03 raspberry nextcloud.apache[24250]: HTTP compression is enabled
Feb 01 13:44:04 raspberry nextcloud.apache[24318]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
Feb 01 13:52:55 raspberry nextcloud.apache[36771]: Certificates have been activated: using HTTPS only
Feb 01 13:52:55 raspberry nextcloud.apache[36771]: Certificates look to be in order: enabling HSTS
Feb 01 13:52:55 raspberry nextcloud.apache[36771]: HTTP compression is enabled
Feb 01 13:52:55 raspberry nextcloud.apache[36853]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
Feb 01 13:52:55 raspberry nextcloud.apache[36853]: httpd (no pid file) not running
Feb 01 13:52:55 raspberry systemd[1]: snap.nextcloud.apache.service: Deactivated successfully.
Feb 01 13:52:55 raspberry systemd[1]: snap.nextcloud.apache.service: Consumed 4.260s CPU time.
Feb 01 13:52:56 raspberry systemd[1]: snap.nextcloud.apache.service: Scheduled restart job, restart counter is at 1.
Feb 01 13:52:56 raspberry systemd[1]: Stopped Service for snap application nextcloud.apache.
Feb 01 13:52:56 raspberry systemd[1]: snap.nextcloud.apache.service: Consumed 4.260s CPU time.
Feb 01 13:52:56 raspberry systemd[1]: Started Service for snap application nextcloud.apache.
Feb 01 13:52:56 raspberry nextcloud.apache[36854]: Making sure nextcloud is setup...
Feb 01 13:52:58 raspberry nextcloud.apache[37005]: System config value redis => host set to string /tmp/sockets/redis.sock
Feb 01 13:52:59 raspberry nextcloud.apache[37077]: System config value redis => port set to integer 0
Feb 01 13:53:00 raspberry nextcloud.apache[37151]: System config value memcache.locking set to string \OC\Memcache\Redis
Feb 01 13:53:02 raspberry nextcloud.apache[37226]: System config value memcache.local set to string \OC\Memcache\Redis
Feb 01 13:53:03 raspberry nextcloud.apache[37307]: No such app enabled: updatenotification
Feb 01 13:53:05 raspberry nextcloud.apache[36890]: Making sure nextcloud is fully upgraded...
Feb 01 13:53:06 raspberry nextcloud.apache[37454]: Nextcloud is already latest version
Feb 01 13:53:06 raspberry nextcloud.apache[36854]: All set! Running httpd...
Feb 01 13:53:06 raspberry nextcloud.apache[37468]: Certificates have been activated: using HTTPS only
Feb 01 13:53:06 raspberry nextcloud.apache[37468]: Certificates look to be in order: enabling HSTS
Feb 01 13:53:06 raspberry nextcloud.apache[37468]: HTTP compression is enabled
Feb 01 13:53:07 raspberry nextcloud.apache[37527]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
Feb 01 13:54:35 raspberry nextcloud.apache[37994]: Certificates have been activated: using HTTPS only
Feb 01 13:54:35 raspberry nextcloud.apache[37994]: Certificates look to be in order: enabling HSTS
Feb 01 13:54:35 raspberry nextcloud.apache[37994]: HTTP compression is enabled
Feb 01 13:54:35 raspberry nextcloud.apache[38074]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
Feb 01 13:54:35 raspberry nextcloud.apache[38074]: httpd (no pid file) not running
Feb 01 13:54:35 raspberry systemd[1]: snap.nextcloud.apache.service: Deactivated successfully.
Feb 01 13:54:35 raspberry systemd[1]: snap.nextcloud.apache.service: Consumed 11.780s CPU time.
Feb 01 13:54:36 raspberry systemd[1]: snap.nextcloud.apache.service: Scheduled restart job, restart counter is at 2.
Feb 01 13:54:36 raspberry systemd[1]: Stopped Service for snap application nextcloud.apache.
Feb 01 13:54:36 raspberry systemd[1]: snap.nextcloud.apache.service: Consumed 11.780s CPU time.
Feb 01 13:54:36 raspberry systemd[1]: Started Service for snap application nextcloud.apache.
Feb 01 13:54:36 raspberry nextcloud.apache[38076]: Making sure nextcloud is setup...
Feb 01 13:54:38 raspberry nextcloud.apache[38228]: System config value redis => host set to string /tmp/sockets/redis.sock
Feb 01 13:54:39 raspberry nextcloud.apache[38299]: System config value redis => port set to integer 0
Feb 01 13:54:40 raspberry nextcloud.apache[38372]: System config value memcache.locking set to string \OC\Memcache\Redis
Feb 01 13:54:42 raspberry nextcloud.apache[38444]: System config value memcache.local set to string \OC\Memcache\Redis
Feb 01 13:54:43 raspberry nextcloud.apache[38517]: No such app enabled: updatenotification
Feb 01 13:54:44 raspberry nextcloud.apache[38112]: Making sure nextcloud is fully upgraded...
Feb 01 13:54:46 raspberry nextcloud.apache[38663]: Nextcloud is already latest version
Feb 01 13:54:46 raspberry nextcloud.apache[38076]: All set! Running httpd...
Feb 01 13:54:46 raspberry nextcloud.apache[38677]: Certificates have been activated: using HTTPS only
Feb 01 13:54:46 raspberry nextcloud.apache[38677]: Certificates look to be in order: enabling HSTS
Feb 01 13:54:46 raspberry nextcloud.apache[38677]: HTTP compression is enabled
Feb 01 13:54:46 raspberry nextcloud.apache[38735]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
Feb 01 13:58:06 raspberry systemd[1]: Stopping Service for snap application nextcloud.apache...
Feb 01 13:58:06 raspberry nextcloud.apache[39991]: Certificates have been activated: using HTTPS only
Feb 01 13:58:06 raspberry nextcloud.apache[39991]: Certificates look to be in order: enabling HSTS
Feb 01 13:58:06 raspberry nextcloud.apache[39991]: HTTP compression is enabled
Feb 01 13:58:06 raspberry nextcloud.apache[40071]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
Feb 01 13:58:06 raspberry systemd[1]: snap.nextcloud.apache.service: Deactivated successfully.
Feb 01 13:58:06 raspberry systemd[1]: Stopped Service for snap application nextcloud.apache.
Feb 01 13:58:06 raspberry systemd[1]: snap.nextcloud.apache.service: Consumed 11.288s CPU time.
Feb 01 14:07:05 raspberry systemd[1]: Started Service for snap application nextcloud.apache.
Feb 01 14:07:06 raspberry nextcloud.apache[41490]: Making sure nextcloud is setup...
Feb 01 14:07:07 raspberry nextcloud.apache[41782]: Waiting for PHP...
Feb 01 14:07:10 raspberry systemd[1]: Stopping Service for snap application nextcloud.apache...
Feb 01 14:07:10 raspberry nextcloud.apache[42248]: No certificates are active: using HTTP only
Feb 01 14:07:10 raspberry nextcloud.apache[42248]: HTTP compression is enabled
Feb 01 14:07:17 raspberry nextcloud.apache[42327]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
Feb 01 14:07:17 raspberry nextcloud.apache[42327]: httpd (no pid file) not running
Feb 01 14:07:17 raspberry systemd[1]: snap.nextcloud.apache.service: Deactivated successfully.
Feb 01 14:07:17 raspberry systemd[1]: Stopped Service for snap application nextcloud.apache.
Feb 01 14:07:17 raspberry systemd[1]: snap.nextcloud.apache.service: Consumed 3.707s CPU time.
Feb 01 14:07:17 raspberry systemd[1]: Started Service for snap application nextcloud.apache.
Feb 01 14:07:17 raspberry nextcloud.apache[42391]: Making sure nextcloud is setup...
Feb 01 14:07:17 raspberry systemd[1]: Stopping Service for snap application nextcloud.apache...
Feb 01 14:07:17 raspberry nextcloud.apache[42427]: Waiting for PHP...
Feb 01 14:07:18 raspberry nextcloud.apache[42446]: No certificates are active: using HTTP only
Feb 01 14:07:18 raspberry nextcloud.apache[42446]: HTTP compression is enabled
Feb 01 14:07:18 raspberry nextcloud.apache[42563]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
Feb 01 14:07:18 raspberry nextcloud.apache[42563]: httpd (no pid file) not running
Feb 01 14:07:18 raspberry systemd[1]: snap.nextcloud.apache.service: Deactivated successfully.
Feb 01 14:07:18 raspberry systemd[1]: Stopped Service for snap application nextcloud.apache.
Feb 01 14:07:18 raspberry systemd[1]: snap.nextcloud.apache.service: Consumed 1.111s CPU time.
Feb 01 14:07:18 raspberry systemd[1]: Started Service for snap application nextcloud.apache.
Feb 01 14:07:18 raspberry nextcloud.apache[42568]: Making sure nextcloud is setup...
Feb 01 14:07:18 raspberry nextcloud.apache[42607]: Waiting for PHP...
Feb 01 14:07:40 raspberry nextcloud.apache[42607]: done
Feb 01 14:07:40 raspberry nextcloud.apache[42607]: Configuring nextcloud...
Feb 01 14:07:41 raspberry nextcloud.apache[43438]: Nextcloud is not installed - only a limited number of commands are available
Feb 01 14:07:42 raspberry nextcloud.apache[42568]: All set! Running httpd...
Feb 01 14:07:42 raspberry nextcloud.apache[43566]: No certificates are active: using HTTP only
Feb 01 14:07:42 raspberry nextcloud.apache[43566]: HTTP compression is enabled
Feb 01 14:07:42 raspberry nextcloud.apache[43626]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
Feb 01 14:34:32 raspberry nextcloud.apache[74462]: Certificates have been activated: using HTTPS only
Feb 01 14:34:32 raspberry nextcloud.apache[74462]: Certificates look to be in order: enabling HSTS
Feb 01 14:34:32 raspberry nextcloud.apache[74462]: HTTP compression is enabled
Feb 01 14:34:32 raspberry nextcloud.apache[74544]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
Feb 01 14:34:32 raspberry nextcloud.apache[74544]: httpd (no pid file) not running
Feb 01 14:34:32 raspberry systemd[1]: snap.nextcloud.apache.service: Deactivated successfully.
Feb 01 14:34:32 raspberry systemd[1]: snap.nextcloud.apache.service: Consumed 5.324s CPU time.
Feb 01 14:34:32 raspberry systemd[1]: snap.nextcloud.apache.service: Scheduled restart job, restart counter is at 1.
Feb 01 14:34:32 raspberry systemd[1]: Stopped Service for snap application nextcloud.apache.
Feb 01 14:34:32 raspberry systemd[1]: snap.nextcloud.apache.service: Consumed 5.324s CPU time.
Feb 01 14:34:32 raspberry systemd[1]: Started Service for snap application nextcloud.apache.
Feb 01 14:34:33 raspberry nextcloud.apache[74545]: Making sure nextcloud is setup...
Feb 01 14:34:34 raspberry nextcloud.apache[74695]: System config value redis => host set to string /tmp/sockets/redis.sock
Feb 01 14:34:36 raspberry nextcloud.apache[74769]: System config value redis => port set to integer 0
Feb 01 14:34:40 raspberry nextcloud.apache[74855]: System config value memcache.locking set to string \OC\Memcache\Redis
Feb 01 14:34:42 raspberry nextcloud.apache[74935]: System config value memcache.local set to string \OC\Memcache\Redis
Feb 01 14:34:44 raspberry nextcloud.apache[75018]: No such app enabled: updatenotification
Feb 01 14:34:46 raspberry nextcloud.apache[74579]: Making sure nextcloud is fully upgraded...
Feb 01 14:34:47 raspberry nextcloud.apache[75304]: Nextcloud is already latest version
Feb 01 14:34:47 raspberry nextcloud.apache[74545]: All set! Running httpd...
Feb 01 14:34:48 raspberry nextcloud.apache[75375]: Certificates have been activated: using HTTPS only
Feb 01 14:34:48 raspberry nextcloud.apache[75375]: Certificates look to be in order: enabling HSTS
Feb 01 14:34:48 raspberry nextcloud.apache[75375]: HTTP compression is enabled
Feb 01 14:34:48 raspberry nextcloud.apache[75433]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
```
### Error log
```
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
[Thu Feb 01 14:07:42.439526 2024] [ssl:warn] [pid 43626:tid 281473835807808] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Feb 01 14:07:42.440786 2024] [lbmethod_heartbeat:notice] [pid 43626:tid 281473835807808] AH02282: No slotmem from mod_heartmonitor
[Thu Feb 01 14:07:42.444224 2024] [mpm_event:notice] [pid 43626:tid 281473835807808] AH00489: Apache/2.4.58 (Unix) OpenSSL/1.1.1 configured -- resuming normal operations
[Thu Feb 01 14:07:42.444334 2024] [core:notice] [pid 43626:tid 281473835807808] AH00094: Command line: 'httpd -d /snap/nextcloud/39216 -D EnableCompression -D FOREGROUND'
[Thu Feb 01 14:07:42.450713 2024] [unixd:alert] [pid 43639:tid 281473835807808] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Thu Feb 01 14:07:42.450717 2024] [unixd:alert] [pid 43642:tid 281473835807808] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Thu Feb 01 14:07:42.450713 2024] [unixd:alert] [pid 43640:tid 281473835807808] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Thu Feb 01 14:16:47.980515 2024] [unixd:alert] [pid 67744:tid 281473835807808] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Thu Feb 01 14:34:32.108219 2024] [mpm_event:notice] [pid 43626:tid 281473835807808] AH00491: caught SIGTERM, shutting down
[Thu Feb 01 14:34:48.639462 2024] [ssl:warn] [pid 75433:tid 281473876431936] AH01909: 127.0.1.1:10261:0 server certificate does NOT include an ID which matches the server name
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
[Thu Feb 01 14:34:48.647364 2024] [ssl:warn] [pid 75433:tid 281473876431936] AH01909: 127.0.1.1:10261:0 server certificate does NOT include an ID which matches the server name
[Thu Feb 01 14:34:48.647933 2024] [lbmethod_heartbeat:notice] [pid 75433:tid 281473876431936] AH02282: No slotmem from mod_heartmonitor
[Thu Feb 01 14:34:48.650936 2024] [mpm_event:notice] [pid 75433:tid 281473876431936] AH00489: Apache/2.4.58 (Unix) OpenSSL/1.1.1 configured -- resuming normal operations
[Thu Feb 01 14:34:48.651085 2024] [core:notice] [pid 75433:tid 281473876431936] AH00094: Command line: 'httpd -d /snap/nextcloud/39216 -D EnableHTTPS -D EnableHSTS -D EnableCompression -D FOREGROUND'
[Thu Feb 01 14:34:48.653484 2024] [unixd:alert] [pid 75435:tid 281473876431936] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Thu Feb 01 14:34:48.653485 2024] [unixd:alert] [pid 75436:tid 281473876431936] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Thu Feb 01 14:34:48.653598 2024] [unixd:alert] [pid 75437:tid 281473876431936] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
```
</p>
</details>
<details>
<summary>PHP</summary>
<p>
### Status
```
β snap.nextcloud.php-fpm.service - Service for snap application nextcloud.php-fpm
Loaded: loaded (/etc/systemd/system/snap.nextcloud.php-fpm.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2024-02-01 14:07:05 CET; 28min ago
Main PID: 41529 (start-php-fpm)
Tasks: 2 (limit: 9189)
Memory: 425.5M
CPU: 1min 347ms
CGroup: /system.slice/snap.nextcloud.php-fpm.service
ββ41529 /bin/sh /snap/nextcloud/39216/bin/start-php-fpm
ββ43312 "php-fpm: master process (/snap/nextcloud/39216/config/php/php-fpm.conf)" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ""
Feb 01 14:07:05 raspberry systemd[1]: Started Service for snap application nextcloud.php-fpm.
Feb 01 14:07:07 raspberry nextcloud.php-fpm[41529]: Waiting for MySQL...
Feb 01 14:07:37 raspberry nextcloud.php-fpm[41529]: done
Feb 01 14:07:37 raspberry nextcloud.php-fpm[41529]: Obtaining nextcloud mysql credentials... done
```
### Journal
```
Jan 21 12:17:44 raspberry systemd[1]: Started Service for snap application nextcloud.php-fpm.
Jan 21 12:17:47 raspberry nextcloud.php-fpm[11923]: Waiting for MySQL...
Jan 21 12:18:17 raspberry nextcloud.php-fpm[11923]: done
Jan 21 12:18:17 raspberry nextcloud.php-fpm[11923]: Obtaining nextcloud mysql credentials... done
-- Boot 21e28a088ec7449fb62fa1dbf5863a83 --
Jan 23 19:20:34 raspberry systemd[1]: Started Service for snap application nextcloud.php-fpm.
Jan 23 19:20:54 raspberry nextcloud.php-fpm[975]: Waiting for MySQL...
Jan 23 19:21:05 raspberry nextcloud.php-fpm[975]: done
Jan 23 19:21:05 raspberry nextcloud.php-fpm[975]: Obtaining nextcloud mysql credentials... done
Jan 28 00:00:06 raspberry systemd[1]: Reloading Service for snap application nextcloud.php-fpm...
Jan 28 00:00:07 raspberry systemd[1]: Reloaded Service for snap application nextcloud.php-fpm.
Jan 28 00:00:07 raspberry systemd[1]: Reloading Service for snap application nextcloud.php-fpm...
Jan 28 00:00:07 raspberry systemd[1]: Reloaded Service for snap application nextcloud.php-fpm.
-- Boot 6d146a4c27294e08877c12a5790abf50 --
Jan 31 21:13:18 raspberry systemd[1]: Started Service for snap application nextcloud.php-fpm.
Jan 31 21:13:38 raspberry nextcloud.php-fpm[888]: Waiting for MySQL...
Jan 31 21:13:52 raspberry nextcloud.php-fpm[888]: done
Jan 31 21:13:52 raspberry nextcloud.php-fpm[888]: Obtaining nextcloud mysql credentials... done
Jan 31 23:48:10 raspberry systemd[1]: Stopping Service for snap application nextcloud.php-fpm...
Jan 31 23:48:10 raspberry systemd[1]: snap.nextcloud.php-fpm.service: Deactivated successfully.
Jan 31 23:48:10 raspberry systemd[1]: Stopped Service for snap application nextcloud.php-fpm.
Jan 31 23:48:10 raspberry systemd[1]: snap.nextcloud.php-fpm.service: Consumed 4.272s CPU time.
Jan 31 23:48:10 raspberry systemd[1]: Started Service for snap application nextcloud.php-fpm.
Jan 31 23:48:11 raspberry nextcloud.php-fpm[506490]: Obtaining nextcloud mysql credentials... done
-- Boot a56a6619f4464fb8883df19218166595 --
Feb 01 13:37:34 raspberry systemd[1]: Started Service for snap application nextcloud.php-fpm.
Feb 01 13:37:37 raspberry nextcloud.php-fpm[7969]: Waiting for MySQL...
Feb 01 13:38:08 raspberry nextcloud.php-fpm[7969]: done
Feb 01 13:38:08 raspberry nextcloud.php-fpm[7969]: Obtaining nextcloud mysql credentials... done
Feb 01 13:39:38 raspberry systemd[1]: Stopping Service for snap application nextcloud.php-fpm...
Feb 01 13:39:38 raspberry systemd[1]: snap.nextcloud.php-fpm.service: Deactivated successfully.
Feb 01 13:39:38 raspberry systemd[1]: Stopped Service for snap application nextcloud.php-fpm.
Feb 01 13:39:38 raspberry systemd[1]: snap.nextcloud.php-fpm.service: Consumed 3.589s CPU time.
Feb 01 13:40:29 raspberry systemd[1]: Started Service for snap application nextcloud.php-fpm.
Feb 01 13:40:30 raspberry nextcloud.php-fpm[15123]: Waiting for MySQL...
Feb 01 13:41:05 raspberry nextcloud.php-fpm[15123]: done
Feb 01 13:41:05 raspberry nextcloud.php-fpm[15123]: Obtaining nextcloud mysql credentials... done
Feb 01 13:42:32 raspberry systemd[1]: Stopping Service for snap application nextcloud.php-fpm...
Feb 01 13:42:32 raspberry systemd[1]: snap.nextcloud.php-fpm.service: Deactivated successfully.
Feb 01 13:42:32 raspberry systemd[1]: Stopped Service for snap application nextcloud.php-fpm.
Feb 01 13:42:32 raspberry systemd[1]: snap.nextcloud.php-fpm.service: Consumed 3.025s CPU time.
Feb 01 13:43:25 raspberry systemd[1]: Started Service for snap application nextcloud.php-fpm.
Feb 01 13:43:26 raspberry nextcloud.php-fpm[22180]: Waiting for MySQL...
Feb 01 13:43:59 raspberry nextcloud.php-fpm[22180]: done
Feb 01 13:43:59 raspberry nextcloud.php-fpm[22180]: Obtaining nextcloud mysql credentials... done
Feb 01 13:58:06 raspberry systemd[1]: Stopping Service for snap application nextcloud.php-fpm...
Feb 01 13:58:06 raspberry systemd[1]: snap.nextcloud.php-fpm.service: Deactivated successfully.
Feb 01 13:58:06 raspberry systemd[1]: Stopped Service for snap application nextcloud.php-fpm.
Feb 01 13:58:06 raspberry systemd[1]: snap.nextcloud.php-fpm.service: Consumed 1min 3.251s CPU time.
Feb 01 14:07:05 raspberry systemd[1]: Started Service for snap application nextcloud.php-fpm.
Feb 01 14:07:07 raspberry nextcloud.php-fpm[41529]: Waiting for MySQL...
Feb 01 14:07:37 raspberry nextcloud.php-fpm[41529]: done
Feb 01 14:07:37 raspberry nextcloud.php-fpm[41529]: Obtaining nextcloud mysql credentials... done
```
### Error log
```
[01-Feb-2024 14:07:39] NOTICE: fpm is running, pid 43312
[01-Feb-2024 14:07:39] NOTICE: ready to handle connections
```
</p>
</details>
<details>
<summary>MySQL</summary>
<p>
### Status
```
β snap.nextcloud.mysql.service - Service for snap application nextcloud.mysql
Loaded: loaded (/etc/systemd/system/snap.nextcloud.mysql.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2024-02-01 14:07:05 CET; 28min ago
Main PID: 41498 (start_mysql)
Tasks: 44 (limit: 9189)
Memory: 287.4M
CPU: 2min 9.206s
CGroup: /system.slice/snap.nextcloud.mysql.service
ββ41498 /bin/sh -e /snap/nextcloud/39216/bin/start_mysql
ββ42893 /bin/sh /snap/nextcloud/39216/bin/mysqld_safe --defaults-file=/snap/nextcloud/39216/my.cnf --datadir=/var/snap/nextcloud/39216/mysql --pid-file=/tmp/pids/mysql.pid --lc-messages-dir=/snap/β¦
ββ43124 /snap/nextcloud/39216/bin/mysqld --defaults-file=/snap/nextcloud/39216/my.cnf --basedir=/snap/nextcloud/39216 --datadir=/var/snap/nextcloud/39216/mysql --plugin-dir=/snap/nextcloud/39216/lβ¦
ββ75579 sleep 1
Feb 01 14:07:05 raspberry systemd[1]: Started Service for snap application nextcloud.mysql.
Feb 01 14:07:33 raspberry nextcloud.mysql[42869]: Starting MySQL
Feb 01 14:07:34 raspberry nextcloud.mysql[42869]: .
Feb 01 14:07:34 raspberry nextcloud.mysql[42893]: Logging to '/var/snap/nextcloud/39216/mysql/raspberry.err'.
Feb 01 14:07:36 raspberry nextcloud.mysql[42869]: .. *
Feb 01 14:07:36 raspberry nextcloud.mysql[41498]: Generating root mysql password... done
Feb 01 14:07:36 raspberry nextcloud.mysql[41498]: Generating nextcloud mysql password... done
Feb 01 14:07:37 raspberry nextcloud.mysql[41498]: Setting up users and nextcloud database... done
```
### Journal
```
Jan 21 12:17:44 raspberry systemd[1]: Started Service for snap application nextcloud.mysql.
Jan 21 12:18:14 raspberry nextcloud.mysql[12624]: Starting MySQL
Jan 21 12:18:14 raspberry nextcloud.mysql[12624]: .
Jan 21 12:18:14 raspberry nextcloud.mysql[12644]: Logging to '/var/snap/nextcloud/39216/mysql/raspberry.err'.
Jan 21 12:18:17 raspberry nextcloud.mysql[12624]: .. *
Jan 21 12:18:17 raspberry nextcloud.mysql[11936]: Generating root mysql password... done
Jan 21 12:18:17 raspberry nextcloud.mysql[11936]: Generating nextcloud mysql password... done
Jan 21 12:18:17 raspberry nextcloud.mysql[11936]: Setting up users and nextcloud database... done
-- Boot 21e28a088ec7449fb62fa1dbf5863a83 --
Jan 23 19:20:34 raspberry systemd[1]: Started Service for snap application nextcloud.mysql.
Jan 23 19:21:01 raspberry nextcloud.mysql[2036]: Starting MySQL
Jan 23 19:21:01 raspberry nextcloud.mysql[2036]: .
Jan 23 19:21:01 raspberry nextcloud.mysql[2056]: Logging to '/var/snap/nextcloud/39216/mysql/raspberry.err'.
Jan 23 19:21:05 raspberry nextcloud.mysql[2036]: ... *
Jan 28 00:00:07 raspberry systemd[1]: Reloading Service for snap application nextcloud.mysql...
Jan 28 00:00:08 raspberry systemd[1]: Reloaded Service for snap application nextcloud.mysql.
-- Boot 6d146a4c27294e08877c12a5790abf50 --
Jan 31 21:13:18 raspberry systemd[1]: Started Service for snap application nextcloud.mysql.
Jan 31 21:13:45 raspberry nextcloud.mysql[1905]: Starting MySQL
Jan 31 21:13:47 raspberry nextcloud.mysql[1905]: ..
Jan 31 21:13:47 raspberry nextcloud.mysql[1927]: Logging to '/var/snap/nextcloud/39216/mysql/raspberry.err'.
Jan 31 21:13:51 raspberry nextcloud.mysql[1905]: .... *
-- Boot a56a6619f4464fb8883df19218166595 --
Feb 01 13:37:35 raspberry systemd[1]: Started Service for snap application nextcloud.mysql.
Feb 01 13:38:04 raspberry nextcloud.mysql[9239]: Starting MySQL
Feb 01 13:38:05 raspberry nextcloud.mysql[9239]: .
Feb 01 13:38:05 raspberry nextcloud.mysql[9259]: Logging to '/var/snap/nextcloud/39216/mysql/raspberry.err'.
Feb 01 13:38:07 raspberry nextcloud.mysql[9239]: .. *
Feb 01 13:38:07 raspberry nextcloud.mysql[8013]: Generating root mysql password... done
Feb 01 13:38:07 raspberry nextcloud.mysql[8013]: Generating nextcloud mysql password... done
Feb 01 13:38:08 raspberry nextcloud.mysql[8013]: Setting up users and nextcloud database... done
Feb 01 13:39:36 raspberry systemd[1]: Stopping Service for snap application nextcloud.mysql...
Feb 01 13:39:37 raspberry nextcloud.mysql[14071]: Shutting down MySQL
Feb 01 13:39:38 raspberry nextcloud.mysql[14071]: . *
Feb 01 13:39:38 raspberry systemd[1]: snap.nextcloud.mysql.service: Deactivated successfully.
Feb 01 13:39:38 raspberry systemd[1]: Stopped Service for snap application nextcloud.mysql.
Feb 01 13:39:38 raspberry systemd[1]: snap.nextcloud.mysql.service: Consumed 22.993s CPU time.
Feb 01 13:40:29 raspberry systemd[1]: Started Service for snap application nextcloud.mysql.
Feb 01 13:41:00 raspberry nextcloud.mysql[16402]: Starting MySQL
Feb 01 13:41:01 raspberry nextcloud.mysql[16402]: .
Feb 01 13:41:01 raspberry nextcloud.mysql[16423]: Logging to '/var/snap/nextcloud/39216/mysql/raspberry.err'.
Feb 01 13:41:03 raspberry nextcloud.mysql[16402]: .. *
Feb 01 13:41:03 raspberry nextcloud.mysql[15116]: Generating root mysql password... done
Feb 01 13:41:03 raspberry nextcloud.mysql[15116]: Generating nextcloud mysql password... done
Feb 01 13:41:04 raspberry nextcloud.mysql[15116]: Setting up users and nextcloud database... done
Feb 01 13:42:32 raspberry systemd[1]: Stopping Service for snap application nextcloud.mysql...
Feb 01 13:42:33 raspberry nextcloud.mysql[21168]: Shutting down MySQL
Feb 01 13:42:34 raspberry nextcloud.mysql[21168]: . *
Feb 01 13:42:34 raspberry systemd[1]: snap.nextcloud.mysql.service: Deactivated successfully.
Feb 01 13:42:34 raspberry systemd[1]: Stopped Service for snap application nextcloud.mysql.
Feb 01 13:42:34 raspberry systemd[1]: snap.nextcloud.mysql.service: Consumed 24.875s CPU time.
Feb 01 13:43:25 raspberry systemd[1]: Started Service for snap application nextcloud.mysql.
Feb 01 13:43:55 raspberry nextcloud.mysql[23567]: Starting MySQL
Feb 01 13:43:56 raspberry nextcloud.mysql[23567]: .
Feb 01 13:43:56 raspberry nextcloud.mysql[23595]: Logging to '/var/snap/nextcloud/39216/mysql/raspberry.err'.
Feb 01 13:43:58 raspberry nextcloud.mysql[23567]: .. *
Feb 01 13:43:58 raspberry nextcloud.mysql[22222]: Generating root mysql password... done
Feb 01 13:43:58 raspberry nextcloud.mysql[22222]: Generating nextcloud mysql password... done
Feb 01 13:43:58 raspberry nextcloud.mysql[22222]: Setting up users and nextcloud database... done
Feb 01 13:58:04 raspberry systemd[1]: Stopping Service for snap application nextcloud.mysql...
Feb 01 13:58:04 raspberry nextcloud.mysql[39809]: Shutting down MySQL
Feb 01 13:58:05 raspberry nextcloud.mysql[39809]: . *
Feb 01 13:58:05 raspberry systemd[1]: snap.nextcloud.mysql.service: Deactivated successfully.
Feb 01 13:58:05 raspberry systemd[1]: Stopped Service for snap application nextcloud.mysql.
Feb 01 13:58:05 raspberry systemd[1]: snap.nextcloud.mysql.service: Consumed 1min 50.936s CPU time.
Feb 01 14:07:05 raspberry systemd[1]: Started Service for snap application nextcloud.mysql.
Feb 01 14:07:33 raspberry nextcloud.mysql[42869]: Starting MySQL
Feb 01 14:07:34 raspberry nextcloud.mysql[42869]: .
Feb 01 14:07:34 raspberry nextcloud.mysql[42893]: Logging to '/var/snap/nextcloud/39216/mysql/raspberry.err'.
Feb 01 14:07:36 raspberry nextcloud.mysql[42869]: .. *
Feb 01 14:07:36 raspberry nextcloud.mysql[41498]: Generating root mysql password... done
Feb 01 14:07:36 raspberry nextcloud.mysql[41498]: Generating nextcloud mysql password... done
Feb 01 14:07:37 raspberry nextcloud.mysql[41498]: Setting up users and nextcloud database... done
```
### Error log
```
2024-02-01T13:07:20.011850Z 0 [System] [MY-013169] [Server] /snap/nextcloud/39216/bin/mysqld (mysqld 8.0.35) initializing of server in progress as process 41808
2024-02-01T13:07:20.453259Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2024-02-01T13:07:22.111319Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2024-02-01T13:07:25.098240Z 0 [Warning] [MY-013829] [Server] Missing data directory for ICU regular expressions: //lib/private/.
2024-02-01T13:07:26.534631Z 6 [Warning] [MY-010453] [Server] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option.
2024-02-01T13:07:34.928184Z 0 [System] [MY-010116] [Server] /snap/nextcloud/39216/bin/mysqld (mysqld 8.0.35) starting as process 43124
2024-02-01T13:07:34.947396Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2024-02-01T13:07:35.483474Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2024-02-01T13:07:36.119913Z 0 [Warning] [MY-013829] [Server] Missing data directory for ICU regular expressions: //lib/private/.
2024-02-01T13:07:36.123136Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2024-02-01T13:07:36.123276Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2024-02-01T13:07:36.128268Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/tmp' in the path is accessible to all OS users. Consider choosing a different directory.
2024-02-01T13:07:36.189823Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Socket: /tmp/mysqlx.sock
2024-02-01T13:07:36.190080Z 0 [System] [MY-010931] [Server] /snap/nextcloud/39216/bin/mysqld: ready for connections. Version: '8.0.35' socket: '/tmp/sockets/mysql.sock' port: 0 Source distribution.
```
</p>
</details>
<details>
<summary>Redis</summary>
<p>
### Status
```
β snap.nextcloud.redis-server.service - Service for snap application nextcloud.redis-server
Loaded: loaded (/etc/systemd/system/snap.nextcloud.redis-server.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2024-02-01 14:07:05 CET; 28min ago
Main PID: 41557 (start-redis-ser)
Tasks: 6 (limit: 9189)
Memory: 4.7M
CPU: 8.290s
CGroup: /system.slice/snap.nextcloud.redis-server.service
ββ41557 /bin/sh /snap/nextcloud/39216/bin/start-redis-server
ββ41814 "redis-server unixsocket:/tmp/sockets/redis.sock"
Feb 01 14:07:05 raspberry systemd[1]: Started Service for snap application nextcloud.redis-server.
Feb 01 14:07:10 raspberry nextcloud.redis-server[41814]: 41814:C 01 Feb 2024 14:07:10.733 # Reading config from stdin
```
### Journal
```
Jan 21 12:17:44 raspberry systemd[1]: Started Service for snap application nextcloud.redis-server.
Jan 21 12:17:51 raspberry nextcloud.redis-server[12193]: 12193:C 21 Jan 2024 12:17:51.797 # Reading config from stdin
-- Boot 21e28a088ec7449fb62fa1dbf5863a83 --
Jan 23 19:20:34 raspberry systemd[1]: Started Service for snap application nextcloud.redis-server.
Jan 23 19:20:56 raspberry nextcloud.redis-server[1772]: 1772:C 23 Jan 2024 19:20:56.597 # Reading config from stdin
-- Boot 6d146a4c27294e08877c12a5790abf50 --
Jan 31 21:13:18 raspberry systemd[1]: Started Service for snap application nextcloud.redis-server.
Jan 31 21:13:40 raspberry nextcloud.redis-server[1692]: 1692:C 31 Jan 2024 21:13:40.144 # Reading config from stdin
-- Boot a56a6619f4464fb8883df19218166595 --
Feb 01 13:37:34 raspberry systemd[1]: Started Service for snap application nextcloud.redis-server.
Feb 01 13:37:42 raspberry nextcloud.redis-server[8231]: 8231:C 01 Feb 2024 13:37:42.274 # Reading config from stdin
Feb 01 13:39:38 raspberry systemd[1]: Stopping Service for snap application nextcloud.redis-server...
Feb 01 13:39:38 raspberry systemd[1]: snap.nextcloud.redis-server.service: Deactivated successfully.
Feb 01 13:39:38 raspberry systemd[1]: Stopped Service for snap application nextcloud.redis-server.
Feb 01 13:39:38 raspberry systemd[1]: snap.nextcloud.redis-server.service: Consumed 2.628s CPU time.
Feb 01 13:40:29 raspberry systemd[1]: Started Service for snap application nextcloud.redis-server.
Feb 01 13:40:36 raspberry nextcloud.redis-server[15422]: 15422:C 01 Feb 2024 13:40:36.926 # Reading config from stdin
Feb 01 13:42:32 raspberry systemd[1]: Stopping Service for snap application nextcloud.redis-server...
Feb 01 13:42:32 raspberry systemd[1]: snap.nextcloud.redis-server.service: Deactivated successfully.
Feb 01 13:42:32 raspberry systemd[1]: Stopped Service for snap application nextcloud.redis-server.
Feb 01 13:42:32 raspberry systemd[1]: snap.nextcloud.redis-server.service: Consumed 2.909s CPU time.
Feb 01 13:43:25 raspberry systemd[1]: Started Service for snap application nextcloud.redis-server.
Feb 01 13:43:33 raspberry nextcloud.redis-server[22485]: 22485:C 01 Feb 2024 13:43:33.051 # Reading config from stdin
Feb 01 13:58:05 raspberry systemd[1]: Stopping Service for snap application nextcloud.redis-server...
Feb 01 13:58:06 raspberry systemd[1]: snap.nextcloud.redis-server.service: Deactivated successfully.
Feb 01 13:58:06 raspberry systemd[1]: Stopped Service for snap application nextcloud.redis-server.
Feb 01 13:58:06 raspberry systemd[1]: snap.nextcloud.redis-server.service: Consumed 5.844s CPU time.
Feb 01 14:07:05 raspberry systemd[1]: Started Service for snap application nextcloud.redis-server.
Feb 01 14:07:10 raspberry nextcloud.redis-server[41814]: 41814:C 01 Feb 2024 14:07:10.733 # Reading config from stdin
```
### Error log
```
41814:C 01 Feb 2024 14:07:10.735 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
41814:C 01 Feb 2024 14:07:10.735 # Redis version=6.2.14, bits=64, commit=fa756862, modified=0, pid=41814, just started
41814:C 01 Feb 2024 14:07:10.735 # Configuration loaded
41814:M 01 Feb 2024 14:07:10.737 * Increased maximum number of open files to 10032 (it was originally set to 1024).
41814:M 01 Feb 2024 14:07:10.737 * monotonic clock: POSIX clock_gettime
41814:M 01 Feb 2024 14:07:10.739 * Running mode=standalone, port=0.
41814:M 01 Feb 2024 14:07:10.739 # Server initialized
41814:M 01 Feb 2024 14:07:10.739 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
41814:M 01 Feb 2024 14:07:10.743 * The server is now ready to accept connections at /tmp/sockets/redis.sock
41814:M 01 Feb 2024 14:18:14.935 * 10 changes in 300 seconds. Saving...
41814:M 01 Feb 2024 14:18:14.937 * Background saving started by pid 71586
71586:C 01 Feb 2024 14:18:14.945 * DB saved on disk
71586:C 01 Feb 2024 14:18:14.946 * RDB: 0 MB of memory used by copy-on-write
41814:M 01 Feb 2024 14:18:15.038 * Background saving terminated with success
41814:M 01 Feb 2024 14:23:16.075 * 10 changes in 300 seconds. Saving...
41814:M 01 Feb 2024 14:23:16.077 * Background saving started by pid 72468
72468:C 01 Feb 2024 14:23:16.091 * DB saved on disk
72468:C 01 Feb 2024 14:23:16.092 * RDB: 0 MB of memory used by copy-on-write
41814:M 01 Feb 2024 14:23:16.178 * Background saving terminated with success
41814:M 01 Feb 2024 14:34:34.223 * 10 changes in 300 seconds. Saving...
41814:M 01 Feb 2024 14:34:34.224 * Background saving started by pid 74696
74696:C 01 Feb 2024 14:34:34.234 * DB saved on disk
74696:C 01 Feb 2024 14:34:34.236 * RDB: 0 MB of memory used by copy-on-write
41814:M 01 Feb 2024 14:34:34.325 * Background saving terminated with success
```
</p>
</details>
<details>
<summary>Certificate Renewer</summary>
<p>
### Status
```
β snap.nextcloud.renew-certs.service - Service for snap application nextcloud.renew-certs
Loaded: loaded (/etc/systemd/system/snap.nextcloud.renew-certs.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2024-02-01 14:07:05 CET; 28min ago
Main PID: 41538 (renew-certs)
Tasks: 2 (limit: 9189)
Memory: 12.9M
CPU: 10.392s
CGroup: /system.slice/snap.nextcloud.renew-certs.service
ββ41538 /bin/sh /snap/nextcloud/39216/bin/renew-certs
ββ42746 sleep 1d
Feb 01 14:07:05 raspberry systemd[1]: Started Service for snap application nextcloud.renew-certs.
Feb 01 14:07:23 raspberry nextcloud.renew-certs[41788]: Saving debug log to /var/snap/nextcloud/current/certs/certbot/logs/letsencrypt.log
Feb 01 14:07:23 raspberry nextcloud.renew-certs[41788]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Feb 01 14:07:23 raspberry nextcloud.renew-certs[41788]: No renewals were attempted.
Feb 01 14:07:23 raspberry nextcloud.renew-certs[41788]: No hooks were run.
Feb 01 14:07:23 raspberry nextcloud.renew-certs[41788]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
```
### Journal
```
Jan 21 12:17:45 raspberry systemd[1]: Started Service for snap application nextcloud.renew-certs.
Jan 21 12:18:05 raspberry nextcloud.renew-certs[12167]: Saving debug log to /var/snap/nextcloud/current/certs/certbot/logs/letsencrypt.log
Jan 21 12:18:05 raspberry nextcloud.renew-certs[12167]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Jan 21 12:18:05 raspberry nextcloud.renew-certs[12167]: No renewals were attempted.
Jan 21 12:18:05 raspberry nextcloud.renew-certs[12167]: No hooks were run.
Jan 21 12:18:05 raspberry nextcloud.renew-certs[12167]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Jan 22 12:18:09 raspberry nextcloud.renew-certs[274492]: Saving debug log to /var/snap/nextcloud/current/certs/certbot/logs/letsencrypt.log
Jan 22 12:18:09 raspberry nextcloud.renew-certs[274492]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Jan 22 12:18:09 raspberry nextcloud.renew-certs[274492]: No renewals were attempted.
Jan 22 12:18:09 raspberry nextcloud.renew-certs[274492]: No hooks were run.
Jan 22 12:18:09 raspberry nextcloud.renew-certs[274492]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-- Boot 21e28a088ec7449fb62fa1dbf5863a83 --
Jan 23 19:20:34 raspberry systemd[1]: Started Service for snap application nextcloud.renew-certs.
Jan 23 19:21:05 raspberry nextcloud.renew-certs[1749]: Saving debug log to /var/snap/nextcloud/current/certs/certbot/logs/letsencrypt.log
Jan 23 19:21:05 raspberry nextcloud.renew-certs[1749]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Jan 23 19:21:05 raspberry nextcloud.renew-certs[1749]: No renewals were attempted.
Jan 23 19:21:05 raspberry nextcloud.renew-certs[1749]: No hooks were run.
Jan 23 19:21:05 raspberry nextcloud.renew-certs[1749]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Jan 24 19:21:09 raspberry nextcloud.renew-certs[187350]: Saving debug log to /var/snap/nextcloud/current/certs/certbot/logs/letsencrypt.log
Jan 24 19:21:09 raspberry nextcloud.renew-certs[187350]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Jan 24 19:21:09 raspberry nextcloud.renew-certs[187350]: No renewals were attempted.
Jan 24 19:21:09 raspberry nextcloud.renew-certs[187350]: No hooks were run.
Jan 24 19:21:09 raspberry nextcloud.renew-certs[187350]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Jan 25 19:21:13 raspberry nextcloud.renew-certs[368855]: Saving debug log to /var/snap/nextcloud/current/certs/certbot/logs/letsencrypt.log
Jan 25 19:21:13 raspberry nextcloud.renew-certs[368855]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Jan 25 19:21:13 raspberry nextcloud.renew-certs[368855]: No renewals were attempted.
Jan 25 19:21:13 raspberry nextcloud.renew-certs[368855]: No hooks were run.
Jan 25 19:21:13 raspberry nextcloud.renew-certs[368855]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Jan 26 19:21:18 raspberry nextcloud.renew-certs[839442]: Saving debug log to /var/snap/nextcloud/current/certs/certbot/logs/letsencrypt.log
Jan 26 19:21:18 raspberry nextcloud.renew-certs[839442]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Jan 26 19:21:18 raspberry nextcloud.renew-certs[839442]: No renewals were attempted.
Jan 26 19:21:18 raspberry nextcloud.renew-certs[839442]: No hooks were run.
Jan 26 19:21:18 raspberry nextcloud.renew-certs[839442]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Jan 27 19:21:22 raspberry nextcloud.renew-certs[1387330]: Saving debug log to /var/snap/nextcloud/current/certs/certbot/logs/letsencrypt.log
Jan 27 19:21:22 raspberry nextcloud.renew-certs[1387330]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Jan 27 19:21:22 raspberry nextcloud.renew-certs[1387330]: No renewals were attempted.
Jan 27 19:21:22 raspberry nextcloud.renew-certs[1387330]: No hooks were run.
Jan 27 19:21:22 raspberry nextcloud.renew-certs[1387330]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Jan 28 19:21:26 raspberry nextcloud.renew-certs[1583194]: Saving debug log to /var/snap/nextcloud/current/certs/certbot/logs/letsencrypt.log
Jan 28 19:21:26 raspberry nextcloud.renew-certs[1583194]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Jan 28 19:21:26 raspberry nextcloud.renew-certs[1583194]: No renewals were attempted.
Jan 28 19:21:26 raspberry nextcloud.renew-certs[1583194]: No hooks were run.
Jan 28 19:21:26 raspberry nextcloud.renew-certs[1583194]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Jan 29 19:21:30 raspberry nextcloud.renew-certs[1772953]: Saving debug log to /var/snap/nextcloud/current/certs/certbot/logs/letsencrypt.log
Jan 29 19:21:30 raspberry nextcloud.renew-certs[1772953]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Jan 29 19:21:30 raspberry nextcloud.renew-certs[1772953]: No renewals were attempted.
Jan 29 19:21:30 raspberry nextcloud.renew-certs[1772953]: No hooks were run.
Jan 29 19:21:30 raspberry nextcloud.renew-certs[1772953]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Jan 30 19:21:34 raspberry nextcloud.renew-certs[1962634]: Saving debug log to /var/snap/nextcloud/current/certs/certbot/logs/letsencrypt.log
Jan 30 19:21:34 raspberry nextcloud.renew-certs[1962634]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Jan 30 19:21:34 raspberry nextcloud.renew-certs[1962634]: No renewals were attempted.
Jan 30 19:21:34 raspberry nextcloud.renew-certs[1962634]: No hooks were run.
Jan 30 19:21:34 raspberry nextcloud.renew-certs[1962634]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-- Boot 6d146a4c27294e08877c12a5790abf50 --
Jan 31 21:13:18 raspberry systemd[1]: Started Service for snap application nextcloud.renew-certs.
Jan 31 21:13:52 raspberry nextcloud.renew-certs[1653]: Saving debug log to /var/snap/nextcloud/current/certs/certbot/logs/letsencrypt.log
Jan 31 21:13:52 raspberry nextcloud.renew-certs[1653]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Jan 31 21:13:52 raspberry nextcloud.renew-certs[1653]: No renewals were attempted.
Jan 31 21:13:52 raspberry nextcloud.renew-certs[1653]: No hooks were run.
Jan 31 21:13:52 raspberry nextcloud.renew-certs[1653]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-- Boot a56a6619f4464fb8883df19218166595 --
Feb 01 13:37:34 raspberry systemd[1]: Started Service for snap application nextcloud.renew-certs.
Feb 01 13:37:55 raspberry nextcloud.renew-certs[8211]: Saving debug log to /var/snap/nextcloud/current/certs/certbot/logs/letsencrypt.log
Feb 01 13:37:55 raspberry nextcloud.renew-certs[8211]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Feb 01 13:37:55 raspberry nextcloud.renew-certs[8211]: No renewals were attempted.
Feb 01 13:37:55 raspberry nextcloud.renew-certs[8211]: No hooks were run.
Feb 01 13:37:55 raspberry nextcloud.renew-certs[8211]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Feb 01 13:39:36 raspberry systemd[1]: Stopping Service for snap application nextcloud.renew-certs...
Feb 01 13:39:36 raspberry systemd[1]: snap.nextcloud.renew-certs.service: Deactivated successfully.
Feb 01 13:39:36 raspberry systemd[1]: Stopped Service for snap application nextcloud.renew-certs.
Feb 01 13:39:36 raspberry systemd[1]: snap.nextcloud.renew-certs.service: Consumed 11.726s CPU time.
Feb 01 13:40:29 raspberry systemd[1]: Started Service for snap application nextcloud.renew-certs.
Feb 01 13:40:50 raspberry nextcloud.renew-certs[15396]: Saving debug log to /var/snap/nextcloud/current/certs/certbot/logs/letsencrypt.log
Feb 01 13:40:50 raspberry nextcloud.renew-certs[15396]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Feb 01 13:40:50 raspberry nextcloud.renew-certs[15396]: No renewals were attempted.
Feb 01 13:40:50 raspberry nextcloud.renew-certs[15396]: No hooks were run.
Feb 01 13:40:50 raspberry nextcloud.renew-certs[15396]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Feb 01 13:42:32 raspberry systemd[1]: Stopping Service for snap application nextcloud.renew-certs...
Feb 01 13:42:32 raspberry systemd[1]: snap.nextcloud.renew-certs.service: Deactivated successfully.
Feb 01 13:42:32 raspberry systemd[1]: Stopped Service for snap application nextcloud.renew-certs.
Feb 01 13:42:32 raspberry systemd[1]: snap.nextcloud.renew-certs.service: Consumed 11.127s CPU time.
Feb 01 13:43:25 raspberry systemd[1]: Started Service for snap application nextcloud.renew-certs.
Feb 01 13:43:45 raspberry nextcloud.renew-certs[22478]: Saving debug log to /var/snap/nextcloud/current/certs/certbot/logs/letsencrypt.log
Feb 01 13:43:45 raspberry nextcloud.renew-certs[22478]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Feb 01 13:43:45 raspberry nextcloud.renew-certs[22478]: No renewals were attempted.
Feb 01 13:43:45 raspberry nextcloud.renew-certs[22478]: No hooks were run.
Feb 01 13:43:45 raspberry nextcloud.renew-certs[22478]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Feb 01 13:58:06 raspberry systemd[1]: Stopping Service for snap application nextcloud.renew-certs...
Feb 01 13:58:06 raspberry systemd[1]: snap.nextcloud.renew-certs.service: Deactivated successfully.
Feb 01 13:58:06 raspberry systemd[1]: Stopped Service for snap application nextcloud.renew-certs.
Feb 01 13:58:06 raspberry systemd[1]: snap.nextcloud.renew-certs.service: Consumed 10.958s CPU time.
Feb 01 14:07:05 raspberry systemd[1]: Started Service for snap application nextcloud.renew-certs.
Feb 01 14:07:23 raspberry nextcloud.renew-certs[41788]: Saving debug log to /var/snap/nextcloud/current/certs/certbot/logs/letsencrypt.log
Feb 01 14:07:23 raspberry nextcloud.renew-certs[41788]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Feb 01 14:07:23 raspberry nextcloud.renew-certs[41788]: No renewals were attempted.
Feb 01 14:07:23 raspberry nextcloud.renew-certs[41788]: No hooks were run.
Feb 01 14:07:23 raspberry nextcloud.renew-certs[41788]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
```
</p>
</details>
Body too long : https://pastebin.com/Ad3v8L2t