Thursday, January 04, 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
       
             

[05:35:30] <alex.oculus> > <@timeerrr:matrix.org> Yeah but it's just on /boot partition.
> How can I make it bigger or remove unnecesary data?

In terminal mode try "apt autoremove"
[05:44:18] <alex.oculus> Hi everybody, I ask to you if I have to upgrade an app from YH interface or by the upgrade function of the app.

Upgrading CONCRETE5 from the app the result was a CONCRETE5 broken.

What is the best practice?

Thanks in advance to all
[05:46:52] <alex.oculus> > <@timeerrr:matrix.org> Yeah but it's just on /boot partition.
> How can I make it bigger or remove unnecesary data?

Try "apt autoremove" from commandline with root user
[05:47:17] <alex.oculus> Hi everybody, I ask to you if I have to upgrade an app from YH interface or by the upgrade function of the app.

Upgrading CONCRETE5 from the app the result was a CONCRETE5 broken.

What is the best practice?

Thanks in advance to all
[05:49:56] <tufek> > <@alex.oculus:matrix.org> Hi everybody, I ask to you if I have to upgrade an app from YH interface or by the upgrade function of the app.
>
> Upgrading CONCRETE5 from the app the result was a CONCRETE5 broken.
>
> What is the best practice?
>
> Thanks in advance to all

maybe try to get the logs to see exactly what's going on
[05:51:06] <tufek> and paste it here expecting some man of wise can help ;)
[05:54:03] <alex.oculus> > <@tufek:matrix.fdn.fr> and paste it here expecting some man of wise can help ;)

Unfortunally I removed the app and reinstalled It.. next time I Will check the log.
Tnx
[07:04:20] <lapineige> Upgrade logs should still be there :)
[07:05:11] <lapineige> > <@alex.oculus:matrix.org> Hi everybody, I ask to you if I have to upgrade an app from YH interface or by the upgrade function of the app.
>
> Upgrading CONCRETE5 from the app the result was a CONCRETE5 broken.
>
> What is the best practice?
>
> Thanks in advance to all

Also use Yunohost for that. It could break the app if that's not the case
[07:09:30] <alex.oculus> > Also use Yunohost for that. It could break the app if that's not the case

Thanks, YH does not have the updated release. So I tried to do from the app
[13:55:38] <saebaryo.xyz ⚡> Hi Team 👋
I'd like to move the Yunohost admin from my main domain.tld to admin.domain.tld, because I'd like to use the main domain.tld to create a page which I can gather all my apps that I intend to share publicly, similarly to a Google Suite or something similar, thanks!
[14:01:57] <kayou> Hi!
[14:02:48] <kayou> Add a new domain admin.domain.tld via the YNH admin, then use your domain.tld to install an app like my_webapp where you can put your page
[14:05:24] <saebaryo.xyz ⚡> > <@kayou:matrix.org> Add a new domain admin.domain.tld via the YNH admin, then use your domain.tld to install an app like my_webapp where you can put your page

Thanks!
But how will Yunohost know that admin.mydomain.tld will be the default one?
[14:06:12] <kayou> The default one?
[14:06:35] <saebaryo.xyz ⚡> > <@kayou:matrix.org> The default one?

I mean the one from where I access to the Yunohost admin settings
[14:07:02] <kayou> For now you can't really change the YNH admin path/domain. So it'll be available on every domain anyway
[14:08:35] <kayou> But, if your users don't know the YNH admin path (domain.tld/yunohost/admin), it's not a problem
[14:09:50] <saebaryo.xyz ⚡> > <@kayou:matrix.org> But, if your users don't know the YNH admin path (domain.tld/yunohost/admin), it's not a problem

Somehow I want to keep it clean ya know :)) Like having mydomain.tld for my main website and admin.mydomain.com exclusively for the admin. So, no way to do that via editing some files?
[14:11:06] <kayou> Sure you can edit some file, but it will break on next upgrade, so idk if it's really a good idea.
[14:12:22] <kayou> If you reeeeeally want to do so, you can probably edit your nginx conf in /etc/nginx/conf.d/domain.tld
But PLEASE, if you don't know what you're doing. Don't touch it XD
[14:13:01] <lapineige> > <@alex.oculus:matrix.org> Thanks, YH does not have the updated release. So I tried to do from the app

You should wait for the release in Yunohost (and possibily contribute to it ;), because updating from the app, appart from a few exceptions (WordPress), is likely to break it.
[14:13:26] <@saebaryo.xyz:mymatrix.yorili.com> > <@kayou:matrix.org> If you reeeeeally want to do so, you can probably edit your nginx conf in /etc/nginx/conf.d/domain.tld
> But PLEASE, if you don't know what you're doing. Don't touch it XD

Hm yeah, I see so if I do so still it will break on every update right?
[14:15:19] <kayou> No. But it can prevent some migrations and security patch to apply (with a warning) and you have to run a regen-conf with the option --force to clean your nginx conf, and rerun your migration.
[14:20:02] <@saebaryo.xyz:mymatrix.yorili.com> > <@kayou:matrix.org> No. But it can prevent some migrations and security patch to apply (with a warning) and you have to run a regen-conf with the option --force to clean your nginx conf, and rerun your migration.

