Unable to install blueprint on new panel
Just reinstalled my VM and was going to set up blueprint, but i get error that directory isn't empty when it is creating the folder there and then. and commands not found.
This is what i do in steps:
sudo apt-get install -y ca-certificates curl gnupg
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list
apt-get update
apt-get install -y nodejs
npm i -g yarn
yarn add cross-env
apt install -y zip unzip git curl wget
wget "$(curl -s https://api.github.com/repos/BlueprintFramework/main/releases/latest | grep 'browser_download_url' | cut -d '"' -f 4)" -O release.zip
unzip release.zip
FOLDER="/var/www/pterodactyl"; OWNERSHIP="www-data:www-data"; sed -i -E -e "s|FOLDER="/var/www/pterodactyl" #;|FOLDER="$FOLDER" #;|g" -e "s|OWNERSHIP="www-data:www-data" #;|OWNERSHIP="$OWNERSHIP" #;|g" $FOLDER/blueprint.sh
chmod +x blueprint.sh
bash blueprint.sh
After executing bash command i get error:
root@Pterodactyl:/var/www/pterodactyl# bash blueprint.sh
mv: cannot move '/var/www/pterodactyl/blueprint' to '/var/www/pterodactyl/.blueprint/blueprint': Directory not empty
blueprint.sh: line 67: .blueprint/lib/logFormat.sh: No such file or directory
blueprint.sh: line 68: .blueprint/lib/misc.sh: No such file or directory
blueprint.sh: line 197: dbValidate: command not found
██
██ ██
████
blueprint.sh: line 209: PRINT: command not found
blueprint.sh: line 130: PRINT: command not found
blueprint.sh: line 155: PRINT: command not found
blueprint.sh: line 156: PRINT: command not found
I've deleted, redone, upgraded and tried a new vm to get this woring but it just dosn't want to install at all.
Any ideas?
4 Replies
Also tried to reinstall on the vm it was working on and i get same error
ls -a

awesome