Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Calibre database directory (DB_ROOT) is not configured" #45

Closed
wtrdk opened this issue Aug 2, 2016 · 8 comments
Closed

"Calibre database directory (DB_ROOT) is not configured" #45

wtrdk opened this issue Aug 2, 2016 · 8 comments

Comments

@wtrdk
Copy link
Contributor

wtrdk commented Aug 2, 2016

Hi,

When I run /usr/bin/python /opt/calibre-web/cps.py from my home dir I get this error:
Calibre database directory (DB_ROOT) is not configured

When I run /usr/bin/python /opt/calibre-web/cps.py from /opt/calibre-web/ it runs perfectly!

I want to use the command to start the calibre-web instance at boot, but when I add it to crontab I get that same error message.

Can you help me?

@OzzieIsaacs
Copy link
Collaborator

As a quick workaround I recommend adding:
cd /opt/calibre-web/ && /usr/bin/python cps.py
In crontab, this should help

@wtrdk
Copy link
Contributor Author

wtrdk commented Aug 2, 2016

Thanks, that works for now!

@OzzieIsaacs
Copy link
Collaborator

I created a pull request #48 solving the issue.

@wtrdk
Copy link
Contributor Author

wtrdk commented Aug 3, 2016

Hi,

I dit a git pull, but no changes. Maybe it's not committed yet?

@OzzieIsaacs
Copy link
Collaborator

I have no write rights to the repro. So I created a pull request, but until it is merged by @janeczku you won't see it.

@wtrdk
Copy link
Contributor Author

wtrdk commented Aug 3, 2016

Ah, oke. Thanks a lot!

cervinko added a commit that referenced this issue Aug 7, 2016
@cervinko
Copy link
Collaborator

cervinko commented Aug 7, 2016

#48 is merged. @wtrdk can this issue be closed?

@wtrdk
Copy link
Contributor Author

wtrdk commented Aug 8, 2016

Yes, it can be closed. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants