Thursday, December 14, 2023
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
             

[07:24:51] <Rainer Lodemann> > <@keller2323:matrix.org> Forum is loading very slow and once it does, I'm getting a 504error. Anyone else experiencing the same?

Yes, same here.
[07:30:48] <Raini> Hello, I looked for help on my problem in the forum. but the forum isn't available anymore (crashed) ??!
[09:54:18] <orhtej2> > <@fu_consuela:matrix.org> ths is what was mentioned 3 posts above you and will remove yunohost :)

Believe it or not but this was sent first but delivered with half an hour delay
[09:54:19] <Consuela> oh wow haha yeah thats Element
[10:05:02] <Michele Agostinelli> Good morning i have an installation with nextcloud, borg backup and multiple users. I want to know how to restore a single (or multiple) file for a user.
[15:24:54] <thatoo> Hello,
I would like to be able to add folder into /var/www/libreerp/libreerp/addons/
I can connect to ssh and thus with sft with an admin user (and ssh key).
These folder belong to the user and group of the same name of the app, thus libreerp
The admin user can't do any modification in here.
I don't know if I could add this user to the libreerp group or not and if it is a gould idea?
Or should I add lireerp user to the sftp group?
But then on opposite to my_webapp user who can login, libreerp can't (if I add my ssh key to /var/www/libreerp/ssh/authorized_keys, it won't work).
my_webapp:x:995:995::/var/www/my_webapp:/bin/sh
libreerp:x:994:994::/var/www/libreerp:/usr/sbin/nologin

What would be the good way to reach what I need, add files into /var/www/libreerp/libreerp/addons/ thanks to sftp?
[15:39:27] <Mateusz Szymański> I would upload this addon to some users home directory, then move them with ssh to target location, changing the ownership to match that of /var/www/libreerp
[16:43:14] <thatoo> thanks
[16:43:14] <thatoo> ok, I'll do that then
[18:45:51] <miro5001> Hi everyone,
I'm trying to mount my_webapp folder on my local Linux PC using sshfs but couldn't because it's asking for a key file for the user. I managed to mount /home/yunohost.multimedia/user easily but couldn't find a way for my_webapp. Can you please help me figure out how to get it done.
[19:40:29] <Mateusz Szymański> > <@miro5001:matrix.org> Hi everyone,
> I'm trying to mount my_webapp folder on my local Linux PC using sshfs but couldn't because it's asking for a key file for the user. I managed to mount /home/yunohost.multimedia/user easily but couldn't find a way for my_webapp. Can you please help me figure out how to get it done.

you would have to ssh to target host and `sudo -u my_webapp ssh-keygen -t rsa`, save it under `/var/www/my_webapp/.ssh/id_rsa`, then copy contents of `/var/www/my_webapp/.ssh/id_rsa.pub` and use that I guess?
[21:15:45] <miro5001> > <@orhtej2:matrix.org> you would have to ssh to target host and `sudo -u my_webapp ssh-keygen -t rsa`, save it under `/var/www/my_webapp/.ssh/id_rsa`, then copy contents of `/var/www/my_webapp/.ssh/id_rsa.pub` and use that I guess?

I already have my public key on the server in the admin authorized_keys. But my_webapp is not allowed to ssh, it has sftp access only. I don't know if it has authorized_keys. Or should I define a location for it for this user.