-
-
Notifications
You must be signed in to change notification settings - Fork 505
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
DietPi-Software | Mycroft AI: mycroft-cli-client fails as root on Bullseye #5100
Comments
Many thanks for your report. Please try:
Though I see you run it as root already. I'll try to replicate. |
The user does exist.
|
The command is not in the users PATH. I btw verified the issue. What indeed works is running the command as user sudo -u mycroft /mnt/dietpi_userdata/mycroft-core/bin/mycroft-cli-client Not very convenient, but it is actually a known limitation when "O_CREAT"-write files in a world-writable sticky bit directory like So now Mycroft "O_CREAT"-writes the lock file in |
For you to test: echo "alias mycroft-cli-client='sudo -u mycroft /mnt/dietpi_userdata/mycroft-core/bin/mycroft-cli-client'" >> /etc/bashrc.d/mycroft.sh
. /etc/bashrc.d/mycroft.sh
mycroft-cli-client |
Thanks @MichaIng this works indeed! Many thanks! |
- DietPi-Software | Mycroft AI: Resolved an issue on Bullseye (and above) systems where "mycroft-cli-client" command fails with a permissions issue, even as root user. Many thanks to @berndverhofstadt for reporting this issue: #5100
Many thanks for testing. Solution for v8.0 is here: 0f99ab8 echo $PATH and having the same path inside multiple times 😉. This was also the case when nesting shells, not only when manually re-sourcing the script. EDIT: ... ah lol nope actually previously the I.e. at best use the new version of the full script:
|
Hi,
After a clean installation of the latest dietpi (bullseye) release, I was able to install the dietpi-software Mycroft AI. When I try to launch
mycroft-cli-client
, the following error is thrown. Any idea what can caused this? I've followed the instructionsThanks!
Bernd
The text was updated successfully, but these errors were encountered: