Sunday, April 14, 2024
support@conference.yunohost.org
April
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
         
             

[02:45:33] <miro5001> > <@montaropdf:matrix.org> Hello,
>
> I am new to yunohost and I am still trying to understand if it will cover all my needs.
>
> One on them is to be able to operate my Ubiquity branded network devices. Ubiquity provides a `.deb` package of there network management application, but, I know, from experience, it is a bickering application, especially with regards to the mongodb version it needs. More over, as it is not a free software, I would like to run it into a container or a VM.
>
> So I would like to know if Yunohost is designed to run containers or VMs?
>
> Reading the documentation, so far, it doesn't seems to be the case, yet, as I discover everything, I could have missed such information.

You're right. Yunohost is not designed for containers or VMs, but some users have installed docker in yunohost for their docker containers then installed the redirect app in yunohost to point to the container (nginx proxy). There is also lxc and lxc dashboard in the yunohost catalog. You may try yunohost in a VM or better in an old spare pc
[02:47:06] <miro5001> Hello everyone.
I would like to know what the symlink in the yunohost backup is for and if it is possible to make a backup without the need of a symlink. I have mounted yunohost.backup on an s3 bucket that doesn't support symlinks natively
[02:56:53] <zekaliman> > <@titus:pijean.ovh> Mmmh nothing on these logs, weird. It's not the first time I see the .local failing to broadcast, but I really do not know how that can happen.
>
> Maybe try to restart the service when it occurs next time?

It happened again, I restarted yunomdns and it worked. Is there a way I can somehow automate this process whenever I boot my machine, or I need to do it manually?

I have one more question, is there a way to install 'Let's Encrypt' certificate on my server.local domain without port-forwarding?
[02:58:40] <tituspijean> That's the job of the service, but I need to check if we can set conditions on when it should start or restart.

Let's Encrypt certificates only work on publicly accessible real domains. You will not be able to generate certificates for .local domains.
[03:01:46] <lautre> Should be possible, but you need connexion somewhere, and, copy the certificate later
[03:04:13] <Anmol> Everyday when Borg backup runs my slab kernel reclaimable memory goes upto 14gb and despite successful execution of the borg, the memory in not freed which makes the server to crash in 2-3 days. Is there a solution or someone facing same/similar issue?
[15:09:20] <freetux> Anyone have any idea why the update failed (synapse)?
https://paste.yunohost.org/raw/ipoterekim
I was still able to restore the backup by renaming `/home/yunohost.app/synapse/` to `/home/yunohost.app/matrix-synapse/`.
[15:25:50] <Chatpitaine Caverne> freetux: Does the following command return a value (**WARNING don't publish it here, it's a secret**)
```|
sudo yunohost app setting synapse macaroon_secret_key
```
[15:29:14] <freetux> Nothing.
[15:31:23] <Chatpitaine Caverne> Well, should be because of that it is falling.... Let's search in the install script how it is defined.
Was there any pre-condition, any abnormal behaviour, any special action before that ?
[15:32:41] <Chatpitaine Caverne> Well it is defined here normally : https://github.com/YunoHost-Apps/synapse_ynh/blob/master/scripts/install#L169
But I don't know what is the usage of this value and what for it is.
[15:41:19] <freetux> In `homeserver.yaml` :
```
# a secret which is used to sign access tokens. If none is specified,
# the registration_shared_secret is used, if one is given; otherwise,
# a secret key is derived from the signing key.
#
# macaroon_secret_key: ""
```
[15:41:27] <Salamandar> Woopsies looks like tandoor was broken by an update https://paste.yunohost.org/ponokawuqu
[15:43:17] <freetux> > <@chatpitaine:cirkau.art> Well it is defined here normally : https://github.com/YunoHost-Apps/synapse_ynh/blob/master/scripts/install#L169
> But I don't know what is the usage of this value and what for it is.

My instance is quite old (3-4 years), maybe this code wasn't generated at the time.
[16:01:13] <Chatpitaine Caverne> I'm upgrading on my server now. Maybe I gonna disappear😸
[16:01:24] <Chatpitaine Caverne> Well previous sent too late...
[16:02:56] <Chatpitaine Caverne> I'm back upgraded.

>My instance is quite old (3-4 years), maybe this code wasn't generated at the time.

Do you mean it's an old install not updated since that time ?
[16:04:01] <freetux> No, my synapse is always up to date.
[16:07:40] <Chatpitaine Caverne> Sadly, I don't know enough Synapse to give you a correct advise. Anyone knowing it better ?
[18:23:59] <Josué> > <@freetux:tetaneutral.net> Anyone have any idea why the update failed (synapse)?
> https://paste.yunohost.org/raw/ipoterekim
> I was still able to restore the backup by renaming `/home/yunohost.app/synapse/` to `/home/yunohost.app/matrix-synapse/`.

Hello, freetux can you try the upgrade from testing as https://github.com/YunoHost-Apps/synapse_ynh/pull/449 should have fixed the issue.
[18:30:11] <freetux> > <@josue:tille.ch> Hello, freetux can you try the upgrade from testing as https://github.com/YunoHost-Apps/synapse_ynh/pull/449 should have fixed the issue.

The update from testing is in progress, thanks for the link. 🤞
[18:41:47] <freetux> Failure again, but for a different reason.
[18:42:29] <freetux> This is the name of the folder in `/home/yunohost.app/`.
[18:43:42] <freetux> Oh wait, I know why.
[18:46:12] <freetux> I ran a `cp -r /home/yunohost.app/synapse/ /home/yunohost.app/matrix-synapse/` to solve the backup problem. But I hadn't deleted the old folder, so I got the following error:
```
Warning: mv: cannot move '/home/yunohost.app/matrix-synapse/media' to '/home/yunohost.app/synapse/media': Directory not empty
```
[18:51:06] <freetux> pffffff ^^’

```
Error: Failed to delete system user for synapse
Success! synapse uninstalled
Warning: YunoHost is already installed
Info: Preparing archive for restoration…
Info: Restoring synapse…
Info: [....................] > Loading settings...
Info: [....................] > Validating restoration parameters...
Info: [+++++++.............] > Reinstalling dependencies...
Info: [#######+............] > Recreating the dedicated system user...
Warning: The user 'synapse' already exists
Error: Could not restore synapse: An error occured inside the app restore script
```

[18:51:15] <Josué> i think you should move the dir synapse to something elese
[18:52:11] <freetux> Yes, I do that as soon as the script is finished. ^^
[18:56:01] <Josué> Well from my point of view the backup/restore system on a upgrade like this has many issue and there are many reason that the restore could fail. So it's better to disable this mechanism with -b
[19:09:35] <freetux> Isn't it strange that the script failed to delete the system user? It usually works (I have long experience of Synapse update failures 🤣).
[19:31:51] <freetux> Ok, restoration done. ✅
Let’s try the update again. ^^
[20:03:42] <freetux> Josué same problem :
```
Warning: jinja2.exceptions.UndefinedError: 'macaroon_secret_key' is undefined
Error: Could not upgrade synapse: An error occurred inside the app upgrade script
```
[20:08:06] <Aleks (he/him/il/lui)> oooooooh jeeeeh macaroon ? macaroon ~
[20:08:09] <Aleks (he/him/il/lui)> shakaroon
[20:08:10] <Aleks (he/him/il/lui)> https://www.youtube.com/watch?v=MlW7T0SUH0E
[21:30:32] <Solrac> Hello. I have a question. For those running yunohost in a reverse proxy, what are you using? I'm using nginx but Im not getting streams to work, so Im looking for alternatives