MariaDB won't restart after update to version 10.2.31-lp151.2.12.1

After a

zypper up

cronjob, mariadb wouldn’t restart.

journalctl -xe

mentioned

Failed to normalize the argument for --secure-file-priv.
.

That argument is in my.cnf, with a valid path as value.
Removing that argument from my.cnf made mariadb start again, but I want the locations from where data can be imported limited to one directory.

Any suggestions on how to fix this?