blueprint-install
@@ -0,0 +1,175 @@
+[root@ry pterodactyl]# bash blueprint.sh
+ ██
+██ ██
+ ████
+
+20:01:02 INFO: Searching and validating framework dependencies..
+20:01:02 INFO: Linking directories and filesystems..
+20:01:03 INFO: Replacing internal placeholders..
+20:01:03 INFO: Put application into maintenance mode.
+20:01:03 INFO: Flushing view, config and route cache..
+20:01:04 INPUT: Would you like to migrate your database? (Y/n)
+Y
+20:01:07 INFO: Running database migrations..
+
+ INFO Running migrations.
+
+ 2023_04_08_160505_create_blueprint_table ................................................................................................ 7ms DONE
+
+20:01:08 INFO: Changing Pterodactyl file ownership to 'www-data'..
+20:01:08 INFO: Rebuilding panel assets..
+yarn run v1.22.21
+warning package.json: No license field
+$ yarn run clean && cross-env NODE_ENV=production ./node_modules/.bin/webpack --mode production --progress
+warning package.json: No license field
+$ cd public/assets && find . \( -name "*.js" -o -name "*.map" \) -type f -delete
+10% building 1/2 modules 1 active /var/www/pterodactyl/node_modules/babel-loader/lib/index.js!/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
+Hash: 3033fda014ddc6fbb3a6
+Version: webpack 4.43.0
+Time: 17112ms
+Built at: 02/28/2024 8:01:26 PM
+ 15 assets
+Entrypoint main = bundle.cf3d121a.js
+ [12] ./node_modules/history/esm/history.js + 2 modules 30.6 KiB {5} [built]
+ | 3 modules
+ [15] ./node_modules/react-router/esm/react-router.js + 1 modules 29.2 KiB {5} [built]
+ | 2 modules
+ [17] ./resources/scripts/api/http.ts 4.07 KiB {5} [built]
+ [18] ./resources/scripts/state/index.ts + 7 modules 5.07 KiB {5} [built]
+ | ./resources/scripts/state/index.ts 359 bytes [built]
+ | ./resources/scripts/state/flashes.ts 1.7 KiB [built]
+ | ./resources/scripts/state/user.ts 1.54 KiB [built]
+ | ./resources/scripts/state/permissions.ts 393 bytes [built]
+ | ./resources/scripts/state/settings.ts 177 bytes [built]
+ | ./resources/scripts/state/progress.ts 408 bytes [built]
+ | ./resources/scripts/api/account/updateAccountEmail.ts 239 bytes [built]
+ | ./resources/scripts/api/getSystemPermissions.ts 277 bytes [built]
+ [29] ./resources/scripts/helpers.ts 1.08 KiB {5} [built]
+ [37] ./node_modules/react-transition-group/esm/index.js + 4 modules 22.6 KiB {5} [built]
+ | 5 modules
+ [51] ./node_modules/css-loader/dist/cjs.js??ref--6-1!./node_modules/postcss-loader/dist/cjs.js??ref--6-2!./resources/scripts/assets/tailwind.css 49.5 KiB {5} [built]
+ [52] ./node_modules/css-loader/dist/cjs.js??ref--6-1!./node_modules/postcss-loader/dist/cjs.js??ref--6-2!./resources/scripts/blueprint/css/extensions.css 426 bytes {5} [built]
+ [53] ./resources/scripts/state/server/index.ts + 5 modules 5.83 KiB {5} [built]
+ | ./resources/scripts/state/server/index.ts 2.38 KiB [built]
+ | ./resources/scripts/state/server/socket.ts 284 bytes [built]
+ | ./resources/scripts/state/server/files.ts 1.45 KiB [built]
+ | ./resources/scripts/state/server/subusers.ts 575 bytes [built]
+ | ./resources/scripts/state/server/schedules.ts 584 bytes [built]
+ | ./resources/scripts/state/server/databases.ts 584 bytes [built]
+ [81] ./node_modules/react-i18next/dist/es/index.js + 9 modules 30.2 KiB {5} [built]
+ | 10 modules
+ [97] multi react-hot-loader/patch ./resources/scripts/index.tsx 40 bytes {5} [built]
+[151] ./resources/scripts/index.tsx + 23 modules 122 KiB {5} [built]
+ | ./resources/scripts/index.tsx 584 bytes [built]
+ | ./resources/scripts/blueprint/css/extensions.css 421 bytes [built]
+ | ./resources/scripts/i18n.ts 1.08 KiB [built]
+ | ./resources/scripts/assets/css/GlobalStylesheet.ts 1.94 KiB [built]
+ | ./resources/scripts/api/interceptors.ts 772 bytes [built]
+ | ./resources/scripts/assets/tailwind.css 410 bytes [built]
+ | + 18 hidden modules
+[411] ./resources/scripts/routers/AuthenticationRouter.tsx + 11 modules 30.7 KiB {3} [built]
+ | ./resources/scripts/routers/AuthenticationRouter.tsx 1.57 KiB [built]
+ | ./resources/scripts/api/auth/login.ts 748 bytes [built]
+ | ./resources/scripts/api/auth/requestPasswordResetEmail.ts 295 bytes [built]
+ | ./resources/scripts/api/auth/performPasswordReset.ts 432 bytes [built]
+ | ./resources/scripts/api/auth/loginCheckpoint.ts 493 bytes [built]
+ | + 7 hidden modules
+[412] ./resources/scripts/routers/DashboardRouter.tsx + 10 modules 24.8 KiB {4} [built]
+ | ./resources/scripts/routers/DashboardRouter.tsx 1.2 KiB [built]
+ | ./resources/scripts/blueprint/extends/routers/DashboardRouter.tsx 2.45 KiB [built]
+ | ./resources/scripts/api/server/getServerResourceUsage.ts 767 bytes [built]
+ | + 8 hidden modules
+[413] ./resources/scripts/routers/ServerRouter.tsx + 9 modules 21.8 KiB {6} [built]
+ | ./resources/scripts/routers/ServerRouter.tsx 3.89 KiB [built]
+ | ./resources/scripts/blueprint/extends/routers/ServerRouter.tsx 3.34 KiB [built]
+ | ./resources/scripts/plugins/Websocket.ts 2.46 KiB [built]
+ | ./resources/scripts/api/server/getWebsocketToken.ts 354 bytes [built]
+ | + 6 hidden modules
+ + 400 hidden modules
+
+ERROR in resources/scripts/routers/RouterElements.tsx:20:76
+TS2339: Property 'nestId' does not exist on type 'Server'.
+ 18 | const match = useRouteMatch<{ id: string }>();
+ 19 |
+ > 20 | const nestId = ServerContext.useStoreState((state) => state.server.data?.nestId);
+ | ^^^^^^
+ 21 | const eggId = ServerContext.useStoreState((state) => state.server.data?.eggId);
+ 22 |
+ 23 | const to = (value: string, url = false) => {
+
+ERROR in resources/scripts/routers/RouterElements.tsx:21:75
+TS2339: Property 'eggId' does not exist on type 'Server'.
+ 19 |
+ 20 | const nestId = ServerContext.useStoreState((state) => state.server.data?.nestId);
+ > 21 | const eggId = ServerContext.useStoreState((state) => state.server.data?.eggId);
+ | ^^^^^
+ 22 |
+ 23 | const to = (value: string, url = false) => {
+ 24 | return `${(url ? match.url : match.path).replace(/\/*$/, '')}/${value.replace(/^\/+/, '')}`;
+
+ERROR in resources/scripts/routers/RouterElements.tsx:65:82
+TS2339: Property 'nestId' does not exist on type 'Server'.
+ 63 | const location = useLocation();
+ 64 |
+ > 65 | const serverNestId = ServerContext.useStoreState((state) => state.server.data?.nestId);
+ | ^^^^^^
+ 66 | const serverEggId = ServerContext.useStoreState((state) => state.server.data?.eggId);
+ 67 |
+ 68 | const to = (value: string, url = false) => {
+
+ERROR in resources/scripts/routers/RouterElements.tsx:66:81
+TS2339: Property 'eggId' does not exist on type 'Server'.
+ 64 |
+ 65 | const serverNestId = ServerContext.useStoreState((state) => state.server.data?.nestId);
+ > 66 | const serverEggId = ServerContext.useStoreState((state) => state.server.data?.eggId);
+ | ^^^^^
+ 67 |
+ 68 | const to = (value: string, url = false) => {
+ 69 | return `${(url ? match.url : match.path).replace(/\/*$/, '')}/${value.replace(/^\/+/, '')}`;
+
+ERROR in resources/scripts/routers/RouterElements.tsx:76:73
+TS2339: Property 'nestIds' does not exist on type 'ServerRouteDefinition'.
+ 74 | <TransitionRouter>
+ 75 | <Switch location={location}>
+ > 76 | {routes.server.map(({ path, permission, component: Component, nestIds, eggIds, nestId, eggId }) => {
+ | ^^^^^^^
+ 77 | return (
+ 78 | ((nestIds && nestIds.includes(serverNestId ?? 0)) ||
+ 79 | (eggIds && eggIds.includes(serverEggId ?? 0)) ||
+
+ERROR in resources/scripts/routers/RouterElements.tsx:76:82
+TS2339: Property 'eggIds' does not exist on type 'ServerRouteDefinition'.
+ 74 | <TransitionRouter>
+ 75 | <Switch location={location}>
+ > 76 | {routes.server.map(({ path, permission, component: Component, nestIds, eggIds, nestId, eggId }) => {
+ | ^^^^^^
+ 77 | return (
+ 78 | ((nestIds && nestIds.includes(serverNestId ?? 0)) ||
+ 79 | (eggIds && eggIds.includes(serverEggId ?? 0)) ||
+
+ERROR in resources/scripts/routers/RouterElements.tsx:76:90
+TS2339: Property 'nestId' does not exist on type 'ServerRouteDefinition'.
+ 74 | <TransitionRouter>
+ 75 | <Switch location={location}>
+ > 76 | {routes.server.map(({ path, permission, component: Component, nestIds, eggIds, nestId, eggId }) => {
+ | ^^^^^^
+ 77 | return (
+ 78 | ((nestIds && nestIds.includes(serverNestId ?? 0)) ||
+ 79 | (eggIds && eggIds.includes(serverEggId ?? 0)) ||
+
+ERROR in resources/scripts/routers/RouterElements.tsx:76:98
+TS2339: Property 'eggId' does not exist on type 'ServerRouteDefinition'.
+ 74 | <TransitionRouter>
+ 75 | <Switch location={location}>
+ > 76 | {routes.server.map(({ path, permission, component: Component, nestIds, eggIds, nestId, eggId }) => {
+ | ^^^^^
+ 77 | return (
+ 78 | ((nestIds && nestIds.includes(serverNestId ?? 0)) ||
+ 79 | (eggIds && eggIds.includes(serverEggId ?? 0)) ||
+error Command failed with exit code 2.
+info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
+20:01:26 INFO: Put application into production.
+20:01:27 INFO: Syncing Blueprint-related database values..
+20:01:27 SUCCESS: Blueprint has completed it's installation process.
\ No newline at end of file