Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken after update: 502 Bad Gateway #47

Open
TheNomad11 opened this issue Aug 30, 2023 · 4 comments
Open

Broken after update: 502 Bad Gateway #47

TheNomad11 opened this issue Aug 30, 2023 · 4 comments

Comments

@TheNomad11
Copy link

Describe the bug

Trilium does not start after update

Context

  • Hardware: VPS bought online
  • YunoHost version: 11.2.3
  • I have access to my server: Through SSH | through the webadmin
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no
  • Using, or trying to install package version/branch: 0.60.4
  • If upgrading, current package version: 060.4

Steps to reproduce

  • Upgrade Trilium to the recent version
  • Start Trilium
  • See error message 502 Bad Gateway

Expected behavior

Trilium starts

Logs

https://paste.yunohost.org/ravajaxena

Might be a node issue? version conflicts?

@StarSyth
Copy link

same issue

@yelvington
Copy link

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
Copy link

marcoil commented Sep 25, 2023

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-
Copy link

pinq- commented Apr 20, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants