Everything is "Down" after reboot

The title sums up my problem. After i rebooted my instance of nextcloudpi Mariadb, Redis.service, and postfix.service are all down, Nexcloud check returned “error” and ports 80 and 443 are now closed.

An attempt to restart mariadb was unsuccessful and systemctl status mariadb.service returns:

mariadb.service - MariaDB 10.1.41 database server
Loaded: loaded (/etc/systemd/system/mariadb.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/mariadb.service.d
└─ncp-delay-automount.conf
Active: activating (start-pre) since Sat 2021-10-30 19:19:14 UTC; 21s ago
Docs: man:mysqld(8)
systemd - MariaDB Knowledge Base
Process: 24687 ExecStart=/usr/sbin/mysqld $MYSQLD_OPTS $_WSREP_NEW_CLUSTER $_WSREP_START_POSITION (code=exited, status=1/FAILURE)
Process: 24736 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR= || VAR=/usr/bin/galera_recovery; [ $? -eq 0 ] && systemctl set-environ
Process: 24716 ExecStartPre=/bin/sleep 20 (code=exited, status=0/SUCCESS)
Process: 24712 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
Process: 24710 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, status=0/SUCCESS)
Main PID: 24687 (code=exited, status=1/FAILURE); Control PID: 24940 (sleep)
CGroup: /system.slice/mariadb.service
└─control
└─24940 /bin/sleep 20

systemctl status redis.service returns:

redis-server.service - Advanced key-value store
Loaded: loaded (/lib/systemd/system/redis-server.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2021-10-30 18:02:59 UTC; 1h 42min ago
Docs: http://redis.io/documentation,
man:redis-server(1)

Oct 30 18:02:59 nextcloudpi systemd[1]: redis-server.service: Unit entered failed state.
Oct 30 18:02:59 nextcloudpi systemd[1]: redis-server.service: Failed with result ‘exit-code’.
Oct 30 18:02:59 nextcloudpi systemd[1]: redis-server.service: Service hold-off time over, scheduling restart.
Oct 30 18:02:59 nextcloudpi systemd[1]: Stopped Advanced key-value store.
Oct 30 18:02:59 nextcloudpi systemd[1]: redis-server.service: Start request repeated too quickly.
Oct 30 18:02:59 nextcloudpi systemd[1]: Failed to start Advanced key-value store.
Oct 30 18:02:59 nextcloudpi systemd[1]: redis-server.service: Unit entered failed state.
Oct 30 18:02:59 nextcloudpi systemd[1]: redis-server.service: Failed with result ‘exit-code’.

and systemctl status postfix.service returns:

postfix.service - Postfix Mail Transport Agent
Loaded: loaded (/lib/systemd/system/postfix.service; enabled; vendor preset: enabled)
Active: active (exited) since Wed 2021-08-04 17:17:36 UTC; 2 months 26 days ago
Main PID: 1765 (code=exited, status=0/SUCCESS)
CGroup: /system.slice/postfix.service

even thought it still lists as down on ncp-report returns errors.

Also, an attempt to update nextcloud was profoundly unsuccessful. From an SSH instance i attempted to upgrade the Distro (ncp-distr-upgrade) which returned either signature verification errors or 404 errors saying that “https://packages.sury.org…” was not found.

I frankly wouldn’t give a f*** if i have to start fresh if it wasn’t for my contact data from my phone being backed-up to my NCP server and my phone was recently ruined so now i need to recover the data.

Any help is truly appreciated.

1 Like

What about apache2?

It seems to have loaded correctly, thought–as you can see–i did restart it for giggles.

● apache2.service - The Apache HTTP Server

Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor pres

Active: active (running) since Sun 2021-10-31 20:38:23 UTC; 4s ago

Process: 24093 ExecStop=/usr/sbin/apachectl stop (code=exited, status=0/SU

Process: 24100 ExecStart=/usr/sbin/apachectl start (code=exited, status=0/

Main PID: 24104 (apache2)

CGroup: /system.slice/apache2.service

       ├─24104 /usr/sbin/apache2 -k start 

       ├─24105 /usr/sbin/apache2 -k start 

       └─24106 /usr/sbin/apache2 -k start 

Oct 31 20:38:21 nextcloudpi systemd[1]: Starting The Apache HTTP Server…

Oct 31 20:38:23 nextcloudpi systemd[1]: Started The Apach e HTTP Server.