Open wangrocky opened 6 years ago
I have some similar:
root@xubuntu-22:~/docker-reviewboard# docker-compose logs -f --tail=100 reviewboard
Attaching to docker-reviewboard_reviewboard_1
reviewboard_1 | if self.print_missing_dependencies():
reviewboard_1 | File "/opt/venv/local/lib/python2.7/site-packages/reviewboard/cmdline/rbsite.py", line 1351, in print_missing_dependencies
reviewboard_1 | fatal, missing_dep_groups = Dependencies.get_missing()
reviewboard_1 | File "/opt/venv/local/lib/python2.7/site-packages/reviewboard/cmdline/rbsite.py", line 112, in get_missing
reviewboard_1 | if not cls.has_modules(modules):
reviewboard_1 | File "/opt/venv/local/lib/python2.7/site-packages/reviewboard/cmdline/rbsite.py", line 135, in has_modules
reviewboard_1 | import(name)
reviewboard_1 | File "/opt/venv/local/lib/python2.7/site-packages/memcache.py", line 374
reviewboard_1 | def quit_all(self) -> None:
reviewboard_1 | ^
reviewboard_1 | SyntaxError: invalid syntax
reviewboard_1 |
reviewboard_1 | ERROR: Unable to import settings_local.py: No module named
reviewboard_1 | settings_local
reviewboard_1 | Traceback (most recent call last):
reviewboard_1 | File "/opt/venv/bin/rb-site", line 8, in
docker run -it --link rb-postgres:pg --link rb-memcached:memcached --volumes-from rb-data -p 8000:8000 ikatson/reviewboard [uWSGI] getting INI configuration from /uwsgi.ini [uwsgi-static] added mapping for /static => /var/www/reviewboard/htdocs/static [uwsgi-static] added mapping for /media => /var/www/reviewboard/htdocs/media [uwsgi-static] added mapping for /errordocs => /var/www/reviewboard/htdocs/errordocs Starting uWSGI 2.0.15 (64bit) on [Mon Mar 19 17:11:05 2018] compiled with version: 4.8.5 20150623 (Red Hat 4.8.5-11) on 19 May 2017 14:33:49 os: Linux-3.10.0-693.17.1.el7.x86_64 #1 SMP Thu Jan 25 20:13:58 UTC 2018 nodename: 72327e7d271f machine: x86_64 clock source: unix pcre jit disabled detected number of CPU cores: 1 current working directory: / detected binary path: /usr/sbin/uwsgi uWSGI running as root, you can use --uid/--gid/--chroot options WARNING: you are running uWSGI as root !!! (use the --uid flag) your processes number limit is 1048576 your memory page size is 4096 bytes detected max file descriptor number: 1048576 building mime-types dictionary from file /etc/mime.types...1060 entry found lock engine: pthread robust mutexes thunder lock: disabled (you can enable it with --thunder-lock) uWSGI http bound on :8000 fd 4 uwsgi socket 0 bound to TCP address 127.0.0.1:33740 (port auto-assigned) fd 3 Python version: 2.7.5 (default, Aug 4 2017, 00:39:18) [GCC 4.8.5 20150623 (Red Hat 4.8.5-16)] Python main interpreter initialized at 0x1d4fa90 python threads support enabled your server socket listen backlog is limited to 100 connections your mercy for graceful operations on workers is 60 seconds mapped 145536 bytes (142 KB) for 1 cores Operational MODE: single process failed to open python file /var/www/reviewboard/conf/settings_local.py
i don't know what's going on..