Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Server

Notices

Reply
 
Thread Tools Search this Thread
Old 07-21-2020, 05:59 PM   #1
crash369
Junior Member
crash369 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2020
Device: none
Is it possible to run a truly read-only server?

Hello

Is it still the case that the content-server cannot coexist with the desktop version of Calibre?

I like to use the desktop version to add, update, and organize my ebook collection, but it would be nice to also make this available over the internet.

However, the content server fails to start when it does not have write permissions to the library directory. Also there are warnings in the FAQ that you cannot run the content server and the desktop version simultaneously.

So it seems that despite the default settings for the content server being "read-only", the server still wants to write in the library directory and mess around with the database.

Is there any way to stop that? All I want is read-only access to the library from the web, preferably via hardened container instance. If that is not possible with Calibre, does anyone have alternative suggestions?

Thanks
crash369 is offline   Reply With Quote
Old 07-21-2020, 11:15 PM   #2
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: 44,163
Karma: 22670164
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You can run the content server from within the GUI, so they can co-exist perfectly well. You cannot run them as separate processes however.

And no the server cannot ever be read-only.
kovidgoyal is offline   Reply With Quote
Advert
Old 07-22-2020, 09:50 AM   #3
badbob001
Fanatic
badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.
 
badbob001's Avatar
 
Posts: 556
Karma: 1102020
Join Date: Sep 2009
Device: Kindle Keyboard (rip), Kindle Voyage, Fire Tablet 10 '17, iPad '19
What I do is:
  • Run calibre portable (I'm on windows).
  • When calibre gui is closed, automatically copy calibre folder to network storage.
  • On server host, schedule it to periodically (like nightly 4am) stop the server, copy down the calibre folder from network storage, and start the server.
badbob001 is offline   Reply With Quote
Old 07-25-2020, 03:48 PM   #4
crash369
Junior Member
crash369 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2020
Device: none
That is unfortunate.
crash369 is offline   Reply With Quote
Old 07-25-2020, 05:34 PM   #5
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,776
Karma: 27405072
Join Date: Mar 2012
Location: Sydney Australia
Device: none
FWIW the calibre-spy plugin is a 'read only' client, see Index of plugins. And the version 2 server was 'read only', in the sense that it didn't support metadata editing.

BR
BetterRed is offline   Reply With Quote
Advert
Old 07-29-2020, 05:04 PM   #6
crash369
Junior Member
crash369 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2020
Device: none
Thanks for the idea, but it seems to be a GUI as well, and not meant to be run as a server.
crash369 is offline   Reply With Quote
Old 07-30-2020, 04:18 AM   #7
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,776
Karma: 27405072
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by crash369 View Post
Thanks for the idea, but it seems to be a GUI as well, and not meant to be run as a server.
You might have misunderstood.

The version 2 server provides access to calibre libraries via an HTTP browser, just like version 3 or 4. It is 'read only' because it lacks any write capabilities.

I use it to get books from my calibre libraries via an Authors notebook in Evernote. I don't need write access in that context, so there was no value in re-jigging the hooks I had created in Evernote for calibre-server 2 access to work for calibre-server 3 (or 4) access - i.e. IIABDFI.

Calibre-spy is a read-only GUI client that allows multiple users to access the same library concurrently - its primary usage is to overcome the one-instance-only restriction in the standard calibre GUI. I don't know if it can access a library on a server - i.e. if you can open a calibre library via an HTTP URI instead of a calibre library file path - you'd need to ask the author if it is not obvious from the doco. If you can use an HTTP URI, you would use it with the current version of calibre-server.

BR
BetterRed is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Win 10 Run server without main program running? MrJamesEMcBride Server 8 11-07-2021 06:27 AM
Run Calibre Server 3.0 Headless?? snesbitt Calibre 4 06-18-2017 01:43 PM
Can this be done? Run Calibre server on Linux with Library on Amazon S3 ksorbo Library Management 3 07-17-2016 11:35 AM
MobileRead May 2012 Mobile Read Book Club Run-Off Vote WT Sharpe Book Clubs 31 05-03-2012 12:48 AM
Run content server seperately from Calibre chimaera Calibre 2 08-07-2009 10:46 AM


All times are GMT -4. The time now is 05:56 PM.


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