In case that helps: I’ve come across the following error after an update (which is similar to the one reported by @lejocelyn ~1year ago)
{"name":"clsi","hostname":"***.fr","pid":631,"level":50,"err":{"message":"spawn latexmk ENOENT","name":"Error","stack":"Error: spawn latexmk ENOENT\n at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n at onErrorNT (node:internal/child_process:483:16)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)","info":{},"code":"ENOENT","path":"latexmk"},"projectId":"6838cd4acc101f0d786b0862-6838ac3010c84e825a205144","command":["latexmk","-cd","-jobname=output","-auxdir=/home/yunohost.app/overleaf/compiles/6838cd4acc101f0d786b0862-6838ac3010c84e825a205144","-outdir=/home/yunohost.app/overleaf/compiles/6838cd4acc101f0d786b0862-6838ac3010c84e825a205144","-synctex=1","-interaction=batchmode","-f","-xelatex","/home/yunohost.app/overleaf/compiles/6838cd4acc101f0d786b0862-6838ac3010c84e825a205144/LatexJC/***.tex"],"directory":"/home/yunohost.app/overleaf/compiles/6838cd4acc101f0d786b0862-6838ac3010c84e825a205144","msg":"error running command","time":"2025-07-03T09:13:58.218Z","v":0}
which I discovered after some digging was caused by a missing “latexmk” software. Overleaf worked again after installing it
sudo apt-get install latexmk
This looks like a dirty fix, and I’m a bit concerned it will happen again. Is there a good way to install a debian package into Yunohost ?