shivasiddharth / Assistants-Pi

Headless Google Assistant and Alexa on Raspberry Pi
345 stars 116 forks source link

${USER}=root not pi #108

Open iwwork opened 5 years ago

iwwork commented 5 years ago

Every time, the response of ${USER} is root, not pi. How to make the setting correctly?

Thanks

grvweb commented 5 years ago

Every time, the response of ${USER} is root, not pi. How to make the setting correctly?

Thanks

Please post complete issue. provide some Screenshots to understand.

iwwork commented 5 years ago

Assistants-Pi/installer.sh at master · shivasiddharth/Assistants-Pi https://github.com/shivasiddharth/Assistants-Pi/blob/master/scripts/installer.sh

line 128: sudo chmod +x /home/${USER}/GassistPi/scripts/gassist-installer.sh

it is /home/root/ not /home/pi/

shivasiddharth commented 5 years ago

Still i dont get your issue..

grvweb commented 5 years ago

Assistants-Pi/installer.sh at master · shivasiddharth/Assistants-Pi https://github.com/shivasiddharth/Assistants-Pi/blob/master/scripts/installer.sh

line 128: sudo chmod +x /home/${USER}/GassistPi/scripts/gassist-installer.sh

it is /home/root/ not /home/pi/

Settings are correct, you dont need to do anything. data willl be stored to /home/pi/. User will be pi and not root.

iwwork commented 5 years ago

@grvweb You got what I want to say. But the terminal shows /home/root/... and could not install

kmpathak1610 commented 5 years ago

Same problem I am also facing.