Closed Grumpyguard closed 7 years ago
You need to enter the directory that contains setup.sh before trying to execute it.
cd AlexaPi <Enter>
before the ./setup.sh
command.
You are logged in as root, starting from the /root directory, right?
Thank you. I did not know I had to be logged in as root.
On Sat, Sep 10, 2016 at 9:47 PM, Mason Stone notifications@github.com wrote:
You need to enter the directory that contains setup.sh before trying to execute it. cd AlexaPi
before the ./setup.sh command. You are logged in as root, starting from the /root directory, right?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sammachin/AlexaPi/issues/129#issuecomment-246161743, or mute the thread https://github.com/notifications/unsubscribe-auth/AVGb255kMZoW_XMUuLG9lGT7rciSlCDqks5qo4fmgaJpZM4J549Q .
Hello all, my question is why I have to install the program in the root directory? Would it not be possible to install somewhere else in the file structure using the "sudo" option? Is it intended to start the program any time manually or would it start automatically when I power on the RaPi.?
Right now, the /root
directory is hard-coded in the setup script and in the init scripts. You can use another path, if you change that.
sudo
runs commands as the user root, it has nothing to do with paths.
This behavior is gonna change in a new version. You can either change that manually, or just wait.
You can do both. If you install it using the setup script, it's gonna start automatically upon system boot.
You can switch over to the new upstream (https://github.com/alexa-pi/AlexaPi) and you can install AlexaPi outside of /root
(the new default is /opt
) and you can even run it under a non-root user for security.
Please let us know if you still have issues or we can close this. Thanks!
This project is now deprecated in favor of the new AlexaPi (https://github.com/alexa-pi/AlexaPi) which has all the features of this project and much more, such as:
Please switch over to the new project and if your issue persists there, file an issue in the new repo's issue tracker. Thank you.
I copied and pasted the git clone statement and when I type ./setup.sh I get the following error message -bash: ./setup.sh: No such file or directory. What did I do wrong? When I attempt to reissue the git clone statement I get the following message fatal: destination path 'AlexaPi' already exists and is not an empty directory. Any help you can give me is greatly appreciated.