Fail to initialize a scrubber check configuration
After updating the storage host in file /etc/softwareheritage/scrubber/storage_secondary.yml
on scrubber1
, I can't initialize a check configuration with this new datastore.
root@scrubber1:~# grep -wA2 storage /etc/softwareheritage/scrubber/storage_secondary.yml
storage:
cls: postgresql
db: host=massmoca.internal.softwareheritage.org port=5432 user=guest dbname=softwareheritage
root@scrubber1:~# swh scrubber --config-file /etc/softwareheritage/scrubber/storage_secondary.yml check init --object-type directory --nb-partitions 16384 --name check-config-directory
Error: Configuration check-config-directory already exists