I am getting the following error when I try to dep...
# replication-ask-ai
l
I am getting the following error when I try to deploy Airbyte locally
Copy code
./run-ab-platform.sh: line 66: curl: command not found
Could anyone help debug this issue.?? I am running deploying Airbyte on Ubuntu 22 machine
k
A message from kapa.ai
It seems like the
curl
command is not found on your system. You can install
curl
on your Ubuntu 22 machine by running the following command:
Copy code
sudo apt-get update sudo apt-get install curl
After installing
curl
, try running the
./run-ab-platform.sh
script again to deploy Airbyte locally. If you still encounter issues, please refer to the [Local Deployment](https://docs.airbyte.com/deploying-airbyte/local-deployment) documentation for more information.
d
@Lenin Mishra are you developing this in WSL2? 1. Try and change the file from CRLF to LF 2. Make sure you have the shebang at the top of your file
!#/bin/bash
Let me know if either of these work
l
@Danilo Drobac It is an Ubuntu system. Its not wsl
d
Did you try 2? Is
curl
installed?
l
yes curl is installed.
2nd point is valid.
d
Can you share your script?
l
run-ab-platform.sh
I am getting
Copy code
Top-level object must be a mapping
@Danilo Drobac ^^
d
Is this a new error after adding the
!#
?
l
Yes @Danilo Drobac
d
Okay, so that resolved the first issue about the script not running. This is a new error related to
docker-compose
.
Can you share your docker compose file?
l
Hi @Danilo Drobac my docker compose file is empty.
d
That's probably why it's failing then 🙂
l
But why are they empty. These files are being created by Airbyte
run-ab-platform.sh
.
d
Not sure. I'm guessing you're following this so it makes no sense that it wouldn't be working. https://docs.airbyte.com/quickstart/deploy-airbyte/ Try a new post saying that
./run-ab-platform.sh
is not working / not downloading files correctly, maybe that'll come up with some troubleshooting.
l
@Danilo Drobac I figured out the issue. My docker only had root privileges. I changed it to my user. Now
./run-ab-platform.sh
is running properly.
👍 1
d
Glad to hear it, nice work!