a forum search should break the bad news...
calibre is not designed to work on NAS and errors like that are what will happen
hope you kept the receipt

by all means have a mirrored copy on NAS but do your adds and edits on a local drive
same goes for any cloud drive you may be considering.
I am not aware of any future plans to make calibre play nice with NAS, but I could be wrong