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

[BUG]: Install on Ubuntu 22.04 fails #1405

Closed
geraldthewes opened this issue May 15, 2024 · 1 comment
Closed

[BUG]: Install on Ubuntu 22.04 fails #1405

geraldthewes opened this issue May 15, 2024 · 1 comment
Labels
possible bug Bug was reported but is not confirmed or is unable to be replicated.

Comments

@geraldthewes
Copy link

How are you running AnythingLLM?

AnythingLLM desktop app

What happened?

Downloaded and launched. Unable to create a Workspace

(base) gerald@gerald-XPS-15-9570 Software $ ./AnythingLLMDesktop.AppImage
[Preferences] preference config stored at /home/gerald/.config/anythingllm-desktop/config.json
[292910:0515/063359.348562:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
Prisma schema loaded from prisma/schema.prisma
Datasource "db": SQLite database "anythingllm.db" at "file:/home/gerald/.config/anythingllm-desktop/storage/anythingllm.db"

Error: Schema engine exited. Error: Could not find schema-engine binary. Searched in:

  • /tmp/.mount_Anythi9eDIIq/resources/backend/node_modules/@prisma/engines/schema-engine-debian-openssl-1.0.x
  • /tmp/.mount_Anythi9eDIIq/resources/backend/node_modules/prisma/schema-engine-debian-openssl-1.0.x
  • /tmp/.mount_Anythi9eDIIq/resources/backend/node_modules/schema-engine-debian-openssl-1.0.x
  • /tmp/.mount_Anythi9eDIIq/resources/backend/node_modules/prisma/runtime/schema-engine-debian-openssl-1.0.x
    Prisma schema loaded from prisma/schema.prisma
    Error:
    EROFS: read-only file system, unlink '/tmp/.mount_Anythi9eDIIq/resources/backend/node_modules/.prisma/client/index.js'

[OllamaProcessManager] Ollama will bind on port 11434 when booted.
[OllamaProcessManager] Creating Ollama models folder in application storage. {
destination: '/home/gerald/.config/anythingllm-desktop/storage/models/ollama'
}
[OllamaProcessManager] SINGLETON LOCK: Using existing OllamaProcessManager.
[OllamaProcessManager] Cannot boot Ollama - no executable found in /tmp/.mount_Anythi9eDIIq/resources/ollama/llm
[292946:0515/064117.918078:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[292946:0515/064120.973706:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[292946:0515/064153.320107:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!
^C[Preferences] Saving last_bounds preference.
(base) gerald@gerald-XPS-15-9570 Software $ ./AnythingLLMDesktop.AppImage
[Preferences] preference config stored at /home/gerald/.config/anythingllm-desktop/config.json
[333229:0515/070141.825322:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
Prisma schema loaded from prisma/schema.prisma
Datasource "db": SQLite database "anythingllm.db" at "file:/home/gerald/.config/anythingllm-desktop/storage/anythingllm.db"

Error: Schema engine exited. Error: Could not find schema-engine binary. Searched in:

  • /tmp/.mount_Anythitzlfl0/resources/backend/node_modules/@prisma/engines/schema-engine-debian-openssl-1.0.x
  • /tmp/.mount_Anythitzlfl0/resources/backend/node_modules/prisma/schema-engine-debian-openssl-1.0.x
  • /tmp/.mount_Anythitzlfl0/resources/backend/node_modules/schema-engine-debian-openssl-1.0.x
  • /tmp/.mount_Anythitzlfl0/resources/backend/node_modules/prisma/runtime/schema-engine-debian-openssl-1.0.x
    Prisma schema loaded from prisma/schema.prisma
    Error:
    EROFS: read-only file system, unlink '/tmp/.mount_Anythitzlfl0/resources/backend/node_modules/.prisma/client/index.js'

[OllamaProcessManager] Ollama will bind on port 11434 when booted.
[Preferences] Will load window with last know bounds.
[333264:0515/070151.168900:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[333264:0515/070151.174689:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[333264:0515/070153.755698:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!

Are there known steps to reproduce?

Download
chmod +x
Run
fails when creating new Workspace

@geraldthewes geraldthewes added the possible bug Bug was reported but is not confirmed or is unable to be replicated. label May 15, 2024
@timothycarambat
Copy link
Member

Duplicate of #898

@timothycarambat timothycarambat marked this as a duplicate of #898 May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
possible bug Bug was reported but is not confirmed or is unable to be replicated.
Projects
None yet
Development

No branches or pull requests

2 participants