Friday, August 26, 2022
support@conference.yunohost.org
August
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
       
             

[03:48:10] <smoothoperatorgr[m]> hello all!
anyone selfhosts pleroma? how do I get to see more servers in the known network?
[03:50:52] <smoothoperatorgr[m]> also I get this:

> Sorry, this app must be installed on a domain of its own, but other apps are already installed on the domain 'smoothdream.me'. You could use a subdomain dedicated to this app instead.

but the gui doesnt give an option to install in subdomain...
[04:21:50] <smoothoperatorgr[m]> maybe I should add the subdomain in the domains? and if I do that do I need to add any DNS entries?
[06:53:11] <@titus=5bm=5d:libera.chat> > maybe I should add the subdomain in the domains? and if I do that do I need to add any DNS entries?

Hello and welcome!
Yes that's what you need to do. Create a subdomain first, set its DNS records and install the app.
[06:53:35] <smoothoperatorgr[m]> ok cool! thanks!
[06:54:56] <smoothoperatorgr[m]> tituspijean: oh and in the DNS do I need all of the entries doublicated with subdomain. in front? or just A * subdomain.domain.tld
and
A @ subdomain.domain.tld?
[06:57:02] <@titus=5bm=5d:libera.chat> I don't quite remember, check the documentation.
Depending on your registrar you can even setup automated DNS recording.
If you do it manually, it's up to you. Personally I diverged from the doc and used a wildcard * to direct any subdomain to the main domain with A and AAAA records.
[06:57:57] <smoothoperatorgr[m]> ok cool! thanks
[07:30:42] <smoothoperatorgr[m]> one more question I got for the room:

I tried adding an ssh key in yunohost and it failed any way I tried

I tried with
`sudo yunohost user ssh add-key admin ~/yh.pub`
and
`sudo yunohost user ssh add-key admin xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx`

and both fail
[07:36:31] <smoothoperatorgr[m]> it seems there is a bug, it complains about homedirectory or something
[08:42:50] <@titus=5bm=5d:libera.chat> > it seems there is a bug, it complains about homedirectory or something

Please precise what's the error.
[08:43:40] <@titus=5bm=5d:libera.chat> My guess is you need to put the absolute path. `~` is a relative path and will point to `/root` when YunoHost commands run.
[08:45:02] <smoothoperatorgr[m]> ```
sudo yunohost user ssh add-key admin /root/yh.pub
Traceback (most recent call last):
File "/usr/bin/yunohost", line 71, in <module>
yunohost.cli(
File "/usr/lib/python3/dist-packages/yunohost/__init__.py", line 25, in cli
ret = moulinette.cli(
File "/usr/lib/python3/dist-packages/moulinette/__init__.py", line 111, in cli
Cli(
File "/usr/lib/python3/dist-packages/moulinette/interfaces/cli.py", line 505, in run
ret = self.actionsmap.process(args, timeout=timeout)
File "/usr/lib/python3/dist-packages/moulinette/actionsmap.py", line 586, in process
return func(**arguments)
File "/usr/lib/python3/dist-packages/yunohost/user.py", line 1315, in user_ssh_add_key
return yunohost.ssh.user_ssh_add_key(username, key, comment)
File "/usr/lib/python3/dist-packages/yunohost/ssh.py", line 56, in user_ssh_add_key
user["homeDirectory"][0], ".ssh", "authorized_keys"
KeyError: 'homeDirectory'
```
[08:47:30] <@titus=5bm=5d:libera.chat> Ah yeah OK. It's a bit confusing sorry.
[08:47:55] <@titus=5bm=5d:libera.chat> That command is for YunoHost users. `admin` is a bit special and not listed as a user.
[08:48:34] <@titus=5bm=5d:libera.chat> https://yunohost.org/en/security#ssh-authentication-via-key
[08:49:43] <@titus=5bm=5d:libera.chat> You need to use the `ssh-copy-id` command, or directly add your one-liner key in `/home/admin/.ssh/authorized_keys`
[09:01:55] <smoothoperatorgr[m]> cool thanks a lot!
[09:06:43] <@titus=5bm=5d:libera.chat> Im thinking we should handle that though, while Alekswag[m] works on the `admins` group.
[09:08:14] <smoothoperatorgr[m]> there is no directory .ssh? is that the correct place?
[09:09:31] <smoothoperatorgr[m]> and if I make the dir and file then how to make it work or it sources it automaticly?
[09:09:31] <@titus=5bm=5d:libera.chat> You may create it, as well as the authorized_keys too
[09:09:36] <smoothoperatorgr[m]> ok
[09:09:37] <@titus=5bm=5d:libera.chat> The command executed from your local computer may be easier though ;)
[09:09:39] <@titus=5bm=5d:libera.chat> (The `ssh-copy-id` command I mean)
[09:09:51] <smoothoperatorgr[m]> wierd, it asks for password?
[09:09:53] <smoothoperatorgr[m]> where to edit that it should not ask for password?
[09:12:27] <@titus=5bm=5d:libera.chat> What asks for a password?
[09:12:44] <hutchinson2[m]> Hello, Are you interested in making $1,500 plus additional $500 for diligence and hardwork in two weeks (legit) by sparing just 15/30 minutes of your time every 48hrs without no start up fee ? If yes get back to me for more details

