NCP update 17.0.3 to 18.0.1 90-ncp.cnf: No such file, dbdir (doesn't exist)

Hi,

today I tried the update from 17.0.3 to 18.0.1 using ncp-config. It broke.

Web access shows me:

Internal Server Error

I can still access ncp-config using SSH. nc-info shows:

Running nc-info
Gathering information...
grep: /etc/mysql/mariadb.conf.d/90-ncp.cnf: No such file or directory
NextCloudPi version  v1.21.0
NextCloudPi image    NextCloudPi_06-20-18
distribution         Debian GNU/Linux 10 \n \l
automount            yes
USB devices          sda sdb 
datadir              /srv/data/ncdata
data in SD           no
data filesystem      ext2/ext3
data disk usage      134G/916G
rootfs usage         4.9G/29G
swapfile             /var/swap
dbdir                 (doesn't exist)
Nextcloud check      error
HTTPD service        up
PHP service          up
MariaDB service      up
Redis service        down
Postfix service      up
internet check       ok
port check 80        closed
port check 443       closed
IP                   192.168.178.70
gateway              192.168.178.1
interface            enx001e063262e4
certificates         none
NAT loopback         no
uptime               1day


You should run Lets Encrypt for trusted encrypted access

You should open your ports for Lets Encrypt and external access
Done. Press any key...

$ls /etc/mysql/mariadb.conf.d:

50-client.cnf  50-mysql-clients.cnf  50-mysqld_safe.cnf  50-server.cnf  50-server.cnf.dpkg-dist  91-ncp.cnf

Any Ideas what I can do?

Best

try

sudo systemctl start redis.service

or reboot

Thanks Oliver!

That seems to be the problem:

Even after a reboot I get:

~$ systemctl status redis-server.service

● 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 Thu 2020-03-12 13:19:55 CET; 3min 16s ago
     Docs: http://redis.io/documentation,
           man:redis-server(1)
  Process: 11874 ExecStart=/usr/bin/redis-server /etc/redis/redis.conf (code=exited, status=1/FAILURE)

Mär 12 13:19:55 homecloud systemd[1]: redis-server.service: Service RestartSec=100ms expired, scheduling restart.
Mär 12 13:19:55 homecloud systemd[1]: redis-server.service: Scheduled restart job, restart counter is at 5.
Mär 12 13:19:55 homecloud systemd[1]: Stopped Advanced key-value store.
Mär 12 13:19:55 homecloud systemd[1]: redis-server.service: Start request repeated too quickly.
Mär 12 13:19:55 homecloud systemd[1]: redis-server.service: Failed with result 'exit-code'.
Mär 12 13:19:55 homecloud systemd[1]: Failed to start Advanced key-value store.

$ sudo systemctl start redis.service

Job for redis-server.service failed because the control process exited with error code.
See "systemctl status redis-server.service" and "journalctl -xe" for details.

fix:
sudo chown -R redis:redis /var/log/redis

worked

but still:

grep: /etc/mysql/mariadb.conf.d/90-ncp.cnf: No such file or directory
...
dbdir                 (doesn't exist)