Nextcloudpi -> howto reuse old database?

hi there,
while upgrading my odroid #hc2 to #bullseye I totally destroyed my nextcloudpi setup an spent some horrible days trying to bring it back againā€¦ without success :frowning:

I ended up reinstalling the last build for my board and ā€œreinsertingā€ my old data directory an got my data back. :+1:
Unfortunately, I am still missing my (shared) calendars and contacts an donā€™t know how to ā€œreconnectā€ my old database, which resides in

/media/hdd/nextcloud-database/

Any suggestions, how to reuse my old database as a database-noob?

PS: I already tried Bernies script [https://codeberg.org/BernieO/calcardbackup](https://codeberg.org/BernieO/calcardbackup) with a nextcloud_dummy on my local machine, without success:

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+

  • Wed 14 Dec 2022 08:29:46 PM CET ā†’ START calcardbackup ver. 5.0.0 (06.11.2022), AGPL-3.0
  • Checking dependencies and preparingā€¦
  • no usersfile given:
  • - will fetch all available items from database
    
  • Using URL: https://nextcloud-hc2
  • canā€™t read status.php (cURL code ā€˜6ā€™).
  • Nextcloud 21.0.4 detected.
  • Database of chosen Nextcloud installation is MySQL/MariaDB.
  • Looking for calendars in your Nextcloud:
    ERROR 2002 (HY000): Canā€™t connect to local MySQL server through socket ā€˜/run/mysqld/mysqld.sockā€™ (2)
    ā€“ calcardbackup: ERROR ā€“
    ā€“ Database connection could not be established!
    ā€“ removing temporary filesā€¦
    ā€“ calcardbackup: Exiting.