Node crashes after restart

All DBs should be moved to the backup folder except the corrupted one. The corrupted one should be deleted.
But seems you deleted all databases instead, so the history is now gone. It’s not a problem and do not affect payouts.

This is because all databases were re-created, and there is no info about used space, so the node cannot start properly, because you do not have 500GB free on the disk.
This can be solved by adding/uncommenting option in the config.yaml file:

# how much disk space a node at minimum has to advertise (default 500.00 GB)
storage2.monitor.minimum-disk-space: 0B

Save the config and restart the node.
Or by adding it as a command line argument after the image name in your docker run command:

docker run ...
...
--name storagenode storjlabs/storagenode:latest \
--storage2.monitor.minimum-disk-space=0B

When the used-space-filewalker would finish its job, it will update databases with a correct values and after that you may comment out this option in the config.yaml file if you added/uncommented it before or remove that command line option from your docker run command.
You may check the progress of the filewalkers in your logs: