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

celery flower db path from s3 file or external source #1363

Open
nirob-appsbee opened this issue Mar 27, 2024 · 1 comment
Open

celery flower db path from s3 file or external source #1363

nirob-appsbee opened this issue Mar 27, 2024 · 1 comment
Labels

Comments

@nirob-appsbee
Copy link

Describe the bug
i am not able to set the db path from amazon s3 filepath. as db is growing day by day i want ot store flower.db in a different server like amazon s3. it is not working

To Reproduce
Steps to reproduce the behavior:

  1. create a flowerconfig.py file in project directory
  2. import os
    basic_auth = ['sun:flower']
    persistent = True
    db = "https://rocktomic.s3.ap-south-1.amazonaws.com/common-file/flower.db"

Error
File "/usr/lib/python3.11/dbm/init.py", line 95, in open
rocktomic-flower | return mod.open(file, flag, mode)
rocktomic-flower | ^^^^^^^^^^^^^^^^^^^^^^^^^^
rocktomic-flower | _dbm.error: [Errno 2] No such file or directory: 'https://rocktomic.s3.ap-south-1.amazonaws.com/common-file/flower.db'

Screenshots
see the screenshot in attachemnt
Screenshot from 2024-03-27 14-57-41

@sc68cal
Copy link

sc68cal commented Apr 17, 2024

Looking at the code, it uses shelf which uses the local filesystem for storage. db is a path on the filesystem.

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

No branches or pull requests

2 participants