fforchino / vectorx

This project is to develop new voice commands and features for Vector. It runs on top of Wirepod setups
MIT License
49 stars 17 forks source link

Update script and potentially install script runs as user "pi" #9

Closed ManicQuinn closed 1 year ago

ManicQuinn commented 1 year ago
Checking for updates...
Stopping Services
[sudo] password for manicquinn: 
Updating Wire-Pod...
runuser: user pi does not exist
Building chipper just in case...
warning: GOPATH set to GOROOT (/usr/local/go) has no effect
Updating VectorX...
runuser: user pi does not exist

This assumes everyone has a pi user, but I don't.

fforchino commented 1 year ago

The update script is meant to be used by the RPi4 VectorX image only, that has a single user named "pi" and VectorX pre-installed under /home/pi/vectorx. I will see if it's possible to make it more generic.

ManicQuinn commented 1 year ago

I run mine on ubuntu

fforchino commented 1 year ago

Fixed in RELEASE_13 Update manually to this release with "git pull". Then you can run ./update.sh and it should work, whatever your user is. Or you can just use the web server and go check and apply updates.