Make sure these boxes are checked before submitting your issue - thank you!

- [x] I have checked the superset logs for python stacktraces and included it 
here as text if any
- [x] I have reproduced the issue with at least the latest released version of 
superset
- [x] I have checked the issue tracker for the same issue and I haven't found 
one similar


### Superset version
latest, followed https://superset.incubator.apache.org/installation.html

```
$ git show
commit 4c21c658244f995e76de027ec35d98ec7b173534 (HEAD -> master, origin/master, 
origin/HEAD)
```

### Expected results
running docker instance and able to login

### Actual results
work@735b8b78ea54:~/incubator-superset$ bash docker-init.sh failes:
- Click version conflict:
`pkg_resources.ContextualVersionConflict: (Click 7.0 
(/usr/local/lib/python3.6/site-packages), Requirement.parse('click==6.7'), 
{'Flask-AppBuilder'})`

Solution for me:
`$ pip3.6 install click==6.7 --user`

- permissions denied (1st):
`clean-webpack-plugin: /home/work/incubator-superset/superset/assets/dist has 
been removed.
 95% emitting OptimizeCssAssetsWebpackPluginError: EACCES: permission denied, 
mkdir '/home/work/incubator-superset/superset/assets/dist'`

- permission denied (2nd):
`2018-09-27 07:13:29,300:ERROR:flask_appbuilder.security.sqla.manager:Creation 
of Permission View Error: (sqlite3.IntegrityError) UNIQUE constraint failed: 
ab_permission_view.permission_id, ab_permission_view.view_menu_id [SQL: 'INSERT 
INTO ab_permission_view (permission_id, view_menu_id) VALUES (?, ?)'] 
[parameters: (2, 5)] (Background on this error at: http://sqlalche.me/e/gkpj)
2018-09-27 07:13:29,311:ERROR:flask_appbuilder.security.sqla.manager:Add 
Permission to Role Error: Can't flush None value found in collection 
Role.permissions`

- connection refused to amqp://
`[2018-09-27 07:13:54,796: ERROR/MainProcess] consumer: Cannot connect to 
amqp://guest:**@127.0.0.1:5672//: [Errno 111] Connection refused.
Trying again in 2.00 seconds...`

https://github.com/apache/incubator-superset/issues/5919 and 
https://github.com/apache/incubator-superset/issues/5916 do not help, I'm not 
able to change the permissions within the container:

 `$ chmod 777 /home/work/incubator-superset/superset/assets
chmod: changing permissions of '/home/work/incubator-superset/superset/assets': 
Operation not permitted
$ mkdir dist
mkdir: cannot create directory ‘dist’: Permission denied`

Consequences: login form is available, but login is not possible.

### Steps to reproduce
follow https://superset.incubator.apache.org/installation.html:

```
git clone https://github.com/apache/incubator-superset/
cd incubator-superset
cp 
contrib/docker/{docker-build.sh,docker-compose.yml,docker-entrypoint.sh,docker-init.sh,Dockerfile}
 .
cp contrib/docker/superset_config.py superset/
bash -x docker-build.sh
docker-compose up -d
docker-compose exec superset bash
bash docker-init.sh
```
Docker host is Ubuntu 18.04.1 LTS, Kernel 4.15.0-34-generic



[ Full content available at: 
https://github.com/apache/incubator-superset/issues/5987 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to