Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permission error when running the getml enterprise version #15

Open
Jogala opened this issue Sep 20, 2024 · 0 comments
Open

Permission error when running the getml enterprise version #15

Jogala opened this issue Sep 20, 2024 · 0 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@Jogala
Copy link
Collaborator

Jogala commented Sep 20, 2024

When trying to run/install getml-enterprise (with the monitor) on a wsl2 ubuntu distribution (24.04) I get the following permission error:

(.venv) joachim@LAPTOP-TGARJR02:~/.getML/getml-1.4.0-x64-linux$ sudo ./getML 
[sudo] password for joachim: 
Installing getML...
Successfully installed getML into '/usr/local/getML/getml-1.4.0-x64-linux'.
2024/09/20 09:03:48 fork/exec /usr/local/getML/getml-1.4.0-x64-linux/bin/getml-monitor: permission denied
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0xa0 pc=0x50e538]

goroutine 1 [running]:
os/exec.(*Cmd).Wait(0xc000157e60?)
        /usr/local/go/src/os/exec/exec.go:502 +0x18
main.main()
        /home/getml/storage/monorepo/src/getml-app/src/main.go:76 +0x492

I entcountered that problem already before on another wsl distro. I could fix the problem by executing:

chmod +x  /usr/local/getML/getml-1.4.0-x64-linux/bin/getml-monitor
#that one because otherwise I could not start the engine from vs code interactive ...
chmod +x  /home/joachim/.getML/getml-1.4.0-x64-linux/bin/getml-1.4.0-x64-linux-engine

That worked:

(.venv) joachim@LAPTOP-TGARJR02:~/.getML/getml-1.4.0-x64-linux$ sudo ./getML 
Installing getML...
Successfully installed getML into '/usr/local/getML/getml-1.4.0-x64-linux'.
getML - Automated Feature Learning for Relational Data and Time Series.
version:  getml-1.4.0-x64-linux

Please open a browser and point it to the following URL:
http://localhost:1709/

But I think there could be something wrong with the installer or it should handle that case more gracefully giving the user instructions.

@Jogala Jogala added bug Something isn't working enhancement New feature or request labels Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants