-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Outline update failed #3831
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
So... outline/outline#8594 removed the You need to remove the file in |
Isnt better to remove all expect userdata? |
I mean... possibly? I think we can remove everything in |
deleting just that one file, "Fade.ts" before running update fixed the problem! Thanks very much for the help. |
Its just an dirty Bugfix. The right way is to remove all. But i dont know this App |
Removed |
can anyone ask in outline repo where userdata stored, or its possible to remove the whole folder? i dont use this app |
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. |
β 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?
π₯οΈ Which Linux distribution are you using?
Debian 12
π Steps to reproduce the issue.
β 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 "[email protected]" is incompatible with requested version "debug@^3.1.0"
warning Resolution field "[email protected]" is incompatible with requested version "debug@^2.6.8"
warning Resolution field "[email protected]" is incompatible with requested version "qs@^6.11.0"
warning Resolution field "[email protected]" is incompatible with requested version "debug@^3.1.0"
warning Resolution field "[email protected]" is incompatible with requested version "debug@^4.3.6"
warning Resolution field "[email protected]" is incompatible with requested version "prosemirror-transform@^1.10.2"
warning Resolution field "[email protected]" is incompatible with requested version "prosemirror-transform@^1.10.2"
warning Resolution field "[email protected]" is incompatible with requested version "prismjs@~1.27.0"
warning Resolution field "[email protected]" is incompatible with requested version "[email protected]"
warning Resolution field "[email protected]" is incompatible with requested version "debug@^4.3.7"
warning Resolution field "[email protected]" is incompatible with requested version "debug@^3.2.7"
warning Resolution field "[email protected]" is incompatible with requested version "debug@^3.2.7"
warning Resolution field "[email protected]" is incompatible with requested version "debug@^3.2.7"
warning Resolution field "[email protected]" 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/[email protected]" has incorrect peer dependency "katex@^0.13.0".
warning " > @bull-board/[email protected]" has unmet peer dependency "@bull-board/[email protected]".
warning " > @vitejs/[email protected]" has incorrect peer dependency "vite@^4.1.0-beta.0".
warning "dd-trace > @opentelemetry/[email protected]" has incorrect peer dependency "@opentelemetry/api@>=1.0.0 <1.5.0".
warning " > [email protected]" has incorrect peer dependency "react@^16.8.0 || 16.9.0-alpha.0".
warning "mobx-react > [email protected]" has incorrect peer dependency "react@^16.8.0".
warning " > [email protected]" has incorrect peer dependency "react@^18.0.0 || ^19.0.0 || ^19.0.0-rc".
warning " > [email protected]" has incorrect peer dependency "react-dom@^18.0.0 || ^19.0.0 || ^19.0.0-rc".
warning " > [email protected]" has unmet peer dependency "react-is@>= 16.8.0".
warning " > [email protected]" has unmet peer dependency "workbox-build@^7.1.0".
warning " > [email protected]" has unmet peer dependency "workbox-window@^7.1.0".
warning "vite-plugin-pwa > workbox-build > @rollup/[email protected]" has incorrect peer dependency "rollup@^1.20.0||^2.0.0".
warning "vite-plugin-pwa > workbox-build > @rollup/[email protected]" has incorrect peer dependency "rollup@^1.20.0 || ^2.0.0".
warning "vite-plugin-pwa > workbox-build > @rollup/plugin-babel > @rollup/[email protected]" 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/[email protected] β
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";/components/Empty";12: import Empty from "
13: import { ConditionalFade } from "
/components/Fade";/components/Heading";^
14: import Heading from "
15: import InputSearch from "~/components/InputSearch";
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
The text was updated successfully, but these errors were encountered: