Hasher with GDrive backend does not return SHA1 & SHA256 for old files

Hi @nielash ,

Yes. this fixes the issue. It's now returning hash from backend when hash is missing from the server.

~/rclone.fix/rclone$ ./rclone --version
rclone v1.66.0-DEV
- os/version: ubuntu 23.10 (64 bit)
- os/kernel: 6.5.0-1015-oracle (aarch64)
- os/type: linux
- os/arch: arm64 (ARMv8 compatible)
- go/version: go1.21.1
- go/linking: dynamic
- go/tags: none
~/rclone.fix/rclone$ ./rclone lsjson --hash 'gdhash:/Google Photos/2013/_2.jpeg'
[
{"Path":"_2.jpeg","Name":"_2.jpeg","Size":165206,"MimeType":"image/jpeg","ModTime":"2014-07-07T00:06:00.000Z","IsDir":false,"Hashes":{"md5":"03c6c126c60cc85620e77757ea538550","sha1":"8391e852a8da44f5b8df99149314dd95a3cb36d4","sha256":"963df079beaefcddbb94aa43d65b1eea51d21e2c045d3c1b3921cf6097351018","whirlpool":"1990038b3b8c61ff8acd4c7fa1073562dc7fd03760e0040b5c7f94a2f6b2da1730e542b1a2e3d7bcb6288efa0c898853f40083d8c90163334b5d62e6580d8290"},"ID":"1_wNymqIvOgZL2UT-dqdsLvubqmMwsvtROg"}
]
2024/02/22 12:22:40 Failed to lsjson: database stopped

Separate question, do you have any idea about the last line?

2024/02/22 12:22:40 Failed to lsjson: database stopped

No matter what commmand I run, hasher will return

Failed to <<command>>: database stopped