Uninstallation issue

Hello
37 Replies
Sam J.
Sam J.OP2y ago
root@expanse-panel:/var/www/pterodactyl# yarn
yarn install v1.22.21
[1/5] Validating package.json...
[2/5] Resolving packages...
success Already up-to-date.
Done in 0.94s.
root@expanse-panel:/var/www/pterodactyl# yarn
yarn install v1.22.21
[1/5] Validating package.json...
[2/5] Resolving packages...
success Already up-to-date.
Done in 0.71s.
root@expanse-panel:/var/www/pterodactyl# nano .env
root@expanse-panel:/var/www/pterodactyl# yarn build:production
yarn run v1.22.21
$ yarn run clean && cross-env NODE_ENV=production ./node_modules/.bin/webpack --mode production
$ cd public/assets && find . \( -name "*.js" -o -name "*.map" \) -type f -delete
Browserslist: caniuse-lite is outdated. Please run:
npx update-browserslist-db@latest
Why you should do it regularly: https://github.com/browserslist/update-db#readme
node:internal/crypto/hash:68
this[kHandle] = new _Hash(algorithm, xofLen);
^

Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:68:19)
at Object.createHash (node:crypto:138:10)
at module.exports (/var/www/pterodactyl/node_modules/webpack/lib/util/createHash.js:135:53)
at NormalModule._initBuildHash (/var/www/pterodactyl/node_modules/webpack/lib/NormalModule.js:417:16)
at handleParseError (/var/www/pterodactyl/node_modules/webpack/lib/NormalModule.js:471:10)
at /var/www/pterodactyl/node_modules/webpack/lib/NormalModule.js:503:5
at /var/www/pterodactyl/node_modules/webpack/lib/NormalModule.js:358:12
at /var/www/pterodactyl/node_modules/loader-runner/lib/LoaderRunner.js:373:3
at iterateNormalLoaders (/var/www/pterodactyl/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
at iterateNormalLoaders (/var/www/pterodactyl/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
at /var/www/pterodactyl/node_modules/loader-runner/lib/LoaderRunner.js:236:3
at context.callback (/var/www/pterodactyl/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
at /var/www/pterodactyl/node_modules/babel-loader/lib/index.js:59:71 {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

Node.js v20.10.0
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
root@expanse-panel:/var/www/pterodactyl# node:internal/process/promises:289
triggerUncaughtException(err, true /* fromPromise */);
^

RpcIpcMessagePortClosedError: Cannot send the message - the message port has been closed for the process 3077077.
at /var/www/pterodactyl/node_modules/fork-ts-checker-webpack-plugin/lib/rpc/rpc-ipc/RpcIpcMessagePort.js:47:47
at process.processTicksAndRejections (node:internal/process/task_queues:81:21) {
code: undefined,
signal: undefined
}

Node.js v20.10.0
root@expanse-panel:/var/www/pterodactyl# yarn
yarn install v1.22.21
[1/5] Validating package.json...
[2/5] Resolving packages...
success Already up-to-date.
Done in 0.94s.
root@expanse-panel:/var/www/pterodactyl# yarn
yarn install v1.22.21
[1/5] Validating package.json...
[2/5] Resolving packages...
success Already up-to-date.
Done in 0.71s.
root@expanse-panel:/var/www/pterodactyl# nano .env
root@expanse-panel:/var/www/pterodactyl# yarn build:production
yarn run v1.22.21
$ yarn run clean && cross-env NODE_ENV=production ./node_modules/.bin/webpack --mode production
$ cd public/assets && find . \( -name "*.js" -o -name "*.map" \) -type f -delete
Browserslist: caniuse-lite is outdated. Please run:
npx update-browserslist-db@latest
Why you should do it regularly: https://github.com/browserslist/update-db#readme
node:internal/crypto/hash:68
this[kHandle] = new _Hash(algorithm, xofLen);
^

Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:68:19)
at Object.createHash (node:crypto:138:10)
at module.exports (/var/www/pterodactyl/node_modules/webpack/lib/util/createHash.js:135:53)
at NormalModule._initBuildHash (/var/www/pterodactyl/node_modules/webpack/lib/NormalModule.js:417:16)
at handleParseError (/var/www/pterodactyl/node_modules/webpack/lib/NormalModule.js:471:10)
at /var/www/pterodactyl/node_modules/webpack/lib/NormalModule.js:503:5
at /var/www/pterodactyl/node_modules/webpack/lib/NormalModule.js:358:12
at /var/www/pterodactyl/node_modules/loader-runner/lib/LoaderRunner.js:373:3
at iterateNormalLoaders (/var/www/pterodactyl/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
at iterateNormalLoaders (/var/www/pterodactyl/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
at /var/www/pterodactyl/node_modules/loader-runner/lib/LoaderRunner.js:236:3
at context.callback (/var/www/pterodactyl/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
at /var/www/pterodactyl/node_modules/babel-loader/lib/index.js:59:71 {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

Node.js v20.10.0
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
root@expanse-panel:/var/www/pterodactyl# node:internal/process/promises:289
triggerUncaughtException(err, true /* fromPromise */);
^

RpcIpcMessagePortClosedError: Cannot send the message - the message port has been closed for the process 3077077.
at /var/www/pterodactyl/node_modules/fork-ts-checker-webpack-plugin/lib/rpc/rpc-ipc/RpcIpcMessagePort.js:47:47
at process.processTicksAndRejections (node:internal/process/task_queues:81:21) {
code: undefined,
signal: undefined
}

Node.js v20.10.0
Tyler
Tyler2y ago
if you are trying to uninstall blueprint i would just update the panel
Sam J.
Sam J.OP2y ago
doesnt work mate it was the first thing i did
Tyler
Tyler2y ago
it worked for me when i did it
Sam J.
Sam J.OP2y ago
No description
Sam J.
Sam J.OP2y ago
ok @Jake this correct ?
Sam J.
Sam J.OP2y ago
No description
Tyler
Tyler2y ago
have u done bash <(curl -s https://scripts.m-h.zip/) im guessing you have
Sam J.
Sam J.OP2y ago
#general check it now its nothing but a white screeen
Tyler
Tyler2y ago
u might have to reinstall pterodactyl then
Sam J.
Sam J.OP2y ago
mate can u let jake answer ? problem solution != reinstallation also i have backup of panel before running commands
Tyler
Tyler2y ago
im only trying to find a solution jeez
Sam J.
Sam J.OP2y ago
wasnt a solution if it results in data loss yk
Tyler
Tyler2y ago
just backup everything from /var/lib/pterodactyl/volumes then lmao
Sam J.
Sam J.OP2y ago
bro ;-; i am talking about PANEL not WINGS
Tyler
Tyler2y ago
i mean if the only thing you're trying to do is uninstall blueprint then its not really difficult
Sam J.
Sam J.OP2y ago
can you identify the error and tell me the solution should i uninstall all blueprint addons first by upgrading blueprint and then uninstall blueprint will that work ? @Jake ?
Tyler
Tyler2y ago
im not sure if upgrading it removes the addons
Sam J.
Sam J.OP2y ago
it does
Tyler
Tyler2y ago
i can try rq if u want
Sam J.
Sam J.OP2y ago
removes all addons
Tyler
Tyler2y ago
so then it should work
Sam J.
Sam J.OP2y ago
ima try rq even blueprint -upgrade failes
Jake
Jake2y ago
Bruh alright time to be tech support or some shit So what is the error you are currently getting with blueprint -upgrade
Owen
Owen2y ago
Check the docs for the command you need to run when on nodejs v17+
Emma
Emma2y ago
What I think is going on here are the following problems: - You haven't done export NODE_OPTIONS=--openssl-legacy-provider before building the panel. - "Not writable" means that you don't have the correct permissions set up in your Pterodactyl webserver, resulting in that error.
Owen
Owen2y ago
I was trying to get him to do the top one (im smart)
Sam J.
Sam J.OP2y ago
the top one i did it second one well what was the command ?
Emma
Emma2y ago
Give me a second, I'll get it for you. chown -R www-data:www-data /var/www/pterodactyl/*
Sam J.
Sam J.OP2y ago
ah i ran that too after that command screen went WHITE alright its done for future reference this was the command which i ran and later
npx update-browserslist-db@latest
npx update-browserslist-db@latest
these two
Emma
Emma2y ago
alright now rebuild your panel
Sam J.
Sam J.OP2y ago
its all done i had to redo stuff i rebuilt panel after that but it was still white screen lol
Emma
Emma2y ago
any errors?
Sam J.
Sam J.OP2y ago
nope nothing now after this i ran production command and done
Emma
Emma2y ago
just to clarify: does everything work now?
Sam J.
Sam J.OP2y ago
yes
Emma
Emma2y ago
awesome

Did you find this page helpful?