I had two virtual cloud machines with couchbase installed on it, and the data being shared between these two machines. They had to be shutdown due to a maintenance. The data was saved and new machines were started using the data.
I logged into one of them, and I tried “/etc/init.d/couchbase-server start” to get Couchbase running again. It gave me this error:
cp: cannot stat ‘/opt/couchbase/var/lib/couchbase/ip’: No such file or directory
So then I tried “sudo apt install couchbase-server”. It recognized I already have an installation (see 3rd screenshot), and tried to update Couchbase to the latest version, but would error out due to not being able to find ‘stats.json’ and ‘stats.json.old’. These files apparently got corrupt.
Same story for the other VM, but ‘stats.json.old’ got corrupted for a different bucket, and ‘stats.json’ is fine for that one.
So yeah, I got 3 corrupted files, 2 on one of the machines and 1 on the other machine. Also tried just removing everything, but these files are even preventing me from doing that.
Does anyone have any idea what I can do?