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 06-30-2021, 08:48 AM   #1
bhyde
Member
bhyde is on a distinguished road
 
Posts: 18
Karma: 60
Join Date: Jul 2017
Location: Boston, MA, USA
Device: Kobo Aura ONE
running calibre-server via launchd on macOS Big Sur

I have been running calibre-server via launchd for a while now, but not since upgrading to Big Sur.

I have a brief wrapper script (in bash). That works fine if I invoke it directly, but not when the launchd service uses it. I spy:

Quote:
Failed to open userdb database at /Users/.../Documents/calibre/users.sqlite with error: CantOpenError: unable to open database file
Which suggests Big Sur is try to protect me. As an experiment I tried granting full disk access but no luck.

Any suggetions? Does this work for anybody else? Thanks! - ben
bhyde is offline   Reply With Quote
Old 06-30-2021, 09:01 AM   #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: 43,853
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Move the user db somewhere apple will allow it. and specify the new path as a command line option to calibre-server
kovidgoyal is offline   Reply With Quote
Advert
Old 06-30-2021, 01:11 PM   #3
bhyde
Member
bhyde is on a distinguished road
 
Posts: 18
Karma: 60
Join Date: Jul 2017
Location: Boston, MA, USA
Device: Kobo Aura ONE
Quote:
Originally Posted by kovidgoyal View Post
Move the user db somewhere apple will allow it. and specify the new path as a command line option to calibre-server
That worked. I wish I knew were "somewhere apple will allow it" is documented, but this worked:

Code:
~/.config/calibre-server/users.sqlite
worked
bhyde is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kindle Not Recognized by Calibre on MAC Big Sur jcc5588 Devices 12 06-13-2021 07:09 PM
OpenGL not found error 5.5 on macOS Big Sur grantbarrett Calibre 10 01-07-2021 12:33 AM
Can I build Calibre 4.0 on a native macOS machine running OS X El Capitan 10.11.6? vaboro Development 23 10-16-2019 04:37 PM
Does anyone have a launchd script for calibre-server? offby1 Calibre 8 06-06-2014 08:04 AM
[How To] Running Calibre server as a news server sws Related Tools 0 04-09-2013 08:27 AM


All times are GMT -4. The time now is 08:35 AM.


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