Updating blueprint
Hello, I need some help. I tried updating Blueprint using blueprint -upgrade remote, and although the process completes, I get a lot of red errors at the end related to missing modules and something about Ruby and CodeMirror. I'm not really sure why this is happening.
Solution:Jump to solution
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
.
5. Get some Blueprint extensions (if you haven't already) and install them onto your panel.Sent by prplwtf • byte snippet-upgrade
6 Replies
Could you post the logs here please.
@SANTVEMOX The
remote
argument fetches the latest commit, not release. There are a lot of errors you might run into.
Additionally, if you have non-Blueprint modifications installed, those are incompatible./v8-compile-cache/v8-compile-cache.js:194:30)
at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
at Module.load (node:internal/modules/cjs/loader:1288:32)
at Module._load (node:internal/modules/cjs/loader:1104:12)
at Module.require (node:internal/modux
ERROR in ./resources/scripts/components/elements/CodemirrorEditor.tsx
Module not found: Error: Can't resolve 'codemirror/mode/ruby/ruby' in '/var/www/pterodactyl/resources/scripts/components/elements'
@ ./resources/scripts/components/elements/CodemirrorEditor.tsx 128:0-36
@ ./resources/scripts/components/server/files/FileEditContainer.tsx
@ ./resources/scripts/routers/routes.ts
@ ./resources/scripts/blueprint/extends/routers/DashboardRouter.tsx
@ ./resources/scripts/routers/DashboardRouter.tsx
@ ./resources/scripts/components/App.tsx
@ ./resources/scripts/index.tsx
@ multi react-hot-loader/patch ./resources/scripts/index.tsx
error Command failed with exit code 2.
Do you have any non blueprint modifications on the panel and have you updated without the remote argument? blueprint -upgrade
When I run blueprint upgrade, it asks me for a URLm
And I don't have any modification
Solution
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
.
5. Get some Blueprint extensions (if you haven't already) and install them onto your panel.Sent by prplwtf • byte snippet-upgrade