Dear Team, I have installed Prefect on a clean Ubu...
# prefect-server
g
Dear Team, I have installed Prefect on a clean Ubuntu 18.04 Desktop VM. When starting the server, I get this error message:
Copy code
Traceback (most recent call last):
  File "urllib3/connectionpool.py", line 677, in urlopen
  File "urllib3/connectionpool.py", line 392, in _make_request
  File "http/client.py", line 1252, in request
  File "http/client.py", line 1298, in _send_request
  File "http/client.py", line 1247, in endheaders
  File "http/client.py", line 1026, in _send_output
  File "http/client.py", line 966, in send
  File "docker/transport/unixconn.py", line 43, in connect
PermissionError: [Errno 13] Permission denied
Any idea what I am missing?
👍 1
found the problem:need to go into the bin folder and start the server using "sudo python3 prefect server start", then it works 😏
p
You shouldn't need sudo. I would need to see the whole stacktrace to be sure... but I suspect that it's because your docker client is not configured to be run by your user. To do that you need to add your user to the docker group:
Copy code
sudo usermod -a -G docker $USER
newgrp docker
And then try again without sudo.
👍 2