-
-
Notifications
You must be signed in to change notification settings - Fork 38
Labels
scope:backendIssues or pull requests related to Blueprint's backend.Issues or pull requests related to Blueprint's backend.scope:cliIssues or pull requests related to the Blueprint CLI.Issues or pull requests related to the Blueprint CLI.scope:frontendIssues or pull requests related to Blueprint's frontend.Issues or pull requests related to Blueprint's frontend.
Description
Current Behavior
when running sudo blueprint -upgrade I get the following errors, the updater fails to finish the installation.
21:15:03 INFO: Fetching version info
21:15:04 INFO: Downloading repository..
Cloning into '.update/repo'...
remote: Enumerating objects: 10837, done.
remote: Counting objects: 100% (289/289), done.
remote: Compressing objects: 100% (95/95), done.
remote: Total 10837 (delta 228), reused 193 (delta 193), pack-reused 10548 (from 4)
Receiving objects: 100% (10837/10837), 9.57 MiB | 13.27 MiB/s, done.
Resolving deltas: 100% (4962/4962), done.
21:15:05 INFO: Deleting files..
21:15:05 INFO: Running update script..
21:15:05 INFO: Copying release files to Pterodactyl directory..
21:15:05 INFO: Running final install script..
21:15:05 INFO: Installing node modules..
yarn install v1.22.22
[1/5] Validating package.json...
[2/5] Resolving packages...
success Already up-to-date.
Done in 0.24s.
21:15:06 INFO: Searching and validating framework dependencies..
21:15:06 INFO: Placing Blueprint command shortcut..
21:15:06 INFO: Linking directories and filesystems..
21:15:06 INPUT: Would you like to put your application into maintenance while Blueprint is installing? (Y/n)
n
21:15:10 INFO: Putting application into maintenance has been skipped.
21:15:10 INFO: Running database migrations..
INFO Nothing to migrate.
21:15:10 INFO: Seeding Blueprint database records..
21:15:11 INFO: Flushing cache..
21:15:12 INFO: Restarting queue workers..
21:15:12 INFO: Changing Pterodactyl file ownership to 'www-data:www-data'..
21:15:12 INFO: Cleaning up..
21:15:12 INFO: Rebuilding panel assets..
yarn run v1.22.22
$ yarn run clean && cross-env NODE_ENV=production ./node_modules/.bin/webpack --mode production --progress
$ cd public/assets && find . \( -name "*.js" -o -name "*.map" \) -type f -delete && rm -rf node_modules/.cache
10% building 1/2 modules 1 active /var/www/pterodactyl/node_modules/babel-loader/lib/index.js??ref--4!/var/www/pterodactyl/resources/scripts/index.tsxBrowserslist: caniuse-lite is outdated. Please run:
npx update-browserslist-db@latest
Why you should do it regularly: https://github.com/browserslist/update-db#readme
418 modules
ERROR in ./resources/scripts/components/server/files/NewDirectoryButton.tsx
Module not found: Error: Can't resolve 'pathe' in '/var/www/pterodactyl/resources/scripts/components/server/files'
ERROR in ./resources/scripts/components/server/files/FileObjectRow.tsx
Module not found: Error: Can't resolve 'pathe' in '/var/www/pterodactyl/resources/scripts/components/server/files'
ERROR in ./resources/scripts/components/server/files/FileNameModal.tsx
Module not found: Error: Can't resolve 'pathe' in '/var/www/pterodactyl/resources/scripts/components/server/files'
ERROR in ./resources/scripts/components/server/files/RenameFileModal.tsx
Module not found: Error: Can't resolve 'pathe' in '/var/www/pterodactyl/resources/scripts/components/server/files'
ERROR in resources/scripts/components/elements/CopyOnClick.tsx:35:15
TS2578: Unused '@ts-expect-error' directive.
33 | ? React.Children.only(children)
34 | : React.cloneElement(React.Children.only(children), {
> 35 | // @ts-expect-error todo: check on this
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
36 | className: classNames(children.props.className || '', 'cursor-pointer'),
37 | onClick: (e: React.MouseEvent<HTMLElement>) => {
38 | copy(String(text));
ERROR in resources/scripts/components/server/files/FileNameModal.tsx:7:22
TS2307: Cannot find module 'pathe' or its corresponding type declarations.
5 | import Field from '@/components/elements/Field';
6 | import { ServerContext } from '@/state/server';
> 7 | import { join } from 'pathe';
| ^^^^^^^
8 | import tw from 'twin.macro';
9 | import Button from '@/components/elements/Button';
10 |
ERROR in resources/scripts/components/server/files/FileObjectRow.tsx:14:22
TS2307: Cannot find module 'pathe' or its corresponding type declarations.
12 | import SelectFileCheckbox from '@/components/server/files/SelectFileCheckbox';
13 | import { usePermissions } from '@/plugins/usePermissions';
> 14 | import { join } from 'pathe';
| ^^^^^^^
15 | import { bytesToString } from '@/lib/formatters';
16 | import styles from './style.module.css';
17 |
ERROR in resources/scripts/components/server/files/NewDirectoryButton.tsx:5:22
TS2307: Cannot find module 'pathe' or its corresponding type declarations.
3 | import { Form, Formik, FormikHelpers } from 'formik';
4 | import Field from '@/components/elements/Field';
> 5 | import { join } from 'pathe';
| ^^^^^^^
6 | import { object, string } from 'yup';
7 | import createDirectory from '@/api/server/files/createDirectory';
8 | import tw from 'twin.macro';
ERROR in resources/scripts/components/server/files/RenameFileModal.tsx:5:22
TS2307: Cannot find module 'pathe' or its corresponding type declarations.
3 | import { Form, Formik, FormikHelpers } from 'formik';
4 | import Field from '@/components/elements/Field';
> 5 | import { join } from 'pathe';
| ^^^^^^^
6 | import renameFiles from '@/api/server/files/renameFiles';
7 | import { ServerContext } from '@/state/server';
8 | import tw from 'twin.macro';
ERROR in resources/scripts/components/server/files/UploadButton.tsx:1:17
TS2614: Module '"axios"' has no exported member 'AxiosProgressEvent'. Did you mean to use 'import AxiosProgressEvent from "axios"' instead?
> 1 | import axios, { AxiosProgressEvent } from 'axios';
| ^^^^^^^^^^^^^^^^^^
2 | import getFileUploadUrl from '@/api/server/files/getFileUploadUrl';
3 | import tw from 'twin.macro';
4 | import { Button } from '@/components/elements/button/index';
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
21:15:25 INFO: Cleaning up..
21:15:25 SUCCESS: Update finished!
Expected Behavior
Updater finishes without errors.
Steps to Reproduce
Using Ubuntu Server 24.04.3 LTS, have an installation of Panel version of v1.11.11 with an existing installation of blueprint.
Upgrade Panel/Wings to v1.12.0, after upgrading finishes use the blueprint -upgrade command with elevated privileges.
While the upgrader is running, the errors listed above should be reproduced.
Blueprint Version
beta-2025-12
Panel Version
v1.12.0
Is there an existing issue for this?
- I have searched the existing issues before opening this issue.
- I have provided all relevant details and tested my reproduction steps.
- I have checked to my best capabilities and believe this is a bug with the software, and not a configuration issue with my specific system.
- I have made sure to check that this bug is the fault of Blueprint and is not caused by stock Pterodactyl.
Metadata
Metadata
Labels
scope:backendIssues or pull requests related to Blueprint's backend.Issues or pull requests related to Blueprint's backend.scope:cliIssues or pull requests related to the Blueprint CLI.Issues or pull requests related to the Blueprint CLI.scope:frontendIssues or pull requests related to Blueprint's frontend.Issues or pull requests related to Blueprint's frontend.
Type
Projects
Status
In Progress