Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 06-25-2020, 08:06 AM   #1
Chilipops
Member
Chilipops began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Apr 2018
Device: nook 3
Error Opening Database stored on a NAS - RESOLVED!

For those of you that run Calibre with your library stored on a Synology NAS, I thought I would post a problem with solution that I recently encountered. In short, in my configuration (Windows 10 PC running Calibre program with Calibre Library and database stored on a Synology NAS) only works properly with SMB 1.0 file sharing; it will not work properly with SMB 2.0 or 3.0.



Before I continue: I know that Calibre is not designed to be run with it's database residing on a NAS. However, I have been doing it for many years without issue until recently. So please don't waste a post to berate me with "Calibre does not support a NAS" etc...



Recently, I had run into a problem where I could access my books (view them, download them, and transfer them to my e-reader) but could not add new books or update the metadata on existing books. I would get the typical "CantOpenError: CantOpenError: unable to open database file" error.



Well it turns out the problem was at some point a Windows 10 update had disabled SMB 1.0 file sharing. I had to manually enable SMB 1.0 file sharing through the "Control Panel -> Programs and Features -> Turn Windows features on or off" settings. Additionally, I had to go into my Synology NAS SMB settings and set it to SMB 1.0 ONLY.



This solved the problem and everything is working as it should. For Some reason trying to use the SMB 2.0, or 3.0 protocols results in a database access error when it comes to writing something new into the Calibre database.
Chilipops is offline   Reply With Quote
Old 06-25-2020, 09:48 AM   #2
stumped
Wizard
stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.
 
Posts: 3,305
Karma: 10259306
Join Date: May 2016
Device: kobo forma, Kobo Libra, Huawei media Tab, fire HD10, PW3 HDX8.9,
yes, microsoft are keen to kill off SMB, so if you prep a new W10 installer, i think you will find that it is not in the bundle

i recall looking for it for a different problem and finding that info
stumped is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can Android Open PDF's Stored on a NAS? Binx77 Android Devices 2 06-19-2019 05:12 AM
Local database and eBooks on NAS? DerDominik Library Management 3 06-02-2018 01:57 PM
Storing calibre database on NAS luoto Devices 4 06-15-2012 02:44 AM
Ebooks stored in database svetimas Development 2 01-04-2012 05:55 AM
Question about creating PDFs (resolved - my error, d'oh) Prince Hal PDF 19 03-02-2010 11:30 PM


All times are GMT -4. The time now is 06:40 AM.


MobileRead.com is a privately owned, operated and funded community.