Error updating Linkwarden to 2.9.0 #290

Closed
opened 2026-02-04 17:45:55 +03:00 by OVERLORD · 9 comments
Owner

Originally created by @Builder-DE-TH on GitHub (Jan 6, 2025).

Originally assigned to: @michelroegl-brunner on GitHub.

Have you read and understood the above guidelines?

yes

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

Linkwarden

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

update

📝 Provide a clear and concise description of the issue.

Update fails and GUI is unreachable.

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Ubuntu 22.04

🔄 Steps to reproduce the issue.

Type update

Paste the full error output (if available).

[ERROR] in line 52: exit code 0: while executing command yarn build &> /dev/null``

🖼️ Additional context (optional).

No response

Originally created by @Builder-DE-TH on GitHub (Jan 6, 2025). Originally assigned to: @michelroegl-brunner on GitHub. ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Linkwarden ### 📂 What was the exact command used to execute the script? update ### 📝 Provide a clear and concise description of the issue. Update fails and GUI is unreachable. ### ⚙️ What settings are you using? - [ ] Default Settings - [X] Advanced Settings ### 🖥️ Which Linux distribution are you using? Ubuntu 22.04 ### 🔄 Steps to reproduce the issue. Type update ### ❌ Paste the full error output (if available). [ERROR] in line 52: exit code 0: while executing command yarn build &> /dev/null`` ### 🖼️ Additional context (optional). _No response_
OVERLORD added the not a script issue label 2026-02-04 17:45:55 +03:00
Author
Owner

@MickLesk commented on GitHub (Jan 6, 2025):

From?

@MickLesk commented on GitHub (Jan 6, 2025): From?
Author
Owner

@DavidMoffatt-web commented on GitHub (Jan 7, 2025):

I am getting error:

✔️ Stopped Linkwarden
⠋mv: cannot move 'linkwarden-2.9.1' to '/opt/linkwarden/linkwarden-2.9.1': Directory not empty

[ERROR] in line 46: exit code 0: while executing command mv linkwarden-${RELEASE:1} /opt/linkwarden

@DavidMoffatt-web commented on GitHub (Jan 7, 2025): I am getting error: ✔️ Stopped Linkwarden ⠋mv: cannot move 'linkwarden-2.9.1' to '/opt/linkwarden/linkwarden-2.9.1': Directory not empty [ERROR] in line 46: exit code 0: while executing command mv linkwarden-${RELEASE:1} /opt/linkwarden
Author
Owner

@Builder-DE-TH commented on GitHub (Jan 7, 2025):

From?

2.8.4

@Builder-DE-TH commented on GitHub (Jan 7, 2025): > From? 2.8.4
Author
Owner

@slewantoski commented on GitHub (Jan 7, 2025):

Same Problem on my side Updating von Linkwarden 2.8.4 to 2.9.1.

yarn build throws this error:
`root@linkwarden:/opt/linkwarden# yarn build
yarn run v1.22.22
$ next build

  • info Loaded env from /opt/linkwarden/.env
  • info Linting and checking validity of types ..Failed to compile.

./linkwarden-2.9.1/components/ImportDropdown.tsx:2:29
Type error: Cannot find module '@/lib/client/importBookmarks' or its corresponding type declarations.

1 | import React from "react";

2 | import importBookmarks from "@/lib/client/importBookmarks";
| ^
3 | import { MigrationFormat } from "@/types/global";
4 | import { useTranslation } from "next-i18next";
5 | import { dropdownTriggerer } from "@/lib/client/utils";
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.`

