Wednesday, January 03, 2024
support@conference.yunohost.org
January
Mon Tue Wed Thu Fri Sat Sun
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 20
21
22
23
24
25
26
27
28
29
30
31
       
             

[09:22:38] <clawfire> Good morning (well, at least it's morning over here). Happy New year too!
I have an issue since a couple of weeks / month where I can log in to the admin panel of YNH, but not the user panel.

Accessing the installed apps directly works, but accessing the user panel with all the apps listed make the webserver crash (and I need to reboot the server, IDK how to relaunch just the webserver).

There's nothing in the YNH logs, but I think it should be somewhere else. Like in the webserver logs ? Something to help understand why it crashed maybe.
[09:25:33] <clawfire> `/var/log/nginx/error.log` shows only
```
2024/01/03 09:24:20 [alert] 1435#1435: worker process 4716 exited on signal 11
```
[09:35:17] <clawfire> Ok I found this in my `[maindomain]-error.log`:

```
2024/01/03 09:15:38 [error] 3928#3928: *676 "/usr/share/nginx/html/yunohost/sso/index.html" is not found (2: No such file or directory), client: 17.58.56.5, server: thibau.lt, request: "HEAD /yunohost/sso/?r=aHR0cHM6Ly9wb2RjYXN0LmRqcy5sdS9AbmlnaHRzaGlmdF9yYWRpb3Nob3cvZmVlZC54bWw= HTTP/1.1", host: "thibau.lt"
```
[09:35:23] <clawfire> Seems there's an issue with the sso module :/
[11:12:41] <πя Niz> hello and Happy New Year

I have a little question regarding an installation probem regarding the Kresus app

I got this error :

```
2024-01-03 11:04:15,785: INFO - [#######+++..........] > Installing woob...
2024-01-03 11:04:15,788: DEBUG - Generating locales (this might take a while)...
2024-01-03 11:04:20,292: DEBUG - en_US.UTF-8... done
2024-01-03 11:04:23,332: DEBUG - fr_FR.UTF-8... done
2024-01-03 11:04:27,489: DEBUG - it_IT.UTF-8... done
2024-01-03 11:04:27,493: DEBUG - Generation complete.
2024-01-03 11:04:27,494: DEBUG - + update-locale C.UTF-8
2024-01-03 11:04:27,544: DEBUG - + ynh_exec_as kresus virtualenv --python=python3 --system-site-packages /var/www/kresus/venv
2024-01-03 11:04:27,544: DEBUG - + local user=kresus
2024-01-03 11:04:27,544: DEBUG - + shift 1
2024-01-03 11:04:27,556: DEBUG - ++ whoami
2024-01-03 11:04:27,559: DEBUG - + [[ kresus = root ]]
2024-01-03 11:04:27,560: DEBUG - + sudo -u kresus virtualenv --python=python3 --system-site-packages /var/www/kresus/venv
2024-01-03 11:04:28,324: DEBUG - ModuleNotFoundError: No module named 'virtualenv.activation.xonsh'
2024-01-03 11:04:28,398: DEBUG - + ynh_exit_properly
2024-01-03 11:04:28,399: DEBUG - + [[ install =~ ^install$|^upgrade$|^restore$ ]]
2024-01-03 11:04:29,916: ERROR - Impossible d'installer kresus : Une erreur est survenue dans le script d'installation de l'application
```

What should I do ?

[11:14:54] <πя Niz> > <@niz___:matrix.org> hello and Happy New Year
>
> I have a little question regarding an installation probem regarding the Kresus app
>
> I got this error :
>
> ```
> 2024-01-03 11:04:15,785: INFO - [#######+++..........] > Installing woob...
> 2024-01-03 11:04:15,788: DEBUG - Generating locales (this might take a while)...
> 2024-01-03 11:04:20,292: DEBUG - en_US.UTF-8... done
> 2024-01-03 11:04:23,332: DEBUG - fr_FR.UTF-8... done
> 2024-01-03 11:04:27,489: DEBUG - it_IT.UTF-8... done
> 2024-01-03 11:04:27,493: DEBUG - Generation complete.
> 2024-01-03 11:04:27,494: DEBUG - + update-locale C.UTF-8
> 2024-01-03 11:04:27,544: DEBUG - + ynh_exec_as kresus virtualenv --python=python3 --system-site-packages /var/www/kresus/venv
> 2024-01-03 11:04:27,544: DEBUG - + local user=kresus
> 2024-01-03 11:04:27,544: DEBUG - + shift 1
> 2024-01-03 11:04:27,556: DEBUG - ++ whoami
> 2024-01-03 11:04:27,559: DEBUG - + [[ kresus = root ]]
> 2024-01-03 11:04:27,560: DEBUG - + sudo -u kresus virtualenv --python=python3 --system-site-packages /var/www/kresus/venv
> 2024-01-03 11:04:28,324: DEBUG - ModuleNotFoundError: No module named 'virtualenv.activation.xonsh'
> 2024-01-03 11:04:28,398: DEBUG - + ynh_exit_properly
> 2024-01-03 11:04:28,399: DEBUG - + [[ install =~ ^install$|^upgrade$|^restore$ ]]
> 2024-01-03 11:04:29,916: ERROR - Impossible d'installer kresus : Une erreur est survenue dans le script d'installation de l'application
> ```
>
> What should I do ?

I read this on stackoverflow : https://stackoverflow.com/questions/71086270/no-module-named-virtualenv-activation-xonsh

> By github issue, the solution that works was the following:
>
> `sudo apt-get remove python3-virtualenv`

Will it not break something else ???
[12:49:20] <retiolus> Hi, it is possible to install a specific app version on YunoHost? Would like to install Mastodon 4.2.1 to recover a backup (external) in that version
[12:57:41] <Aleks (he/him/il/lui)> i guess you can try `yunohost app install https://github.com/YunoHost-Apps/mastodon_ynh/tree/d87a93099dfe6d71ab5081dfc0f767cf2b0a374b`
[13:13:20] <Mateusz Szymański> > <@clawfire:matrix.org> Good morning (well, at least it's morning over here). Happy New year too!
> I have an issue since a couple of weeks / month where I can log in to the admin panel of YNH, but not the user panel.
>
> Accessing the installed apps directly works, but accessing the user panel with all the apps listed make the webserver crash (and I need to reboot the server, IDK how to relaunch just the webserver).
>
> There's nothing in the YNH logs, but I think it should be somewhere else. Like in the webserver logs ? Something to help understand why it crashed maybe.

[There's no `index.html` shipped with SSOwat](https://github.com/YunoHost/SSOwat/tree/dev/portal), have you manually tweaked nginx config?
[13:16:43] <Mateusz Szymański> (also don't use matrix threads or someone awakens from his slumber)
[13:18:43] <nicofrand> > <@niz___:matrix.org> I read this on stackoverflow : https://stackoverflow.com/questions/71086270/no-module-named-virtualenv-activation-xonsh
>
> > By github issue, the solution that works was the following:
> >
> > `sudo apt-get remove python3-virtualenv`
>
> Will it not break something else ???

Hi! Please take a look at https://github.com/YunoHost-Apps/kresus_ynh/issues/146
[13:21:46] <πя Niz> > Hi! Please take a look at https://github.com/YunoHost-Apps/kresus_ynh/issues/146

top :+1: Merci Bcp
[13:26:48] <πя Niz> ca a marché 👍️
[21:10:06] <clawfire> > <@orhtej2:matrix.org> (also don't use matrix threads or someone awakens from his slumber)

woops okay
[21:10:06] <clawfire> > <@orhtej2:matrix.org> [There's no `index.html` shipped with SSOwat](https://github.com/YunoHost/SSOwat/tree/dev/portal), have you manually tweaked nginx config?

I don't :/
[21:50:43] <clawfire> The issue is whenever I successfully login with a valid user on a user interface
[21:51:30] <clawfire> if I input wrong user credential, no crash, just the error from the login.
If I login on the admin, no crash, works like a chram.
[23:40:09] <timeerrr> Hi! Got some issue when updating:

> > Setting up grub-pc (2.06-3~deb11u6) ...
> Installing for i386-pc platform.
> grub-install: error: cannot copy `/usr/share/locale/hr/LC_MESSAGES/grub.mo' to `
> /boot/grub/locale/hr.mo': No space left on device.
> You must correct your GRUB install devices before proceeding:
>
> DEBIAN_FRONTEND=dialog dpkg --configure grub-pc
> dpkg --configure -a
> dpkg: error processing package grub-pc (--configure):
> installed grub-pc package post-installation script subprocess returned error ex
> it status 1
> Errors were encountered while processing:
> grub-pc
> E: Sub-process /usr/bin/dpkg returned an error code (1)

[23:45:57] <Aleks (he/him/il/lui)> "No space left on device"
[23:49:18] <tolot> Hello everyone! Does someone have experience with setting up a tunneling between a VPS and a self-hosted yunohost?
[23:54:15] <timeerrr> > <@Alekswag:matrix.org> "No space left on device"

Yeah but it's just on /boot partition.
How can I make it bigger or remove unnecesary data?
[23:55:02] <Aleks (he/him/il/lui)> possibly by removing unecessary old kernels