Nc-snapshot-auto won't create snapshots

Nextcloud version: 24.0.5.1
NextCloudPi version: v1.50.4
Operating system and version: Debian 11
PHP version: 8.1.13

My NextCloudPi installation won’t create automatic snapshots with I activated in nc-snapshot-auto. /var/mail/root regularly shows the following error:

/etc/cron.hourly/btrfs-snp: Zeile 2: get_nc_config_value: Kommando nicht gefunden.
Error reading data directory. Is NextCloud running and configured?
run-parts: /etc/cron.hourly/btrfs-snp exited with return code 1

The error seems to be in that get_nc_config_value call, which can’t be processed.

Meanwhile manual snapshots by nc-snapshot work fine.

For some reason the problem has solved itself before any Nextcloud or NCP update.