<div dir="ltr"><div>Hi, </div><div><br></div><div>"
The database is not valid: the "DBVersion" setting does not exist. The
current database schema version cannot be verified. Try to start with an
empty database."</div><div><br></div><div>I'm encountering the error above after trying to move the MariaDB database on my ubuntu server. The error popup occurs when I subsequently try to open the digikam application on Windows.<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">If I click OK on this pop up, it shows me the database configuration popup. Clicking the 'Check Connection' button confirms 'Database connection test successful.' Yet, if I click OK on the database configuration popup then it shows the DBVersion error popup again.</p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">How can I correct this? Or what is the recommended approach to move the database to a new location on the same server?</p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">The migration tool does not seem appropriate here because I'm moving the db from one directory to another on the same server, so the digikam client will still be connecting to the same backend with the same credentials.</p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">Brief overview of steps taken</p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">* Closed digikam client</p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">* stopped mariadb service on the server</p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">* rsync -aHAX to new location </p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">* checked mysql:mysql ownership</p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">* updated datadir location in /etc/mysql/mariadb.conf.d/50-server.cnf
* restart mariadb service</p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">Thanks</p></div><div><br></div><div><br></div></div>