I have used Cloudron to host my Apache guacamole for a couple of years now and I had issues a few days ago where it stopped working.
I got Cloudron to start working again but now 2 services in Cloudron won't run Mail and Unbound. I have dug through a bunch of posts already and nothing seems to fix it. I did notice that when trying to use curl or download new packages with apt also fails.
Here is the log for unbound:
May 18 15:54:59 ubuntuguac systemd[1]: unbound.service: Scheduled restart job, restart counter is at 4.
May 18 15:54:59 ubuntuguac systemd[1]: Stopped Unbound DNS Resolver.
May 18 15:54:59 ubuntuguac systemd[1]: Starting Unbound DNS Resolver...
May 18 15:54:59 ubuntuguac unbound[42411]: [42411:0] notice: init module 0: subnet
May 18 15:54:59 ubuntuguac unbound[42411]: [42411:0] notice: init module 1: validator
May 18 15:54:59 ubuntuguac unbound[42411]: [42411:0] error: failed to read /var/lib/unbound/root.key
May 18 15:54:59 ubuntuguac unbound[42411]: [42411:0] error: error reading auto-trust-anchor-file: /var/lib/unbound/root.key
May 18 15:54:59 ubuntuguac unbound[42411]: [42411:0] error: validator: error in trustanchors config
May 18 15:54:59 ubuntuguac unbound[42411]: [42411:0] error: validator: could not apply configuration settings.
May 18 15:54:59 ubuntuguac unbound[42411]: [42411:0] error: module init for module validator failed
May 18 15:54:59 ubuntuguac unbound[42411]: [42411:0] fatal error: failed to setup modules
May 18 15:54:59 ubuntuguac systemd[1]: unbound.service: Main process exited, code=exited, status=1/FAILURE
May 18 15:54:59 ubuntuguac systemd[1]: unbound.service: Failed with result 'exit-code'.
May 18 15:54:59 ubuntuguac systemd[1]: Failed to start Unbound DNS Resolver.
May 18 15:54:59 ubuntuguac systemd[1]: unbound.service: Scheduled restart job, restart counter is at 5.
May 18 15:54:59 ubuntuguac systemd[1]: Stopped Unbound DNS Resolver.
May 18 15:54:59 ubuntuguac systemd[1]: unbound.service: Start request repeated too quickly.
May 18 15:54:59 ubuntuguac systemd[1]: unbound.service: Failed with result 'exit-code'.
May 18 15:54:59 ubuntuguac systemd[1]: Failed to start Unbound DNS Resolver.
Here is the log for Mail:
May 17 22:32:34 mv: cannot stat '/app/data/haraka-config/*.*access*': No such file or directory
May 17 22:32:34 setup_dovecot: Changing ownership
May 17 22:32:34 setup_haraka: Copying config template
May 17 22:32:34 setup_solr: Solr FTS is disabled
May 17 22:32:34 setup_spamd: Changing ownership
May 17 22:32:37 2024-05-18 03:32:37,880 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message.
May 17 22:32:37 2024-05-18 03:32:37,881 INFO Included extra file "/etc/supervisor/conf.d/dovecot.conf" during parsing
May 17 22:32:37 2024-05-18 03:32:37,881 INFO Included extra file "/etc/supervisor/conf.d/haraka.conf" during parsing
May 17 22:32:37 2024-05-18 03:32:37,881 INFO Included extra file "/etc/supervisor/conf.d/mail-service.conf" during parsing
May 17 22:32:37 2024-05-18 03:32:37,881 INFO Included extra file "/etc/supervisor/conf.d/redis.conf" during parsing
May 17 22:32:37 2024-05-18 03:32:37,881 INFO Included extra file "/etc/supervisor/conf.d/solr.conf" during parsing
May 17 22:32:37 2024-05-18 03:32:37,881 INFO Included extra file "/etc/supervisor/conf.d/spamd.conf" during parsing
May 17 22:32:37 2024-05-18 03:32:37,899 CRIT Server 'inet_http_server' running without any HTTP authentication checking
May 17 22:32:37 2024-05-18 03:32:37,899 CRIT Server 'unix_http_server' running without any HTTP authentication checking
May 17 22:32:37 2024-05-18 03:32:37,899 INFO RPC interface 'supervisor' initialized
May 17 22:32:37 2024-05-18 03:32:37,899 INFO RPC interface 'supervisor' initialized
May 17 22:32:37 2024-05-18 03:32:37,900 INFO supervisord started with pid 1
May 17 22:32:37 Starting supervisor
May 17 22:32:38 2024-05-18 03:32:38,903 INFO spawned: 'dovecot' with pid 61
May 17 22:32:38 2024-05-18 03:32:38,914 INFO spawned: 'haraka' with pid 62
May 17 22:32:38 2024-05-18 03:32:38,917 INFO spawned: 'mail-service' with pid 63
May 17 22:32:38 2024-05-18 03:32:38,954 INFO spawned: 'redis' with pid 64
May 17 22:32:38 2024-05-18 03:32:38,959 INFO spawned: 'spamd' with pid 65
May 17 22:32:39 64:C 18 May 2024 03:32:39.373 # Redis version=5.0.7, bits=64, commit=00000000, modified=0, pid=64, just started
May 17 22:32:39 64:C 18 May 2024 03:32:39.373 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
May 17 22:32:39 64:C 18 May 2024 03:32:39.374 # Configuration loaded
May 17 22:32:39 64:M 18 May 2024 03:32:39.464 * Running mode=standalone, port=6379.
May 17 22:32:39 64:M 18 May 2024 03:32:39.465 # Server initialized
May 17 22:32:39 64:M 18 May 2024 03:32:39.465 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. 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.
May 17 22:32:39 64:M 18 May 2024 03:32:39.465 * Ready to accept connections
May 17 22:32:39 Warning: service anvil { client_limit=1000 } is lower than required under max. load (1203)
May 17 22:32:39 Warning: service auth { client_limit=1000 } is lower than required under max. load (1300)
May 17 22:32:39 doveconf: Warning: service anvil { client_limit=1000 } is lower than required under max. load (1203)
May 17 22:32:39 doveconf: Warning: service auth { client_limit=1000 } is lower than required under max. load (1300)
May 17 22:32:40 2024-05-18 03:32:40,619 INFO success: dovecot entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
May 17 22:32:40 2024-05-18 03:32:40,620 INFO success: haraka entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
May 17 22:32:40 2024-05-18 03:32:40,620 INFO success: mail-service entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
May 17 22:32:40 2024-05-18 03:32:40,620 INFO success: redis entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
May 17 22:32:40 2024-05-18 03:32:40,620 INFO success: spamd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
May 17 22:32:42 1=1487
May 17 22:32:42 2=8571
May 17 22:32:42 3=2448
May 17 22:32:42 loaded 9459 Public Suffixes
May 17 22:32:42 loaded TLD files:
May 17 22:32:47 Mail service endpoint listening on http://:::3000
May 17 22:32:48 Starting up Haraka version 2.8.28
May 17 22:32:48 [INFO] [-] [cloudron] Initializing queue server on port 6000
May 17 22:32:48 [INFO] [-] [core] Creating TLS server on [::0]:2465
May 17 22:32:48 [INFO] [-] [core] Loading plugin: cloudron
May 17 22:32:48 [INFO] [-] [core] Loading plugin: delay_deny
May 17 22:32:48 [INFO] [-] [core] Loading plugin: dkim_sign
May 17 22:32:48 [INFO] [-] [core] Loading plugin: dnsbl
May 17 22:32:48 [INFO] [-] [core] Loading plugin: headers
May 17 22:32:48 [INFO] [-] [core] Loading plugin: helo.checks
May 17 22:32:48 [INFO] [-] [core] Loading plugin: limit
May 17 22:32:48 [INFO] [-] [core] Loading plugin: queue/smtp_forward
May 17 22:32:48 [INFO] [-] [core] Loading plugin: rcpt_to.in_host_list
May 17 22:32:48 [INFO] [-] [core] Loading plugin: spamassassin
May 17 22:32:48 [INFO] [-] [core] Loading plugin: spf
May 17 22:32:48 [INFO] [-] [core] Loading plugin: tls
May 17 22:32:48 [INFO] [-] [core] Loading plugins
May 17 22:32:48 [INFO] [-] [core] [outbound] Loading outbound queue from /app/data/haraka-queue
May 17 22:32:48 [INFO] [-] [core] [outbound] Loading the queue...
May 17 22:32:48 [INFO] [-] [core] [outbound] [pid: undefined] 0 files in my delivery queue
May 17 22:32:48 [INFO] [-] [core] [outbound] [pid: undefined] 0 files in my load queue
May 17 22:32:48 [INFO] [-] [core] [outbound] [pid: undefined] 0 files in my temp fail queue
May 17 22:32:48 [INFO] [-] [core] getting SocketOpts for SMTPS server
May 17 22:32:48 [INFO] [-] [core] loading tls.ini
May 17 22:32:48 [INFO] [-] [limit] connected to redis://127.0.0.1:6379/4
May 17 22:32:48 [NOTICE] [-] [core] Listening on [::0]:2465
May 17 22:32:48 [NOTICE] [-] [core] Listening on [::0]:2525
May 17 22:32:48 [NOTICE] [-] [core] Listening on [::0]:2587
May 17 22:32:48 log format: DEFAULT
May 17 22:32:48 loglevel: INFO
May 17 22:32:58 2024-05-18 03:32:58,828 WARN received SIGTERM indicating exit request
May 17 22:32:58 2024-05-18 03:32:58,838 INFO waiting for dovecot, haraka, mail-service, redis, spamd to die
May 17 22:32:58 2024-05-18 03:32:58,936 INFO stopped: spamd (exit status 0)
May 17 22:32:59 2024-05-18 03:32:59,975 INFO stopped: redis (exit status 0)
May 17 22:32:59 2024-05-18 03:32:59,980 INFO stopped: mail-service (terminated by SIGTERM)
May 17 22:32:59 2024-05-18 03:32:59,999 INFO stopped: haraka (terminated by SIGTERM)
May 17 22:32:59 64:M 18 May 2024 03:32:59.970 # Redis is now ready to exit, bye bye...
May 17 22:32:59 64:M 18 May 2024 03:32:59.970 # User requested shutdown...
May 17 22:32:59 64:signal-handler (1716003179) Received SIGTERM scheduling shutdown...
May 17 22:33:01 2024-05-18 03:33:01,097 INFO reaped unknown pid 81
May 17 22:33:01 2024-05-18 03:33:01,097 INFO stopped: dovecot (exit status 0)