Unable to author block in slot. No best block header: Chain lookup failed: Failed to get header for hash

2022-06-12 01:03:25 [PrimaryChain] Unable to author block in slot. No best block header: Chain lookup failed: Failed to get header for hash 0x0352…e1c9


If we take a look at the error from the farmer we can see that the farmer does not have permission to write to the file at /root/.local/share/subspace-farmer/object-mappings/

So the farmer is having issues writing to the plot, which is then causing the node to give an error that your farmer was unable to author block in slot x because it cant write slot x.

This is likely caused by

  1. some kind of permission error with the user permission on the install
  2. some permission issue with the exact folders being used (user could try setting custom paths for farmer & node)
  3. some kind of permission issue with SystemD which it appears the user is using, i would also suggest they refer to the community script creator for the SystemD install, as this is an unofficial route.