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

Installation of lmstudio fails #1178

Closed
MysterHawk opened this issue Dec 1, 2024 · 1 comment
Closed

Installation of lmstudio fails #1178

MysterHawk opened this issue Dec 1, 2024 · 1 comment

Comments

@MysterHawk
Copy link

MysterHawk commented Dec 1, 2024

antonio@my-system:~/Downloads$ appman install lmstudio
============================================================================

                  START OF ALL INSTALLATION PROCESSES

============================================================================

 ◆ "LMSTUDIO": starting installation script

-                                   100%[================================================================>]  11.36K  --.-KB/s    in 0s      

 💀 ERROR DURING INSTALLATION, REMOVED "LMSTUDIO"!
____________________________________________________________________________
============================================================================

                  END OF ALL INSTALLATION PROCESSES

============================================================================

Good evening,

I tried to install lmstudio using the appman mode, but the installation fails, I encounter 2 problems:

A) As a normal user, I don't have the permission to create a folder and symbolic links in /opt/lmstudio
B) The download from the mirror fails, I get a 404:

(I tried to extract the bash script and debug it, I get):

antonio@my-system:~/Downloads$ ./lmstudio.sh 
Current working directory: /opt/lmstudio/tmp
APP: lmstudio
Fetching version from Repology...
Extracted version: 0.3.5.2
Constructing AppImage URL...
Generated AppImage URL: https://releases.lmstudio.ai/linux/x86/0.3.5.2/3/LM_Studio-0.3.5.2.AppImage
Downloading AppImage...
--2024-12-01 22:51:08--  https://releases.lmstudio.ai/linux/x86/0.3.5.2/3/LM_Studio-0.3.5.2.AppImage
Resolving releases.lmstudio.ai (releases.lmstudio.ai)... 188.114.97.0, 188.114.96.0, 2a06:98c1:3120::, ...
Connecting to releases.lmstudio.ai (releases.lmstudio.ai)|188.114.97.0|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-12-01 22:51:08 ERROR 404: Not Found.

It seems that the URL structure for the latest version of lmstudio has changed:
https://releases.lmstudio.ai/linux/x86/0.3.5/2/LM_Studio-0.3.5.AppImage

I also tried to replace the generated url with the one from the official website, but I encounter other linking problems at the end:

Generated AppImage URL: https://releases.lmstudio.ai/linux/x86/0.3.5/2/LM_Studio-0.3.5.AppImage
Downloading AppImage...
--2024-12-01 22:53:24--  https://releases.lmstudio.ai/linux/x86/0.3.5/2/LM_Studio-0.3.5.AppImage
Resolving releases.lmstudio.ai (releases.lmstudio.ai)... 188.114.97.0, 188.114.96.0, 2a06:98c1:3120::, ...
Connecting to releases.lmstudio.ai (releases.lmstudio.ai)|188.114.97.0|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 783611962 (747M) [application/octet-stream]
Saving to: ‘LM_Studio-0.3.5.AppImage’

LM_Studio-0.3.5.AppImage            100%[================================================================>] 747.31M  32.9MB/s    in 23s     

2024-12-01 22:53:48 (32.6 MB/s) - ‘LM_Studio-0.3.5.AppImage’ saved [783611962/783611962]

Linking lmstudio to /usr/local/bin...
ln: failed to create symbolic link '/usr/local/bin/lmstudio': Permission denied
mv: cannot move './lmstudio.desktop' to '/usr/local/share/applications/lmstudio-AM.desktop': No such file or directory

I attach to this thread a copy of your script with some debug prints, hope they'll help!
lmstudio.zip

Kind regards

Thank you for your
work
Antonio

@ivan-hc ivan-hc closed this as completed in 7e95569 Dec 1, 2024
@ivan-hc
Copy link
Owner

ivan-hc commented Dec 1, 2024

ho risolto cambiando la fonte, da adesso farà affidamento ad AUR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants