Getting Error While Installing redash Using Docker


#1

I am running docker with sudo . still having permission Issue .Pls help

[2017-02-14 15:31:49,086: INFO/MainProcess] Connected to redis://redis:6379/0
worker_1 | [2017-02-14 15:31:49,110: INFO/MainProcess] mingle: searching for neighbors
worker_1 | [2017-02-14 15:31:49,192: INFO/Beat] beat: Starting…
worker_1 | [2017-02-14 15:31:49,571: ERROR/Beat] Removing corrupted schedule file ‘celerybeat-schedule’: DBAccessError(13, ‘Permission denied’)
worker_1 | Traceback (most recent call last):
worker_1 | File “/usr/local/lib/python2.7/dist-packages/celery/beat.py”, line 376, in setup_schedule
worker_1 | self._store = self._open_schedule()
worker_1 | File “/usr/local/lib/python2.7/dist-packages/celery/beat.py”, line 366, in _open_schedule
worker_1 | return self.persistence.open(self.schedule_filename, writeback=True)
worker_1 | File “/usr/lib/python2.7/shelve.py”, line 243, in open
worker_1 | return DbfilenameShelf(filename, flag, protocol, writeback)
worker_1 | File “/usr/lib/python2.7/shelve.py”, line 227, in init
worker_1 | Shelf.init(self, anydbm.open(filename, flag), protocol, writeback)
worker_1 | File “/usr/lib/python2.7/anydbm.py”, line 85, in open
worker_1 | return mod.open(file, flag, mode)
worker_1 | File “/usr/lib/python2.7/dbhash.py”, line 18, in open
worker_1 | return bsddb.hashopen(file, flag, mode)
worker_1 | File “/usr/lib/python2.7/bsddb/init.py”, line 364, in hashopen
worker_1 | d.open(file, db.DB_HASH, flags, mode)
worker_1 | DBAccessError: (13, ‘Permission denied’)
worker_1 | [2017-02-14 15:31:49,593: ERROR/Beat] Process Beat
worker_1 | Traceback (most recent call last):
worker_1 | File “/usr/local/lib/python2.7/dist-packages/billiard/process.py”, line 292, in _bootstrap
worker_1 | self.run()
worker_1 | File “/usr/local/lib/python2.7/dist-packages/celery/beat.py”, line 553, in run
worker_1 | self.service.start(embedded_process=True)
worker_1 | File “/usr/local/lib/python2.7/dist-packages/celery/beat.py”, line 470, in start
worker_1 | humanize_seconds(self.scheduler.max_interval))
worker_1 | File “/usr/local/lib/python2.7/dist-packages/kombu/utils/init.py”, line 325, in get
worker_1 | value = obj.dict[self.name] = self.__get(obj)
worker_1 | File “/usr/local/lib/python2.7/dist-packages/celery/beat.py”, line 512, in scheduler
worker_1 | return self.get_scheduler()
worker_1 | File “/usr/local/lib/python2.7/dist-packages/celery/beat.py”, line 507, in get_scheduler
worker_1 | lazy=lazy)
worker_1 | File “/usr/local/lib/python2.7/dist-packages/celery/utils/imports.py”, line 53, in instantiate
worker_1 | return symbol_by_name(name)(*args, **kwargs)
worker_1 | File “/usr/local/lib/python2.7/dist-packages/celery/beat.py”, line 358, in init
worker_1 | Scheduler.init(self, *args, **kwargs)
worker_1 | File “/usr/local/lib/python2.7/dist-packages/celery/beat.py”, line 185, in init
worker_1 | self.setup_schedule()
worker_1 | File “/usr/local/lib/python2.7/dist-packages/celery/beat.py”, line 384, in setup_schedule
worker_1 | self._store = self._destroy_open_corrupted_schedule(exc)
worker_1 | File “/usr/local/lib/python2.7/dist-packages/celery/beat.py”, line 372, in _destroy_open_corrupted_schedule
worker_1 | return self._open_schedule()
worker_1 | File “/usr/local/lib/python2.7/dist-packages/celery/beat.py”, line 366, in _open_schedule
worker_1 | return self.persistence.open(self.schedule_filename, writeback=True)
worker_1 | File “/usr/lib/python2.7/shelve.py”, line 243, in open
worker_1 | return DbfilenameShelf(filename, flag, protocol, writeback)
worker_1 | File “/usr/lib/python2.7/shelve.py”, line 227, in init
worker_1 | Shelf.init(self, anydbm.open(filename, flag), protocol, writeback)
worker_1 | File “/usr/lib/python2.7/anydbm.py”, line 85, in open
worker_1 | return mod.open(file, flag, mode)
worker_1 | File “/usr/lib/python2.7/dbhash.py”, line 18, in open
worker_1 | return bsddb.hashopen(file, flag, mode)
worker_1 | File “/usr/lib/python2.7/bsddb/init.py”, line 364, in hashopen
worker_1 | d.open(file, db.DB_HASH, flags, mode)
worker_1 | DBAccessError: (13, ‘Permission denied’)
server_1 | [2017-02-14 15:31:49,977][PID:7][INFO][werkzeug] * Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)
server_1 | [2017-02-14 15:31:49,988][PID:7][INFO][werkzeug] * Restarting with stat
worker_1 | [2017-02-14 15:31:50,115: INFO/MainProcess] mingle: all alone
worker_1 | [2017-02-14 15:31:50,133: WARNING/MainProcess] celery@e8e646e80404 ready.
server_1 | [2017-02-14 15:31:51,145][PID:135][WARNING][redash.query_runner] BigQueryGCE query runner enabled but not supported, not registering. Either disable or install missing dependencies.


#2

Looks like a duplicate of Postgres DB access problems when using docker compose