[ Calibre Web ] [ 0.6.19 ] Calibre-Web is a web app providing a clean interface for browsing Ebook

This is the best place for community developers to publish their genius work. Your Apps enrich the QNAP Turbo NAS.
Post Reply
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

[ Calibre Web ] [ 0.6.19 ] Calibre-Web is a web app providing a clean interface for browsing Ebook

Post by QNAP_Stephane »

Sourcehttps://github.com/janeczku/calibre-web

Download

Apache80 : https://www.myqnap.org/product/calibre-web80/
Apache81 : https://www.myqnap.org/product/calibre-web81/
Apache82 : https://www.myqnap.org/product/calibre-web82/




Features

Bootstrap 3 HTML5 interface
full graphical setup
User management with fine-grained per-user permissions
Admin interface
User Interface in brazilian, czech, dutch, english, finnish, french, german, greek, hungarian, italian, japanese, khmer, polish, russian, simplified chinese, spanish, swedish, turkish, ukrainian
OPDS feed for eBook reader apps
Filter and search by titles, authors, tags, series and language
Create a custom book collection (shelves)
Support for editing eBook metadata and deleting eBooks from Calibre library
Support for converting eBooks through Calibre binaries
Restrict eBook download to logged-in users
Support for public user registration
Send eBooks to Kindle devices with the click of a button
Sync your Kobo devices through Calibre-Web with your Calibre library
Support for reading eBooks directly in the browser (.txt, .epub, .pdf, .cbr, .cbt, .cbz, .djvu)
Upload new books in many formats, including audio formats (.mp3, .m4a, .m4b)
Support for Calibre Custom Columns
Ability to hide content based on categories and Custom Column content per user
Self-update capability
"Magic Link" login to make it easy to log on eReaders
Login via LDAP, google/github oauth and via proxy authentication

QPKG Integration

Point your browser to http://localhost:8083 or http://localhost:8083/opds for the OPDS catalog
Set Location of Calibre database to the path of the folder where your Calibre library (metadata.db) lives, push "submit" button
Last edited by QNAP_Stephane on Wed Jan 25, 2023 7:16 pm, edited 3 times in total.
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
glopglop
New here
Posts: 2
Joined: Fri Apr 23, 2021 2:24 pm

Re: [ Calibre Web ] [ 0.6.11 ] Calibre-Web is a web app providing a clean interface for browsing Ebook

Post by glopglop »

hi,
one question : for the location of calibre database, nothing works.
/<share>/myfolder, /Public/myfolder, //<IP>/<share>/myfolder, //web/htdocs/myfolder, /htdocs/myfolder, /Apache80/myfolder, .....
I move my calibre folder (with .db) on all this shares/folders.
need help please

Thx for your answers.

Olivier
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [ Calibre Web ] [ 0.6.11 ] Calibre-Web is a web app providing a clean interface for browsing Ebook

Post by QNAP_Stephane »

you need set relativ path

if it is in Public = /share/Public (case sensitiv)
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
glopglop
New here
Posts: 2
Joined: Fri Apr 23, 2021 2:24 pm

Re: [ Calibre Web ] [ 0.6.11 ] Calibre-Web is a web app providing a clean interface for browsing Ebook

Post by glopglop »

win !!
folder "share" is obligatory.
example for me : /share/Public/calibre it's work !!
and default login/password : admin/admin123

thx !!!!
Slickums
Know my way around
Posts: 142
Joined: Fri Nov 25, 2016 6:51 am

Re: [ Calibre Web ] [ 0.6.11 ] Calibre-Web is a web app providing a clean interface for browsing Ebook

Post by Slickums »

I have CW 6.12 installed and running on my QNAP TS-251.

But I had a brain fart and deleted my admin login entry in my password manager and of course it was one of those complicated passwords.

The program is running normally otherwise and can access via localhost using my 'normal' user login I setup as well as the admin login.

I read that the command line options would allow the admin to change the password along with many other admin functions.

But the docs say "start script with...." and then lists the CLI switches to use. But here is what I get when using the -h switch to see the available options. So connect to QNAP via SSH and navigate to the ...Calibre-Web/calibre-web folder and enter:
[

Code: Select all

bash Calibre-Web.sh -h
Usage: Calibre-Web.sh {start|stop|restart}
What "script" do I need to run and where it is?

Thanks!

Monty
Slickums
Know my way around
Posts: 142
Joined: Fri Nov 25, 2016 6:51 am

Re: [ Calibre Web ] [ 0.6.11 ] Calibre-Web is a web app providing a clean interface for browsing Ebook

Post by Slickums »

The versions have now advanced to 6.14 through the app update feature, not QNAP Club.

I did the update when I had 6.11 and it updated to 6.13 smooth as silk, took like 3 seconds.

So when the update status in the app showed 6.14 was available, I grabbed it. It hosed the Calibre-Web install totally. Had to start over. Uninstalled it, reinstalled 6.13 from QNAP Club. All was good again except I lost all user info (grinding teeth...)
Also noticed with 6.14 the CPU meter stayed at 99-100 percent use until I removed/uninstalled it.

The problem has to do with "flask-WTF" not getting installed. There are "pip" instructions to install it, so tried that. It appeared to work but said using pip as root could cause permission errors. Did it anyway.

Still could not run 6.14 due to, apparently, no 'flask-WTF'. So removed 6.14 again and am back to 6.13 which is running great.

Anyone else have problems like this?

I keep hoping the "Hot Books" feature can be made to work as users really like it. It does not sort correctly, ie instead of showing the list of books by "most downloaded", it is simply in order of date added to the database. In fact, none of the sort buttons change the display order in any way. If the feature was meant to ONLY show books in one sort order ie by "most downloaded', then remove all those sort buttons! As of now, it shows downloaded books, but only in date of entry sort.

Running on TS-251 x64, 8GB RAM
RichPUK
New here
Posts: 2
Joined: Wed Dec 29, 2021 6:52 am

Re: [ Calibre Web ] [ 0.6.11 ] Calibre-Web is a web app providing a clean interface for browsing Ebook

Post by RichPUK »

Slickums wrote: Wed Nov 10, 2021 3:52 am The versions have now advanced to 6.14 through the app update feature, not QNAP Club.

I did the update when I had 6.11 and it updated to 6.13 smooth as silk, took like 3 seconds.

So when the update status in the app showed 6.14 was available, I grabbed it. It hosed the Calibre-Web install totally. Had to start over. Uninstalled it, reinstalled 6.13 from QNAP Club. All was good again except I lost all user info (grinding teeth...)
Also noticed with 6.14 the CPU meter stayed at 99-100 percent use until I removed/uninstalled it.

The problem has to do with "flask-WTF" not getting installed. There are "pip" instructions to install it, so tried that. It appeared to work but said using pip as root could cause permission errors. Did it anyway.

Still could not run 6.14 due to, apparently, no 'flask-WTF'. So removed 6.14 again and am back to 6.13 which is running great.

Anyone else have problems like this?

I keep hoping the "Hot Books" feature can be made to work as users really like it. It does not sort correctly, ie instead of showing the list of books by "most downloaded", it is simply in order of date added to the database. In fact, none of the sort buttons change the display order in any way. If the feature was meant to ONLY show books in one sort order ie by "most downloaded', then remove all those sort buttons! As of now, it shows downloaded books, but only in date of entry sort.

Running on TS-251 x64, 8GB RAM
I've had the same when trying 6.14, 6.15 and now 6.16, it just kills the install.

There are several security updates between .13 and .16 which I'd like to have, hence my attempt to upgrade.

In regards to losing user details; in /.qpkg > Calibre-Web > .calibre-web - Save a copy of 'app.db' elsewhere, this saves users, library config and port changes, etc.
NAS: TS-253A | F/W: 5.0.1932 | H/W: 8GB | 2 x 8TB WD Red RAID 0 (System/Data) | 8TB External USB (Backup) | APC Back-UPS 1000
Apps: Calibre (HDStation), Calibre-Web, iDrive, HBS3, DLstation, QFiling, QuMagie, QVR Pro, +
Slickums
Know my way around
Posts: 142
Joined: Fri Nov 25, 2016 6:51 am

Re: [ Calibre Web ] [ 0.6.11 ] Calibre-Web is a web app providing a clean interface for browsing Ebook

Post by Slickums »

@RichPUK,

Thanks for the update...now I won't be tempted to try the latest, LoL.

I wound up setting up a cron job on my Linux PC (on the same network as the QNAP of course) to grab the entire contents of that folder via rsync and save it on my PC every 30 minutes. That way I hope to not lose any changes users make on a constant basis.

Still sticking with 6.13.

Monty
dehli
Starting out
Posts: 35
Joined: Mon Mar 23, 2015 12:42 am

Re: [ Calibre Web ] [ 0.6.11 ] Calibre-Web is a web app providing a clean interface for browsing Ebook

Post by dehli »

@QNAP_Stephane

Could you help me figure out how to update your QPKG version of Calibre Web to the latest?

The QPKG is good up until Calibre Web 6.14 where additional dependencies were added. The error is:

Code: Select all

[2022-04-27 16:53:50,034] ERROR {cps.search_metadata:61} Import error for metadata source: lubimyczytac - No module named 'html2text'
[2022-04-27 16:53:50,226]  INFO {cps:128} *** "flask-WTF" is needed for calibre-web to run. Please install it using pip: "pip install flask-WTF" ***
[2022-04-27 16:53:50,227]  INFO {cps.server:274} webserver stop (restart=True)
Even if you install Flask, using:

Code: Select all

pip install flask-WTF
Calibre Web cannot find it, and you get the same error. You're forced to roll back the version by downloading and reinstalling the original package.
Slickums
Know my way around
Posts: 142
Joined: Fri Nov 25, 2016 6:51 am

After latest firmware upgrade, unable to connect to Calibre Web

Post by Slickums »

QNAP TS-251, 8GB Ram, QTS 5.0.1.2145
Linux Mint 20.3

I have had a working install of CW 6.13 since it came out. Tried to upgrade to 6.14 but that never worked, so stuck with 6.13.

Connecting to port 8083 now gives me the message "Unable to Connect". Tried Firefox and Chromium, same issue.

Verified installed:

Apache 8.0.x
JRE 8.151.2.3
Python 2.7
Python 3.10
Oracle JDK8 1.8
Entware Std 103a

I have tried these actions, some many times:
- Verified port 8083 not in use by anything else
- Uninstalled CW and deleted the .../.qpkg/Calibre-Web folder
- Reinstalled CW 6.13
- Uninstalled/deleted and installed 6.18 through QNAPCLUB (same results)
- Also copied over previously working backup of .../.qpkg/Calibre-Web folder including the .calibre-web folder with app.db
- Did a complete Factory Reset. Then restored settings
- Stop/Restart the CW service from the desktop, no indications of problems

None of the above has let me connect to

Code: Select all

 https://localhost:8083 or http://localhost:8083
- However:

Code: Select all

[/share/CACHEDEV1_DATA/.qpkg/Calibre-Web] # bash Calibre-Web.sh start
[/share/CACHEDEV1_DATA/.qpkg/Calibre-Web] # Calibre-Web.sh: /share/CACHEDEV1_DATA/.qpkg/Calibre-Web/bin/cps: /opt/Calibre-Web/bin/python3: bad interpreter: No such file or directory
may indicate something messed up with the location of python3, which was installed by Entware.

Ideas?

Thanks!
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [ Calibre Web ] [ 0.6.19 ] Calibre-Web is a web app providing a clean interface for browsing Ebook

Post by QNAP_Stephane »

updated
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
Post Reply

Return to “Community Apps”