Joplin-Server won't update from v3.4.12 to v3.5.11 #2313

Closed
opened 2026-02-05 04:27:53 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @mwpastore on GitHub (Jan 13, 2026).

Have you read and understood the above guidelines?

yes

🔎 Did you run the script with verbose mode enabled?

Yes, verbose mode was enabled and the output is included below

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

Joplin-Server

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

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/joplin-server.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 13

📈 Which Proxmox version are you on?

pve-manager/9.1.4/5ac30304265fbd8e (running kernel: 6.17.4-2-pve)

📝 Provide a clear and concise description of the issue.

running update in a joplin-server LXC container on the previous app release (v3.4.12) tries and fails to update to the latest app release (v3.5.11)

🔄 Steps to reproduce the issue.

  1. start with an LXC container built by the joplin-server script on an earlier app release (e.g. v3.4.12)
  2. open the console
  3. run update

Paste the full error output (if available).

➤ YN0000: │ root@workspace:. STDERR [@joplin/app-desktop]: gui/Sidebar/hooks/useSelectedSidebarIndex.ts(29,52): error TS2561: Object literal may only specify known properties, but 'selectedFolderId' does not exist in type 'FolderSelectedContext'. Did you mean to write 'selectedFolderIds'?
➤ YN0000: │ root@workspace:. STDERR [@joplin/app-desktop]: gui/Sidebar/hooks/useSelectedSidebarIndex.ts(31,46): error TS2561: Object literal may only specify known properties, but 'selectedTagId' does not exist in type 'TagSelectedContext'. Did you mean to write 'selectedTagIds'?
➤ YN0000: │ root@workspace:. STDERR [@joplin/app-mobile]: services/voiceTyping/vosk.android.ts(6,18): error TS2307: Cannot find module 'react-native-vosk' or its corresponding type declarations.
➤ YN0000: │ root@workspace:. STDERR [@joplin/app-mobile]: services/voiceTyping/vosk.android.ts(131,35): error TS7006: Parameter 'e' implicitly has an 'any' type.
➤ YN0000: │ root@workspace:. STDERR [@joplin/app-mobile]: services/voiceTyping/vosk.android.ts(138,34): error TS7006: Parameter 'e' implicitly has an 'any' type.
➤ YN0000: │ root@workspace:. STDERR [@joplin/app-mobile]: services/voiceTyping/vosk.android.ts(142,36): error TS7006: Parameter 'e' implicitly has an 'any' type.
➤ YN0000: │ root@workspace:. STDERR [@joplin/app-mobile]: services/voiceTyping/vosk.android.ts(146,40): error TS7006: Parameter 'e' implicitly has an 'any' type.
➤ YN0000: │ root@workspace:. STDERR [@joplin/editor]: ProseMirror/commands.ts(80,7): error TS2739: Type '{ undo: Command; redo: Command; selectAll: Command; focus: (_state: EditorState, _dispatch?: Dispatch, view?: EditorView) => true; ... 51 more ...; jumpToHash: (state: EditorState, dispatch: Dispatch, view: EditorView, [targetHash]: string[]) => boolean; }' is missing the following properties from type 'Record<EditorCommandType, ExtendedCommand>': textTable, textCodeBlock
➤ YN0000: │ root@workspace:. STDERR [@joplin/lib]: services/e2ee/RSA.node.ts(1,10): error TS2305: Module '"./types"' has no exported member 'RSA'.
➤ YN0000: │ root@workspace:. STDERR [@joplin/lib]: services/e2ee/RSA.node.ts(1,15): error TS2305: Module '"./types"' has no exported member 'RSAKeyPair'.
➤ YN0000: │ root@workspace:. STDERR [@joplin/lib]: services/e2ee/ppk.ts(3,27): error TS2305: Module '"./types"' has no exported member 'RSA'.
➤ YN0000: │ root@workspace:. STDERR [@joplin/lib]: services/e2ee/ppk.ts(3,32): error TS2305: Module '"./types"' has no exported member 'RSAKeyPair'.
➤ YN0000: │ root@workspace:. STDERR The command failed in workspace @joplin/app-desktop@workspace:packages/app-desktop with exit code 2
➤ YN0000: │ root@workspace:. STDERR The command failed in workspace @joplin/app-mobile@workspace:packages/app-mobile with exit code 2
➤ YN0000: │ root@workspace:. STDERR The command failed in workspace @joplin/editor@workspace:packages/editor with exit code 2
➤ YN0000: │ root@workspace:. STDERR The command failed in workspace @joplin/lib@workspace:packages/lib with exit code 2
➤ YN0000: │ root@workspace:. STDERR Failed with errors in 26s 846ms
➤ YN0000: │ root@workspace:. STDERR     at makeError (/opt/joplin-server/node_modules/execa/lib/error.js:60:11)
➤ YN0000: │ root@workspace:. STDERR     at handlePromise (/opt/joplin-server/node_modules/execa/index.js:118:26)
➤ YN0000: │ root@workspace:. STDERR     at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
➤ YN0000: │ root@workspace:. STDERR     at async execCommand (/opt/joplin-server/gulpfile.js:27:17)
➤ YN0000: │ root@workspace:. STDERR     at async fn (/opt/joplin-server/gulpfile.js:62:5)

