Can't connect to sprite due to FS perms issue

mkdir: cannot create directory ‘/home/sprite/.terminfo’: Input/output error.

Trying it manually:
~ ❯ mkdir /home/sprite/.terminfo
mkdir: /home/sprite: Operation not supported

I think this path is wrong - it should actually be in my homedir?

On mac, vers: 15.6.1 (24G90)

@atymic hi! As far as I know, it should be supported

~/Workspace ➜ sprite create testing-mkdir

✓ Created testing-mkdir sprite in 1.3s

│ # Try creating a Sprite with the API:
│ $ curl -X POST https://api.sprites.dev/v1/sprites 
│   -H “Authorization: Bearer $TOKEN” 
│   -d ‘{“name”:“testing-mkdir”}’

● Connecting to console…
sprite@sprite:~# mkdir /home/sprite/.terminfo
sprite@sprite:~# ls -a /home/sprite
.  ..  .bashrc  .claude  .codex  .config  .cursor  .gemini  .gitconfig  .local  .sudo_as_admin_successful  .tcshrc  .terminfo  .zcompdump  .zsh_history  .zshrc
sprite@sprite:~# sprite-env info | jq
{
  “version”: “0.0.1-rc35”
}

Try upgrading sprite cli via `sprite upgrade`. If it doesn’t solve the issue on new sprites, please share your CLI version on local machine and your sprite env version from sprite console (that sprite-env info).

The issue is I can’t actually get into the sprite. This error happens before sprite console actually connects.
I upgraded to latest. The error happens on the local mac machine, not on the console side

~ ❯ sprite upgrade ✘ 130
Checking for updates…
Migrating configuration from version 1 to 1…
Latest version: v0.0.1-rc37
Current version: v0.0.1-rc35
Downloading sprite-darwin-amd64.tar.gz…
Installing new version…
Successfully upgraded to version v0.0.1-rc37
~ ❯ sprite console ✘ 130
mkdir: cannot create directory ‘/home/sprite/.terminfo’: Input/output error

I have the same error. I am on Linux. Can’t connect to sprite using sprite console from my host machine.

mkdir: cannot create directory ‘/home/sprite/.terminfo’: Input/output error

The only thing I did before was using the command sprite use <my-sprite-name> to set the default sprite. It created a .sprite file in my /home-dir. Then I changed into a subdir and did sprite console. Then the error happened.

CLI-version is sprite version v0.0.1-rc37.
Also, the sprite was reported as cold prior to my connection attempt.

@atymic right! I think we moved away from manually writing to terminfo but the fallback is there and your sprite is following this path. Based on the error message, I need to check what is going on on the host machine.

Meanwhile, @atymic @jtepe would you mind trying to create another sprites and see if the issue is still there for you? Also, please share which terminal do you use. I think it’s minor, but just in case. Thanks!

@igor_ladkin Thanks for the quick reply.

I created another sprite today and I’m still able to console into it. The old one, unfortunately, still displays the same error

$ sprite console -s agent1
mkdir: cannot create directory ‘/home/sprite/.terminfo’: Input/output error

Before, I updated the sprite cli to sprite version v0.0.1-rc39
As terminal I use Ghostty version 1.2.3.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.