Wednesday, December 25, 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
         

[11:09:19] <Hook> > <@silverhook:matrix.org> Oh, FFS, not this again:
sudo apt install btop
[sudo] password for [redacted]:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
btop is already the newest version (1.2.13-1).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up yunohost (12.0.9) ...
Regenerating configuration, this might take a while...
Error: Could not find scrutiny in the list of installed apps:
*
dpkg: error processing package yunohost (--configure):
installed yunohost package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
yunohost
E: Sub-process /usr/bin/dpkg returned an error code (1)

Nevermind, that was me booting from the wrong disk.
[11:12:45] <Hook> The issue I _do_ have now after migrating to 12 is that suddenly my server is not reachable from the internet. I’ll try to get a pastebin of the diagnosis instead of a photo.
[11:13:22] <Hook> I don’t think I messed around the router in any way that should affect this.
[11:20:51] <Hook> https://paste.yunohost.org/uhijupiqay
[13:31:26] <marzagheddon> Hi everybody. For Christmas I bought myself a Raspberry Pi 4 and will try to put yunohost to work
[13:31:37] <marzagheddon> I will probably need help lol
[13:38:09] <Hook> marzagheddon , congrats and welcome!
[13:46:40] <marzagheddon> Is it me or the gpg file verification fails? I've imported the public key, ran
```
gpg --verify .\\yunohost-bookworm-12.0-rpi-stable.img.zip.sig .\\yunohost-bookworm-12.0-rpi-stable.img.zip
```
and i get the "no public key error"
[13:52:07] <marzagheddon> It might be just me that can't use GPG, I'm hella noob
[14:01:09] <marzagheddon> ```
[14:07:17] <marzagheddon> IDK chatgpt says that I did it right so i guess I'm opening a bug report?
[14:12:23] <Hook> ChatGPT is full of bullshit.
[14:12:59] <Hook> It produced a simple typo, here’s what you should be doing:
```
gpg --verify yunohost-bookworm-12.0-rpi-stable.img.zip.sig yunohost-bookworm-12.0-rpi-stable.img.zip
```
[14:13:58] <marzagheddon> I still get
gpg: Firma effettuata 11/25/24 17:23:18 ora solare Europa occidentale
gpg: utilizzando la chiave RSA E05E79061221D737567D38875D09F2273DAC3BD5
gpg: Impossibile controllare la firma: Nessuna chiave pubblica
[14:15:01] <marzagheddon> It means: Impossible to verify the sign, no public key found. I've imported the public key with
gpg --import .\\yunohost.asc
[14:17:00] <Hook> Was this succesfull? `gpg --import .\yunohost.asc`
[14:17:20] <Hook> It looks like another such typo. Should probably be `gpg --import yunohost.asc`
[14:17:23] <marzagheddon> i get gpg: chiave 360AAF3259A3E6FF: "YunoHost <build@yunohost.org>" non modificata
gpg: Numero totale esaminato: 1
gpg: non modificate: 1
[14:17:42] <marzagheddon> even without the typo
[14:17:47] <Hook> OK, I understand italian enough for that.
[14:21:40] <Hook> I haven’t gpg-verified ISOs in a while (maybe I’m sloppy, dunno), typically I’m fine with at least the SHA being correct.
[14:21:51] <Hook> So someone else might be a better source for that.
[14:22:55] <marzagheddon> Thanks. I believe I'm doing it right (asked to gpg manual, not only to chatGPT) so I guess I'm opening a bug report
[14:24:30] <orhtej2> this is the key to use: https://forge.yunohost.org/keys/yunohost_bookworm.asc I think
[14:25:17] <marzagheddon> so maybe it's just the key in the wiki page that is outdated
[14:28:34] <orhtej2> > <@marzagheddon:matrix.org> so maybe it's just the key in the wiki page that is outdated

Does it verify ok with this key?
[14:29:56] <marzagheddon> it says
```
gpg: Firma effettuata 11/25/24 17:23:18 ora solare Europa occidentale
gpg: utilizzando la chiave RSA E05E79061221D737567D38875D09F2273DAC3BD5
gpg: Firma valida da "Yunohost .deb build system (bookworm) <build@yunohost.org>" [sconosciuto]
gpg: ATTENZIONE: questa chiave non è certificata con una firma fidata!
gpg: Non ci sono indicazioni che la firma appartenga al proprietario.
Impronta digitale della chiave primaria: E05E 7906 1221 D737 567D 3887 5D09 F227 3DAC 3BD5
```

There is a warning, but I guess it's ok?
[14:30:48] <marzagheddon> sorry for Italian output 😄
[14:40:12] <Hook> > <@marzagheddon:matrix.org> sorry for Italian output 😄

Which shell do you use? Fish or something else?
[14:40:30] <marzagheddon> powershell
[14:40:39] <Hook> > <@marzagheddon:matrix.org> powershell

Ah, Windows then?
[14:41:09] <orhtej2> > <@marzagheddon:matrix.org> sorry for Italian output 😄

according to whatever Firefox uses for translation `Signature valid from "Yunohost .deb build system (bookworm) ?build?yunohost.org?" [unknown` so basically OK, assuming you trust the public key belongs to YNH which I do
[14:41:13] <marzagheddon> can't boot Linux anymore 'cause Asus bioses are made only for Windows :D
[14:41:26] <orhtej2> > <@marzagheddon:matrix.org> can't boot Linux anymore 'cause Asus bioses are made only for Windows :D

that is highly unlikely
[14:41:59] <Hook> Try putting this in front of every command you run: `LANG=en_US.utf8; `
[14:42:11] <marzagheddon> sry I don't want to go off topic.
[14:42:38] <marzagheddon> i get an error
[14:49:26] <Hook> Oh, well, never mind then. It seems PowerShell is not easy to convince to change the language temporarily.
[14:49:36] <Hook> https://duckduckgo.com/?t=ffab&q=how+to+change+LANG+in+powershell&ia=web
[14:52:36] <marzagheddon> It has been easier to set the whole Windows to english lol
[14:53:12] <marzagheddon> so the verify output message was
```
gpg: Signature made 11/25/24 17:23:18 W. Europe Standard Time
gpg: using RSA key E05E79061221D737567D38875D09F2273DAC3BD5
gpg: Good signature from "Yunohost .deb build system (bookworm) <build@yunohost.org>" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: E05E 7906 1221 D737 567D 3887 5D09 F227 3DAC 3BD5
```
[14:55:33] <marzagheddon> github is censoring all the GPG keys in the output, am I exposing something I shouldn-t by myself? LOL
[15:20:24] <marzagheddon> is the installation wiki the same for having yunohost behind a vpn and on a VPS?
[15:20:34] <marzagheddon> cause i do not want anything exposed to the internet
[15:20:45] <marzagheddon> i want it behind the vpn
[15:42:10] <Hook> Hiding it behind a VPN or not does not affect whether you’re installing on a VPS, PC or ARM board. That’s a separate step/question.
[15:43:38] <Hook> marzagheddon, is there a reason you _want_ to set up VPS on your R
[15:45:02] <marzagheddon> sorry I don-t get the question
[15:45:44] <marzagheddon> i would like it to be like this https://doc.yunohost.org/en/howtohostyourself#at-home-behind-a-vpn
[16:06:35] <Hook> What exactly are you trying to achieve, marzagheddon ?
[16:07:00] <Hook> In simple words so I can understand it, what’s the end result you want :)
[16:09:02] <marzagheddon> I-m trying to achieve the second column in the summary table in this page of the wiki
[16:09:27] <marzagheddon> and wondered myself if the installation process is the same for all the columns
[16:11:35] <Hook> > <@marzagheddon:matrix.org> and wondered myself if the installation process is the same for all the columns

Installation should be the same as for other Raspberry Pi installs, I think. Just setting up the VPN at some stage is different.
[16:11:51] <Hook> But as long as you can access it at home, the installation and post-install would be the same, yes.
[16:12:08] <Hook> VPN only affects access from elsewhere than your LAN.
[16:14:17] <marzagheddon> Ok, so as I want it to be reachable only via VPN or inside my LAN, should i use a .local domain or a .nohost.me domain?
[16:22:39] <marzagheddon> i used a .local cause i can add a .nohost later
[16:46:33] <marzagheddon> As i-ve choosen a .local domain I can-t get a let-s encrypt certificate, am I right?
[17:01:21] <Hook> If you plan to be behind VPN, you can use any domain you want, because you don’t need to register it anyway :]
[17:02:56] <Hook> > <@marzagheddon:matrix.org> As i-ve choosen a .local domain I can-t get a let-s encrypt certificate, am I right?

Probably true. And since the only people accessing it are the ones who have access to your VPN, Let’s Encrypt doesn’t give much more credibility than a self-signed certificate (other than the browser not complaining).
[17:03:57] <marzagheddon> is a configuration like this pretty safe? I mean from the outer internet
[17:06:21] <Hook> I guess so? I have a static IP.
[23:18:22] <jonathan> No you can't, LE-cert is only for public domains 🙂
[23:19:38] <jonathan> Question!
I am trying to upgrade an ooold peertube-installation - recently recovered the Yunohost VM (been shutdown for 15 month).

This is the apparent error:

2024-12-26 00:05:00,540: WARNING - ./upgrade: line 10: admin: unbound variable


Where is the ./upgrade script? And how do I fix this?

Full paste:
https://paste.yunohost.org/raw/pivovusuya
[23:21:36] <jonathan> Seems to be "source ynh_apps"

Strange
[23:23:04] <jonathan> Oh, might be this:
https://forum.yunohost.org/t/upgrade-peertube-from-5-2-1-ynh1-to-6-0-3-ynh1-fails/28233

I'll try to set an admin
[23:26:47] <jonathan> Yep, that was it - thanks for being my rubber ducks 😛