Deckel de Lange
06/30/2021, 11:59 AMprefect server start
where I get the following error: ERROR: Couldn't connect to Docker daemon at <http+docker://localhost> - is it running?
any help would be appreciated thanks!ERROR: Couldn't connect to Docker daemon at <http+docker://localhost> - is it running?
If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable.
Exception caught; killing services (press ctrl-C to force)
ERROR: Couldn't connect to Docker daemon at <http+docker://localhost> - is it running?
If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable.
Traceback (most recent call last):
File "/home/prefect-runner/prefect-env/lib/python3.6/site-packages/prefect/cli/server.py", line 609, in start
["docker-compose", "pull"], cwd=compose_dir_path, env=env
File "/usr/lib/python3.6/subprocess.py", line 311, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['docker-compose', 'pull']' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/prefect-runner/prefect-env/bin/prefect", line 11, in <module>
load_entry_point('prefect==0.14.22+28.g4218c2f73', 'console_scripts', 'prefect')()
File "/home/prefect-runner/prefect-env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/home/prefect-runner/prefect-env/lib/python3.6/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/home/prefect-runner/prefect-env/lib/python3.6/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/prefect-runner/prefect-env/lib/python3.6/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/prefect-runner/prefect-env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/prefect-runner/prefect-env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/home/prefect-runner/prefect-env/lib/python3.6/site-packages/prefect/cli/server.py", line 650, in start
["docker-compose", "down"], cwd=compose_dir_path, env=env
File "/usr/lib/python3.6/subprocess.py", line 356, in check_output
**kwargs).stdout
File "/usr/lib/python3.6/subprocess.py", line 438, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker-compose', 'down']' returned non-zero exit status 1.
Greg Roche
06/30/2021, 12:23 PMdocker-compose
binary not being given execution permissions. Maybe try rerunning these commands to ensure docker-compose is installed and can be run:
sudo curl -L "<https://github.com/docker/compose/releases/download/1.25.4/docker-compose-$(uname> -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
Deckel de Lange
06/30/2021, 12:30 PMIle Lee
07/29/2021, 8:23 PMGreg Roche
07/30/2021, 7:25 AMUbuntu Server 18.04 LTS (HVM)
on a t2.medium
instance) the steps from "Installing dependencies" and onwards are basically identical.Ile Lee
07/31/2021, 9:09 AM[server]
[server.ui]
apollo_url = "<http://public-ip:4200/graphql>"
graphql_url = "<http://public-ip:4200/graphql>"
From there:
prefect backend server
prefect server start
The server starts and says you can visit in localhost:8080
but when I go to my-public-ip:8080, the prefect UI doesn't show
I'm sorry for such a long explanation, I just can't figure out why I can't get it running :(