Error: Database version cannot be read from existing db_version file

Please provide as much information as possible to help the community/ team resolve your issue quicker

I’ve been running the node and farmer via the executable binaries.

There have been no issues for a while now, after this past week I started seeing this error show up. Ive tried restarting my farmer and node, and computer with no luck.

2022-02-03 10:52:23 Subspace
2022-02-03 10:52:23 ✌️  version 0.1.0-35cf6f5-x86_64-macos
2022-02-03 10:52:23 ❤️  by Subspace Labs <>, 2021-2022
2022-02-03 10:52:23 📋 Chain specification: Subspace testnet
2022-02-03 10:52:23 🏷  Node name: YOUR_FANCY_NAME
2022-02-03 10:52:23 👤 Role: AUTHORITY
2022-02-03 10:52:23 💾 Database: RocksDb at /Users/X/Library/Application Support/subspace-node-x86_64-macos-11-snapshot-2022-jan-05/chains/subspace_test/db/full
2022-02-03 10:52:23 ⛓  Native runtime: subspace-100 (subspace-1.tx1.au1)
Error: SubspaceService(Sub(Client(Backend("Database version cannot be read from existing db_version file"))))

This error indicates a problem with a database upgrade, I would suggest to attempt to run the purge-chain --testnet command on your node terminal.

./NODE_FILE_NAME purge-chain --testnet

This will remove the local databse from the node and resync it from the network. This error can sometimes occur during forkless runtime upgrades.