https://prefect.io logo
Title
t

Tayyab Iqbal

11/12/2022, 3:02 AM
Hey All, Can anyone guide me the problem here, I am facing issues while deploying
prefect-server
on a centOS 7 Virtual Machine with following versions: Python and pip libraries:
Python 3.9.10
prefect 1.4.0
prefect-server 2022.9.23+15.g356da2d
docker 6.0.1
docker-compose 1.29.2
Docker cli version: Docker version 20.10.21, build baeda1f Docker Compose version: Docker Compose version v2.12.2 I am unable to run the prefect server ui under these environments, startup logs as result of
prefect server start --expose
are attached Following is the curl output even if I do from localhost:
[root@prefect-etl-vm-7 ~]# curl "<http://127.0.0.1:8080/>"
curl: (56) Recv failure: Connection reset by peer
Funny thing is I am running the same environment in a mac with just a docker desktop difference and it works on my local system. Any kind of help is much appreciated.
a

Anna Geller

11/12/2022, 5:09 PM
Hi @Tayyab Iqbal, are you getting started with Prefect now? If so, it would be much easier to start with Prefect 2 since this is the default and recommended version Ryan wrote this great guide for your OS https://discourse.prefect.io/t/how-to-run-prefect-2-on-centos-7-or-rhel-7/1507
t

Tayyab Iqbal

11/14/2022, 8:54 AM
Hi @Anna Geller Can you please confirm that prefect 2 is compatible with prefect server?
a

Anna Geller

11/14/2022, 1:20 PM
No, it's an entirely different product. Ideally, don't use Server, use Orion as your new server
j

Jeff Hale

11/14/2022, 2:28 PM
Orion ships with Prefect 2 @Tayyab Iqbal. So you get the server and client in one package. 🙂
t

Tayyab Iqbal

11/14/2022, 2:32 PM
Hey @Jeff Hale That’s great news This means I won’t need the prefect cloud and can only use prefect 2 and orion for its server requirements?
j

Jeff Hale

11/14/2022, 2:36 PM
With Prefect 2, you can either use Prefect Cloud or Orion for your server. See the docs here to get started.
👍 1