Page 1 of 1

Autoinstaller problem

Posted: Thursday 13 February 2020 14:35
by EdwinK
Trying to move my dashticz-files from the Synology towards a new (old) Pi I had laying around.

Installed apache on it, and the default page comes up nicely :)

Then I went to the automatic install part on the docs but already after starting the script, it goes wrong :(
pi@webServerInt:/var/www/dev $ . <(wget -qO - https://raw.githubusercontent.com/Dasht ... install.sh )
This is the installation script for Dashticz

Using default settings

Dashticz repository: https://github.com/Dashticz/dashticz
Branch: master
Port: 8082

The script will create a folder for Dashticz in the following location:
/var/www/dev

Enter the folder name [dashticz]:
Dashticz will be installed in
dashticz

Dashticz has a master branch (=stable) and a beta branch (=most up-to-date)
Which branch to install? [master]: beta
Checking for git: [OK!]

Now cloning the Dashticz repository https://github.com/Dashticz/dashticz

fatal: could not create work tree dir 'dashticz': Permission denied
Error. Something went wrong. Exiting
Connection to 192.168.0.140 closed.
I thought maybe it was a SU problem, so I tried to sudo the wget line, but that also didn't work,

Re: Autoinstaller problem

Posted: Thursday 13 February 2020 15:22
by Lokonli
You have to start the script in a user folder, like /home/pi or /home/pi/dev

Re: Autoinstaller problem

Posted: Thursday 13 February 2020 16:00
by EdwinK
Thanks. Now working like a charm.

Next to put all my stuff back in to it ;)