conduit icon indicating copy to clipboard operation
conduit copied to clipboard

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

Open MichalisDBA opened this issue 1 year ago • 12 comments

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

MichalisDBA avatar Jun 19 '24 07:06 MichalisDBA

@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).

hariso avatar Jun 19 '24 09:06 hariso

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.

MichalisDBA avatar Jun 19 '24 09:06 MichalisDBA

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.

hariso avatar Jun 19 '24 10:06 hariso

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 avatar Jun 19 '24 10:06 MichalisDBA

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

MichalisDBA avatar Jun 19 '24 10:06 MichalisDBA

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.

hariso avatar Jun 19 '24 10:06 hariso

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 avatar Jun 19 '24 11:06 MichalisDBA

Clean installation

image

Run ./conduit

image

Try to Create Pipeline

image

MichalisDBA avatar Jun 19 '24 11:06 MichalisDBA

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 avatar Jun 19 '24 11:06 hariso

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

hariso avatar Jun 19 '24 11:06 hariso

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?

MichalisDBA avatar Jun 19 '24 11:06 MichalisDBA

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.

raulb avatar Jun 20 '24 15:06 raulb

Closing this issue since we're deprecating the UI.

hariso avatar Oct 09 '24 10:10 hariso