Hello, I'm on an older version from 2022, and Im w...
# troubleshoot
s
Hello, I'm on an older version from 2022, and Im working on upgrading to the newest version. The datahub is on a single aws ec2 linux instance, installed with datahub docker quickstart, and a custom docker-compose file to enable OIDC. I ran python3 -m pip install --upgrade pip wheel setuptools python3 -m pip install --upgrade acryl-datahub datahub version I also updated the system with: sudo yum update -y After this I get the error bad gateway, I then ran: docker-compose -p datahub -f docker-compose.yml -f docker-compose.yml up -d datahub-frontend-react since I did see that only one docker was running. After this I see that 4 dockers are running, datahub-frontend-react, datahub-gms, mysql:5.7 and datahub-actions. I then get the red error with: Oops, an error occurred This exception has been logged with id 810jjdhed. Any idea what I can do to fix this? The next plan was to upgrade docker compose to v2 and then run datahub docker quickstart.
1
Output on datahub version: /home/ec2-user/.local/lib/python3.7/site-packages/requests/__init__.py104 RequestsDependencyWarning: urllib3 (1.26.9) or chardet (5.0.0)/charset_normalizer (2.0.12) doesn't match a supported version! RequestsDependencyWarning) DataHub CLI version: 0.10.0.6 Python version: 3.7.16 (default, Dec 15 2022, 232454) [GCC 7.3.1 20180712 (Red Hat 7.3.1-15)]
I now see that the docker datahub-frontend-react:head is listed as unhealthy, and that datahub-gms is not running anymore.
h
Hey, have you always been using this command for docker deployment ? I was wondering if you should be using just this docker-compose -p datahub -f docker-compose.yml -f docker-compose.yml up -d
s
I tried upgrading docker compose to v2 and upgrade with datahub docker quickstart. It seems to start the containers, but they keep recreating and go to the started state over and over:
image.png
I will try that if I can @hundreds-photographer-13496, thanks. I think I always used that command yea
I canceled the datahub docker quickstart, and then ran the command with docker compose and not docker-compose. And that started them up it seems. Checking
all of these started, but some is not staying up
image.png
image.png
I can access the url, but it is completly empty with content
image.png
found orphan containers
h
Since you are upgrading to latest version , please have a look at https://github.com/datahub-project/datahub/releases/tag/v0.10.0 If problems persist , share the question in #all-things-deployment channel.
s
Thanks, I will do