Quantcast
Channel: MobileRead Forums - Devices
Viewing all articles
Browse latest Browse all 3328

ubuntu calibre server on xenial 16.04

$
0
0
Ubuntu 16.04 uses a system called systemd instead of upstart. You need to follow these directions to make it work.


===============old post====================
I'm getting some errors when running my calibre server after upgrading from ubuntu 14.04 to 16.04

I think it has something to do with my failed attempt at installing via calibre apt-get vs using the method described on both the calibre page, and that nice digital ocean howto.

Anyhow, I can get the calibre server running great with the direct command
Code:

sudo calibre-server --port 8081 --with-library /media/Backup/calibre
but get errors when using
Code:

sudo start calibre-server
start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused

It's because I already have a service running on port 8080, and need to change that port, as well as point the server at the correct library location.

I did create the conf file in /etc/init/calibre-server.conf, but I don't think the sudo start calibre-server looks at that conf file.

I did notice that as soon as I ran the sudo start calibre-server, it created a bunch of files in
~/.config/calibre
global.py
plugins
server_error_log.txt
metadata_sources
server_access_log.txt
tweaks.py

But global.py doesn't have PORT settings in it. It's got some other stuff, but I feel that I'm going down the wrong rabbit hole here.

any help would be great!

Viewing all articles
Browse latest Browse all 3328

Trending Articles