https://t.me/+rRk2pLTli4AzYjk0
[09:14:19] <smoothoperatorgr[m]> ssh into with key provided asks for admin password
[09:49:24] <@titus=5bm=5d:libera.chat> Smooth Operator GR (xyz): hum... restart the ssh service, maybe?
[09:50:32] <@titus=5bm=5d:libera.chat> Are you sure your key is on one line only? It should start with `ssh-rsa`, a space and then the public key
[10:59:59] <ivanyunohost> Hi all, after my migration 4->11 failed, I flash a new .img and run it. But it doesn't load fully. First thing I see when connected to a montitor - request to select a keybord, and then request "Which user would you like to rename". What's that?! I use RaspberryPi 3b and 64x image from the website for RPi, version 11.0.9. Please, help.
[11:11:41] <ivanyunohost> Partially it helped to "rename" user admin to admin. Then reboot and possible to login admin/yunohost. It seems working and start post-installation script. The only error seems to be rspamd service not starting. Fine... But then I start to update all packages - and it breaks completely then.
[11:25:23] <@jorgeluis=5bm=5d:libera.chat> hello everyone, I finally managed to enable federation on synapse by creating a well-know file at https://<server_name>/.well-known/matrix/server
[11:25:49] <@jorgeluis=5bm=5d:libera.chat> However, I still have the issue that element requires the security keys everytime I log in again. It forgets the device. How can I solve that? If anyone knows
[11:50:30] <ivanyunohost> :(
[11:58:51] <am[m]> Hi everyone,
I am having some issues migrating my YunoHost 4 to 11 on a Raspberry Pi running Raspbian 10 :
[https://paste.yunohost.org/raw/iyugaziliw](https://paste.yunohost.org/raw/iyugaziliw)

I'm OK to let YunoHost migrating my Raspberry on Raspbian 11, but it doesn't work... Is there a compatibility problem ?
It's a Model 4B Raspberry Pi with 4 GB RAM (28% free) and 256 GB SD-Card (69% free).

Someone can help me ? Thanks a lot :)
[12:11:20] <@jorgeluis=5bm=5d:libera.chat> > <@jorgeluis:halogen.city> However, I still have the issue that element requires the security keys everytime I log in again. It forgets the device. How can I solve that? If anyone knows

I ha tried Hydrogen and same issues. It does not remember the security keys.
[12:12:05] <@jorgeluis=5bm=5d:libera.chat> > <@jorgeluis:halogen.city> However, I still have the issue that element requires the security keys everytime I log in again. It forgets the device. How can I solve that? If anyone knows

* I have tried Hydrogen and same issues. It does not remember the security keys.
[12:13:50] <Kevin1487> Hello, I have "Internal Server Error" on nextcloud app after ugrading system. I have error message https://paste.yunohost.org/raw/lageqefomo - I looked on forum but did not find solution, any help ?
[12:29:49] <smoothoperatorgr[m]> > <@titus:pijean.ovh> Are you sure your key is on one line only? It should start with `ssh-rsa`, a space and then the public key

oh rsa! I was using ed355etc
[13:02:54] <smoothoperatorgr[m]> hello all!

Just installed Epicyon on my yunohost server and no matter what register and login I give it it just stays in the login/registration page? any ideas whats wrong? what should I check?
[14:03:19] <Kevin1487> Hello, after few hours investigation and tests to solve my issue, i solved it by  "yunohost app upgrade --force nextcloud" - However, I found out "Buster->Bullseye migration" did not complete https://paste.yunohost.org/raw/quqitufode . I do not know what is the impact and how to fix it ? (full log upgrade packages
[14:03:21] <Kevin1487> https://paste.yunohost.org/raw/lageqefomo ). Thanks for advices
[14:54:40] <@Alekswag=5bm=5d:libera.chat> Kevin1487: hmokay so let's try to `apt install python3-crypto --dry-run` to hopefully get more clues about why apt doesn't want to install it ?
[14:57:12] <@Alekswag=5bm=5d:libera.chat> hmyeah i think that package doesn't exist anymore in bullseye
[14:57:32] <@Alekswag=5bm=5d:libera.chat> Kevin1487: you should maybe force-upgrade yunomonitor
[14:57:45] <@Alekswag=5bm=5d:libera.chat> that will remove the dependency relation to that package
[15:05:01] <@lapineige=5bm=5d:libera.chat> Hello,
Do you know if we can deploy a docker image of a given software in a custom webapp ?
[15:09:21] <@Alekswag=5bm=5d:libera.chat> redirect_ynh is more suited for this
[15:09:27] <Kelev> hi
[15:09:54] <@Alekswag=5bm=5d:libera.chat> assuming you just install / start the docker yourself, and then just want to "expose" the app through nginx/ssowat
[15:10:18] <@Alekswag=5bm=5d:libera.chat> but if you want an app that also takes care of setting up docker etc for you, then you need something else
[15:11:09] <@Alekswag=5bm=5d:libera.chat> somebody worked a long time ago on a system to autocreate yunohost apps from docker image a long time ago : https://github.com/aymhce/generator-dockerapp-yunohost but it's like 4 years old now and even back then it was a bit "eh"
[15:11:35] <@Alekswag=5bm=5d:libera.chat> but there's definitely use case for this
[15:19:18] <Kevin1487> Aleks thanks for reply. for dry run "Package 'python3-crypto' has no installation candidate"
[15:20:48] <@Alekswag=5bm=5d:libera.chat> Yeah
[15:22:13] <@Alekswag=5bm=5d:libera.chat> If you agree to be an absolute barbarian, this could fix the issue : sed -i 's/python3-crypto,//g' /var/lib/dpkg/status
[15:28:58] <Kevin1487> Aleks I forced upgraded yunomonitor whitout error and relaunch migrations with same error https://paste.yunohost.org/raw/apemofesum
[15:40:31] <Kevin1487> Warning: Migration 0021_migrate_to_bullseye has to be run manually. Please go to
[15:40:31] <Kevin1487> Launching migrations...
[15:40:31] <Kevin1487> Aleks i ran ed -i 's/python3-crypto,//g' /var/lib/dpkg/status whithout error but still failling migration "21. Upgrade the system to Debian Bullseye and YunoHost 11.x" - I ran full-ugrade but got error message on terminal  : "Warning: slapcat: error writing output.
[15:40:31] <Kevin1487>  Tools → Migrations on the webadmin page, or run `yunohost tools migrations run`"  Logs saying it went succeful : https://paste.yunohost.org/raw/celudidise
[15:40:32] <Kevin1487> .
[15:46:43] <@Alekswag=5bm=5d:libera.chat> Yes there was two issues the python3-crypto is now fixed, i'm not in front of my computer right now so hard to dig the story about the other issue
[15:47:13] <@Alekswag=5bm=5d:libera.chat> But as said in the message it helps if you can find the log of the original not-100%-done migration ...
[16:11:35] <@centralscrutinizer=5bm=5d:libera.chat> Hi i couldn't restore a synapse backup, due to an error `chmod: cannot access '/opt/yunohost/matrix-synapse/Coturn_config_rotate.sh' No such file or directory `
here is the full log: https://paste.yunohost.org/raw/oxihadipaj
[16:12:24] <@lapineige=5bm=5d:libera.chat> > <@Alekswag:matrix.org> assuming you just install / start the docker yourself, and then just want to "expose" the app through nginx/ssowat

That would be the use case I think
[16:18:34] <@jorgeluis=5bm=5d:libera.chat> Hi all, I am running ynh on a raspberry pi and do not get any ynh updates since a while. I am still on v4.4 and migration is not available. Is it because this version is not yet available for ARM? Am I missing something?
[16:19:30] <@lapineige=5bm=5d:libera.chat> It does supports ARM and raspberry pi
[16:19:37] <@lapineige=5bm=5d:libera.chat> Do you have network access on your server ?
Do you receive any other package update ?
[16:20:24] <@jorgeluis=5bm=5d:libera.chat> Yes, I have network access.
I just tried:
```
sudo yunohost tools migrations run
Info: No migrations to run

```
[16:21:10] <@Alekswag=5bm=5d:libera.chat> what version 4.4 are you running exactly
[16:21:32] <@Alekswag=5bm=5d:libera.chat> actually 4.4 ships the Buster->Bullseye migration, like, this is the only major thing added between 4.3 and 4.4
[16:22:00] <@Alekswag=5bm=5d:libera.chat> let's look at `sudo yunohost tools migration list`
[16:22:00] <@Alekswag=5bm=5d:libera.chat> sounds like you clicked the skip button idk
[16:22:26] <@jorgeluis=5bm=5d:libera.chat> > <@Alekswag:matrix.org> what version 4.4 are you running exactly

4.4.2.10
[16:23:10] <@Alekswag=5bm=5d:libera.chat> so you did get upgrade recently ... 4.4.2.10 is like 4 days old
[16:23:27] <@jorgeluis=5bm=5d:libera.chat> > <@Alekswag:matrix.org> let's look at `sudo yunohost tools migration list`

This results in the help list
[16:23:38] <@Alekswag=5bm=5d:libera.chat> meh there's an s to migration
[16:23:48] <@jorgeluis=5bm=5d:libera.chat> > <@Alekswag:matrix.org> so you did get upgrade recently ... 4.4.2.10 is like 4 days old

Probably
[16:23:50] <@Alekswag=5bm=5d:libera.chat> `sudo yunohost tools migrations list`
[16:24:36] <@jorgeluis=5bm=5d:libera.chat> > <@Alekswag:matrix.org> `sudo yunohost tools migrations list`

You are right, I skipped it
[16:24:49] <@jorgeluis=5bm=5d:libera.chat> I don't recall it, though
[16:24:59] <@jorgeluis=5bm=5d:libera.chat> How can I force it?
[16:25:15] <@Alekswag=5bm=5d:libera.chat> `sudo yunohost tools migrations run 0021_migrate_to_bullseye --force-rerun`
[16:27:00] <@jorgeluis=5bm=5d:libera.chat> thanks, I will try. How would you recommend to backup in this case? It's a rpi at home with not much space left 😅
[16:27:58] <@Alekswag=5bm=5d:libera.chat> weeeell
[16:29:59] <@Alekswag=5bm=5d:libera.chat> it's a tradeoff between risk and effort, like, if you don't have super important stuff, a regular yunohost backup is okay (and in my very personal case, I would just yolo and not even do a backup, because i'm not a responsible adult and eat cereals for dinner, and also im biased because i know my way around the CLI etc)
[16:30:56] <@Alekswag=5bm=5d:libera.chat> if you have somewhat very important stuff and cant really afford for services to be down more than a couple hours in the eventuality that everything explode (though I have rarely seen stuff exploding past the point of recoverability), then go for a full snapshot of the SD card
[16:31:11] <@Alekswag=5bm=5d:libera.chat> but that requires to power down the server, grab the SD card, and clone it using some tool on another computer
[16:32:51] <@Alekswag=5bm=5d:libera.chat> cf https://yunohost.org/en/backup/clone_filesystem#create-a-cold-image-of-the-file-system
[16:32:58] <@jorgeluis=5bm=5d:libera.chat> > <@Alekswag:matrix.org> if you have somewhat very important stuff and cant really afford for services to be down more than a couple hours in the eventuality that everything explode (though I have rarely seen stuff exploding past the point of recoverability), then go for a full snapshot of the SD card

thanks - I think I will go for the regulate ynh backup :D
[16:35:26] <@jorgeluis=5bm=5d:libera.chat> > <@Alekswag:matrix.org> `sudo yunohost tools migrations run 0021_migrate_to_bullseye --force-rerun`

Migration 0015_migrate_to_buster was also skipped. Should I do that one first or the order does not matter?
[16:42:01] <@Alekswag=5bm=5d:libera.chat> ugh no, it was probably skipped because you installed on buster some time ago
[16:42:43] <@Alekswag=5bm=5d:libera.chat> like everytime you install a fresh yunohost, the migration code from the old version is still there for some reason but not relevant because that's a fresh install so the postinstall skips it
[16:44:11] <@Alekswag=5bm=5d:libera.chat> "some reason", i mean, for good technical reason, it's not just a random fact ;P
[16:47:24] <@jorgeluis=5bm=5d:libera.chat> > <@Alekswag:matrix.org> ugh no, it was probably skipped because you installed on buster some time ago

Many thanks for giving me a hand. Now running upgrade
[17:03:51] <@centralscrutinizer=5bm=5d:libera.chat> no one on the synapse backup error?
[17:11:17] <@Alekswag=5bm=5d:libera.chat> eeh nope :/ though i saw that error reported by one more person on the forum, if i recall correctly, trying to install some mautrix_bridge
[17:11:38] <@Alekswag=5bm=5d:libera.chat> sounds like the file disappears or there's an inconstency somewhere in the script ...
[17:12:09] <@Alekswag=5bm=5d:libera.chat> the script is there tho
[17:12:13] <@Alekswag=5bm=5d:libera.chat> https://github.com/YunoHost-Apps/synapse_ynh/blob/master/sources/Coturn_config_rotate.sh
[17:12:14] <@Alekswag=5bm=5d:libera.chat> so maybe you can just copypasta
[17:12:36] <@centralscrutinizer=5bm=5d:libera.chat> i tried manually creating the file, but then the restore script, failed because the folder already existed 🤔
[17:12:47] <@Alekswag=5bm=5d:libera.chat> :|
[17:20:52] <ynhuser|81345> kk
[17:20:54] <ynhuser|81345> kk
[17:20:56] <ynhuser|81345> k
[17:20:57] <ynhuser|81345> k
[17:20:58] <ynhuser|81345> k
[17:20:58] <ynhuser|81345> k
[17:20:58] <ynhuser|81345> k
[17:20:59] <ynhuser|81345> k
[17:20:59] <ynhuser|81345> k
[17:24:12] <@Alekswag=5bm=5d:libera.chat> okay bro
[17:29:39] <chwonl> hello, can anyone please tell me where i get info about packaging? need some distrtaction (problems t work) ;D . please help
[17:32:31] <ynhuser> Hi all - I've got a brand new install of yunohost, and am trying to install pixelfed, but the install fails. Any ideas? Here is the log: https://paste.yunohost.org/raw/juraqelede
[17:33:57] <@Alekswag=5bm=5d:libera.chat> chwonl: https://yunohost.org/en/packaging_apps_start but it's pretty old
[17:34:08] <chwonl> are you maybe out of memory?
[17:34:50] <chwonl> Thank you Aleks. What could I pak?
[17:35:34] <@Alekswag=5bm=5d:libera.chat> if you're pretty comfortable with learning by looking at examples, https://github.com/YunoHost-Apps/hextris_ynh is a somewhat easy app (though our current packaging format is a pile of historical boring stuff, hopefully Yunohost 11.1 will introduce a new v2 format which will be simpler, though still a transitional format until v3 ;P)
[17:36:00] <@Alekswag=5bm=5d:libera.chat> chwonl: i guess pick something inside https://yunohost.org/en/apps_wishlist
[17:37:40] <chwonl> means v3 will be definitiv:')
[17:38:12] <@centralscrutinizer=5bm=5d:libera.chat> > <@chwonl:libera.chat> Thank you Aleks. What could I pak?

i vote up for azuracast
[17:38:15] <@Alekswag=5bm=5d:libera.chat> not really, it just means that it's difficult to imagine beyond v3 because so many things will change and we'll learn quite a lot of things along the way
[17:38:39] <@centralscrutinizer=5bm=5d:libera.chat> it's been a while i thought about creating a web radio
[17:39:04] <@centralscrutinizer=5bm=5d:libera.chat> * it's been a while since i thought about creating a web radio
[17:39:16] <@Alekswag=5bm=5d:libera.chat> ah yes i definitely heard multiple time people wishing they could have a radio app
[17:40:11] <@Alekswag=5bm=5d:libera.chat> aaaaand the only self-hosting instructions are using docker /o\
[17:40:17] <@Alekswag=5bm=5d:libera.chat> dammit.wav
[17:42:30] <chwonl> docker is not the choice, it seems. LinkAce maybe?
[17:43:30] <@centralscrutinizer=5bm=5d:libera.chat> wasn't there someone who started to package appsa using a tool to extract the code from docker or something?
[17:43:46] <ynhuser> chwonl yes I was out of memory. Thank you! How could you discern that from the log?
[17:44:11] <ynhuser> Or is that just always a good place to start?
[17:45:20] <chwonl> ynhuser: COMPOSER_MEMORY_LIMIT=-1 . 9t line from below
[17:46:20] <ynhuser> chwonl thank you again - I really appreciate your help!
[17:47:27] <chwonl> ynhuser: the log contains the necessary info. you need to read it from below. you're most welcome
[17:50:56] <@centralscrutinizer=5bm=5d:libera.chat> > wasn't there someone who started to package appsa using a tool to extract the code from docker or something?

yes photoprism: https://github.com/YunoHost-Apps/photoprism_ynh/issues/6#issuecomment-1164346755
[17:54:59] <chwonl> Maybe building from source is better, because of build flags?
[17:57:15] <@centralscrutinizer=5bm=5d:libera.chat> i remember reading in the thread that they used it because the app was taking way too long to build from sources. I don't know if that's the case for azuracast
[17:58:18] <@centralscrutinizer=5bm=5d:libera.chat> But in know that I managed to install photoprism so somehow he made it 😄
[17:59:41] <chwonl> But maybe building from source is bad because then you have build tools on the system. these can be used by hackers.;D
[19:58:13] <Cyril5> Bonjour à tous. Je suis un peu en galère en ce moment. J'ai posté mon problème sur le forum et quelqu'un tente de m'aider, mais je pense que je ne le comprends pas ou que je n'ai pas bien expliqué mon problème... Bref, je n'arrive pas à l'en sortir.
[19:58:31] <Cyril5> Voici mon problème : mon serveur a crashé. J'ai tout réinstallé, sauf une application qui me résiste, à savoir WordPress. Sur ma précédente installation j'avais déplacé le dossier /var/www/wordpress sur un disque dur externe, puis j'avais un lien symbolique. Quand je restaure l'application, ça plante :
[19:58:33] <Cyril5> https://paste.yunohost.org/raw/boputadici
[19:58:54] <Cyril5> Visiblement il voulait que je recréé le lien symbolique, ce que j'ai fait. Et la restauration plante à nouveau :
[19:59:02] <Cyril5> https://paste.yunohost.org/raw/piyecobule
[19:59:12] <Cyril5> Si quelqu'un à une idée, je suis preneur ^^
[21:39:08] <@lapineige=5bm=5d:libera.chat> > <@chwonl:libera.chat> ynhuser: COMPOSER_MEMORY_LIMIT=-1 . 9t line from below

What does this parameter do ?
[23:48:27] <spiritwalker> Hello
[23:53:57] <spiritwalker> so i really need to re-install to much inventions... my question is what do i need to backup, to not loose the noho.st or to not ask to remove just to add again....
[23:54:26] <spiritwalker> thanks...
[23:59:18] <spiritwalker> is yunohost backup system enough and restore before post install, or do we need to do something eles
[23:59:24] <spiritwalker> else?