-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Ubuntu can't find steamcmd command #8
Comments
When running steamcmd as non-root (and creating user called steam), logging into it and running the script again, got basically the same error message: |
Thanks for the report. I think I have a fix for you:
This should work. If it does, I will push this hotfix into the script. |
Probably doing something wrong (still), but after changing 174 line to what you mentioned, it gives pretty much the same error: 174 line now looks like this: I could post whole script, but the only changes made there is beforementioned line and config section by adding random servers, adding steam account name and API key: P.S. |
Could you tell me:
As your regular user, could you run Then, can you switch to the As for the second issue (missing mods), the mod IDs located in Its mod list is: 2657894867 Your Anyway, I think it'd be best to resolve the steamcmd issue first before attacking this other question, since there's a slight chance of a problem in the control flow. I'm planning to add a logging functionality in the next release so that users can send a full debug log with relevant info when they have a problem. |
Could you tell me:
Sorry for all this hassle - Used to windows next-next-finish stuff and now anything what goes into scripts, causes me small panic attacks.. |
It's no hassle. I'm happy to help you. A similar issue was reported by another Ubuntu user, and after looking into it (https://packages.ubuntu.com/focal/i386/steamcmd/filelist), it seems that Ubuntu installs the program to As your normal user, try running If that happens, for starters, run To clarify, the |
|
OK, good news: I set up an Ubuntu virtual machine and was able to reproduce and fix the issue. I'm going to include some other miscellaneous fixes in the next release, so it'll be 1-2 days until it's ready. Once it's online, I'll send you an update here. |
Thanks for all the effort you've put into this issue! Really appreciate that! <3 |
Okay, the update is live. Thanks for reporting it. I knew that there was something vaguely wrong there, but wasn't able to identify it until your patient and detailed report. It's not an issue limited to Ubuntu per se, but the command being used to call steamcmd was malformed in some scenarios. The main fixes for this minor version (0.3.0) are:
Still to come: detailed changelogs, standalone releases on GitHub With the last fix, the script will now notify you if there is a new version available to download (but not download it for you). This is forwards-compatible with future versions, so you shouldn't miss any future bug fixes. Please test the original problem and let me know if it's working correctly, at which point I will close this issue. |
Now everything goes as far as to open Windows version of Steam (emulated under wine) instead of the one I actually use - Linux native with proton support. Should I uninstall Windows version or that won't fix the problem? sudo su ./dztui.sh gives following errors: If running as root #./dztui.sh I get Windows steam with error pop-up saying "An error ocurred while updating DayZ (invalid platform)" - I haven't installed DayZ on that version (or any games whatsoever. I have no idea why I still keep that version on my PC at all). EDIT: EDIT #2: Thanks you for your enormous effort in fixing these issues! Greatly appreciated! |
Right, you shouldn't run scripts as root unless there is some special reason to. The script will only ask for elevated privileges when it tries to invoke steamcmd with Thanks for confirming that it works. I'll close this issue, but feel free to open another one if you encounter something else. |
I should add, if you put the script in your |
Hi, the latest version of DZTUI contains some additional error handling and more reliable method of finding steamcmd. |
Ran into this issue while trying to run the dztui:
Selection: 1 [INFO] Verifying integrity of server modlist manifest [7/7] [ERROR] Missing mods. Invoking steamcmd for user zivs [INFO] Found steamcmd user. Downloading mods sudo: steamcmd: command not found
The thing is, steamcmd is installed, I can log in into it, but the script refuses to find the command? script is chmoded to +x and ran with ./dztui.sh
Not very familiar with linux scripts and stuff like that, therefore, maybe I do something completely wrong or skip some steps absolutely? Where should I look into or what info to give extra, to solve this mistery?
Ubuntu:
Distributor ID: Ubuntu
Description: Ubuntu 21.10
Release: 21.10
Codename: impish
All the required packages are installed and up to date.
Thanks in advance!
The text was updated successfully, but these errors were encountered: