As the title suggests, I moved my storj operations from my RPI3B to my RPI4 as I was having performance issues.
I’ve followed through the installation steps to make sure I didn’t miss anything.
I moved my identity over which seems okay.
I can run both the setup and docker run command but after running the latter I get this in the logs;
Error: Error starting master database on storagenode: database: file is not a database storj.io/storj/storagenode/storagenodedb.(*DB).openDatabase:323 storj.io/storj/storagenode/storagenodedb.(*DB).openExistingDatabase:305 storj.io/storj/storagenode/storagenodedb.(*DB).openDatabases:281 storj.io/storj/storagenode/storagenodedb.OpenExisting:248 main.cmdRun:160 storj.io/private/process.cleanup.func1.4:363 storj.io/private/process.cleanup.func1:381 github.com/spf13/cobra.(*Command).execute:852 github.com/spf13/cobra.(*Command).ExecuteC:960 github.com/spf13/cobra.(*Command).Execute:897 storj.io/private/process.ExecWithCustomConfig:88 storj.io/private/process.ExecCustomDebug:70 main.main:385 runtime.main:255
The only thing I changed in the setup command was the location of the data. I chose /mnt/storj instead.
Here it is for reference:
docker run --rm -e SETUP="true" \ --mount type=bind,source="/home/pi/.local/share/storj/identity/storagenode",destination=/app/identity \ --mount type=bind,source="/mnt/storj",destination=/app/config \ --name storagenode storjlabs/storagenode:latest
In the directory I noticed my folder is called storage rather than storagenode. Here is a overview of the /mnt/storj folder;
root@*******:/mnt/storj# ls configbackup2.yaml config.yaml notifications.db pricing.db secret.db storagebackup configbackup.yaml heldamount.db orders revocations.db storage trust-cache.json
One thing to note, my node has been down for around 14 days now as I’m only now getting the time to move it. Will this be a problem going forward or only for this month?
Thank’s in advance