ConduitIO / conduit

Conduit streams data between data stores. Kafka Connect replacement. No JVM required.
https://conduit.io
Apache License 2.0
363 stars 42 forks source link

Bug: pipeline.index J.randomUUID is not a function #1669

Open MichalisDBA opened 1 week ago

MichalisDBA commented 1 week ago

Bug description

Hello. I have the same problem as mentioned here https://github.com/ConduitIO/conduit/issues/1207.

I am running AlmaLinux 9.4. I downloaded the latest .rpm file conduit_0.10.2_Linux_x86_64.rpm and install it with rpm -ivh conduit_0.10.2_Linux_x86_64.rpm

i started the conduit by simply run conduit.

The server started and open the webpage. Tried to press Create pipeline but it does not work. In console there are error messages

image

Tried with both browsers, Firefox and Edge. Same problem

Steps to reproduce

OS: AlmaLinux 9.4 Download: wget https://conduit.gateway.scarf.sh/conduit/download/v0.10.2/conduit_0.10.2_Linux_x86_64.rpm Install: rpm -ivh conduit_0.10.2_Linux_x86_64.rpm Run: conduit Open browser and try to press Create pipeline button. Nothing works and throws an error in console: pipeline.index J.randomUUID is not a function

Version

v0.10.2 linux/amd64

hariso commented 1 week ago

@MichalisDBA I've just tried with AlmaLinux 9.4 in a Docker container, and it works. It could be very well an issue related to the version of the browser you're running (mine is Firefox 126.0.1 and Vivaldi 6.7).

MichalisDBA commented 1 week ago

Hi @hariso. Try it without docker. Just install the rpm package with the binary files. I do not use docker. Also tried it with Firefox and Edge. Same problem.

Tried with latest versions of Firefox, Edge, Vivaldi without docker. Only the binary file from .rpm or tar.gz packages.

hariso commented 1 week ago

I installed Conduit using a Debian package as well, and it works... Do you mind running Conduit with docker run -p 8080:8080 ghcr.io/conduitio/conduit and trying it out that way? Personally, I doubt the OS/installation method matters much.

MichalisDBA commented 1 week ago

I have RHEL based Linux systems. Almalinux is one of them. The thing is conduit has binary files that you can run but they are not working on RHEL Clone systems as it seems. Docker image maybe is based on debian that's why on debian and on docker it runs.

They thing is they need to fix their binaries for other systems or else pull them from the release page.

MichalisDBA commented 1 week ago

Also i tried and build the binary file from source. Same error in console from the build binary file.

hariso commented 1 week ago

I'm from the Conduit team, I'll try to help as much as possible. What version of Go and yarn were you using when you built Conduit?

I ran Alma Linux 9.4 in a Docker container (and I don't expect it to have significant differences versus a "normal" Alma Linux installation). Then I installed Conduit following the steps you provided (wget, rpm -ivh), and it worked.

I also modified our existing Dockerfile (that builds Conduit from source) to use Alma Linux 9.4, and that worked too. So I'm sure there's something more to it.

MichalisDBA commented 1 week ago

I run Alma Linux 9.4 in a VM not as a docker container, minimal installation. You have to try it in a VirtualBox or some else virtualization software. Maybe your situation works because alma linux docker container shares some things with the host machine you run it, for example debian.

I test in on a clean Alma Linux 9.4 installation in VirtualBox. Latest version of GO 1.22 and YARN

MichalisDBA commented 1 week ago

Clean installation

image

Run ./conduit

image

Try to Create Pipeline

image

hariso commented 1 week ago

Hmm, I don't think a Docker container is supposed to share anything with the host (unless you explicitly tell it, which we don't).

How about NodeJS, which version of it are you using?

hariso commented 1 week ago

Also, when you get to it, can you please share the output of yum list installed?

MichalisDBA commented 1 week ago

I can give you access to a fresh VM in Hetzner running AlmaLinux 9.4 to try for youself. Is there a contact info to send you the SSH login?

raulb commented 1 week ago

Hi @MichalisDBA! Sorry you ran into this issue 😔. Until we find the culprit of this UI bug, could we maybe help you get started with your pipeline using a pipeline configuration file instead?

Steps involved would require not using the UI, so I hope you are comfortable there.