YunoHost-Apps / trilium_ynh

Trilium package for YunoHost
https://github.com/zadam/trilium
GNU Affero General Public License v3.0
10 stars 8 forks source link

Broken after update: 502 Bad Gateway #47

Open TheNomad11 opened 10 months ago

TheNomad11 commented 10 months ago

Describe the bug

Trilium does not start after update

Context

Steps to reproduce

Expected behavior

Trilium starts

Logs

https://paste.yunohost.org/ravajaxena

Might be a node issue? version conflicts?

StarSyth commented 10 months ago

same issue

yelvington commented 9 months ago

I have a variant of this: a redirect to the Yunohost SSO page. Even if I am already logged in. I have tried changing the URL, and rebooting, but the problem persists: no trilium.

marcoil commented 9 months ago

It looks like we should update the node version used for Trilium or trigger a rebuild of node_modules on install.

Meanwhile, I managed to get it working on my server by doing this as root:

# cd /var/www/trilium
# su -g www-data trilium -s /bin/bash
$ npm rebuild
$ exit
# systemctl restart trilium
pinq- commented 2 months ago

Same here. Getting 502 and trilium shows as running. I did this update https://forum.yunohost.org/t/not-possible-to-update-or-reinstall-trilium/27507/9 and it worked. But then I started to update to latest and now I get this 502 error. Any idea? Did try @marcoil code, but that did nothing.