🖼️ Additional context (optional).

The problem is that the e.g. services/e2ee/RSA.node.ts file is not supposed to be there. It was moved from services/e2ee/RSA.node.ts to services/e2ee/ppk/RSA.node.ts between app versions. But it's there, yarn tries to build it, and it fails.

It's present in the tree because the updater overlays the new app release tarball over the existing directory structure before kicking off the build. Unfortunately if any files were deleted or renamed/moved between app versions, this does not remove the old files.

Originally created by @mwpastore on GitHub (Jan 13, 2026). ### ✅ Have you read and understood the above guidelines? yes ### 🔎 Did you run the script with verbose mode enabled? Yes, verbose mode was enabled and the output is included below ### 📜 What is the name of the script you are using? Joplin-Server ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/joplin-server.sh)" ### ⚙️ What settings are you using? - [ ] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 13 ### 📈 Which Proxmox version are you on? pve-manager/9.1.4/5ac30304265fbd8e (running kernel: 6.17.4-2-pve) ### 📝 Provide a clear and concise description of the issue. running `update` in a joplin-server LXC container on the previous app release (v3.4.12) tries and fails to update to the latest app release (v3.5.11) ### 🔄 Steps to reproduce the issue. 1. start with an LXC container built by the joplin-server script on an earlier app release (e.g. v3.4.12) 2. open the console 3. run `update` ### ❌ Paste the full error output (if available). ``` ➤ YN0000: │ root@workspace:. STDERR [@joplin/app-desktop]: gui/Sidebar/hooks/useSelectedSidebarIndex.ts(29,52): error TS2561: Object literal may only specify known properties, but 'selectedFolderId' does not exist in type 'FolderSelectedContext'. Did you mean to write 'selectedFolderIds'? ➤ YN0000: │ root@workspace:. STDERR [@joplin/app-desktop]: gui/Sidebar/hooks/useSelectedSidebarIndex.ts(31,46): error TS2561: Object literal may only specify known properties, but 'selectedTagId' does not exist in type 'TagSelectedContext'. Did you mean to write 'selectedTagIds'? ➤ YN0000: │ root@workspace:. STDERR [@joplin/app-mobile]: services/voiceTyping/vosk.android.ts(6,18): error TS2307: Cannot find module 'react-native-vosk' or its corresponding type declarations. ➤ YN0000: │ root@workspace:. STDERR [@joplin/app-mobile]: services/voiceTyping/vosk.android.ts(131,35): error TS7006: Parameter 'e' implicitly has an 'any' type. ➤ YN0000: │ root@workspace:. STDERR [@joplin/app-mobile]: services/voiceTyping/vosk.android.ts(138,34): error TS7006: Parameter 'e' implicitly has an 'any' type. ➤ YN0000: │ root@workspace:. STDERR [@joplin/app-mobile]: services/voiceTyping/vosk.android.ts(142,36): error TS7006: Parameter 'e' implicitly has an 'any' type. ➤ YN0000: │ root@workspace:. STDERR [@joplin/app-mobile]: services/voiceTyping/vosk.android.ts(146,40): error TS7006: Parameter 'e' implicitly has an 'any' type. ➤ YN0000: │ root@workspace:. STDERR [@joplin/editor]: ProseMirror/commands.ts(80,7): error TS2739: Type '{ undo: Command; redo: Command; selectAll: Command; focus: (_state: EditorState, _dispatch?: Dispatch, view?: EditorView) => true; ... 51 more ...; jumpToHash: (state: EditorState, dispatch: Dispatch, view: EditorView, [targetHash]: string[]) => boolean; }' is missing the following properties from type 'Record<EditorCommandType, ExtendedCommand>': textTable, textCodeBlock ➤ YN0000: │ root@workspace:. STDERR [@joplin/lib]: services/e2ee/RSA.node.ts(1,10): error TS2305: Module '"./types"' has no exported member 'RSA'. ➤ YN0000: │ root@workspace:. STDERR [@joplin/lib]: services/e2ee/RSA.node.ts(1,15): error TS2305: Module '"./types"' has no exported member 'RSAKeyPair'. ➤ YN0000: │ root@workspace:. STDERR [@joplin/lib]: services/e2ee/ppk.ts(3,27): error TS2305: Module '"./types"' has no exported member 'RSA'. ➤ YN0000: │ root@workspace:. STDERR [@joplin/lib]: services/e2ee/ppk.ts(3,32): error TS2305: Module '"./types"' has no exported member 'RSAKeyPair'. ➤ YN0000: │ root@workspace:. STDERR The command failed in workspace @joplin/app-desktop@workspace:packages/app-desktop with exit code 2 ➤ YN0000: │ root@workspace:. STDERR The command failed in workspace @joplin/app-mobile@workspace:packages/app-mobile with exit code 2 ➤ YN0000: │ root@workspace:. STDERR The command failed in workspace @joplin/editor@workspace:packages/editor with exit code 2 ➤ YN0000: │ root@workspace:. STDERR The command failed in workspace @joplin/lib@workspace:packages/lib with exit code 2 ➤ YN0000: │ root@workspace:. STDERR Failed with errors in 26s 846ms ➤ YN0000: │ root@workspace:. STDERR at makeError (/opt/joplin-server/node_modules/execa/lib/error.js:60:11) ➤ YN0000: │ root@workspace:. STDERR at handlePromise (/opt/joplin-server/node_modules/execa/index.js:118:26) ➤ YN0000: │ root@workspace:. STDERR at process.processTicksAndRejections (node:internal/process/task_queues:103:5) ➤ YN0000: │ root@workspace:. STDERR at async execCommand (/opt/joplin-server/gulpfile.js:27:17) ➤ YN0000: │ root@workspace:. STDERR at async fn (/opt/joplin-server/gulpfile.js:62:5) ``` ### 🖼️ Additional context (optional). The problem is that the e.g. `services/e2ee/RSA.node.ts` file is not supposed to be there. It was moved from `services/e2ee/RSA.node.ts` to `services/e2ee/ppk/RSA.node.ts` between app versions. But it's there, yarn tries to build it, and it fails. It's present in the tree because the updater overlays the new app release tarball over the existing directory structure before kicking off the build. Unfortunately if any files were deleted or renamed/moved between app versions, this does not remove the old files.
OVERLORD added the bug label 2026-02-05 04:27:53 +03:00
Author
Owner

@MickLesk commented on GitHub (Jan 13, 2026):

@tremor021 Clean Install

@MickLesk commented on GitHub (Jan 13, 2026): @tremor021 Clean Install
Author
Owner

@tremor021 commented on GitHub (Jan 13, 2026):

Will be fixed after #10769 merges

@tremor021 commented on GitHub (Jan 13, 2026): Will be fixed after #10769 merges
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#2313