Grist is missing pyodide

What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: 12.1.17.1
What app is this about: Grist

Describe your issue

Since the last grist update, grist documents are broken and calling for pyodide…

Problem occured on my personnal server that i just upgraded to 1.7.3~ynh2, but everything is fine on the work server that is still on 1.7.3~ynh1. The work server is however a few system updates behind (yunohost version is the same but dependencies updates are a bit behind, so might be that too).

Share relevant logs or error messages

[Sandbox] PipeToSandbox is closed: node:internal/modules/cjs/loader:1386 throw err; ^ Error: Cannot find module './_build/worker/node_modules/pyodide' Require stack: - /var/www/grist/sandbox/pyodide/pipe.js at Function._resolveFilename (node:internal/modules/cjs/loader:1383:15) at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19) at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22) at Function._load (node:internal/modules/cjs/loader:1192:37) at TracingChannel.traceSync (node:diagnostics_channel:322:14) at wrapModuleLoad (node:internal/modules/cjs/loader:237:24) at Module.require (node:internal/modules/cjs/loader:1463:12) at require (node:internal/modules/helpers:147:16) at Object.<anonymous> (/var/www/grist/sandbox/pyodide/pipe.js:4:25) at Module._compile (node:internal/modules/cjs/loader:1706:14) { code: 'MODULE_NOT_FOUND', requireStack: [ '/var/www/grist/sandbox/pyodide/pipe.js' ] } Node.js v22.19.0

After checking the pyodide directory mentioned in the logs, it is where expected with the pipe.js right there…

Just tried right now on another server to update every system package and dependencies but keep grist in 1.7.2~ynh1 and everything is alright.

So it seems that latest grist update broke the pyodide sandbox…

Sorry for the inconvenience, a new version (1.7.3~ynh3) has been released. It should be available in less than 4 hours.

If you can’t wait for have it fixed, you may upgrade Grist using this command through SSH:

yunohost app upgrade grist -u https://github.com/YunoHost-Apps/grist_ynh --force

Works like a charm, thanks a lot !

Great! Please mark my above post as the solution then, so this thread is considered as solved :slight_smile: