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

[00:11:46] <Guillaume Bouzige> > <@Alekswag:matrix.org> should be something like `yunohost domain config set your.domain.tld dns` (not 100% sure about the syntax) and then `yunohost domain dns push yourdomain.tld`

where can I find the exact syntax ?
[00:12:48] <Guillaume Bouzige> like the command config set how do I know the var to set to ?
[00:21:18] <Chatpitaine Caverne> Guillaume Bouzige: `sudo yunohost domain config get YOUR_DOMAIN` will give you your actual configuration and the keys.
To get info on this command `sudo yunohost domain config --help`
[00:23:22] <Guillaume Bouzige> what is the key for gandi token auth ?
[00:38:34] <Guillaume Bouzige> found it `sudo yunohost domain config set mydomain.com dns.registrar.auth_token -v 12345`
[00:46:23] <Guillaume Bouzige> I am noticing that gandi is saying API key will be deprecated in favor of personal access token, but the PAT doesnt work with yuno...
[00:53:26] <Guillaume Bouzige> also I got the dns push command but is there a way to remove existing conf before ?
[08:39:20] <douwe> hey. Big problem here...

I downloaded the backup archive from my server with scp. And wanted to restore it, but now found I also needed the .json file. But I can no longer access that .json file. Am I now f\*cked? Or is there a way to recreate the contents of such a json file myself?
[08:42:51] <douwe> restoring from cli give me this error:

```
Traceback (most recent call last):
File "/usr/bin/yunohost", line 77, in <module>
yunohost.cli(
File "/usr/lib/python3/dist-packages/yunohost/__init__.py", line 41, in cli
ret = moulinette.cli(
File "/usr/lib/python3/dist-packages/moulinette/__init__.py", line 110, in cli
Cli(
File "/usr/lib/python3/dist-packages/moulinette/interfaces/cli.py", line 503, in run
ret = self.actionsmap.process(args, timeout=timeout)
File "/usr/lib/python3/dist-packages/moulinette/actionsmap.py", line 580, in process
return func(**arguments)
File "/usr/lib/python3/dist-packages/yunohost/backup.py", line 2324, in backup_restore
restore_manager = RestoreManager(name)
File "/usr/lib/python3/dist-packages/yunohost/backup.py", line 869, in __init__
self.info = backup_info(name, with_details=True)
File "/usr/lib/python3/dist-packages/yunohost/backup.py", line 2497, in backup_info
tar.extract("info.json", path=info_dir)
File "/usr/lib/python3.9/tarfile.py", line 2077, in extract
self._extract_member(tarinfo, os.path.join(path, tarinfo.name),
File "/usr/lib/python3.9/tarfile.py", line 2150, in _extract_member
self.makefile(tarinfo, targetpath)
File "/usr/lib/python3.9/tarfile.py", line 2191, in makefile
with bltn_open(targetpath, "wb") as target:
FileNotFoundError: [Errno 2] No such file or directory: '/home/yunohost.backup/archives/20240209-100655.info.json.d/info.json'
```
[08:59:25] <douwe> hey. Big problem here...

I downloaded the backup archive (the .tar file) from my server with scp. And wanted to restore it, but now found I also needed the .json file. But I can no longer access that .json file. Am I now f\*cked? Or is there a way to recreate the contents of such a json file myself?
[09:22:30] <douwe> now trying to restore from the webinterface... which seems to work... isn't that.. odd?
[09:22:35] <douwe> now trying to restore from the webinterface... which seems to work... isn't that... odd?
[12:43:20] <ben> > <@douwe:thorp.eu> hey. Big problem here...
>
> I downloaded the backup archive (the .tar file) from my server with scp. And wanted to restore it, but now found I also needed the .json file. But I can no longer access that .json file. Am I now f\*cked? Or is there a way to recreate the contents of such a json file myself?

I thought you always need both files, yes. Would probably be good to put that json in the tar as well, not only in the tar, but to make sure.
[13:32:08] <douwe> weirdly enough (and very lucky break for me) the restore went through when executed from the webinterface. And not from the command-line
[13:55:03] <ben> sorry I did not mention this, I assumed you'd first try the restore before you kill the old system. :-/
[13:57:31] <douwe> Yeah, I did that. But I had to do it again. And between those two times I killed the old system. Weird and long story full of silly mistakes: but it works now. And indeed; a full restore w/o "smart" interventions by me is the best
[13:58:01] <douwe> now I just need to find a way to make stupid apple devices work nicely with the CardDav and CalDav standard again...
[13:59:08] <ben> > <@douwe:thorp.eu> Yeah, I did that. But I had to do it again. And between those two times I killed the old system. Weird and long story full of silly mistakes: but it works now. And indeed; a full restore w/o "smart" interventions by me is the best

happy to hear, also confirms my good feeling to use Yunohost for Nextcloud.
[14:22:39] <hook> I’m thinking of migrating my XMPP from Metronome to Prosody. Would it be prudent to wait for YuNoHost 12 first or just go at it?
[15:00:13] <hook> A propos Nextcloud, how can I test if all Nextcloud apps I have are compatible with the new major version of Nextcloud? I know this works when using Nextcloud’s own updater, but how does that work with YNH?
[15:13:11] <Charles P.> > <hook> I’m thinking of migrating my XMPP from Metronome to Prosody. Would it be prudent to wait for YuNoHost 12 first or just go at it?

You can't change the XMPP server on Yunohost 11, because it is tightly integrated at the core of Yunohost. Yunohost 12 will drop the integrated XMPP server which will be migrated as a package, you better wait
[15:14:11] <hook> Charles P., I thought that would be the case, that’s why I asked.
[15:15:02] <hook> I know you can already now install Prosody and then Metronome is turned off, but haven’t tried it yet.
[15:15:29] <hook> I’m OK with waiting for 11. (and BTW, thanks everyone for working on 11! Looking forward to it!)
[16:29:25] <pixelgesicht> Hello, what to do if a dev doesn't respond to issues on github regarding his yunohost package?
[16:36:43] <pixelgesicht> I have problems with piwigo updates, the dev just released a new update which still isn't working. I made a issue, others have same problem, but nobody responds. https://github.com/YunoHost-Apps/piwigo_ynh/issues/115
[21:25:04] <douwe> hey all, I have issues in the DNS diagnosis department. When I run my diagnosis I get this:

```
Diagnosis failed for category 'dnsrecords':
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/yunohost/diagnosis.py", line 183, in diagnosis_run
code, report = diagnoser.diagnose(force=force)
File "/usr/lib/python3/dist-packages/yunohost/diagnosis.py", line 430, in diagnose
items = list(self.run())
File "/usr/lib/python3/dist-packages/yunohost/diagnosers/12-dnsrecords.py", line 57, in run
for report in self.check_domain(
File "/usr/lib/python3/dist-packages/yunohost/diagnosers/12-dnsrecords.py", line 121, in check_domain
if self.current_record_match_expected(r):
File "/usr/lib/python3/dist-packages/yunohost/diagnosers/12-dnsrecords.py", line 220, in current_record_match_expected
key, value = param.split("=")
ValueError: not enough values to unpack (expected 2, got 1)
```

This prevents a proper dns check and therefor I can't install Let's Encrypt Certs...
[21:45:47] <Aleks (he/him/il/lui)> sounds like a bug indeed that should be fixed in the code, but what's triggering it is that your DMARC DNS record doesn't even has a "=" in it ...
[22:16:19] <hook> Does upgrading Nextcloud through YunoHost WebUI warn me if there are Nextcloud apps that would be disabled if I upgrade?
[22:18:45] <Aleks (he/him/il/lui)> don't think so, because the upgrade script doesn't disable apps
[22:28:19] <hook> Aleks (he/him/il/lui), I mean, there’s apps that don’t support a newer major verision (right from the start). If I upgrade through the Nextcloud WebUI, I know I see a list of those. Does the same happen through YNH too?
[22:30:21] <Aleks (he/him/il/lui)> no, but YunoHost will display a message recommending that you check Nextcloud's admin and verify that apps are compatible with the new major version, and there's now also a check at the very beginning of the script to very that apps are indeed compatible and otherwise abort before really starting the actual upgrade
[22:35:29] <hook> Ah, neat. So upgrading to 28 is safe then? :)
[22:37:43] <Aleks (he/him/il/lui)> .. as said, it will recommend to check Nextcloud's admin ... it's safe if you check that apps are compatible
[22:43:41] <hook> 👍
[23:19:50] <Chatpitaine Caverne> Hello, seems very promising the Bookworm yunohost. Testing a bit. And until now, everything fine.
Thank you commu.