Hello, I love your images, but I have trouble converting ebooks.
Configure environment variables as follows:
{
"cap_add" : null,
"cap_drop" : null,
"cmd" : "",
"cpu_priority" : 50,
"devices" : null,
"enable_publish_all_ports" : false,
"enable_restart_policy" : false,
"enabled" : true,
"entrypoint_default" : "/init",
"env_variables" : [
{
"key" : "DOCKER_MODS",
"value" : "linuxserver/calibre-web:calibre"
},
{
"key" : "PGID",
"value" : "$(id -g)"
},
{
"key" : "GUID",
"value" : "$(id -u)"
},
{
"key" : "PATH",
"value" : "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
},
{
"key" : "HOME",
"value" : "/root"
},
{
"key" : "LANGUAGE",
"value" : "zh_CN.UTF-8"
},
{
"key" : "LANG",
"value" : "zh_CN.UTF-8"
},
{
"key" : "TERM",
"value" : "xterm"
}
],
"exporting" : false,
"id" : "ed93a3405873bf2236e0962a81ddd54d85b542c40bd101a3208211068ca82993",
"image" : "linuxserver/calibre-web:latest",
"is_ddsm" : false,
"is_package" : false,
"links" : [],
"memory_limit" : 0,
"name" : "linuxserver-calibre-web1",
"network" : [
{
"driver" : "bridge",
"name" : "bridge"
}
],
"network_mode" : "bridge",
"port_bindings" : [
{
"container_port" : 8083,
"host_port" : 8083,
"type" : "tcp"
}
],
"privileged" : true,
"shortcut" : {
"enable_shortcut" : false
},
"use_host_network" : false,
"volume_bindings" : [
{
"host_volume_file" : "/work/calibre/scr",
"mount_point" : "/app/calibre-web/cps/metadata_provider",
"type" : "rw"
},
{
"host_volume_file" : "/work/calibre/library",
"mount_point" : "/books",
"type" : "rw"
},
{
"host_volume_file" : "/work/calibre/config",
"mount_point" : "/config",
"type" : "rw"
}
]
}
It is worth emphasizing that I have added environment variables that support e-book conversion:
DOCKER_MODS=linuxserver/calibre-web:calibre
Then, modify the following configuration in the setting interface of calibre-web:
Finally, I try to convert mobi books to pdf or epub books and I get an error:
user | task | status | progress | run time | start time |
---|---|---|---|---|---|
wotemerile | Convert: MOBI → PDF: 伊藤潤二恐怖漫畫精選【5】:雙一的快樂 | Failed | 100 % | 11s | 7/18/22,8:03am |
wotemerile | Convert: MOBI → EPUB: 伊藤潤二恐怖漫畫精選【1】:富江 | Failed | 100% | 3s | 7/18/22,8:27am |
The log is as follows:
[2022-07-18 08:03:29,837] INFO {cps.editbooks:1146} converting: book id: 18 from: MOBI to: PDF
[2022-07-18 08:03:30,577] INFO {cps.tasks.convert:142} Book id 18 - target format of .pdf does not exist. Moving forward with convert.
[2022-07-18 08:03:42,454] INFO {cps.tasks.convert:189} ebook converter failed with error while converting book
[2022-07-18 08:08:03,877] INFO {cps.admin:1746} Update status requested
[2022-07-18 08:27:53,869] INFO {cps.editbooks:1146} converting: book id: 14 from: MOBI to: EPUB
[2022-07-18 08:27:53,881] INFO {cps.tasks.convert:142} Book id 14 - target format of .epub does not exist. Moving forward with convert.
[2022-07-18 08:27:57,614] INFO {cps.tasks.convert:189} ebook converter failed with error while converting book