Hello,
im using Docker for Windows and cant create the super user. Until this point everything went fine.
I marked personal information with *********.
The error message is:
Traceback (most recent call last):
File “/opt/seatable/seatable-server-latest/seafile/lib/python3/site-packages/pysearpc/named_pipe.py”, line 85, in _get_transport
transport = self._pool.get(False)
File “/usr/lib/python3.7/queue.py”, line 167, in get
raise Empty
_queue.EmptyDuring handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “manage.py”, line 10, in
execute_from_command_line(sys.argv)
File “/opt/seatable/seatable-server-latest/dtable-web/thirdpart/django/core/management/init.py”, line 419, in execute_from_command_line
utility.execute()
File “/opt/seatable/seatable-server-latest/dtable-web/thirdpart/django/core/management/init.py”, line 413, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File “/opt/seatable/seatable-server-latest/dtable-web/thirdpart/django/core/management/base.py”, line 354, in run_from_argv
self.execute(*args, **cmd_options)
File “/opt/seatable/seatable-server-latest/dtable-web/thirdpart/django/core/management/base.py”, line 398, in execute
output = self.handle(*args, **options)
File “/opt/seatable/seatable-server-2.8.13/dtable-web/seahub/base/management/commands/createsuperuser.py”, line 88, in handle
User.objects.get(email=default_username)
File “/opt/seatable/seatable-server-2.8.13/dtable-web/seahub/base/accounts.py”, line 185, in get
emailuser = ccnet_threaded_rpc.get_emailuser(email)
File “/opt/seatable/seatable-server-latest/seafile/lib/python3/site-packages/pysearpc/client.py”, line 125, in newfunc
ret_str = self.call_remote_func_sync(fcall_str)
File “/opt/seatable/seatable-server-latest/seafile/lib/python3/site-packages/pysearpc/named_pipe.py”, line 97, in call_remote_func_sync
transport = self._get_transport()
File “/opt/seatable/seatable-server-latest/seafile/lib/python3/site-packages/pysearpc/named_pipe.py”, line 87, in _get_transport
transport = self._create_transport()
File “/opt/seatable/seatable-server-latest/seafile/lib/python3/site-packages/pysearpc/named_pipe.py”, line 80, in _create_transport
transport.connect()
File “/opt/seatable/seatable-server-latest/seafile/lib/python3/site-packages/pysearpc/named_pipe.py”, line 44, in connect
self.pipe.connect(self.socket_path)
FileNotFoundError: [Errno 2] No such file or directory
Heres my Docker-Compose file:
version: '2'
services:
db:
image: mariadb:10.5
container_name: seatable-mysql
environment:
- MYSQL_ROOT_PASSWORD=********* # Root password of MySQL -- must be changed
- MYSQL_LOG_CONSOLE=true
volumes:
- seatable_db:/var/lib/mysql # Volume of MySQL (directory for persistent storage) and mount point in container -- can be changed (not advised)
networks:
- seatable-net
memcached:
image: memcached:1.5.6
container_name: seatable-memcached
entrypoint: memcached -m 256
networks:
- seatable-net
redis:
image: redis:5.0.7
container_name: seatable-redis
networks:
- seatable-net
seatable:
image: seatable/seatable-enterprise:latest
container_name: seatable
ports:
- "9002":80" # HTTP port on the Docker host and the port in the container -- must be changed if port 80 is already in use on Docker host
# - "443:443" # HTTPS port on the Docker host and the port in the container -- must be changed if port 443 is already in use on Docker host
volumes:
- seatable:/shared # Volume of SeaTable (directory for persistent storage) and mount point in container -- can be changed (not advised)
environment:
- DB_HOST=db
- DB_ROOT_PASSWD=********* # Root password of MySQL -- must be changed to the value set above
- SEATABLE_SERVER_LETSENCRYPT=False # Decision on whether or not to use Let's Encrypt for HTTPS, default is False -- must be changed to True if a Let's Encrypt SSL certificate is to be used
- SEATABLE_SERVER_HOSTNAME=********* # Host name -- must be changed
- TIME_ZONE=Etc/UTC # Optional, default is UTC. Example: Europe/Berlin. Choices can be found here: http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
depends_on:
- db
- memcached
- redis
networks:
- seatable-net
networks:
seatable-net:
volumes:
seatable_db:
driver: local
driver_opts:
type: 'none'
o: 'bind'
device: '/c/Users/Administrator/Docker/Volumes/Seatable/Mysql'
seatable:
driver: local
driver_opts:
type: 'none'
o: 'bind'
device: '/c/Users/Administrator/Docker/Volumes/Seatable/Seatable'