[01:10:37]
<wave6677[m]> > <@DarKou:libera.chat> wave6677: have you a /etc/postfix/sasl_passwd (plain text format) ?
doesn't look like it
[01:10:41]
<wave6677[m]> should I make one?
[01:10:51]
<wave6677[m]> no awit nvm i have one
[01:11:36]
<wave6677[m]> this is whats inside of it
[09:02:06]
<tituspijean> jamniczek: you need to copy the info.json file
[09:02:55]
<tituspijean> Actually, maybe not. Check the documentation out: https://yunohost.org/en/backup#upload-an-archive
[09:06:57]
<DarKou> wave6677: one you're sasl_passwd is ok ([server]:port user:password) you need to execute postmap /etc/postfix/sasl_passwd (the sasl_passwd.db will be generated at this moment). After you need to reload postfix and all will be ok.
[09:07:29]
<jamniczek> > <@Alekswag:matrix.org> because the archives are supposed to be located in `/home/yunohost.backup/archives`
ahh ok, will give it a try, thanks a lot !
[09:37:55]
<nicofrand[m]> Hi!
[09:38:50]
<nicofrand[m]> Is there a way to run something like `ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install` manually (not in a yunohost script)? I'd like to remove a node_modules directory from an app and rerun the install as production (to erase all dev dependencies that take a lot of space)
[09:43:41]
<tituspijean> oogg-is: https://matrix.to/#/!GevpWevrsZKluNMXsY:pijean.ovh/$rnP8_DycbbEmjt4z4cyfPO57N5u2MDShKgPfxLsZgqc?via=matrix.org&via=libera.chat&via=aria-net.org
[09:46:49]
<tituspijean> (sorry, had a duplicated message on my dendrite instance that looked like a user was asking the same question again 😅)
[09:49:23]
<tituspijean> nicofrand[m]: right now, you'd need to fetch the fetch the PATH variable from the app's systemd file to use it instead of `$ynh_node_load_PATH`
[09:50:48]
<nicofrand[m]> OK thanks and for ynh_exec_as ?
[09:51:00]
<tituspijean> then:
```bash
source /usr/share/yunohost/helpers
app=<yourapp>
cd <the_apps_dir>
ynh_exec_warn_less ynh_exec_as $app env <the_path> yarn install
```
[09:51:32]
<nicofrand[m]> OK thanks!
[09:51:40]
<tituspijean> I recently opened an issue regarding this, to have YunoHost offer a `yunohost app cli <app>` command to avoid the hassle.
[09:52:18]
<tituspijean> sorry, `<the_path>` should be `PATH=<the_path>`
[09:52:50]
<tituspijean> nicofrand: ^/
[09:54:26]
<nicofrand[m]> yup, makes sense
[09:55:10]
<tituspijean> (https://github.com/YunoHost/issues/issues/2041, for people willing to contribute)
[10:43:37]
<Bootsie> Hey guys, just wondering if anybody happened to manage to selfhost dimension the intergration manager on yunohost?
[10:45:53]
<c> this a matrix thing? or microsoft thing? "googling" tells me very different possibles
[10:46:38]
<ninchuka[m]> Matrix thing
[10:47:27]
<c> tituspijean, intéressant effectivement ça m'arrive souvent de vouloir modifier une app à la volée... ça serait cool d'avoir un système de shell et de réempaquetage :)
[10:55:37]
<c> ninchuka[m], not very hard it seems https://github.com/turt2live/matrix-dimension/blob/master/docs/installing.md
[12:59:27]
<nicofrand> pourquoi j'ai été expulsé ?
[13:05:22]
<DarKou> <-- | nicofrand (~nicofrand@2001:470:69fc:105::520) has left #yunohost < nicofrand parce que tu as fermé l'onglet/fenêtre ? :D
[13:07:16]
<nicofrand> pourtant non, mais peut-être un mic-mac entre IRC et matrix
[13:10:04]
<retiolus> Hi, is there another thing than f2b on yunohost that can block ssh connections?
[13:29:33]
<c> retiolus, no but maybe your router NAT or firewall does it
[13:30:01]
<c> but to be sure check yunohost firewall list if port 22 is open :)
[13:30:13]
<kaonashi696> > <c> but to be sure check yunohost firewall list if port 22 is open :)
it is
[13:30:28]
<kaonashi696> i can ssh from my mobile on 4G but not from another server
[13:30:30]
<c> and fail2ban-client banned empty?
[13:30:38]
<kaonashi696> > <c> and fail2ban-client banned empty?
yup
[13:30:50]
<c> then network NAT/firewall problem
[13:31:07]
<kaonashi696> > <@kaonashi696:mozilla.org> i can ssh from my mobile on 4G but not from another server
.
[13:31:25]
<c> kaonashi696, where is your other server? maybe that provider blocks out 22 TCP for security?
[13:31:54]
<kaonashi696> from the other sever i can ssh to any other server, not just on my yunohost
[13:31:59]
<kaonashi696> really weird...
[13:32:11]
<c> what does it say / not say ?
[13:32:15]
<c> can you see the IP connect in the SSH logs?
[13:32:47]
<kaonashi696> i get a connection timeout
[13:32:48]
<c> are you trying connect same account? same public key?
[13:32:53]
<kaonashi696> and yes i can see the ip
[13:32:57]
<kaonashi696> > <c> are you trying connect same account? same public key?
yes...
[13:33:17]
<c> when you ssh -vvv on client what do you see
[13:34:24]
<c> (and what does ssh server logs say)
[13:34:31]
<kaonashi696> https://aria.im/_matrix/media/v1/download/mozilla.org/9d836cbcb44b35af3dd431a50f32c7640bafcfd7
[13:34:46]
<kaonashi696> wait, using verbose i get that
[13:34:48]
<c> i mean ssh -vvv user@server
:D
[13:36:13]
<kaonashi696> https://aria.im/_matrix/media/v1/download/mozilla.org/3efb5dd7b957f7c8ff55fdf7c8ee3fdfddf116d1
[13:38:38]
<c> you changed DNS? maybe old IP is still in cache...
or maybe you reinstall server so you need to purge old SSH key in ~/.ssh/known-hosts on server
[13:39:36]
<c> it just says it looks yunohost server changed SSH public key so it does not connect for security (MITM detection)
[13:39:44]
<c> (that's not a timeout ;))
[13:48:31]
<kaonashi696> > <c> (that's not a timeout ;))
it was saying timeout before...
[13:48:41]
<kaonashi696> remove ssh key and still the same
[13:49:06]
<kaonashi696> but added a ConnectionTimeout option in the ssh command and now it works.... wtf
[15:06:03]
<wave6677[m]> > <@DarKou:libera.chat> wave6677: one you're sasl_passwd is ok ([server]:port user:password) you need to execute postmap /etc/postfix/sasl_passwd (the sasl_passwd.db will be generated at this moment). After you need to reload postfix and all will be ok.
```
admin@Yunohost:~$ postmap /etc/postfix/sasl_passwd
-bash: postmap: command not found
admin@Yunohost:~$ sudo postmap /etc/postfix/sasl_passwd
postmap: fatal: open database /etc/postfix/sasl_passwd.db: Permission denied
```
[15:07:32]
<wave6677[m]> not really sure what this means or why :(
[15:31:17]
<Aleks (he/him/il/lui)> Can you share the output of sudo ls -l /etc/postfix/sasl_passwd.db
[15:35:56]
<wave6677[m]> I seemed to have fixed it.
Running
```sudo chown postfix /etc/postfix
sudo postmap sasl_passwd``` lets me send emails again so i feel it's probably good now?
[15:35:56]
<wave6677[m]> * I seemed to have fixed it.
Running
````sudo
sudo postmap sasl_passwd``` lets me send emails again so i feel it's probably good now?
[15:36:18]
<wave6677[m]> * I seemed to have fixed it.
Running
````sudo
sudo postmap sasl_passwd```
lets me send emails again so i feel it's probably good now?
[15:36:35]
<wave6677[m]> * I seemed to have fixed it.
Running
```sudo
sudo postmap sasl_passwd```
lets me send emails again so i feel it's probably good now?
[15:36:46]
<wave6677[m]> * I seemed to have fixed it.
Running
````sudo
sudo postmap sasl_passwd````
lets me send emails again so i feel it's probably good now?
[15:36:46]
<wave6677[m]> im not even going to try to fix that
[15:37:03]
<wave6677[m]> i ran that
[15:37:04]
<wave6677[m]> sudo chown postfix /etc/postfix
sudo postmap sasl_passwd
[15:47:51]
<Aleks (he/him/il/lui)> Do you mean sasl_passwd, or sasl_passwd.db
[16:39:59]
<wave6677[m]> ```admin@yunohost:~$ sudo ls -l /etc/postfix/sasl_passwd.db
-rwxr-x--- 1 postfix root 12288 Oct 20 11:14 /etc/postfix/sasl_passwd.db
```
[16:41:40]
<wave6677[m]> > <@Alekswag[m]:libera.chat> Do you mean sasl_passwd, or sasl_passwd.db
the command i ran was postmap sasl_passwd, not postmap sasl_passwd.db