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

Not running as service at v2.93 large after shutdown / reboot #32

Closed
dafricki opened this issue Mar 6, 2023 · 5 comments
Closed

Not running as service at v2.93 large after shutdown / reboot #32

dafricki opened this issue Mar 6, 2023 · 5 comments

Comments

@dafricki
Copy link

dafricki commented Mar 6, 2023

It seems when using the Venus OS Large Image v2.93 there is a problem with the service when the Raspberry was shutted down and then started a few hours later.
Then there are no values from the dbus-shelly-3em-smartmeter at "AC-Eingang" and "AC-Lasten" and dbus-spy shows no 3EM service.

@fabian-lauer
Copy link
Owner

Hi @dafricki ,

looks like this is a linked issue - see #33
Not using large image nor raspberry.
Therefore I can't test :-(

@andreasnanko
Copy link

Thats because the install script is broken due to wrong quotes.
You need to change it to double quotes instead of single.

grep -qxF '$SCRIPT_DIR/install.sh' $filename || echo '$SCRIPT_DIR/install.sh' >> $filename

will result into

$SCRIPT_DIR/install.sh

where you wanted to inject the script path

So you want to change it to

grep -qxF "$SCRIPT_DIR/install.sh" $filename || echo "$SCRIPT_DIR/install.sh" >> $filename

@andreasnanko
Copy link

You don't need to run special commands, you need to fix the install.sh file. Afterwards just as described in the install documentation.

@dafricki
Copy link
Author

dafricki commented Mar 7, 2023

Thank you very much, now it seems to work.

fabian-lauer added a commit that referenced this issue Mar 7, 2023
Updated script and some quotes - see this issue: #32
@fabian-lauer
Copy link
Owner

Updated in main-branch

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