-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[CHORE]: Openssl version prevents the creation of workspaces #898
Comments
This is because we compile the AppImage on Ubuntu 22 and you must be on another version. This was resolved in a discord thead via manual recomp :/. Gonna leave this open as basically, we need to see if Prisma can generate the client at runtime so the correct openssl is used. https://discord.com/channels/1114740394715004990/1194390131247943690/1215776724243976222 Solution: https://discord.com/channels/1114740394715004990/1194390131247943690/1215964957099819049 |
TLDR:
this is temporary |
Thanks, that works for me. I rebuilt the appimage with |
@ennob Are you on an ARM machine? |
No, x86_64 GNU/Linux (Ubuntu 23.10) |
Sorry i just realized that was a dumb comment 😆 |
Exactly same issue here, (Also Ubuntu 23.10) - what are the chances of a fix & new release soon? |
I am unable to replicate this issue on a totally fresh install of Ubuntu 22.0 LTS that the appimage was not built on. If you are running into this issue - can you attempt to run this version (1.4.1) that basically pins the ENVs Please run via CLI |
@timothycarambat v1.4.1 works for me without any modification. v1.4.0 (from https://useanything.com/download) does not. |
@ennob Thank you for trying that out! Will wait for a couple more confirmations before merging but so far looks like. What OS are you on? |
I can confirm that the v1.4.1 prerelease linked above works out of the box. I'm on Fedora 39. |
Alright, gonna ship this then in the next patch. If this issue closes, the patch is released. (if you are coming to this thread and it is open - please still test and confirm) |
@timothycarambat 1.4.1 works for mee too (ubuntu 23.10) - thank you. |
New release is available on https://useanything.com/download and includes this patch + new custom folder management. You can download and use that image now with no issue |
@fengyunzaidushi | @Godot-Fye Since you have this issue and I don't have access to an environment to replicate I created a rebuild of v1.5.0 but with some changes to the build process for the AppImage to include the required prisma engine since the Can you test this for me? If it works for you it will work for everyone. Can confirm it works on Ubuntu 22LTS |
I have run the Version, but it "stops" on this screen (Version 1.4.4 loads fine): It seems that it can't load my existent Worskpace. No Error Messages appear. Any log i can post to help you? System: Manjaro KDE, Kernel 6.6.26-1-MANJARO |
@timothycarambat
thank you ! |
Same in Fedora. @timothycarambat I've seen in a few places that you only have ubuntu and do not have access to other distros to test... I get the following errors and cannot create a workspace. Which is frustrating because this project has so much potential.
I also don't know that |
Also encountering this problem:
|
the temporary extract-and-rebuild workaround errors with 'Unexpected token': (SUSE Linux Enterprise Server 12 SP5) squashfs-root/resources/backend/node_modules/prisma/build/index.js:867 |
That's not a good workaround anyway imo. We just need a fixed build. |
I deleted the config from /home/username/.config/anythingllm, after that it worked normally. |
I'm glad it is working for you. You must be on a debian-based or debian-like distro. For lots of other distros though like rhel-based (fedora) it will not work at all. I am on 1.5.4 and it gives the errors I show above because the appimage is only built with certain debian-based dependencies.
There error is pretty clear that the other os openssl targets need to be added to the binary generation. They just need to make the change and rebuild from what it looks like. |
This bug affects Arch as well. Had to do the workaround mentioned in #898 (comment) and #898 (comment) |
|
AnythingLLM v1.5.5 OS: Fedora Linux 40 (Workstation Edition) x86_64
|
This worked for me today, it was very strange because it had never happened to me before, it always worked normally and suddenly I opened it and it stopped working. But why does this happen? it's been a few months and it seems that the error is still in the latest version, I'm using manjaro. |
Same problem on latest openSUSE Tumbleweed with latest AnyLLM AppImage from Web site. Update: The workaround works. Hopefully this will not recur until the next release is downloaded. Update 2: Well, no, it doesn't. I closed the app without saving, restarted the app, same problem. I'm obviously not going to do the workaround every time I run the app. So I guess I'll try using the Docker version. Update: the Docker version doesn't have the SSL problem. However, I am unable to connect to LMStudio using the Docker version OR the AppImage version. Opened an issue on Discord. Going to open it here, too. |
it continues to be an issue, v. 1.5.6 on Fedora 40
|
The issue continues on v1.5.7 on Ubuntu 22.04.3 LTS while creating a new Workspace
|
Confirm still an issue on 1.5.7 on openSUSE Tumbleweed. |
OK, today I uninstalled the app, deleted all the configs, reinstalled from latest AppImage. Went through the initial setup - got "failed to create workspace - undefined". I assume it's still the prism issue. Is this going to be fixed any time soon? If not, I'm going to leave AnythingLLM aside and just work with some of my LLM GUIs that do work. |
Locking the thread for now, we know this is an issue for linux users. Currently, there are two paths around this:
The reason is again - mounting of an AppImage creates a tmp directory that is write-only and this blocks the Prisma engines from running to migrate the databases as well as create the client so the creation calls fail |
Solved: https://docs.useanything.com/installation/desktop/linux If you have issues with this installer script or otherwise that is a new issue going forward |
How are you running AnythingLLM?
AnythingLLM desktop app
What happened?
I am using the AppImage for Linux. When attempting to create a new workspace I get the following error:
It seems to be a problem with the openssl version, but it must be the version included in the appimage because my system is running openssl 3.0.10 (on Ubuntu)
Maybe both versions could be supported for maximum flexibility?
Are there known steps to reproduce?
To get a more verbose error message
The text was updated successfully, but these errors were encountered: