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

Broken PWD in start-mycroft.sh #3137

Open
Tony763 opened this issue Oct 25, 2022 · 0 comments
Open

Broken PWD in start-mycroft.sh #3137

Tony763 opened this issue Oct 25, 2022 · 0 comments
Labels

Comments

@Tony763
Copy link
Contributor

Tony763 commented Oct 25, 2022

Hi commit 56ceb80 break function of start-mycroft.sh.

As pointed by @emphasize, when mycroft-start is called, SOURCE="$0" will point to /srv/mycroft-core/bin and thus break function as everything is run in incorrect directory. If start-mycroft.sh is used directly, it works.

The main indicator is: Please update dependencies by running ./dev_setup.sh again.

Even if dev_setup.sh run again, the message won't go away.

Under hood, start-mycroft.sh try to check MD5 from .installed but it is not found (no user alert about missing file)

@krisgesling This is why GitHub Actions stopped working in Home Assistant skill.

Autoupdate: false
cat: .installed: No such file or directory
/srv/mycroft-core/bin
Please update dependencies by running ./dev_setup.sh again.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant