B
Blueprint•15mo ago
yyuh

E

I have troubles installing slate & loader
user@ptero:~$ blueprint -install loader
19:18:38 INFO: Searching and validating framework dependencies..
.blueprint/lib/logFormat.sh: line 24: /var/www/pterodactyl/.blueprint/extensions/blueprint/private/debug/logs.txt: Permission denied
cp: cannot create regular file '.blueprint/tmp/loader.zip': Permission denied
unzip: cannot find or open loader.zip, loader.zip.zip or loader.zip.ZIP.
rm: cannot remove 'loader.zip': No such file or directory
rm: remove write-protected directory 'tmp'?
user@ptero:~$ blueprint -install loader
19:18:38 INFO: Searching and validating framework dependencies..
.blueprint/lib/logFormat.sh: line 24: /var/www/pterodactyl/.blueprint/extensions/blueprint/private/debug/logs.txt: Permission denied
cp: cannot create regular file '.blueprint/tmp/loader.zip': Permission denied
unzip: cannot find or open loader.zip, loader.zip.zip or loader.zip.ZIP.
rm: cannot remove 'loader.zip': No such file or directory
rm: remove write-protected directory 'tmp'?
35 Replies
yyuh
yyuhOP•15mo ago
user@ptero:~$ sudo blueprint -install loader
19:19:38 INFO: Searching and validating framework dependencies..
/var/www/pterodactyl/blueprint.sh: line 100: node: command not found
19:19:38 FATAL: Some framework dependencies are not installed or detected.19:19:38 FATAL: Required dependency "node" is using an unsupported version.
19:19:38 FATAL: Required dependency "node" is not installed or detected.
user@ptero:~$
user@ptero:~$ sudo blueprint -install loader
19:19:38 INFO: Searching and validating framework dependencies..
/var/www/pterodactyl/blueprint.sh: line 100: node: command not found
19:19:38 FATAL: Some framework dependencies are not installed or detected.19:19:38 FATAL: Required dependency "node" is using an unsupported version.
19:19:38 FATAL: Required dependency "node" is not installed or detected.
user@ptero:~$
it also doesnt let me use sudo
yyuh
yyuhOP•15mo ago
No description
yyuh
yyuhOP•15mo ago
and it says this
Emma
Emma•15mo ago
It does. You just also need to have Node.js installed on your root user. (because right now you only have it on user@ptero and not on root@ptero)
yyuh
yyuhOP•15mo ago
how do I install nodejs on root@ptero? as usual?
Emma
Emma•15mo ago
yeah
yyuh
yyuhOP•15mo ago
but just with sudo? I am confused can you explain if you got time
Emma
Emma•15mo ago
Run su in your terminal then install nodejs
yyuh
yyuhOP•15mo ago
su?
Emma
Emma•15mo ago
yeah stands for super user allows you to login to the root user
yyuh
yyuhOP•15mo ago
yh and the password I need is the ptero login pw, right?
Emma
Emma•15mo ago
yeah
yyuh
yyuhOP•15mo ago
kk It says Autenthifivation failure even though I use the right pw what the flip
Emma
Emma•15mo ago
do you know the root password?
yyuh
yyuhOP•15mo ago
I hate this shit already
Emma
Emma•15mo ago
if you don't, set one with sudo passwd root
yyuh
yyuhOP•15mo ago
ah wait I did sudo su and now it words
Emma
Emma•15mo ago
yeah that works as well
yyuh
yyuhOP•15mo ago
do you have the commands to install node last time it took me 2h šŸ’€šŸ’€šŸ’€
Emma
Emma•15mo ago
blueprint.zip
Powerful, fast and developer-friendly extension framework for Pterodactyl. Utilize extension APIs, inject HTML, modify stylesheets, package extensions and so much more.
Emma
Emma•15mo ago
they are in the installation docs
yyuh
yyuhOP•15mo ago
yh
The following NEW packages will be installed:
nodejs
0 upgraded, 1 newly installed, 0 to remove and 54 not upgraded.
Need to get 31.6 MB of archives.
After this operation, 196 MB of additional disk space will be used.
Get:1 https://deb.nodesource.com/node_20.x nodistro/main amd64 nodejs amd64 20.15.0-1nodesource1 [31.6 MB]
Fetched 31.6 MB in 0s (70.5 MB/s)
(Reading database ... 139384 files and directories currently installed.)
Preparing to unpack .../nodejs_20.15.0-1nodesource1_amd64.deb ...
Unpacking nodejs (20.15.0-1nodesource1) ...
dpkg: error processing archive /var/cache/apt/archives/nodejs_20.15.0-1nodesource1_amd64.deb (--unpack):
trying to overwrite '/usr/include/node/common.gypi', which is also in package libnode-dev 12.22.9~dfsg-1ubuntu3.6
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/nodejs_20.15.0-1nodesource1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@ptero:/home/user# node -v
Command 'node' not found, but can be installed with:
apt install nodejs
root@ptero:/home/user# nodejs -v
Command 'nodejs' not found, but can be installed with:
apt install nodejs
root@ptero:/home/user#
The following NEW packages will be installed:
nodejs
0 upgraded, 1 newly installed, 0 to remove and 54 not upgraded.
Need to get 31.6 MB of archives.
After this operation, 196 MB of additional disk space will be used.
Get:1 https://deb.nodesource.com/node_20.x nodistro/main amd64 nodejs amd64 20.15.0-1nodesource1 [31.6 MB]
Fetched 31.6 MB in 0s (70.5 MB/s)
(Reading database ... 139384 files and directories currently installed.)
Preparing to unpack .../nodejs_20.15.0-1nodesource1_amd64.deb ...
Unpacking nodejs (20.15.0-1nodesource1) ...
dpkg: error processing archive /var/cache/apt/archives/nodejs_20.15.0-1nodesource1_amd64.deb (--unpack):
trying to overwrite '/usr/include/node/common.gypi', which is also in package libnode-dev 12.22.9~dfsg-1ubuntu3.6
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/nodejs_20.15.0-1nodesource1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@ptero:/home/user# node -v
Command 'node' not found, but can be installed with:
apt install nodejs
root@ptero:/home/user# nodejs -v
Command 'nodejs' not found, but can be installed with:
apt install nodejs
root@ptero:/home/user#
@Emma is that normal?
Emma
Emma•15mo ago
alright uhh im too tired for this stuff so we are going to install node version manager
Emma
Emma•15mo ago
GitHub
GitHub - nvm-sh/nvm: Node Version Manager - POSIX-compliant bash sc...
Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions - nvm-sh/nvm
Emma
Emma•15mo ago
https://github.com/nvm-sh/nvm?tab=readme-ov-file#install--update-script <- go through this and run nvm install 20 after
yyuh
yyuhOP•15mo ago
yh workes how do I exit the "su mode"
Emma
Emma•15mo ago
exit
yyuh
yyuhOP•15mo ago
and uh I installed the thing loader and now it says "500 server error" when going into the bluepringt thingy the Button in the admin panel
Emma
Emma•15mo ago
uhh
yyuh
yyuhOP•15mo ago
should I just restart the vm and Pray?šŸ’€
Emma
Emma•15mo ago
i'm gonna paste an instruction i have given before that usually fixes stuff Could you go through the following steps? 1. Remove certain files and directories with rm -r resources public node_modules. 2. Go through the Pterodactyl update documentation. 3. Install dependencies by running the yarn command. 4. Repair Blueprint with blueprint -upgrade remote blueprintframework/fallback. 5. Get some Blueprint extensions (if you haven't already) and install them onto your panel.
yyuh
yyuhOP•15mo ago
blueprint -upgrade remote blueprintframework/fallback @Emma Works now tysm bro
Emma
Emma•15mo ago
glad it works
yyuh
yyuhOP•15mo ago
Look dms I found a "bug"
Emma
Emma•15mo ago
alrighty

Did you find this page helpful?