I am trying to get meltano 2.4.0 to run within a L...
# troubleshooting
e
I am trying to get meltano 2.4.0 to run within a LXD ubuntu 22.04 container... and having trouble automating the start of the meltano UI I have a script
Copy code
cat <<EOT >> /home/ubuntu/start_meltano.sh
#!/bin/bash
cd /home/ubuntu/meltano_proj_repo
/home/ubuntu/.local/bin/meltano invoke airflow scheduler -D
/home/ubuntu/.local/bin/meltano ui &
EOT
This writes out the script which I then want to execute... I am in Juju so I am running as root .. and want to instead start up with the ubuntu user usually this is a straight forward
sudo -u ubuntu
command... but when I do this nothing seems to start up
as a workaround I reverted back to installing with Root in the container... not pretty but.. I cannot seem to successfully use meltano inside LXD containers without special virtualenvs and I will have to come back to this later
i had to resort to pipx , but at least now I do not run meltano as root