pinduvn opened a new issue #14867:
URL: https://github.com/apache/superset/issues/14867


   Hi, I init container with next command:
   ```
   docker run -d -p 8080:8088 --name superset apache/superset
   ```
   but this container not work. The error message is next:
   ```
   [2021-05-27 12:57:21 +0000] [8] [INFO] Starting gunicorn 20.0.4
   [2021-05-27 12:57:21 +0000] [8] [INFO] Listening at: http://0.0.0.0:8088 (8)
   [2021-05-27 12:57:21 +0000] [8] [INFO] Using worker: gthread
   [2021-05-27 12:57:21 +0000] [11] [INFO] Booting worker with pid: 11
   Failed to create app
   Traceback (most recent call last):
     File "/app/superset/app.py", line 63, in create_app
       app_initializer.init_app()
     File "/app/superset/app.py", line 576, in init_app
       self.pre_init()
     File "/app/superset/app.py", line 95, in pre_init
       os.makedirs(self.config["DATA_DIR"])
     File "/usr/local/lib/python3.7/os.py", line 223, in makedirs
       mkdir(name, mode)
   PermissionError: [Errno 13] Permission denied: '/app/superset_home'
   [2021-05-27 12:57:22 +0000] [11] [ERROR] Exception in worker process
   Traceback (most recent call last):
     File "/usr/local/lib/python3.7/site-packages/gunicorn/arbiter.py", line 
583, in spawn_worker
       worker.init_process()
     File "/usr/local/lib/python3.7/site-packages/gunicorn/workers/gthread.py", 
line 92, in init_process
       super().init_process()
     File "/usr/local/lib/python3.7/site-packages/gunicorn/workers/base.py", 
line 119, in init_process
       self.load_wsgi()
     File "/usr/local/lib/python3.7/site-packages/gunicorn/workers/base.py", 
line 144, in load_wsgi
       self.wsgi = self.app.wsgi()
     File "/usr/local/lib/python3.7/site-packages/gunicorn/app/base.py", line 
67, in wsgi
       self.callable = self.load()
     File "/usr/local/lib/python3.7/site-packages/gunicorn/app/wsgiapp.py", 
line 49, in load
       return self.load_wsgiapp()
     File "/usr/local/lib/python3.7/site-packages/gunicorn/app/wsgiapp.py", 
line 39, in load_wsgiapp
       return util.import_app(self.app_uri)
     File "/usr/local/lib/python3.7/site-packages/gunicorn/util.py", line 411, 
in import_app
       app = app(*args, **kwargs)
     File "/app/superset/app.py", line 70, in create_app
       raise ex
     File "/app/superset/app.py", line 63, in create_app
       app_initializer.init_app()
     File "/app/superset/app.py", line 576, in init_app
       self.pre_init()
     File "/app/superset/app.py", line 95, in pre_init
       os.makedirs(self.config["DATA_DIR"])
     File "/usr/local/lib/python3.7/os.py", line 223, in makedirs
       mkdir(name, mode)
   PermissionError: [Errno 13] Permission denied: '/app/superset_home'
   ```
   ![Screenshot from 2021-05-27 
10-00-36](https://user-images.githubusercontent.com/14108241/119830466-ab394980-bed2-11eb-83af-e9c14059190d.png)
   
   Regards
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to