Server Offline. 3 Days

Hello! I had my server offline for almost 3 days. Started with a power outage, UPS failing and replacing a drive that took too long to copy all node files.
Now the server is started again, but it says offline.

  • Windows GUI
  • Both Services are running.
  • Tried restarting services and windows
  • Port is open. I have a fixed IP address.
  • I see process storagenode.exe “listing” files in directories (Screenshot1)

Screenshot1:

Screenshot2:

These are the only lines in log file with today date:

2020-07-13T08:23:47.147-0400	ERROR	orders	archiving orders	{"error": "ordersdb error: database is locked", "errorVerbose": "ordersdb error: database is locked\n\tstorj.io/storj/storagenode/storagenodedb.(*ordersDB).archiveOne:238\n\tstorj.io/storj/storagenode/storagenodedb.(*ordersDB).Archive:202\n\tstorj.io/storj/storagenode/orders.(*Service).handleBatches.func2:238\n\tstorj.io/storj/storagenode/orders.(*Service).handleBatches:255\n\tstorj.io/storj/storagenode/orders.(*Service).sendOrders.func1:189\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57"}
2020-07-13T08:28:02.127-0400	ERROR	orders	cleaning archive	{"error": "ordersdb error: context canceled", "errorVerbose": "ordersdb error: context canceled\n\tstorj.io/storj/storagenode/storagenodedb.(*ordersDB).CleanArchive:320\n\tstorj.io/storj/storagenode/orders.(*Service).cleanArchive:161\n\tstorj.io/storj/storagenode/orders.(*Service).Run.func2:146\n\tstorj.io/common/sync2.(*Cycle).Run:92\n\tstorj.io/common/sync2.(*Cycle).Start.func1:71\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57"}
2020-07-13T08:28:03.001-0400	ERROR	piecestore:cache	error getting current space used calculation: 	{"error": "context canceled; context canceled; context canceled; context canceled; context canceled; context canceled", "errorVerbose": "group:\n--- context canceled\n--- context canceled\n--- context canceled\n--- context canceled\n--- context canceled\n--- context canceled"}
2020-07-13T08:28:03.047-0400	FATAL	Unrecoverable error	{"error": "debug: http: Server closed", "errorVerbose": "debug: http: Server closed\n\tstorj.io/private/debug.(*Server).Run.func2:108\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57"}

Thanks for the help!

PD: I’m hoping that storj is like checking integrity or something and will eventually be online. And hopiong not to be disqualified for the offline time :frowning:

DQ for being offline is not in effect.

Check your identity location is correct. Also your contact.external-address in config.yaml should be staticIP:28967

Ok, same rookie mistake like most people.

I was using a DNS name (static) for the contact.external-address. That for my bad timing, that .com domain expired exactly during this time. :confused:
Replaced for another domain and is working

THANKS, sorry for the rookie error

1 Like