You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That script shouldn't include sudo since it will be called from OctoDash itself (so there is no way to enter a password). As mentioned in the text below that passwordless sudo needs to be enabled for this to work.
I must be confused about something in this process. With passwordless sudo enabled, the update script hangs as described in issue 1211. I assumed this was because dpkg must be run as root and calling the script from octodash is executing the script without superuser privilege. After adding sudo, from the command line I can execute the script without a password.
My syntax was wrong for passwordless sudo. The only reason the update script worked without password prompt is the password timeout had not occurred. Thank you for responding.
Thanks for maintaining this software.
https://github.com/UnchartedBull/OctoDash/wiki/Update#in-app-update
The code for the bash script is missing
sudo
instead of
dpkg -i /tmp/octodash.deb
...sudo dpkg -i /tmp/octodash.deb
The text was updated successfully, but these errors were encountered: