Wednesday, December 04, 2024
support@conference.yunohost.org
December
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
         

[15:09:43] <colm> Hi all, I'm in the middle of a failed update to ynh 12 process, but I think I'm almost out of the woods. I'm trying to run an `apt full-upgrade` after which I'm told that `The following packages have been kept back: moulinette ssowat yunohost yunohost-admin` so I `sudo apt install moulinette ssowat yunohost yunohost-admin` but I get what looks like a set or mirror errors or network errors, 19 errors like this `Err:7 http://forge.yunohost.org/debian bookworm/stable amd64 yunohost-portal all 12.0.7 Temporary failure resolving 'forge.yunohost.org'` as well as the `ftp.debian.org` domain.

When I `ping 8.8.8.8` I get results that suggest that I am indeed still connected to the internet, but the list of mirrors is not accessible, what could I do to get access to what is needed to install the 4 packages I need? Thanks * 1000 !

[15:10:36] <tituspijean> @colm:matrix.org hi, they work on my end. From the CLI, can you run `dig forge.yunohost.org` ?
[15:10:58] <tituspijean> If that fails or does not return an IP, check `systemctl status dnsmasq`
[15:11:43] <colm> > <@titus:pijean.ovh> @colm:matrix.org hi, they work on my end. From the CLI, can you run `dig forge.yunohost.org` ?

Not sure if this worked or not, I never used dig:

```
; <<>> DiG 9.18.28-1~deb12u2-Debian <<>> forge.yunohost.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 49631
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
; EDE: 14 (Not Ready)
;; QUESTION SECTION:
;forge.yunohost.org. IN A

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1) (UDP)
;; WHEN: Wed Dec 04 15:10:55 GMT 2024
;; MSG SIZE rcvd: 53


```
[15:12:32] <tituspijean> yup that's not good (should not be REFUSED, and there should be an address after IN A)
[15:12:40] <tituspijean> can you run the status command?
[15:12:50] <@err404:matrix.numericore.com> And try 'apt update' before attempt any other apt command, it will update your list packages
[15:13:04] <colm> > <@titus:pijean.ovh> If that fails or does not return an IP, check `systemctl status dnsmasq`

```
dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled; preset: enabled)
Active: active (running) since Wed 2024-12-04 06:37:45 GMT; 8h ago
Process: 2847551 ExecStartPre=/etc/init.d/dnsmasq checkconfig (code=exited, status=0/SUCCESS)
Process: 2847563 ExecStart=/etc/init.d/dnsmasq systemd-exec (code=exited, status=0/SUCCESS)
Process: 2847583 ExecStartPost=/etc/init.d/dnsmasq systemd-start-resolvconf (code=exited, status=0/SUCCESS)
Main PID: 2847582
Tasks: 1 (limit: 9407)
Memory: 1.4M
CPU: 2.799s
```
[15:13:55] <tituspijean> try @err404:matrix.numericore.com's suggestion, but I'm flabbergasted
[15:14:56] <colm> I did try this before, but ran it again there and I'm getting

```
...
Ign:7 http://ftp.debian.org/debian bookworm-updates InRelease
Err:1 http://forge.yunohost.org/debian bookworm InRelease
Temporary failure resolving 'forge.yunohost.org'
Err:2 https://packages.sury.org/php bookworm InRelease
Temporary failure resolving 'packages.sury.org'
Err:3 https://packages.gitlab.com/runner/gitlab-runner/debian bookworm InRelease
Temporary failure resolving 'packages.gitlab.com'
Err:4 http://security.debian.org/debian-security bookworm-security InRelease
Temporary failure resolving 'security.debian.org'
Err:5 https://collaboraoffice.com/repos/CollaboraOnline/CODE-debian10 ./ InRelease
Temporary failure resolving 'collaboraoffice.com'
Err:6 http://ftp.debian.org/debian bookworm InRelease
Temporary failure resolving 'ftp.debian.org'
Err:7 http://ftp.debian.org/debian bookworm-updates InRelease
Temporary failure resolving 'ftp.debian.org'
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
4 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Failed to fetch http://ftp.debian.org/debian/dists/bookworm/InRelease Temporary failure resolving 'ftp.debian.org'
W: Failed to fetch http://forge.yunohost.org/debian/dists/bookworm/InRelease Temporary failure resolving 'forge.yunohost.org'
W: Failed to fetch http://security.debian.org/debian-security/dists/bookworm-security/InRelease Temporary failure resolving 'security.debian.org'
W: Failed to fetch http://ftp.debian.org/debian/dists/bookworm-updates/InRelease Temporary failure resolving 'ftp.debian.org'
W: Failed to fetch https://collaboraoffice.com/repos/CollaboraOnline/CODE-debian10/./InRelease Temporary failure resolving 'collaboraoffice.com'
W: Failed to fetch https://packages.sury.org/php/dists/bookworm/InRelease Temporary failure resolving 'packages.sury.org'
W: Failed to fetch https://packages.gitlab.com/runner/gitlab-runner/debian/dists/bookworm/InRelease Temporary failure resolving 'packages.gitlab.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.

```
[15:15:48] <colm> I've been trying to restart my networking service, like so ` systemctl restart networking.service ` but this did not do anything either

[15:15:49] <tituspijean> try `systemctl restart dnsmasq` then the `dig` command again
[15:16:04] <tituspijean> and if the answer is similar, try `journalctl --unit=dnsmasq`
[15:16:49] <colm> I don't yet want to reboot the machine because I'm in the middle of a failed update. I have backups, but I'd like to try to save this one. Escpecially as it just seems to need to install normal yunohost packages
[15:16:50] <tituspijean> > <@colm:matrix.org> I've been trying to restart my networking service, like so ` systemctl restart networking.service ` but this did not do anything either
>

In the same vein, can you check `ip -br a` ?
[15:18:10] <colm> > <@titus:pijean.ovh> try `systemctl restart dnsmasq` then the `dig` command again

I think this is different!
```
; <<>> DiG 9.18.28-1~deb12u2-Debian <<>> forge.yunohost.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 10687
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
; EDE: 14 (Not Ready)
;; QUESTION SECTION:
;forge.yunohost.org. IN A

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1) (UDP)
;; WHEN: Wed Dec 04 15:17:47 GMT 2024
;; MSG SIZE rcvd: 53

```
[15:18:26] <colm> or maybe not
[15:18:38] <tituspijean> nah same 😅
[15:19:51] <colm> > <@titus:pijean.ovh> and if the answer is similar, try `journalctl --unit=dnsmasq`

the output here is huge, the last handful of lines:
```
Nov 12 06:26:41 server.tangible.tools dnsmasq[1375521]: reading /etc/resolv.dnsmasq.conf
Nov 12 06:26:41 server.tangible.tools dnsmasq[1375521]: using nameserver 89.234.141.66#53
Nov 12 06:26:41 server.tangible.tools dnsmasq[1375521]: using nameserver 80.67.169.40#53
Nov 12 06:26:41 server.tangible.tools dnsmasq[1375521]: using nameserver 194.150.168.168#53
Nov 12 06:26:41 server.tangible.tools dnsmasq[1375521]: using nameserver 185.233.100.100#53
Nov 12 06:26:41 server.tangible.tools dnsmasq[1375521]: using nameserver 195.160.173.53#53
Nov 12 06:26:41 server.tangible.tools dnsmasq[1375521]: using nameserver 2001:910:800::12#53
Nov 12 06:26:41 server.tangible.tools dnsmasq[1375521]: using nameserver 84.200.69.80#53
Nov 12 06:26:41 server.tangible.tools dnsmasq[1375521]: using nameserver 2001:1608:10:25::9249:d69b#53
Nov 12 06:26:41 server.tangible.tools dnsmasq[1375521]: using nameserver 2a00:5881:8100:1000::3#53
Nov 12 06:26:41 server.tangible.tools dnsmasq[1375521]: using nameserver 91.239.100.100#53
Nov 12 06:26:41 server.tangible.tools dnsmasq[1375521]: using nameserver 89.233.43.71#53
Nov 12 06:26:41 server.tangible.tools dnsmasq[1375521]: using nameserver 80.67.169.12#53
Nov 12 06:26:41 server.tangible.tools dnsmasq[1375521]: using nameserver 2001:910:800::40#53
Nov 12 06:26:41 server.tangible.tools dnsmasq[1375521]: using nameserver 2a0c:e300::100#53
Nov 12 06:26:41 server.tangible.tools dnsmasq[1375521]: using nameserver 2a0c:e300::101#53
Nov 12 06:26:41 server.tangible.tools dnsmasq[1375521]: using nameserver 185.233.100.101#53
Nov 12 06:26:41 server.tangible.tools dnsmasq[1375521]: using nameserver 2001:1608:10:25::1c04:b12f#53
Nov 12 06:26:41 server.tangible.tools dnsmasq[1375521]: using nameserver 2a01:3a0:53:53::#53
Nov 12 06:26:41 server.tangible.tools dnsmasq[1375521]: using nameserver 2001:67c:28a4::#53
Nov 12 06:26:41 server.tangible.tools dnsmasq[1375521]: using nameserver 84.200.70.40#53

```

