hi there :slightly_smiling_face: it seems, that in...
# prefect-server
m
hi there 🙂 it seems, that in the latest prefect release the backend is not working: ubuntu 18, Docker version 20.10.2, build 2291f61 pip install prefect==0.14.8
Copy code
> prefect server start
ERROR: The Compose file './docker-compose.yml' is invalid because:
services.ui.depends_on contains an invalid type, it should be an array
services.apollo.depends_on contains an invalid type, it should be an array
services.towel.depends_on contains an invalid type, it should be an array
services.graphql.depends_on contains an invalid type, it should be an array
services.hasura.depends_on contains an invalid type, it should be an array
Exception caught; killing services (press ctrl-C to force)
ERROR: The Compose file './docker-compose.yml' is invalid because:
services.ui.depends_on contains an invalid type, it should be an array
services.apollo.depends_on contains an invalid type, it should be an array
services.towel.depends_on contains an invalid type, it should be an array
services.graphql.depends_on contains an invalid type, it should be an array
services.hasura.depends_on contains an invalid type, it should be an array
Traceback (most recent call last):
  File "/home/poc/miniconda3/envs/etlp/lib/python3.8/site-packages/prefect/cli/server.py", line 346, in start
    subprocess.check_call(
  File "/home/poc/miniconda3/envs/etlp/lib/python3.8/subprocess.py", line 364, 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/poc/miniconda3/envs/etlp/bin/prefect", line 8, in <module>
    sys.exit(cli())
  File "/home/poc/miniconda3/envs/etlp/lib/python3.8/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/home/poc/miniconda3/envs/etlp/lib/python3.8/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/home/poc/miniconda3/envs/etlp/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/poc/miniconda3/envs/etlp/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/poc/miniconda3/envs/etlp/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/poc/miniconda3/envs/etlp/lib/python3.8/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/home/poc/miniconda3/envs/etlp/lib/python3.8/site-packages/prefect/cli/server.py", line 384, in start
    subprocess.check_output(
  File "/home/poc/miniconda3/envs/etlp/lib/python3.8/subprocess.py", line 411, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/home/poc/miniconda3/envs/etlp/lib/python3.8/subprocess.py", line 512, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['docker-compose', 'down']' returned non-zero exit status 1.
z
Ah interesting this appears to be related to the healthcheck changes, cc @Jim Crist-Harif
@Michael Hadorn could you also provide your
docker-compose --version
? I don't get this error.
m
sure. ah ok.. docker-compose version 1.25.5, build 8a1c60f6
z
I'm on
docker-compose version 1.28.2
Would you mind upgrading and see if that fixes it? At a glance I don't see anything in their changelog that would do this but it's working fine for me
m
I can do it next week. thanks a lot for your support (multipletimes this week)! btw: 0.14.6 is working on the same machine. enjoy your weekend! Michael
ok, it's working (docker-compose update and also current prefect version 0.14.9)
âś… 1
z
Wonderful! @josh can you marvin an issue from this for a minimum docker-compose version now that we have health checks using some newer syntax?
j
@Marvin archive “Minimum docker-compose version for server” in server
j
Hmm that’s not the right repo lol, moving it. Edit: Actually keeping it in prefect repo since it uses the prefect CLI
đź‘Ť 1
j
I didn't add
archive ...
support for other repos, only
open ...
support.
z
I think it should be open anyway since we should document this