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

Non functional after initial install/run on (GNU Linux) on Beta release. "dotnet: command not found" #251

Closed
Lolagatorade opened this issue Mar 11, 2024 · 7 comments

Comments

@Lolagatorade
Copy link

Lolagatorade commented Mar 11, 2024

Following a fresh full install ( due to updater causing the following issue ) the application works as expected on linux and will launch. After killing it ctrl+c on terminal the successive attempt to start the program results in the following:

launch-linux.sh: line 12: dotnet: command not found
launch-linux.sh: line 19: dotnet: command not found

commented the lines out because i thaught maybe it is a windows feature that somehow got into the start script resulting in:

launch-linux.sh: line 13: syntax error near unexpected token fi' launch-linux.sh: line 13: fi'

Either way set it back to default and still wouldnt start.

Running this on manjaro/arch linux whatever the latest update is for it on kernel 6.7.7-1 nvidia 1060 ect

image
image

After reboot same issue and the installer also spits out a dotnet error:
sh update-linuxmac.sh  127 ✘
Already up to date.
update-linuxmac.sh: line 20: dotnet: command not found

image

@Lolagatorade Lolagatorade changed the title Non functional after Beta release "dotnet: command not found" Non functional (GNU Linux) after Beta release "dotnet: command not found" Mar 11, 2024
@Lolagatorade
Copy link
Author

Lolagatorade commented Mar 11, 2024

Update i "approach a fix" by installing the dotnet sdk using: dotnet/core#4322 (comment)

Still not functional saying it needs "MicrosoftzAspNetCore.App"

Noted it may be a good idea to ammend the linux-macos installer to check and install the dotnet package as for me it didnt check if it was present and errored out with the prior explination. i got it to advance a bit with the current error STILL NOT FUNCTIONAL

image

image
image

@Lolagatorade
Copy link
Author

Lolagatorade commented Mar 11, 2024

Nothing else to do today kept trying new things to see if anything stuck. tried to use the dotnet install script i found provided in the folder and it resulted in the original error i mentioned prior.

image

regarding the prior manual install of .net framework from Microsoft a small improvement was made when i installed/reinstalled dependencies as instructed to do so for linux systems when using dotnet or whatnot not too sure how this all works just playing around and seeing what works

image
image

regarding the folder it keeps referencing for dotnet i am not sure why it does not see its presence as its there
image

@Lolagatorade
Copy link
Author

Lolagatorade commented Mar 11, 2024

Final attempt got tired of playing around and deleted whole folder and reinstalled worked fine with cascade model and even rendered an image but same as with initial issue when shut down and reinitiated the same errors come up

image

@Lolagatorade Lolagatorade changed the title Non functional (GNU Linux) after Beta release "dotnet: command not found" Non functional after initial install/run on (GNU Linux) after Beta release "dotnet: command not found" Mar 11, 2024
@Lolagatorade Lolagatorade changed the title Non functional after initial install/run on (GNU Linux) after Beta release "dotnet: command not found" Non functional after initial install/run on (GNU Linux) on Beta release. "dotnet: command not found" Mar 11, 2024
@mcmonkey4eva
Copy link
Contributor

mcmonkey4eva commented Mar 11, 2024

See the manual install on linux notes in the readme: https://github.com/Stability-AI/StableSwarmUI?tab=readme-ov-file#alternate-manual-linux-install
Specifically the note of:

Some users have said that certain Linux distros expect aspnet-runtime to be installed separately

seems to be the one affecting you there

mcmonkey4eva added a commit that referenced this issue Mar 11, 2024
@mcmonkey4eva
Copy link
Contributor

Pushed a commit to the install script to strongly ensure aspnet is included on linux if you use the script

@Lolagatorade
Copy link
Author

Lolagatorade commented Mar 11, 2024

See the manual install on linux notes in the readme: https://github.com/Stability-AI/StableSwarmUI?tab=readme-ov-file#alternate-manual-linux-install

Specifically the note of:

Some users have said that certain Linux distros expect aspnet-runtime to be installed separately

seems to be the one affecting you there

Excellent that worked and was exactly what was needed. Maybe something can be implemented into the installer to run a check to verify before finishing the install? For general user experience in a perfectionist viewpoint. Although not sure if it's worth the time and effort since it was a pretty easy fix.

Feel free to close this issue or flag it if it's decided to be patched.

Thank you for your assistance. Always appreciated 🙏

@Lolagatorade
Copy link
Author

Pushed a commit to the install script to strongly ensure aspnet is included on linux if you use the script

Actually, now that I looked into it that link you gave me is specific for arch Linux users because endeavor OS, Artix OS, and manjaro are all Arch. This might not be an issue with the Ubuntu those packages might already come in the distribution.

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