[15:19:59] <colm> November 12?
[15:20:39] <colm> > <@titus:pijean.ovh> In the same vein, can you check `ip -br a` ?

```
lo UNKNOWN 127.0.0.1/8 ::1/128
enp3s0 UP 192.168.1.100/24 fd39:e1bd:1369:0:f279:59ff:fe5e:1696/64 fe80::f279:59ff:fe5e:1696/64
docker0 DOWN 172.17.0.1/16
```
[15:21:18] <@err404:matrix.numericore.com> Can you change (temporary) your /etc/resolv.conf ?
[15:21:36] <tituspijean> oh sorry , `journalctl -r --unit=dnsmasq`will show the last lines first
[15:23:02] <@err404:matrix.numericore.com> 'namserver 192.168.1.1' in your /etc/resolv.conf
[15:23:20] <colm> Yes this actually is what I tried (it answers both your last questions I think)
```
Dec 04 15:17:38 server.tangible.tools systemd[1]: Started dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server.
Dec 04 15:17:38 server.tangible.tools dnsmasq[3476711]: ignoring nameserver 127.0.0.1 - local interface
Dec 04 15:17:38 server.tangible.tools dnsmasq[3476711]: reading /etc/resolv.conf
Dec 04 15:17:37 server.tangible.tools dnsmasq[3476711]: read /etc/hosts - 9 names
Dec 04 15:17:37 server.tangible.tools dnsmasq[3476711]: using nameserver 192.168.1.1#53
Dec 04 15:17:37 server.tangible.tools dnsmasq[3476711]: reading /etc/resolv.conf
Dec 04 15:17:37 server.tangible.tools dnsmasq[3476711]: compile time options: IPv6 GNU-getopt DBus no-UBus i18n IDN2 DHCP DHCPv6 no-Lua TFTP conntrack ipset nftset auth cryptohash DNSSEC loop-detect inotify dum>
Dec 04 15:17:37 server.tangible.tools dnsmasq[3476711]: DNS service limited to local subnets
Dec 04 15:17:37 server.tangible.tools dnsmasq[3476711]: started, version 2.89 cachesize 150
Dec 04 15:17:37 server.tangible.tools systemd[1]: Starting dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server...
Dec 04 15:17:37 server.tangible.tools systemd[1]: dnsmasq.service: Consumed 2.879s CPU time.
Dec 04 15:17:37 server.tangible.tools systemd[1]: Stopped dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server.
Dec 04 15:17:37 server.tangible.tools systemd[1]: dnsmasq.service: Deactivated successfully.
Dec 04 15:17:37 server.tangible.tools dnsmasq[2847582]: exiting on receipt of SIGTERM
Dec 04 15:17:14 server.tangible.tools dnsmasq[2847582]: using nameserver 192.168.1.1#53
Dec 04 15:17:14 server.tangible.tools dnsmasq[2847582]: reading /etc/resolv.conf
Dec 04 15:17:09 server.tangible.tools systemd[1]: Stopping dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server...
Dec 04 14:57:41 server.tangible.tools dnsmasq[2847582]: ignoring nameserver 127.0.0.1 - local interface
Dec 04 14:57:41 server.tangible.tools dnsmasq[2847582]: reading /etc/resolv.conf
Dec 04 14:56:59 server.tangible.tools dnsmasq[2847582]: using nameserver 8.8.4.4#53
Dec 04 14:56:59 server.tangible.tools dnsmasq[2847582]: using nameserver 8.8.8.8#53

```
[15:23:36] <@err404:matrix.numericore.com> I assume 192.168.1.1 is your box
[15:24:44] <colm> > I assume 192.168.1.1 is your box

My server or my router? My server has 192.168.1.100 as a static local, 192.168.1.1 is my openWRT router
[15:25:04] <colm> I'm actually not on that network as we speak, I'm sshing to the server
[15:25:45] <colm> > <@colm:matrix.org> I'm actually not on that network as we speak, I'm sshing to the server

Another reason I don't want to risk a reboot haha
[15:26:36] <@err404:matrix.numericore.com> I understand 😃
[15:28:48] <tituspijean> Can you try `yunohost tools regen-conf -d -n dnsmasq`
[15:29:13] <tituspijean> (to avoid tweaking into resolv.conf,but we may come down to that)
[15:33:00] <colm> at the top I see this line: `Warning: The configuration file '/etc/dnsmasq.conf' has been manually modified and will not be updated
` is that ynuhost doing this mod?
[15:34:25] <colm> That did something, but the output is huge
https://paste.yunohost.org/ufofulated.sql
[15:35:45] <colm> I can give the content of /etc/dnsmasq.conf, it's also large
[15:36:33] <tituspijean> no that's fine. Basically the dnsmasq configuration got reset during the migration, but the YunoHost conf was not applied. Let's do it: `yunohost tools regen-conf dnsmasq -f`
[15:37:51] <colm> > <@titus:pijean.ovh> no that's fine. Basically the dnsmasq configuration got reset during the migration, but the YunoHost conf was not applied. Let's do it: `yunohost tools regen-conf dnsmasq -f`

oh, wow
```
Success! Configuration updated for 'dnsmasq'
dnsmasq:
applied:
/etc/dnsmasq.conf:
status: force-updated
/etc/dnsmasq.d/ruimte.local:
status: force-removed
/etc/resolv.dnsmasq.conf:
status: updated

```
[15:37:58] <colm> that looks successful!
[15:38:41] <tituspijean> good, now try `apt update`
[15:39:01] <tituspijean> (applying the conf is one thing, making it work is another 😅 )
[15:39:22] <colm> Yes! and it is progressing through my need for `sudo apt install moulinette ssowat yunohost yunohost-admin `
[15:39:47] <colm> > <@titus:pijean.ovh> (applying the conf is one thing, making it work is another 😅 )

ok so this was stopped probably because of the failed update then?
[15:43:52] <colm> Great, it is churning through it now, at 82%
[15:44:07] <colm> I guess I might still need to run migrations after
[16:35:14] <colm> Thanks for all the help, the migration ran successfully and I'm on ynh 12.0.7
[16:37:46] <colm> I dared to reboot and most services came back up
[16:37:47] <colm> phew
[19:57:07] <Tony> any tips on good FOSS orgs providing VPN services for memberships/donations in case my YNH Headscale test doesn't work out? my Calyxos membership ran out, but the VPN was never very good from the EU
[20:51:41] <ic> https://airvpn.org/
[20:55:02] <Tony> thanks ic - looks like RiseUp and Mullvad may be similar options, as well
[22:35:33] <totor> Heyn petite remonté de bug sur Yunohost 12.0.7 (si quelqu'un n'est pas tombé dessus), j'ai une erreur 404 lors du téléchargement de nextcloud 29.0.9.
[22:37:16] <Aleks (he/him/il/lui)> oui, ça fait une semaine, on y peut rien, les génis de Nextcloud ont trouvé ça malin de supprimer l'archive de leur serveur https://help.nextcloud.com/t/29-0-9-withdrawn-from-download-servers/210877
[22:37:36] <Aleks (he/him/il/lui)> sauf que maintenant dans la nature y'a des gens qui sont en 29.0.9 qui n'existe virtuellement plus et on est un peu obligé qu'ils sortent la 29.0.10
[22:38:52] <totor> Ah oki, j’avais pas eu l’info sur le forum nextcloud 🫠
[23:35:49] <rodinux> pour la version 28, après la 28.0.13 qui arrive, c'est the end `next week, we’ll say goodbye to 28, which will receive its last final before going end-of-life` https://help.nextcloud.com/t/30-0-3-rc2-29-0-10-rc1-and-28-0-13-rc1/211068