OK I see! So for now I'll follow your first idea thx
[14:23:08] <alex.oculus> > You should wait for the release in Yunohost (and possibily contribute to it ;), because updating from the app, appart from a few exceptions (WordPress), is likely to break it.

I haven't skills to do that (contribute to It).
[14:23:33] <alex.oculus> I'll wait for new release.
[15:31:34] <lapineige> > <@alex.oculus:matrix.org> I'll wait for new release.

Well, the update was ready but not merged. I just did it. Yunohost should let you do it in a few hours :)
[15:32:06] <alex.oculus> > Well, the update was ready but not merged. I just did it. Yunohost should let you do it in a few hours :)

Thanks 😁
[20:41:21] <clawfire> Hey pals, any idea if it's something possible to reinstall the SSO module or YNH itself without loosing data ? My issue with the user panel login is a bit annoying right now :/
[20:57:39] <Aleks (he/him/il/lui)> what do you mean "it's a bit annoying", how is reinstalling it supposed to fix the "annoying"ness
[21:17:17] <clawfire> Well, right now, I can login to the admin. But whenever I successfully log in the user panel, the webserver stop responding and I have to reboot the server. Nginx service still run though.
[21:21:21] <lapineige> > <@alex.oculus:matrix.org> Merged and installed 🤪 thannnnnks

Can you confirm it works ? :)
[21:21:47] <lapineige> > <@clawfire:matrix.org> Hey pals, any idea if it's something possible to reinstall the SSO module or YNH itself without loosing data ? My issue with the user panel login is a bit annoying right now :/

You can uninstall and reinstall Yunohost package without any harm.
[21:21:48] <alex.oculus> Yes It works!!
[21:43:58] <clawfire> > You can uninstall and reinstall Yunohost package without any harm.

Will it reinstall the SSO ?
[21:47:48] <Aleks (he/him/il/lui)> `apt install --reinstall ssowat`, but honestly, it's unelikely that it will fix your issue which seems totally unrelated
[22:07:55] <laguill13> Hello,
How do you schedule yunohost to shutdown a yunohost server ?
Using sytemctl, cron job or is there an better user friedly ?
[22:09:12] <clawfire> worth the try. But yep. Indeed that's not a SSO issue.

> ERR_CONNECTION_CLOSED
[22:12:34] <clawfire> The nginx service still running though. But it's like the server stop answering at all on 80/443
[22:13:25] <Aleks (he/him/il/lui)> ... is it really "whenever your successfully log in" ... or does it just turns out that whener your successfully log in, you do something specific each time such as opening a specific app ...
[22:13:50] <clawfire> Restarted nginx service and server answer again. Weird. Service was still running.
[22:15:09] <clawfire> > <@Alekswag:matrix.org> ... is it really "whenever your successfully log in" ... or does it just turns out that whener your successfully log in, you do something specific each time such as opening a specific app ...

it's when I try to access the user interface to access my app that require sso login. For ex. my mastodon web is working great but has it's own subdomain (m.thibau.lt)
[22:16:22] <clawfire> but when I want to access my dolibar for ex, which live in thibau.lt/dolibar, i'm redirected to the SSO, since it's accessible only for logged in users, and when I log in successfully, it crash. wrong login result sso saying wrong login but webserver don't crash.
[22:17:13] <clawfire> and if I just try to click the "user interface" (interface utilisateur) from my admin, I'm going to the SSO login and has the same issue describe before.
[22:20:38] <clawfire> Trying to go through the nginx logs to find what could make it crash like this
[22:23:02] <Aleks (he/him/il/lui)> alternatively you could also run `top` in a terminal, trigger the issue, and check if some specific process suddently uses a shitload of resources
[22:26:29] <clawfire> In `/var/log/nginx/thibau.lt-error.log` I got a
```
2024/01/04 15:38:53 [error] 23497#23497: *11533 "/usr/share/nginx/html/yunohost/sso/index.html" is not found (2: No such file or directory), client: 54.85.133.49, server: thibau.lt, request: "HEAD /yunohost/sso/?r=aHR0cHM6Ly9wb2RjYXN0LmRqcy5sdS9AbmlnaHRzaGlmdF9yYWRpb3Nob3cvZmVlZC54bWw= HTTP/1.1", host: "thibau.lt"
```
[22:26:29] <Aleks (he/him/il/lui)> red herring
[22:28:42] <clawfire> > <@Alekswag:matrix.org> alternatively you could also run `top` in a terminal, trigger the issue, and check if some specific process suddently uses a shitload of resources

Nothing special popping. See nginx having a drop of ressources used, then coming back to normal.
[22:28:42] <clawfire> Nothing in `/var/log/nginx/error.log`
[22:30:10] <clawfire> > <@Alekswag:matrix.org> red herring

Didn't know that term 😄
[22:33:13] <clawfire> openldap seems to be a bit consuming but ... that could make sense it's called to check the user. And it's just for a second or two.
[23:00:31] <clawfire> The weird thing is, login to the admin works like a charm. But it's a different form used 🤔
[23:07:25] <clawfire> created a new user, just to try if that's something related to mine. Same issue.
[23:08:11] <lapineige> > <@laguill13:matrix.org> Hello,
> How do you schedule yunohost to shutdown a yunohost server ?
> Using sytemctl, cron job or is there an better user friedly ?

Except if an app does that, cron is your best bet