Skip to content

[Bug]: Version 0.15.0 wants to install node, and it can't read existing sessions #390

@jurgenhaas

Description

@jurgenhaas

App Variant

Electron

Operating System & Version

Ubuntu 22.04 LTS

Issue Summary

Unexpected node installation and missing sessions

Steps to Reproduce

When I started version 0.15.0 as an AppImage, it started properly but then showed the following screen:

Image

Then, when I open any workspace, it shows me that there are no existing sessions, although there are.

At the console, I'm seeing the following error messages:

[cli][stdout] [INFO] [workspace] Creating workspace workspaceId=moqw6mzy folder=/var/www/drupal/projects/eca-11/web/modules/contrib/modeler binary=/home/jurgenhaas/.opencode/bin/opencode
[cli][stdout] [INFO] [workspace] Launching OpenCode process workspaceId=moqw6mzy folder=/var/www/drupal/projects/eca-11/web/modules/contrib/modeler binary=/home/jurgenhaas/.opencode/bin/opencode spawnCommand=/home/jurgenhaas/.opencode/bin/opencode commandLine=/home/jurgenhaas/.opencode/bin/opencode serve --port 0 --print-logs --log-level DEBUG
[cli][stdout] [INFO] [workspace] Workspace runtime allocated port workspaceId=moqw6mzy port=4096
[cli][stdout] [INFO] [workspace] Workspace ready workspaceId=moqw6mzy port=4096
[cli][stdout] [INFO] [workspace] Stopping workspace workspaceId=moqw6mzy
[cli][stdout] [INFO] [workspace] Stopping OpenCode process workspaceId=moqw6mzy
[cli][stdout] [WARN] [instance-events] Instance event stream disconnected workspaceId=moqw6mzy err=TypeError: terminated: other side closed stack="TypeError: terminated
[cli][stdout] at Fetch.onAborted (/tmp/.mount_CodeNovRlAV0/resources/server/node_modules/undici/lib/web/fetch/index.js:2046:49)
[cli][stdout] at Fetch.emit (node:events:519:28)
[cli][stdout] at Fetch.terminate (/tmp/.mount_CodeNovRlAV0/resources/server/node_modules/undici/lib/web/fetch/index.js:93:10)
[cli][stdout] at Object.onError (/tmp/.mount_CodeNovRlAV0/resources/server/node_modules/undici/lib/web/fetch/index.js:2237:34)
[cli][stdout] at Request.onError (/tmp/.mount_CodeNovRlAV0/resources/server/node_modules/undici/lib/core/request.js:303:27)
[cli][stdout] at Object.errorRequest (/tmp/.mount_CodeNovRlAV0/resources/server/node_modules/undici/lib/core/util.js:638:13)
[cli][stdout] at Socket.<anonymous> (/tmp/.mount_CodeNovRlAV0/resources/server/node_modules/undici/lib/dispatcher/client-h1.js:736:12)
[cli][stdout] at Socket.emit (node:events:531:35)
[cli][stdout] at TCP.<anonymous> (node:net:346:12)
[cli][stdout] caused by: SocketError: other side closed
[cli][stdout] at Socket.<anonymous> (/tmp/.mount_CodeNovRlAV0/resources/server/node_modules/undici/lib/dispatcher/client-h1.js:701:24)
[cli][stdout] at Socket.emit (node:events:531:35)
[cli][stdout] at endReadableNT (node:internal/streams/readable:1698:12)
[cli][stdout] at process.processTicksAndRejections (node:internal/process/task_queues:89:21)"
[cli][stdout] [INFO] [workspace] OpenCode process exited workspaceId=moqw6mzy code=null signal=SIGTERM
[cli][stdout] [INFO] [workspace] Workspace process exited workspaceId=moqw6mzy code=null signal=SIGTERM requested=true

Expected Behavior

I expected to see the previous sessions when opening a workspace.

Logs & Screenshots

No response

Additional Context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions