Outline update failed #907

Closed
opened 2025-11-20 04:56:20 -05:00 by saavagebueno · 9 comments
Owner

Originally created by @ckambler on GitHub (Apr 11, 2025).

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

Outline

📂 What was the exact command used to execute the script?

"update" or "bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/outline.sh)"" from within the Outline LXC

📝 Provide a clear and concise description of the issue.

I installed the Outline wiki LXC using all default settings. Updated the .env file to use my OIDC auth details, started making a wiki, everything worked great! When I installed it originally, it was on v0.82.0. They just pushed a v0.83.0 update, so I tried to update using the "update" command from within the LXC's shell, as instructed on the Outline page on helper-scripts. The update script recognizes there's a new version, but then fails before finishing. Now the original install no longer works, I get a connected refused error.

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

🔄 Steps to reproduce the issue.

  1. install Outline to a new LXC using the provided script (originally installed with Outline v0.82.0)
  2. run the update command at a later date to update to v0.83.0 (I originally ran it in normal mode, but after the first failure restored a backup, and ran update in verbose mode)
  3. update fails before completing, original install no longer works. Have to restore a backup to restore functionality

Paste the full error output (if available).

✔️ Services Stopped
yarn install v1.22.22
[1/5] Validating package.json...
[2/5] Resolving packages...
warning Resolution field "debug@4.3.4" is incompatible with requested version "debug@^3.1.0"
warning Resolution field "debug@4.3.4" is incompatible with requested version "debug@^2.6.8"
warning Resolution field "qs@6.9.7" is incompatible with requested version "qs@^6.11.0"
warning Resolution field "debug@4.3.4" is incompatible with requested version "debug@^3.1.0"
warning Resolution field "debug@4.3.4" is incompatible with requested version "debug@^4.3.6"
warning Resolution field "prosemirror-transform@1.10.0" is incompatible with requested version "prosemirror-transform@^1.10.2"
warning Resolution field "prosemirror-transform@1.10.0" is incompatible with requested version "prosemirror-transform@^1.10.2"
warning Resolution field "prismjs@1.30.0" is incompatible with requested version "prismjs@~1.27.0"
warning Resolution field "debug@4.3.4" is incompatible with requested version "debug@4.4.0"
warning Resolution field "debug@4.3.4" is incompatible with requested version "debug@^4.3.7"
warning Resolution field "debug@4.3.4" is incompatible with requested version "debug@^3.2.7"
warning Resolution field "debug@4.3.4" is incompatible with requested version "debug@^3.2.7"
warning Resolution field "debug@4.3.4" is incompatible with requested version "debug@^3.2.7"
warning Resolution field "debug@4.3.4" is incompatible with requested version "debug@^2.2.0"
[3/5] Fetching packages...
⠋ Updating Outline to 0.83.0[######################-------------------------------------------------------------------------------------------------------------
[4/5] Linking dependencies...
warning " > @benrbray/prosemirror-math@0.2.2" has incorrect peer dependency "katex@^0.13.0".
warning " > @bull-board/api@6.7.10" has unmet peer dependency "@bull-board/ui@6.7.10".
warning " > @vitejs/plugin-react@3.1.0" has incorrect peer dependency "vite@^4.1.0-beta.0".
warning "dd-trace > @opentelemetry/core@1.15.1" has incorrect peer dependency "@opentelemetry/api@>=1.0.0 <1.5.0".
warning " > mobx-react@6.3.1" has incorrect peer dependency "react@^16.8.0 || 16.9.0-alpha.0".
warning "mobx-react > mobx-react-lite@2.2.2" has incorrect peer dependency "react@^16.8.0".
warning " > sonner@1.7.4" has incorrect peer dependency "react@^18.0.0 || ^19.0.0 || ^19.0.0-rc".
warning " > sonner@1.7.4" has incorrect peer dependency "react-dom@^18.0.0 || ^19.0.0 || ^19.0.0-rc".
warning " > styled-components@5.3.11" has unmet peer dependency "react-is@>= 16.8.0".
warning " > vite-plugin-pwa@0.20.3" has unmet peer dependency "workbox-build@^7.1.0".
warning " > vite-plugin-pwa@0.20.3" has unmet peer dependency "workbox-window@^7.1.0".
warning "vite-plugin-pwa > workbox-build > @rollup/plugin-babel@5.3.1" has incorrect peer dependency "rollup@^1.20.0||^2.0.0".
warning "vite-plugin-pwa > workbox-build > @rollup/plugin-replace@2.4.2" has incorrect peer dependency "rollup@^1.20.0 || ^2.0.0".
warning "vite-plugin-pwa > workbox-build > @rollup/plugin-babel > @rollup/pluginutils@3.1.0" has incorrect peer dependency "rollup@^1.20.0||^2.0.0".
warning Workspaces can only be enabled in private projects.
[5/5] Building fresh packages...
$ yarn patch-package
yarn run v1.22.22
$ /opt/outline/node_modules/.bin/patch-package
⠙ Updating Outline to 0.83.0patch-package 7.0.2
Applying patches...
@benrbray/prosemirror-math@0.2.2 ✔
Done in 0.21s.
$ husky install
fatal: not a git repository (or any of the parent directories): .git
husky - git command not found, skipping install
Done in 33.87s.
yarn run v1.22.22
$ yarn clean && yarn vite:build && yarn build:i18n && yarn build:server
$ rimraf build
$ VITE_CJS_IGNORE_WARNING=true vite build
⠼ Updating Outline to 0.83.0NODE_ENV=production is not supported in the .env file. Only NODE_ENV=development is supported to create a development build of your project. If you need to set process.env.NODE_ENV, you can set it in the Vite config instead.
⠴ Updating Outline to 0.83.0vite v5.4.17 building for production...
node_modules/sonner/dist/index.mjs (1:0) Module level directives cause errors when bundled, "use client" in "node_modules/sonner/dist/index.mjs" was ignored.
node_modules/vaul/dist/index.mjs (1:0) Module level directives cause errors when bundled, "use client" in "node_modules/vaul/dist/index.mjs" was ignored.
node_modules/@radix-ui/react-select/dist/index.mjs (1:0) Module level directives cause errors when bundled, "use client" in "node_modules/@radix-ui/react-select/dist/index.mjs" was ignored.
[plugin:vite:resolve] Module "path" has been externalized for browser compatibility, imported by "/opt/outline/node_modules/mime-types/index.js". See https://vite.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.
node_modules/@radix-ui/react-dialog/dist/index.mjs (1:0) Module level directives cause errors when bundled, "use client" in "node_modules/@radix-ui/react-dialog/dist/index.mjs" was ignored.
node_modules/@radix-ui/react-collection/dist/index.mjs (1:0) Module level directives cause errors when bundled, "use client" in "node_modules/@radix-ui/react-collection/dist/index.mjs" was ignored.
node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs (1:0) Module level directives cause errors when bundled, "use client" in "node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs" was ignored.
node_modules/@radix-ui/react-focus-guards/dist/index.mjs (1:0) Module level directives cause errors when bundled, "use client" in "node_modules/@radix-ui/react-focus-guards/dist/index.mjs" was ignored.
node_modules/@radix-ui/react-focus-scope/dist/index.mjs (1:0) Module level directives cause errors when bundled, "use client" in "node_modules/@radix-ui/react-focus-scope/dist/index.mjs" was ignored.
node_modules/@radix-ui/react-popper/dist/index.mjs (1:0) Module level directives cause errors when bundled, "use client" in "node_modules/@radix-ui/react-popper/dist/index.mjs" was ignored.
node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-portal/dist/index.mjs (1:0) Module level directives cause errors when bundled, "use client" in "node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-portal/dist/index.mjs" was ignored.
node_modules/react-medium-image-zoom/dist/index.js (1:0) Module level directives cause errors when bundled, "use client" in "node_modules/react-medium-image-zoom/dist/index.js" was ignored.
node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs (1:0) Module level directives cause errors when bundled, "use client" in "node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs" was ignored.
node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-focus-scope/dist/index.mjs (1:0) Module level directives cause errors when bundled, "use client" in "node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-focus-scope/dist/index.mjs" was ignored.
node_modules/@radix-ui/react-presence/dist/index.mjs (1:0) Module level directives cause errors when bundled, "use client" in "node_modules/@radix-ui/react-presence/dist/index.mjs" was ignored.
✓ 7278 modules transformed.
x Build failed in 21.33s
error during build:
[vite-plugin-pwa:build] "ConditionalFade" is not exported by "app/components/Fade.ts", imported by "app/scenes/Settings/Groups.tsx".
file: /opt/outline/app/scenes/Settings/Groups.tsx:13:9

11: import Button from "/components/Button";
12: import Empty from "
/components/Empty";
13: import { ConditionalFade } from "/components/Fade";
^
14: import Heading from "
/components/Heading";
15: import InputSearch from "~/components/InputSearch";

at error (file:///opt/outline/node_modules/rollup/dist/es/shared/parseAst.js:337:30)
at Module.error (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:12737:16)
at Module.traceVariable (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:13178:29)
at ModuleScope.findVariable (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:11591:39)
at FunctionScope.findVariable (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:5897:38)
at FunctionBodyScope.findVariable (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:5897:38)
at Identifier.bind (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:7179:40)
at CallExpression.bind (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:4621:28)
at CallExpression.bind (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:8812:15)
at ArrayExpression.bind (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:4621:28)
at Property.bind (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:4625:23)
at ObjectExpression.bind (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:4621:28)
at CallExpression.bind (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:4621:28)
at CallExpression.bind (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:8812:15)
at ConditionalExpression.bind (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:4625:23)
at ArrayExpression.bind (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:4621:28)
at Property.bind (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:4625:23)
at ObjectExpression.bind (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:4621:28)
at CallExpression.bind (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:4621:28)
at CallExpression.bind (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:8812:15)
at ReturnStatement.bind (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:4625:23)
at BlockStatement.bind (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:4621:28)
at FunctionDeclaration.bind (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:4625:23)
at Program.bind (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:4621:28)
at Module.bindReferences (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:12733:18)
at Graph.sortModules (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:18894:20)
at Graph.build (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:18799:14)
at async file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:19439:13
at async catchUnfinishedHookActions (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:18951:16)
at async rollupInternal (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:19434:5)
at async build (file:///opt/outline/node_modules/vite/dist/node/chunks/dep-Dyl6b77n.js:65631:14)
at async CAC.<anonymous> (file:///opt/outline/node_modules/vite/dist/node/cli.js:829:5)

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
⠦ Updating Outline to 0.83.0
[ERROR] in line 45: exit code 0: while executing command $STD yarn build

🖼️ Additional context (optional).

No response

Originally created by @ckambler on GitHub (Apr 11, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Outline ### 📂 What was the exact command used to execute the script? "update" or "bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/outline.sh)"" from within the Outline LXC ### 📝 Provide a clear and concise description of the issue. I installed the Outline wiki LXC using all default settings. Updated the .env file to use my OIDC auth details, started making a wiki, everything worked great! When I installed it originally, it was on v0.82.0. They just pushed a v0.83.0 update, so I tried to update using the "update" command from within the LXC's shell, as instructed on the Outline page on helper-scripts. The update script recognizes there's a new version, but then fails before finishing. Now the original install no longer works, I get a connected refused error. ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 🔄 Steps to reproduce the issue. 1. install Outline to a new LXC using the provided script (originally installed with Outline v0.82.0) 2. run the update command at a later date to update to v0.83.0 (I originally ran it in normal mode, but after the first failure restored a backup, and ran update in verbose mode) 3. update fails before completing, original install no longer works. Have to restore a backup to restore functionality ### ❌ Paste the full error output (if available). ✔️ Services Stopped yarn install v1.22.22 [1/5] Validating package.json... [2/5] Resolving packages... warning Resolution field "debug@4.3.4" is incompatible with requested version "debug@^3.1.0" warning Resolution field "debug@4.3.4" is incompatible with requested version "debug@^2.6.8" warning Resolution field "qs@6.9.7" is incompatible with requested version "qs@^6.11.0" warning Resolution field "debug@4.3.4" is incompatible with requested version "debug@^3.1.0" warning Resolution field "debug@4.3.4" is incompatible with requested version "debug@^4.3.6" warning Resolution field "prosemirror-transform@1.10.0" is incompatible with requested version "prosemirror-transform@^1.10.2" warning Resolution field "prosemirror-transform@1.10.0" is incompatible with requested version "prosemirror-transform@^1.10.2" warning Resolution field "prismjs@1.30.0" is incompatible with requested version "prismjs@~1.27.0" warning Resolution field "debug@4.3.4" is incompatible with requested version "debug@4.4.0" warning Resolution field "debug@4.3.4" is incompatible with requested version "debug@^4.3.7" warning Resolution field "debug@4.3.4" is incompatible with requested version "debug@^3.2.7" warning Resolution field "debug@4.3.4" is incompatible with requested version "debug@^3.2.7" warning Resolution field "debug@4.3.4" is incompatible with requested version "debug@^3.2.7" warning Resolution field "debug@4.3.4" is incompatible with requested version "debug@^2.2.0" [3/5] Fetching packages... ⠋ Updating Outline to 0.83.0[######################------------------------------------------------------------------------------------------------------------- [4/5] Linking dependencies... warning " > @benrbray/prosemirror-math@0.2.2" has incorrect peer dependency "katex@^0.13.0". warning " > @bull-board/api@6.7.10" has unmet peer dependency "@bull-board/ui@6.7.10". warning " > @vitejs/plugin-react@3.1.0" has incorrect peer dependency "vite@^4.1.0-beta.0". warning "dd-trace > @opentelemetry/core@1.15.1" has incorrect peer dependency "@opentelemetry/api@>=1.0.0 <1.5.0". warning " > mobx-react@6.3.1" has incorrect peer dependency "react@^16.8.0 || 16.9.0-alpha.0". warning "mobx-react > mobx-react-lite@2.2.2" has incorrect peer dependency "react@^16.8.0". warning " > sonner@1.7.4" has incorrect peer dependency "react@^18.0.0 || ^19.0.0 || ^19.0.0-rc". warning " > sonner@1.7.4" has incorrect peer dependency "react-dom@^18.0.0 || ^19.0.0 || ^19.0.0-rc". warning " > styled-components@5.3.11" has unmet peer dependency "react-is@>= 16.8.0". warning " > vite-plugin-pwa@0.20.3" has unmet peer dependency "workbox-build@^7.1.0". warning " > vite-plugin-pwa@0.20.3" has unmet peer dependency "workbox-window@^7.1.0". warning "vite-plugin-pwa > workbox-build > @rollup/plugin-babel@5.3.1" has incorrect peer dependency "rollup@^1.20.0||^2.0.0". warning "vite-plugin-pwa > workbox-build > @rollup/plugin-replace@2.4.2" has incorrect peer dependency "rollup@^1.20.0 || ^2.0.0". warning "vite-plugin-pwa > workbox-build > @rollup/plugin-babel > @rollup/pluginutils@3.1.0" has incorrect peer dependency "rollup@^1.20.0||^2.0.0". warning Workspaces can only be enabled in private projects. [5/5] Building fresh packages... $ yarn patch-package yarn run v1.22.22 $ /opt/outline/node_modules/.bin/patch-package ⠙ Updating Outline to 0.83.0patch-package 7.0.2 Applying patches... @benrbray/prosemirror-math@0.2.2 ✔ Done in 0.21s. $ husky install fatal: not a git repository (or any of the parent directories): .git husky - git command not found, skipping install Done in 33.87s. yarn run v1.22.22 $ yarn clean && yarn vite:build && yarn build:i18n && yarn build:server $ rimraf build $ VITE_CJS_IGNORE_WARNING=true vite build ⠼ Updating Outline to 0.83.0NODE_ENV=production is not supported in the .env file. Only NODE_ENV=development is supported to create a development build of your project. If you need to set process.env.NODE_ENV, you can set it in the Vite config instead. ⠴ Updating Outline to 0.83.0vite v5.4.17 building for production... node_modules/sonner/dist/index.mjs (1:0) Module level directives cause errors when bundled, "use client" in "node_modules/sonner/dist/index.mjs" was ignored. node_modules/vaul/dist/index.mjs (1:0) Module level directives cause errors when bundled, "use client" in "node_modules/vaul/dist/index.mjs" was ignored. node_modules/@radix-ui/react-select/dist/index.mjs (1:0) Module level directives cause errors when bundled, "use client" in "node_modules/@radix-ui/react-select/dist/index.mjs" was ignored. [plugin:vite:resolve] Module "path" has been externalized for browser compatibility, imported by "/opt/outline/node_modules/mime-types/index.js". See https://vite.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details. node_modules/@radix-ui/react-dialog/dist/index.mjs (1:0) Module level directives cause errors when bundled, "use client" in "node_modules/@radix-ui/react-dialog/dist/index.mjs" was ignored. node_modules/@radix-ui/react-collection/dist/index.mjs (1:0) Module level directives cause errors when bundled, "use client" in "node_modules/@radix-ui/react-collection/dist/index.mjs" was ignored. node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs (1:0) Module level directives cause errors when bundled, "use client" in "node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs" was ignored. node_modules/@radix-ui/react-focus-guards/dist/index.mjs (1:0) Module level directives cause errors when bundled, "use client" in "node_modules/@radix-ui/react-focus-guards/dist/index.mjs" was ignored. node_modules/@radix-ui/react-focus-scope/dist/index.mjs (1:0) Module level directives cause errors when bundled, "use client" in "node_modules/@radix-ui/react-focus-scope/dist/index.mjs" was ignored. node_modules/@radix-ui/react-popper/dist/index.mjs (1:0) Module level directives cause errors when bundled, "use client" in "node_modules/@radix-ui/react-popper/dist/index.mjs" was ignored. node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-portal/dist/index.mjs (1:0) Module level directives cause errors when bundled, "use client" in "node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-portal/dist/index.mjs" was ignored. node_modules/react-medium-image-zoom/dist/index.js (1:0) Module level directives cause errors when bundled, "use client" in "node_modules/react-medium-image-zoom/dist/index.js" was ignored. node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs (1:0) Module level directives cause errors when bundled, "use client" in "node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs" was ignored. node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-focus-scope/dist/index.mjs (1:0) Module level directives cause errors when bundled, "use client" in "node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-focus-scope/dist/index.mjs" was ignored. node_modules/@radix-ui/react-presence/dist/index.mjs (1:0) Module level directives cause errors when bundled, "use client" in "node_modules/@radix-ui/react-presence/dist/index.mjs" was ignored. ✓ 7278 modules transformed. x Build failed in 21.33s error during build: [vite-plugin-pwa:build] "ConditionalFade" is not exported by "app/components/Fade.ts", imported by "app/scenes/Settings/Groups.tsx". file: /opt/outline/app/scenes/Settings/Groups.tsx:13:9 11: import Button from "~/components/Button"; 12: import Empty from "~/components/Empty"; 13: import { ConditionalFade } from "~/components/Fade"; ^ 14: import Heading from "~/components/Heading"; 15: import InputSearch from "~/components/InputSearch"; at error (file:///opt/outline/node_modules/rollup/dist/es/shared/parseAst.js:337:30) at Module.error (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:12737:16) at Module.traceVariable (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:13178:29) at ModuleScope.findVariable (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:11591:39) at FunctionScope.findVariable (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:5897:38) at FunctionBodyScope.findVariable (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:5897:38) at Identifier.bind (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:7179:40) at CallExpression.bind (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:4621:28) at CallExpression.bind (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:8812:15) at ArrayExpression.bind (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:4621:28) at Property.bind (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:4625:23) at ObjectExpression.bind (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:4621:28) at CallExpression.bind (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:4621:28) at CallExpression.bind (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:8812:15) at ConditionalExpression.bind (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:4625:23) at ArrayExpression.bind (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:4621:28) at Property.bind (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:4625:23) at ObjectExpression.bind (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:4621:28) at CallExpression.bind (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:4621:28) at CallExpression.bind (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:8812:15) at ReturnStatement.bind (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:4625:23) at BlockStatement.bind (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:4621:28) at FunctionDeclaration.bind (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:4625:23) at Program.bind (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:4621:28) at Module.bindReferences (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:12733:18) at Graph.sortModules (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:18894:20) at Graph.build (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:18799:14) at async file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:19439:13 at async catchUnfinishedHookActions (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:18951:16) at async rollupInternal (file:///opt/outline/node_modules/rollup/dist/es/shared/node-entry.js:19434:5) at async build (file:///opt/outline/node_modules/vite/dist/node/chunks/dep-Dyl6b77n.js:65631:14) at async CAC.<anonymous> (file:///opt/outline/node_modules/vite/dist/node/cli.js:829:5) error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. ⠦ Updating Outline to 0.83.0 [ERROR] in line 45: exit code 0: while executing command $STD yarn build ### 🖼️ Additional context (optional). _No response_
saavagebueno added the bug label 2025-11-20 04:56:20 -05:00
Author
Owner

@prettysunflower commented on GitHub (Apr 11, 2025):

So... outline/outline#8594 removed the app/components/Fade.ts, and replaced it by app/components/Fade.tsx. Because the script copy the new version without removing files that were removed by the project, the app is importing the Fade.ts instead of the Fade.tsx.

You need to remove the file in /opt/outline/app/components/Fade.ts before running the update command to fix the issue.

@prettysunflower commented on GitHub (Apr 11, 2025): So... outline/outline#8594 removed the `app/components/Fade.ts`, and replaced it by `app/components/Fade.tsx`. Because the script copy the new version _without_ removing files that were removed by the project, the app is importing the Fade.ts instead of the Fade.tsx. You need to remove the file in `/opt/outline/app/components/Fade.ts` before running the update command to fix the issue.
Author
Owner

@MickLesk commented on GitHub (Apr 11, 2025):

Isnt better to remove all expect userdata?

@MickLesk commented on GitHub (Apr 11, 2025): Isnt better to remove all expect userdata?
Author
Owner

@prettysunflower commented on GitHub (Apr 11, 2025):

Isnt better to remove all expect userdata?

I mean... possibly? I think we can remove everything in /opt/outline with the exception of .env file (if I understand the docker-compose.yml that Outline provides, and assuming that Outline stores things outside of /opt/outline, like in /var/lib/outline), but I'm actually unsure, so... I (or someone else) would need to test that to make sure we're not breaking things~

@prettysunflower commented on GitHub (Apr 11, 2025): > Isnt better to remove all expect userdata? I mean... possibly? I think we can remove everything in `/opt/outline` with the exception of `.env` file (if I understand the docker-compose.yml that Outline provides, and assuming that Outline stores things outside of `/opt/outline`, like in `/var/lib/outline`), but I'm actually _unsure_, so... I (or someone else) would need to test that to make sure we're not breaking things~
Author
Owner

@ckambler commented on GitHub (Apr 11, 2025):

deleting just that one file, "Fade.ts" before running update fixed the problem! Thanks very much for the help.

@ckambler commented on GitHub (Apr 11, 2025): deleting just that one file, "Fade.ts" before running update fixed the problem! Thanks very much for the help.
Author
Owner

@MickLesk commented on GitHub (Apr 11, 2025):

Its just an dirty Bugfix. The right way is to remove all. But i dont know this App

@MickLesk commented on GitHub (Apr 11, 2025): Its just an dirty Bugfix. The right way is to remove all. But i dont know this App
Author
Owner
@tremor021 commented on GitHub (Apr 12, 2025): https://github.com/community-scripts/ProxmoxVE/pull/3845#issuecomment-2798891623
Author
Owner

@Lyushen commented on GitHub (Apr 15, 2025):

✓ 7278 modules transformed.
⠇ Updating Outline to 0.83.0(webpackStats plugin) Stats saved to /opt/outline/build/app/webpack-stats.json (579.25KiB)
⠇ Updating Outline to 0.83.0Killed
error Command failed with exit code 137.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 137.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

[ERROR] in line 45: exit code 0: while executing command $STD yarn build

Removed /opt/outline/app/components/Fade.ts and the update still failed. Any suggestions?

@Lyushen commented on GitHub (Apr 15, 2025): ``` ✓ 7278 modules transformed. ⠇ Updating Outline to 0.83.0(webpackStats plugin) Stats saved to /opt/outline/build/app/webpack-stats.json (579.25KiB) ⠇ Updating Outline to 0.83.0Killed error Command failed with exit code 137. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. error Command failed with exit code 137. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. [ERROR] in line 45: exit code 0: while executing command $STD yarn build ``` Removed `/opt/outline/app/components/Fade.ts` and the `update` still failed. Any suggestions?
Author
Owner

@MickLesk commented on GitHub (Apr 15, 2025):

can anyone ask in outline repo where userdata stored, or its possible to remove the whole folder? i dont use this app

@MickLesk commented on GitHub (Apr 15, 2025): can anyone ask in outline repo where userdata stored, or its possible to remove the whole folder? i dont use this app
Author
Owner

@tremor021 commented on GitHub (Apr 15, 2025):

Everything should be fixed after #3895 merges. We will completely remove the app directory, backup the config, install new version from source, restore config.

All data is in postgres database, so this shouldn't affect it.

@tremor021 commented on GitHub (Apr 15, 2025): Everything should be fixed after #3895 merges. We will completely remove the app directory, backup the config, install new version from source, restore config. All data is in postgres database, so this shouldn't affect it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#907