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 04-15-2020, 06:41 PM   #1
don_caviare
Junior Member
don_caviare began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2014
Device: Kindle 4
managing user accounts from the command line...

Hi all,

I'd like to set up authentication for my calibre-server (calibre 2.75.1 running on Raspbian), but I have to do that via the command line. So I'm trying to follow this simple tutorial in order to set up a user db.

But when I copy-paste the command
Code:
calibre-server --userdb /srv/calibre/users.sqlite --manage-users
, I get the error: "no such option: --userdb"

Weird... Why do you think this is happening? Is the command line faulty? Is it a version issue?

D-
don_caviare is offline   Reply With Quote
Old 04-15-2020, 08:04 PM   #2
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 35,401
Karma: 145435140
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by don_caviare View Post
Hi all,

I'd like to set up authentication for my calibre-server (calibre 2.75.1 running on Raspbian), but I have to do that via the command line. So I'm trying to follow this simple tutorial in order to set up a user db.

But when I copy-paste the command
Code:
calibre-server --userdb /srv/calibre/users.sqlite --manage-users
, I get the error: "no such option: --userdb"

Weird... Why do you think this is happening? Is the command line faulty? Is it a version issue?

D-
Given the manual you were looking at is for calibre 4.13 and you are running calibre 2.75, I'd vote for a version issue given that calibre 2.75 is close to 4 years old.

Depending on your version of Raspbian, you could check the version of calibre in the debian repository (https://packages.debian.org/buster/calibre) which would bring you up to v3.39 or so.
DNSB is offline   Reply With Quote
Advert
Old 04-15-2020, 10:46 PM   #3
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: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
calibre 2.75 doesn't even support user accounts.
kovidgoyal is offline   Reply With Quote
Old 04-24-2020, 11:34 AM   #4
don_caviare
Junior Member
don_caviare began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2014
Device: Kindle 4
Thanks guys. I was indeed limited by Raspbian Stretch, which didn't allow me to update Calibre. After upgrading to Buster, I was able to update Calibre to v.3.39, and gain access to the user management functions. Yeah!

(as a small enhancement to the calibre-server, I'd recommend that users that aren't able to upload books or edit the library don't see the "upload" or "edit" buttons on the interface, as they still appear on my end. But perhaps that was corrected in later versions? I tried checking the changelog but drowned a bit! Which shows what an actively developed this software is - bravo again )
don_caviare is offline   Reply With Quote
Old 04-24-2020, 01:54 PM   #5
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: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I deliberately leave the buttons available because it is much easier to understand when you click a button and get anerror saying you are not allowed to perform this action thatn when a button is missing.
kovidgoyal is offline   Reply With Quote
Advert
Reply

Tags
authentication, raspbian, server, user database


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Terminal user accounts? DomesticExtremis Kobo Developer's Corner 2 10-30-2019 03:30 AM
Is there a way to execute a non-root command without access to command line Galunid Kindle Developer's Corner 4 05-15-2018 07:50 PM
Cyberlocker User's Accounts Being Closed Fbone News 15 01-24-2012 01:35 PM
multiple “user accounts” in calibre? rafal Library Management 2 01-15-2012 06:44 AM
iPad Registration / User accounts and privacy Mike_73 Apple Devices 6 06-16-2010 04:55 PM


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


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