Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 09-01-2018, 12:42 AM   #31
nqk
Addict
nqk has learned how to buy an e-book online
 
Posts: 272
Karma: 92
Join Date: Feb 2012
Device: Samsung Galaxy Tab 8.9
Quote:
Originally Posted by kovidgoyal View Post
See https://manual.calibre-ebook.com/faq...ter-to-another
If you follow that procedure everything, including users/plugins/etc. will be transferred.
After hours digging and digging and searching, the wonderful content server is up and running, even as a service. I had to manually copied over
1) The whole calibre library folder
2) A user database file
3) A custom-list-template file

The file /etc/systemd/system/calibre-server.service looks like this
Code:
[Unit]
Description=calibre content server
After=network.target

[Service]
Type=simple
User=root
Group=mylinuxgroup
ExecStart=/usr/bin/calibre/calibre-server --port 56965 --custom-list-template /srv/calibre/server-custom-list-template.json --userdb /srv/calibre/server-users.sqlite --enable-auth /mnt/Ebooks

[Install]
WantedBy=multi-user.target
It works. But the Book Details doesn't show Identifiers and the series index is Roman. The device has no monitor so I use only the command line interface. Can't see anything related to Book Details.
nqk is offline   Reply With Quote
Old 09-01-2018, 01:02 AM   #32
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: 33,717
Karma: 10215826
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Those are both general calibre settings, so you'd need to copy over the rest of your calibre config as well.
kovidgoyal is offline   Reply With Quote
Old 09-02-2018, 12:16 AM   #33
nqk
Addict
nqk has learned how to buy an e-book online
 
Posts: 272
Karma: 92
Join Date: Feb 2012
Device: Samsung Galaxy Tab 8.9
Quote:
Originally Posted by kovidgoyal View Post
Those are both general calibre settings, so you'd need to copy over the rest of your calibre config as well.
Sorry for the annoyance, but I can't find any guide in regards of where to place the files in ArchLinuxarm and the related command lines. The official manual involves using Calibre GUI - which I still cannot install.

On PC, I am using Portable version, and I assume you referred to the Calibre Settings folder.

Sent from my ONEPLUS A3000 using Tapatalk

Last edited by nqk; 09-02-2018 at 12:18 AM.
nqk is offline   Reply With Quote
Old 09-02-2018, 12:31 AM   #34
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: 33,717
Karma: 10215826
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Yes the settings folder the default location on linux is ~/.config/calibre and you can control it to whatever you like by setting the CALIBRE_CONFIG_DIRECTORY environment variable.
kovidgoyal is offline   Reply With Quote
Old 09-07-2018, 10:17 AM   #35
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,247
Karma: 83049305
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Also please don't run this as root... you could just copy your calibre config directory to e.g. /home/calibre/.config/calibre and use the "calibre" user to start the server.
eschwartz is offline   Reply With Quote
Old 09-08-2018, 11:00 PM   #36
nqk
Addict
nqk has learned how to buy an e-book online
 
Posts: 272
Karma: 92
Join Date: Feb 2012
Device: Samsung Galaxy Tab 8.9
Quote:
Originally Posted by eschwartz View Post
Also please don't run this as root... you could just copy your calibre config directory to e.g. /home/calibre/.config/calibre and use the "calibre" user to start the server.
Yes, I figured this out after several hiccups and restore. Now Calibre-server is running GUI-less smoothly on my Pi. But because I copied the setting files from Windows, which contain Windows paths, some weird files are created accordingly. But this doesn't affect the performance, I will leave it as is for now.

One problem though, opds apps on Android other than Calibre Companion can't pass authentication (they do with Windows content server)
nqk is offline   Reply With Quote
Old 09-08-2018, 11:44 PM   #37
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: 33,717
Karma: 10215826
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by nqk View Post

One problem though, opds apps on Android other than Calibre Companion can't pass authentication (they do with Windows content server)

Look at the server logs for debugging that issue
kovidgoyal is offline   Reply With Quote
Old 09-12-2018, 03:44 AM   #38
nqk
Addict
nqk has learned how to buy an e-book online
 
Posts: 272
Karma: 92
Join Date: Feb 2012
Device: Samsung Galaxy Tab 8.9
Quote:
Originally Posted by kovidgoyal View Post
Look at the server logs for debugging that issue
I set it to "basic" and it works.
nqk is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre on ARM Linux cstross Calibre 8 07-25-2011 12:06 PM
Calibre on Ubuntu/ARM? cstross Calibre 2 10-01-2009 03:49 PM
SmartQ7: Any arm-linux builders? serwei Alternative Devices 0 08-21-2009 04:08 AM
Linux and ARM processors mobelby Calibre 3 06-16-2009 12:55 AM


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


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