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

setup.sh: line 208: ./install/inquirer.sh: No such file or directory - Exiting with status '1'. #298

Open
neobladerunner opened this issue Oct 16, 2024 · 18 comments

Comments

@neobladerunner
Copy link

Hopefully is just something simple but Step 4 in which I run the winapps setup fails with the error in title. I never am able to actually reach the winapps setup screen. Using Mint w/ latest Kernel if that matters.

@oskardotglobal
Copy link
Member

Have you installed WinApps before?

@CalpDev
Copy link

CalpDev commented Oct 16, 2024

Same error. I found a temporary workaround.

Steps:

  1. Install inquirer.sh and setup.sh from repo.
  2. Open setup.sh file.
  3. Redirect Inquirer env line to local inquirer.sh file.
  4. Run setup.sh file we just changed.

@oskardotglobal
Copy link
Member

Is /tmp writable?

@CalpDev
Copy link

CalpDev commented Oct 16, 2024

Is /tmp writable?

Yes, it also has waInquirer.sh file in it.

user@computer:~$ ls -ld /tmp drwxrwxrwt 30 root root 4096 Oct 16 19:37 /tmp

Note: Problem happens after 1 failed install. It runs fine on first try but if you fail first installation process it gives inquirer.sh error.

@neobladerunner
Copy link
Author

Have you installed WinApps before?

Yes, I had an installation fail initially because I didn't have my winapps docker running. I started it, went to run the installer again, and started having this problem.

@neobladerunner
Copy link
Author

I got the installer to progress past the error by copying the install/inquirer.sh from this project into a "install" subfolder within the winapps folder I'm installing winapps in. I'm now getting a new error which may or may not be related (I suspect this was the main issue in the first place).

Checking container status... Cannot connect to the Docker daemon at unix:///home/username/.docker/desktop/docker.sock. Is the docker daemon running?

I can access my windows docker installation fine through the browser, so I have no idea why winapps isn't seeing it.

@oskardotglobal
Copy link
Member

Is your user part of the docker group and did you log out and back in?

@ilbebino08
Copy link

ilbebino08 commented Oct 17, 2024

same error here
I tried to do @CalpDev work around and it doesn't work now i have error code 11

WinApps installation already present at /home/ilbebino/.local/bin/winapps-src. Updating...
Già aggiornato.
Installing WinApps.
Checking for existing conflicting WinApps installations... Done!
Attempting to load WinApps configuration file... Done!
Checking whether dependencies are installed... Done!
Checking container status... Failed!

ERROR: CONTAINER NOT RUNNING.
Windows is not running.
--------------------------------------------------------------------------------
Please ensure Windows is powered on:
podman-compose --file ~/.config/winapps/compose.yaml start
--------------------------------------------------------------------------------
Exiting with status '11'.

but the file doesn't exist

@oskardotglobal
Copy link
Member

you were supposed to create the file during setup

@ilbebino08
Copy link

you were supposed to create the file during setup

You're right, I didn't realize it was THAT file, I think it was deleted either by me by mistake while trying to fix it or when the installation failed

@ilbebino08
Copy link

you were supposed to create the file during setup

I realized that instead it's not that file, the one that needs to be created during setup, but winapps.conf, what I'm missing is compose.yaml

@OWL4C
Copy link

OWL4C commented Oct 25, 2024

It would be great if the installer could account for this and fix this error when it occurs, either manually download ./install or uninstall winapps, then reinstall. (Since the entire installer doesn't start you can't uninstall either)

@ilbebino08
Copy link

(Since the entire installer doesn't start you can't uninstall either)

U can make it start by downloading inquirer.sh and editing the setup.sh with the path of inquirer.sh

@neobladerunner
Copy link
Author

(Since the entire installer doesn't start you can't uninstall either)

U can make it start by downloading inquirer.sh and editing the setup.sh with the path of inquirer.sh

Not really ideal though - forcing users to manually create a directory and download/copy a file from the repo versus the app just being able to figure out what file it needs after a failed first attempt seems fairly logical.

@BobbieERay
Copy link

(Since the entire installer doesn't start you can't uninstall either)

U can make it start by downloading inquirer.sh and editing the setup.sh with the path of inquirer.sh

Not really ideal though - forcing users to manually create a directory and download/copy a file from the repo versus the app just being able to figure out what file it needs after a failed first attempt seems fairly logical.

I agree. As 9/10 users will run into this problem during the install, because either the docker engine wasn't running, or their user wasn't added to the docker group, the install documentation should either be updated to make the pre-conditions very clear, or the installer should handle a failed install.

@Arodd2000
Copy link

Instead of manually downloading inquirer.sh and changing the path, is there a directory we can clear so setup.sh starts "fresh" and tries to create inquirer.sh?

@yongweiy
Copy link

A workaround that works me is to remove the previous install via rm -rf ~/.local/bin/winapps-src.

@ilolm
Copy link

ilolm commented Nov 16, 2024

You have to change directory to ~/.local/bin/winapps-src , and execute ./setup.sh again.

That worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants