Skip to content

[Bug]: unattended install broken #3294

@mentalisttraceur

Description

@mentalisttraceur

What did you expect to happen?

Used to be that I could just have new devices run the following code on setup:

if curl -sS --tlsv1.2 'https://setup.atuin.sh' >atuin-install.sh
then
    sh atuin-install.sh
fi

e.g. inside a new Ona environment, or whatever else is cool nowadays.

This worked perfectly and everything was magical.

What happened?

Today I see install seems to hang forever, seems like it's waiting for input, despite there being no terminal.

Note the cannot open /dev/tty: No such device or address errors just around the first two [Y/n] prompts.

 _______  _______  __   __  ___   __    _
|   _   ||       ||  | |  ||   | |  |  | |
|  |_|  ||_     _||  | |  ||   | |   |_| |
|       |  |   |  |  |_|  ||   | |       |
|       |  |   |  |       ||   | |  _    |
|   _   |  |   |  |       ||   | | | |   |
|__| |__|  |___|  |_______||___| |_|  |__|

Magical shell history

Atuin setup
https://github.com/atuinsh/atuin
https://forum.atuin.sh

Please file an issue or reach out on the forum if you encounter any problems!

===============================================================================
downloading atuin 18.13.3 x86_64-unknown-linux-gnu
installing to /home/vscode/.atuin/bin
  atuin
  atuin-update
everything's installed!
To add $HOME/.atuin/bin to your PATH, either restart your shell or run:

    source $HOME/.atuin/bin/env (sh, bash, zsh)
    source $HOME/.atuin/bin/env.fish (fish)
Atuin installed successfully!

Would you like to import your existing shell history into Atuin? [Y/n] Skipping history import. You can always run 'atuin import auto' later.
atuin-install.sh: 98: cannot open /dev/tty: No such device or address
Sync your history across all your machines with Atuin Cloud:

 - End-to-end encrypted — only you can read your data
  - Access your history from any device
  - Never lose your history, even if you wipe a machine
atuin-install.sh: 126: cannot open /dev/tty: No such device or address
Sign up for a sync account? [Y/n]
Already have an account? Log in with 'atuin login'.
You can also run 'atuin register' any time to create one.
> Enable Atuin AI?
  This will enable command generation and other AI features via the question mark key [Y/n]

Atuin doctor output

N/A

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions