Using a Library from a cloud is unsupported and hazardous to its integrity
See Calibre FAQ's about (and everything

else) About NAS and shares issues.
Calibre is designed for Local Drive only. It is safe to keep a backup in the cloud (except Google drive, unless it is zipped first)