Install Errors with Docker Install

Hello,

I’ve been tearing my hair out for over a week trying to get redash to load on an Azure install of Ubuntu. The latest is below.
Steps to recreate, follow this verbatim on Azure install of Ubuntu 16

https://redash.io/help/open-source/dev-guide/docker

worker_1 | [2019-05-28 14:20:02,209][PID:14][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 476, in setup_schedule
worker_1 | self._store = self._open_schedule()
worker_1 | File “/usr/local/lib/python2.7/dist-packages/celery/beat.py”, line 466, 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 | [2019-05-28 14:20:02,212][PID:14][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 327, in _bootstrap
worker_1 | self.run()
worker_1 | File “/usr/local/lib/python2.7/dist-packages/celery/beat.py”, line 664, in run
worker_1 | self.service.start(embedded_process=True)
worker_1 | File “/usr/local/lib/python2.7/dist-packages/celery/beat.py”, line 579, in start
worker_1 | humanize_seconds(self.scheduler.max_interval))
worker_1 | File “/usr/local/lib/python2.7/dist-packages/kombu/utils/objects.py”, line 44, 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 623, in scheduler
worker_1 | return self.get_scheduler()
worker_1 | File “/usr/local/lib/python2.7/dist-packages/celery/beat.py”, line 618, in get_scheduler
worker_1 | lazy=lazy,
worker_1 | File “/usr/local/lib/python2.7/dist-packages/celery/beat.py”, line 458, in init
worker_1 | Scheduler.init(self, *args, **kwargs)
worker_1 | File “/usr/local/lib/python2.7/dist-packages/celery/beat.py”, line 225, in init
worker_1 | self.setup_schedule()
worker_1 | File “/usr/local/lib/python2.7/dist-packages/celery/beat.py”, line 484, 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 472, 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 466, 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 | [2019-05-28 14:20:02,217][PID:14][WARNING][Beat] Process Beat:
worker_1 | [2019-05-28 14:20:02,218][PID:14][WARNING][Beat] Traceback (most recent call last):
worker_1 | [2019-05-28 14:20:02,219][PID:14][WARNING][Beat] File “/usr/local/lib/python2.7/dist-packages/billiard/process.py”, line 327, in _bootstrap
worker_1 | [2019-05-28 14:20:02,220][PID:14][WARNING][Beat] self.run()
worker_1 | [2019-05-28 14:20:02,220][PID:14][WARNING][Beat] File “/usr/local/lib/python2.7/dist-packages/celery/beat.py”, line 664, in run
worker_1 | [2019-05-28 14:20:02,221][PID:14][WARNING][Beat] self.service.start(embedded_process=True)
worker_1 | [2019-05-28 14:20:02,222][PID:14][WARNING][Beat] File “/usr/local/lib/python2.7/dist-packages/celery/beat.py”, line 579, in start
worker_1 | [2019-05-28 14:20:02,223][PID:14][WARNING][Beat] humanize_seconds(self.scheduler.max_interval))
worker_1 | [2019-05-28 14:20:02,224][PID:14][WARNING][Beat] File “/usr/local/lib/python2.7/dist-packages/kombu/utils/objects.py”, line 44, in get
worker_1 | [2019-05-28 14:20:02,225][PID:14][WARNING][Beat] value = obj.dict[self.name] = self.__get(obj)
worker_1 | [2019-05-28 14:20:02,227][PID:14][WARNING][Beat] File “/usr/local/lib/python2.7/dist-packages/celery/beat.py”, line 623, in scheduler
worker_1 | [2019-05-28 14:20:02,227][PID:14][WARNING][Beat] return self.get_scheduler()
worker_1 | [2019-05-28 14:20:02,227][PID:14][WARNING][Beat] File “/usr/local/lib/python2.7/dist-packages/celery/beat.py”, line 618, in get_scheduler
worker_1 | [2019-05-28 14:20:02,227][PID:14][WARNING][Beat] lazy=lazy,
worker_1 | [2019-05-28 14:20:02,227][PID:14][WARNING][Beat] File “/usr/local/lib/python2.7/dist-packages/celery/beat.py”, line 458, in init
worker_1 | [2019-05-28 14:20:02,228][PID:14][WARNING][Beat] Scheduler.init(self, *args, **kwargs)
worker_1 | [2019-05-28 14:20:02,228][PID:14][WARNING][Beat] File “/usr/local/lib/python2.7/dist-packages/celery/beat.py”, line 225, in init
worker_1 | [2019-05-28 14:20:02,228][PID:14][WARNING][Beat] self.setup_schedule()
worker_1 | [2019-05-28 14:20:02,228][PID:14][WARNING][Beat] File “/usr/local/lib/python2.7/dist-packages/celery/beat.py”, line 484, in setup_schedule
worker_1 | [2019-05-28 14:20:02,228][PID:14][WARNING][Beat] self._store = self._destroy_open_corrupted_schedule(exc)
worker_1 | [2019-05-28 14:20:02,228][PID:14][WARNING][Beat] File “/usr/local/lib/python2.7/dist-packages/celery/beat.py”, line 472, in _destroy_open_corrupted_schedule
worker_1 | [2019-05-28 14:20:02,228][PID:14][WARNING][Beat] return self._open_schedule()
worker_1 | [2019-05-28 14:20:02,229][PID:14][WARNING][Beat] File “/usr/local/lib/python2.7/dist-packages/celery/beat.py”, line 466, in _open_schedule
worker_1 | [2019-05-28 14:20:02,229][PID:14][WARNING][Beat] return self.persistence.open(self.schedule_filename, writeback=True)
worker_1 | [2019-05-28 14:20:02,229][PID:14][WARNING][Beat] File “/usr/lib/python2.7/shelve.py”, line 243, in open
worker_1 | [2019-05-28 14:20:02,229][PID:14][WARNING][Beat] return DbfilenameShelf(filename, flag, protocol, writeback)
worker_1 | [2019-05-28 14:20:02,229][PID:14][WARNING][Beat] File “/usr/lib/python2.7/shelve.py”, line 227, in init
worker_1 | [2019-05-28 14:20:02,229][PID:14][WARNING][Beat] Shelf.init(self, anydbm.open(filename, flag), protocol, writeback)
worker_1 | [2019-05-28 14:20:02,229][PID:14][WARNING][Beat] File “/usr/lib/python2.7/anydbm.py”, line 85, in open
worker_1 | [2019-05-28 14:20:02,230][PID:14][WARNING][Beat] return mod.open(file, flag, mode)
worker_1 | [2019-05-28 14:20:02,230][PID:14][WARNING][Beat] File “/usr/lib/python2.7/dbhash.py”, line 18, in open
worker_1 | [2019-05-28 14:20:02,230][PID:14][WARNING][Beat] return bsddb.hashopen(file, flag, mode)
worker_1 | [2019-05-28 14:20:02,230][PID:14][WARNING][Beat] File “/usr/lib/python2.7/bsddb/init.py”, line 364, in hashopen
worker_1 | [2019-05-28 14:20:02,230][PID:14][WARNING][Beat] d.open(file, db.DB_HASH, flags, mode)
worker_1 | [2019-05-28 14:20:02,230][PID:14][WARNING][Beat] DBAccessError: (13, ‘Permission denied’)

Is this supposed to be a development environment/instance?

Are you running on the host as root?

Development.

I’ve tried doing sudo and non sudo deployments and keep getting these errors of permission denied. I read posts about a “fix” you did back in 7 original but i see the Dockerfile i am using has the chown -r syntax and everything.

I even tried to do a docker exec and chown -r redash and just get a scrolling permission denied error for literally every file in that directory.