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

Unable to install on bazzite/Missing "update_systemd_ext.sh" file #367

Open
Krules02 opened this issue Jul 3, 2024 · 3 comments
Open

Unable to install on bazzite/Missing "update_systemd_ext.sh" file #367

Krules02 opened this issue Jul 3, 2024 · 3 comments

Comments

@Krules02
Copy link

Krules02 commented Jul 3, 2024

First I tried installing using the .desktop file, which failed.

Here's the terminal output I got:

Deck user not found. Continuing anyway, as it probably just means user is on a non-steamos system.
Warning: Failed to open the file /home/user/.local/bin: Is a directory
curl: (23) Failure writing output to destination
chown: cannot access '/home/user/.local/bin/update_systemd_ext.sh': No such file or directory
Failed to connect to bus: No medium found
Failed to connect to bus: No medium found
No suitable extensions found (2 ignored due to incompatible image(s)).
Failed to enable unit: Unit file powerstation.service does not exist.
Failed to start powerstation.service: Unit powerstation.service not found.

Then I followed the manual "Systemd extension installation" as directed in the docs. At the final command the systemd service failed to start.

Here's the output:

$ systemctl --user start systemd-sysext-updater
Job for systemd-sysext-updater.service failed because the control process exited with error code.
See "systemctl --user status systemd-sysext-updater.service" and "journalctl --user -xeu systemd-sysext-updater.service" for details.
$ systemctl --user status systemd-sysext-updater
× systemd-sysext-updater.service - OpenGamepadUI systemd-sysext updater
Loaded: loaded (/home/user/.config/systemd/user/systemd-sysext-updater.service; enabled; preset: disabled)
Drop-In: /usr/lib/systemd/user/service.d
└─10-timeout-abort.conf
Active: failed (Result: exit-code) since Tue 2024-07-02 21:31:05 CDT; 3s ago
Process: 59180 ExecStart=/usr/bin/bash -c ~/.local/bin/update_systemd_ext.sh (code=exited, status=127)
Main PID: 59180 (code=exited, status=127)
CPU: 4ms
Jul 02 21:31:05 winmini systemd[6031]: Starting systemd-sysext-updater.service - OpenGamepadUI systemd-sysext updater...
Jul 02 21:31:05 winmini systemd[6031]: systemd-sysext-updater.service: Main process exited, code=exited, status=127/n/a
Jul 02 21:31:05 winmini systemd[6031]: systemd-sysext-updater.service: Failed with result 'exit-code'.
Jul 02 21:31:05 winmini systemd[6031]: Failed to start systemd-sysext-updater.service - OpenGamepadUI systemd-sysext updater

Both seem to mention a "update_systemd_ext.sh" file at "~/.local/bin/", so I checked and there was no file.

@Krules02
Copy link
Author

Krules02 commented Jul 3, 2024

Tried to manually download the file from github and move it over to ./ocal/bin and there is still something wrong. I had to move the file using sudo mv in the terminal because it wouldn't let me move it over without sudo.

Output:

$ systemctl --user start systemd-sysext-updater
Job for systemd-sysext-updater.service failed because the control process exited with error code.
See "systemctl --user status systemd-sysext-updater.service" and "journalctl --user -xeu systemd-sysext-updater.service" for details.
$ systemctl --user status systemd-sysext-updater
× systemd-sysext-updater.service - OpenGamepadUI systemd-sysext updater
Loaded: loaded (/home/user/.config/systemd/user/systemd-sysext-updater.service; enabled; preset: disabled)
Drop-In: /usr/lib/systemd/user/service.d
└─10-timeout-abort.conf
Active: failed (Result: exit-code) since Tue 2024-07-02 22:14:31 CDT; 2s ago
Process: 68782 ExecStart=/usr/bin/bash -c ~/.local/bin/update_systemd_ext.sh (code=exited, status=2)
Main PID: 68782 (code=exited, status=2)
CPU: 2ms
Jul 02 22:14:31 winmini systemd[6031]: Starting systemd-sysext-updater.service - OpenGamepadUI systemd-sysext updater...
Jul 02 22:14:31 winmini bash[68782]: /home/user/.local/bin/update_systemd_ext.sh: line 7: syntax error near unexpected token "newline"
Jul 02 22:14:31 winmini bash[68782]: /home/user/.local/bin/update_systemd_ext.sh: line 7: ""
Jul 02 22:14:31 winmini systemd[6031]: systemd-sysext-updater.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Jul 02 22:14:31 winmini systemd[6031]: systemd-sysext-updater.service: Failed with result 'exit-code'.
Jul 02 22:14:31 winmini systemd[6031]: Failed to start systemd-sysext-updater.service - OpenGamepadUI systemd-sysext updater.

The empty quotes say "<"!DOCTYPE html">". The "<" makes it disappear on github.

@pastaq
Copy link
Collaborator

pastaq commented Jul 3, 2024

seems like the script is going to /home/user instead of /home/$USER

@ShadowApex
Copy link
Collaborator

Could you post the output of the script? cat ~/.local/bin/update_systemd_ext.sh

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

3 participants