Password reset doesn’t work on Calibre 命令行密码重置无效

官方GITHUB上面有密码重置的方法:https://github.com/janeczku/calibre-web/wiki/Command-Line-Interface#command-line-options

但是我按照步骤操作时,密码更改没生效

python3 cps.py s admin:password

后来去github搜了下issue,发现是新版本需要指定数据库的位置,因为把命令行改为如下之后,成功了,也就是加上-p指定db的位置

python3 cps.py p /config/app.db s admin:password

 

This entry was posted in calibre. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *