pqc
1
I ran into an error trying to upgrade Joplin and I was able to resolve it.
In case anyone runs into the same issue…
Here is a snippet from the logs:
2024-06-16 22:40:41,770: DEBUG - ➤ YN0000: │ root@workspace:. STDERR ➤ YN0000: [@joplin/app-mobile]: [22:40:40] 'buildCodeMirrorEditor' errored after 1.32 min
2024-06-16 22:40:41,770: DEBUG - ➤ YN0000: │ root@workspace:. STDERR ➤ YN0000: [@joplin/app-mobile]: [22:40:40] Error: Promise rejected without Error
2024-06-16 22:40:41,770: DEBUG - ➤ YN0000: │ root@workspace:. STDERR ➤ YN0000: [@joplin/app-mobile]: at onError (/var/www/joplin/packages/app-mobile/node_modules/async-done/index.js:49:15)
2024-06-16 22:40:41,771: DEBUG - ➤ YN0000: │ root@workspace:. STDERR ➤ YN0000: [@joplin/app-mobile]: [22:40:40] 'buildInjectedJs' errored after 1.32 min
2024-06-16 22:40:41,771: DEBUG - ➤ YN0000: │ root@workspace:. STDERR ➤ YN0000: [@joplin/app-mobile]: [22:40:40] 'build' errored after 1.32 min
2024-06-16 22:40:41,771: DEBUG - ➤ YN0000: │ root@workspace:. STDERR ➤ YN0000: [@joplin/app-mobile]: Process exited (exit code 1), completed in 1m 28s
2024-06-16 22:40:41,771: DEBUG - ➤ YN0000: │ root@workspace:. STDERR ➤ YN0000: The command failed for workspaces that are depended upon by other workspaces; can't satisfy the dependency graph
2024-06-16 22:40:41,771: DEBUG - ➤ YN0000: │ root@workspace:. STDERR ➤ YN0000: Failed with errors in 3m 53s
2024-06-16 22:40:41,771: DEBUG - ➤ YN0000: │ root@workspace:. STDERR at makeError (/var/www/joplin/node_modules/execa/lib/error.js:60:11)
2024-06-16 22:40:41,771: DEBUG - ➤ YN0000: │ root@workspace:. STDERR at handlePromise (/var/www/joplin/node_modules/execa/index.js:118:26)
2024-06-16 22:40:41,772: DEBUG - ➤ YN0000: │ root@workspace:. STDERR at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2024-06-16 22:40:41,772: DEBUG - ➤ YN0000: │ root@workspace:. STDERR at async execCommand (/var/www/joplin/gulpfile.js:27:17)
2024-06-16 22:40:41,772: DEBUG - ➤ YN0000: │ root@workspace:. STDERR at async fn (/var/www/joplin/gulpfile.js:62:5)
2024-06-16 22:40:42,015: DEBUG - ➤ YN0009: │ root@workspace:. couldn't be built successfully (exit code 1, logs can be found here: /tmp/xfs-1a98227a/build.log)
I found a similar issue on GitHub, this comment helped me fix it:
Here are the steps i took:
$ cd /var/www/joplin/
$ mv packages packages.backup
Then I did the upgrade, after that worked, I did $ rm -rf packages.backup
.
Just wanted to document the steps in case I or someone else runs into the same issue again. 
I’m really glad YunoHost has Joplin now. 
3 Likes
system
Closed
2
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.