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-21-2011, 06:44 PM   #1
cbeerse
Junior Member
cbeerse began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jun 2011
Device: none (my wifes kinlde...)
Moving between linux and windows.

I've started using calibre on Linux. However, the msWindows users here like to access the same catalog/library. Hence I copied it to the nas, after which it was perfectly usable from linux, just as if from local disk.

However, what ever I try, the msWindows can access the library, but connecting always gives some error.

Hence, small question: Can I use a calibre library on a nas? or could I ruin it all?

However, the big question: How should I use/move/copy the library from linux to msWindows?
cbeerse is offline   Reply With Quote
Old 06-21-2011, 06:54 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,920
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by cbeerse View Post
I've started using calibre on Linux. However, the msWindows users here like to access the same catalog/library. Hence I copied it to the nas, after which it was perfectly usable from linux, just as if from local disk.

However, what ever I try, the msWindows can access the library, but connecting always gives some error.

Hence, small question: Can I use a calibre library on a nas? or could I ruin it all?

However, the big question: How should I use/move/copy the library from linux to msWindows?
Calibre is NOT multi-user.
There are also issues accessing the same library from different O/S
IMHO Best to avoid them.

Install Calibre on the system that will make CHANGES.
For (read) Access, use the built-in server.
Users browse using their favorite browser, but can't make changes
theducks is offline   Reply With Quote
Advert
Old 06-22-2011, 02:26 AM   #3
cbeerse
Junior Member
cbeerse began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jun 2011
Device: none (my wifes kinlde...)
Quote:
Originally Posted by theducks View Post
Calibre is NOT multi-user.
There are also issues accessing the same library from different O/S
IMHO Best to avoid them.

Install Calibre on the system that will make CHANGES.
For (read) Access, use the built-in server.
Users browse using their favorite browser, but can't make changes
Well, okee, leaves me that I cannot avoid them, I like to move Calibre from linux to msWindows. Is there a recipy?
cbeerse is offline   Reply With Quote
Old 06-22-2011, 07:59 AM   #4
darrenlee
Member
darrenlee began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Dec 2010
Location: China
Device: none
Correct me if I'm wrong.I don't think accessing calibre library from different OS will cause any trouble,since sqlite database file is cross-platform. The chance is that accessing the same calibre library from different machines/users simultaneously will cause errors due to writing-lock on db file.
darrenlee is offline   Reply With Quote
Old 06-22-2011, 09:01 AM   #5
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by darrenlee View Post
Correct me if I'm wrong.I don't think accessing calibre library from different OS will cause any trouble,since sqlite database file is cross-platform.
Occasional problems arise when a case sensitive file system and a case-insensitive file system are mixed with a single calibre library, or when long filenames are used and the two OSs have different filename length limits. These problems seldom seem to arise when converting from one system to another, but when both OSs are used regularly on the same library, they may crop up.
Starson17 is offline   Reply With Quote
Advert
Old 06-22-2011, 10:02 AM   #6
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,920
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Starson17 View Post
Occasional problems arise when a case sensitive file system and a case-insensitive file system are mixed with a single calibre library, or when long filenames are used and the two OSs have different filename length limits. These problems seldom seem to arise when converting from one system to another, but when both OSs are used regularly on the same library, they may crop up.
I am still missing chunks (you know where) from moving a Library to Ubuntu, doing adds and changes , and copying it back.
Both Calibre were at the same revision level.
And Yes, most were related to 'case'.
theducks is offline   Reply With Quote
Old 06-22-2011, 11:19 AM   #7
darrenlee
Member
darrenlee began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Dec 2010
Location: China
Device: none
Quote:
Originally Posted by Starson17 View Post
Occasional problems arise when a case sensitive file system and a case-insensitive file system are mixed with a single calibre library, or when long filenames are used and the two OSs have different filename length limits. These problems seldom seem to arise when converting from one system to another, but when both OSs are used regularly on the same library, they may crop up.
Thanks for the correction.I haven't used non-Unix-like operating systems for years.I totally forgot the file name friction between different operating systems.
darrenlee is offline   Reply With Quote
Old 06-23-2011, 04:36 AM   #8
cbeerse
Junior Member
cbeerse began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jun 2011
Device: none (my wifes kinlde...)
Quote:
Originally Posted by darrenlee View Post
Correct me if I'm wrong.I don't think accessing calibre library from different OS will cause any trouble,since sqlite database file is cross-platform. The chance is that accessing the same calibre library from different machines/users simultaneously will cause errors due to writing-lock on db file.
As far as I peeked in the metadata.db (?) file, the major problem between unix and windows is the directory-separator: / v.s. \. By head, I see it in the book-table, the location of the file. I bet if Calibre can coop with using / as dirseparator on msWindows and \ as dirseparator at unix, then the database shold have no problems.

The case of the characters should be no problem, since Calibre has created the files in the first place and all used filesystems are at least case-aware.

Multiple access of the single database can be a problem for nas-storage, however my first goal is to move the entire tree from linux to mswindows.

For nas-storage, I'd say Calibre should be able to handle read-only databases, also nice for databases stored on cd/dvd-s. The nas-storage can use locking to give the first calibre write access, subsequent calibres only get read-only access.

In the end, my (qnap 419) nas comes with mysql installed. Using that can be a goal for future developments. (this might need a new thread...)
cbeerse is offline   Reply With Quote
Old 06-23-2011, 04:51 AM   #9
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Putting a Calibre library on a NAS and using it from multiple OS is no issue as long as one is aware of the issues around the fact that Calibre is single-user, and long path names can be an issue.

I have my Calibre library on a NAS and am accessing it from Windows 7, Linux and OSX at different times during the day without any problems. The base path length on the NAS is short so that all OS should work fine with it. Directory separator characters are handled automatically in Calibre in an OS independent way.

I find that the one issue that used to really bite me of the filing system being Case Sensitive or not rarely seems to rear its head any more. I think that is a combination of Calibre having got better at makign sure case on the Filing System matches the database combined with me having picked up workflow habits that mean I avoid the typical problem cases. Having said that I do periodically run the Calibre Library Maintenance option to check I am not building up any hidden issues.
itimpi is offline   Reply With Quote
Old 06-23-2011, 10:12 AM   #10
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,227
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by cbeerse View Post
The case of the characters should be no problem, since Calibre has created the files in the first place and all used filesystems are at least case-aware.
That would only be true if every time the case of an author name is changed calibre moved every book by that author, which would make things impossibly slow.
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ereader for windows, linux and OSX lookin Reading and Management 3 06-23-2011 04:25 AM
Using Calibre on Windows and Linux lookin Devices 1 06-21-2011 06:52 PM
Moving Calibre in Windows kblechman Calibre 3 02-04-2011 04:52 PM
Seriously thoughtful Thinking of ditching Linux for Windows 7 tulsa Lounge 19 05-14-2010 05:04 AM
New reader for Mac (and Windows, Linux) richard37 Reading and Management 8 10-01-2009 10:50 PM


All times are GMT -4. The time now is 09:03 PM.


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