@slewantoski commented on GitHub (Jan 7, 2025): Same Problem on my side Updating von Linkwarden 2.8.4 to 2.9.1. yarn build throws this error: `root@linkwarden:/opt/linkwarden# yarn build yarn run v1.22.22 $ next build - info Loaded env from /opt/linkwarden/.env - info Linting and checking validity of types ..Failed to compile. ./linkwarden-2.9.1/components/ImportDropdown.tsx:2:29 Type error: Cannot find module '@/lib/client/importBookmarks' or its corresponding type declarations. 1 | import React from "react"; > 2 | import importBookmarks from "@/lib/client/importBookmarks"; | ^ 3 | import { MigrationFormat } from "@/types/global"; 4 | import { useTranslation } from "next-i18next"; 5 | import { dropdownTriggerer } from "@/lib/client/utils"; error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.`
Author
Owner

@michelroegl-brunner commented on GitHub (Jan 7, 2025):

I am getting error:

✔️ Stopped Linkwarden ⠋mv: cannot move 'linkwarden-2.9.1' to '/opt/linkwarden/linkwarden-2.9.1': Directory not empty

[ERROR] in line 46: exit code 0: while executing command mv linkwarden-${RELEASE:1} /opt/linkwarden

@DavidMoffatt-web Have you run the update more then once? If yes, remove the folder yourself rm /opt/linkwarden/linkwarden-2.9.1 and try again

@michelroegl-brunner commented on GitHub (Jan 7, 2025): > I am getting error: > > ✔️ Stopped Linkwarden ⠋mv: cannot move 'linkwarden-2.9.1' to '/opt/linkwarden/linkwarden-2.9.1': Directory not empty > > [ERROR] in line 46: exit code 0: while executing command mv linkwarden-${RELEASE:1} /opt/linkwarden @DavidMoffatt-web Have you run the update more then once? If yes, remove the folder yourself `rm /opt/linkwarden/linkwarden-2.9.1` and try again
Author
Owner

@michelroegl-brunner commented on GitHub (Jan 7, 2025):

This is not a script issue from our side. The yarn build fails because it can not finde some module, An Issue has been created at the linkwarden Github. Please check there for any news.

image

@michelroegl-brunner commented on GitHub (Jan 7, 2025): This is not a script issue from our side. The yarn build fails because it can not finde some module, An [Issue](https://github.com/linkwarden/linkwarden/issues/964) has been created at the linkwarden Github. Please check there for any news. ![image](https://github.com/user-attachments/assets/8bfc5acc-6660-4987-8f3a-3ee815af9b6d)
Author
Owner

@stefmatik commented on GitHub (Jan 7, 2025):

I tried installing Linkwarden with the script and that also doesn't work. I don't know if it's connected to the update issue, but verbose said:

error: failed to compile `monolith v2.8.3`, intermediate artifacts can be found at `/tmp/cargo-install51ZyCn`

Caused by:
  package `yoke v0.7.5` cannot be built because it requires rustc 1.71.1 or newer, while the currently active rustc version is 1.63.0
  Try re-running cargo install with `--locked`

[ERROR] in line 41: exit code 0: while executing command $STD cargo install monolith
@stefmatik commented on GitHub (Jan 7, 2025): I tried installing Linkwarden with the script and that also doesn't work. I don't know if it's connected to the update issue, but verbose said: ``` error: failed to compile `monolith v2.8.3`, intermediate artifacts can be found at `/tmp/cargo-install51ZyCn` Caused by: package `yoke v0.7.5` cannot be built because it requires rustc 1.71.1 or newer, while the currently active rustc version is 1.63.0 Try re-running cargo install with `--locked` [ERROR] in line 41: exit code 0: while executing command $STD cargo install monolith ```
Author
Owner

@MickLesk commented on GitHub (Jan 7, 2025):

Have you installed Monolith as say in discussions?

@MickLesk commented on GitHub (Jan 7, 2025): Have you installed Monolith as say in discussions?
Author
Owner

@stefmatik commented on GitHub (Jan 8, 2025):

I just tried to create a new LXC with the script, didn't do anything manually.

@stefmatik commented on GitHub (Jan 8, 2025): I just tried to create a new LXC with the script, didn't do anything manually.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#290