Quantcast
Channel: htpcBeginner Forum - All Forums
Viewing all articles
Browse latest Browse all 1085

SickGear installation script issues.

$
0
0
I believe there are a number of issues with the SickGear installation script "sickgear-installer.sh"

1. The installer does not complete because the following line:

"sudo cp init.ubuntu /etc/init.d/sickgear || { echo -e $RED'Creating init file failed.'$ENDCOLOR ; exit 1; }"

should be:

"sudo cp init-scripts/init.ubuntu /etc/init.d/sickgear || { echo -e $RED'Creating init file failed.'$ENDCOLOR ; exit 1; }"

After this change the install script completes, but cannot start SickGear.   The following:

"echo "SB_HOME=/home/"$UNAME"/.sickgear/" >> sickrage_default"
"echo "SB_DATA=/home/"$UNAME"/.sickgear/" >> sickrage_default"
"echo -e 'Enabling user'$CYAN $UNAME $ENDCOLOR'to run SickGear...'"
"echo "SB_USER="$UNAME >> sickrage_default"

should be:

"echo "SG_HOME=/home/"$UNAME"/.sickgear/" >> sickgear_default"
"echo "SG_DATA=/home/"$UNAME"/.sickgear/" >> sickgear_default"
"echo -e 'Enabling user'$CYAN $UNAME $ENDCOLOR'to run SickGear...'"
"echo "SG_USER="$UNAME >> sickgear_default"

Then SickGear does start.

There is another question.  What is the reason for the following?:

"sudo sed -i 's|/etc/default/sickbeard|/etc/default/sickgear|g' /etc/init.d/sickgear || { echo -e $RED'Replacing default path failed.'$ENDCOLOR ; exit 1; }"
"sudo sed -i 's|NAME=sickbeard|NAME=sickgear|g' /etc/init.d/sickgear || { echo -e $RED'Replacing NAME failed.'$ENDCOLOR ; exit 1; }"
"sudo sed -i 's|DESC=SickBeard|DESC=SickGear|g' /etc/init.d/sickgear || { echo -e $RED'Replacing DESC failed.'$ENDCOLOR ; exit 1; }"

Peter.

Viewing all articles
Browse latest Browse all 1085

Trending Articles