Invidious crashed, and cannot restart. Probably an issue due to crystal

I have searched the forum for similar issues

on

This category is for issues regarding specific apps, NOT general issues with YunoHost.

on

This form is written in English :uk: but feel free to write in French :fr: if you’re more comfortable!

on

What type of hardware are you using

Old laptop or computer

What YunoHost version are you running

YunoHost 12.0.5.2 (testing).

What app is this about

Invidious

Describe your issue

Hi everyone, I’m not sure since when, but Invidious does not work at all anymore, I get the 502 Bad Gateway error. It seems to be due to the latest crystal update. Any suggestion?

Share relevant logs or error messages

https://paste.yunohost.org/juyoyuwica

Are you out of disk space perhaps?

Why do think so? something in the log indicating such an issue?

lejocelyn_admin@serveur:~$ sudo df -h
Filesystem      Size  Used Avail Use% Mounted on
udev             16G     0   16G   0% /dev
tmpfs           3.2G  1.5M  3.2G   1% /run
/dev/nvme0n1p2  915G   37G  832G   5% /
none             16G   24K   16G   1% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
/dev/nvme0n1p1  511M  5.9M  506M   2% /boot/efi
tmpfs           3.2G     0  3.2G   0% /run/user/61892

That was a wild guess as the errors would indicate a corrupted database. No clue then :confused:

I tried to reinstall the application, but now it didn’t work and now I get this error: https://paste.yunohost.org/raw/gusizudako

Both of these stem from the fact that PostgreSQL is in an invalid state, no clue why.

Hum, I’ve restarted the database, but now, I have another error when I try to install Invidious : https://paste.yunohost.org/raw/jefajibiji

It seems to be linked to crystal, the language used for invidious.

Nope, still database error:

2024-11-01 20:39:34,360: WARNING - Unhandled exception:  (DB::ConnectionRefused)

No clue why this is happening, can you try perhaps with some psql database viewer to see if you can see the contents of invidious schema?

THEORETICALLY you could even go as far as drop the user (if it exists) prior to installing Invidious, perhaps there’s a stale instance with a wrong credentials or something?

Bo, I don’t know why, but today I could reinstall Invidious, which seems to work fine. Maybe the last Yunohost update solved the issue.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.