Sunday, May 04, 2025
support@conference.yunohost.org
May
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
 
             

[14:30:05] <gredin67> hello, trying to generate and transfer a backup archive from one backup server to a new server where to restore this archive
[14:30:25] <gredin67> no matter what I try, I get `bash: borg: command not found`
[14:31:08] <gredin67> I tried following https://github.com/YunoHost-Apps/borg_ynh/blob/master/doc/FULL_RESTORE.md without success
[14:31:20] <anubis> is borg installed? 🤔️
[14:31:54] <anubis> (debian package `borgbackup`)
[14:31:54] <gredin67> well the yunohost app is
[14:32:17] <gredin67> and backup are successfull
[14:32:29] <Aleks (he/him/il/lui)> you probably need to source the venv with something like `cd /var/www/borg` and `source venv/bin/activate`
[14:33:22] <Aleks (he/him/il/lui)> or tweak PATH as described in https://github.com/YunoHost-Apps/borg_ynh/blob/master/doc/ADMIN.md#manually-running-borg-commands :

```
app=borg
PATH="/var/www/$app/venv/bin/:$PATH"
```
[14:34:48] <gredin67> that's what was missing in the FULL_RESTORE.md doc
[14:34:54] <gredin67> thanks
[14:55:55] <liberodark> Hi
[14:56:08] <liberodark> Have issue from : `yunohost tools regen-conf ldap --force`
[14:56:53] <liberodark> Anyone have tips for force reconfigure when slapd service is broken ?
[14:58:49] <liberodark> PS : Also not backup is available for that.
[14:58:52] <liberodark> Best Regards
[15:04:17] <Aleks (he/him/il/lui)> https://aria.im/_bifrost/v1/media/download/AeVkzbAZeMT3Jt2p2q_HYYzCVbETi8EIv9RvrDlJdXtVaG4kTE8NhmwLAMfWu47LYpyrq64aQv8t8jvdPHHOMmBCeWoPnxZQAG1hdHJpeC5vcmcvcGNRT2RuWk9rU3dEU1RTTEJYUmhOb0N3
[15:32:51] <liberodark> Yep have fix this issue now need to fix other issues 😄
[15:35:23] <liberodark> The context: I had a hard drive that was dying. A sad story. Luckily, I saved my server, if you like, but I lost all the users, etc.
So I had to redo everything manually to at least try to recover a working server.
[15:35:43] <Aleks (he/him/il/lui)> https://aria.im/_bifrost/v1/media/download/ARpq2JPMpb40zAtunALrTZLaYP4a5SqpvBCiqHad-6N63VauFyyOJq-aFGvEOZcWajL2gdBGObCv6bkhgY1SYgZCeWoRa7eAAG1hdHJpeC5vcmcvUFhoUFB0QnBmSFNheERJandURVlNUmZl
[15:40:57] <liberodark> Sorry, I don't have a specific solution to offer right now.
As I said, I do everything by hand, so it's more of a workaround; the big problem is fixing Yunohost.
[16:26:52] <liberodark> My last log is : https://paste.yunohost.org/raw/reribekumi
After try to install yunohost again... ☹️ not sure that a good way.

[16:28:03] <Aleks (he/him/il/lui)> ¯\_(ツ)_/¯ no context, no full logs, and you're running 12.1
[16:36:21] <liberodark> Im on ynh 12.1.5.1
[16:39:13] <err404> liberodark: please give more log, because actualy we cannot help you with the summary you provided
[17:25:51] <liberodark> Sorry for my lack of response.
But overall, I've fixed almost everything.
1. I created the missing users.
2. I fixed the 20 crashed services one by one.
3. For LDAP and Yunohost:
I first tried several fixes, then installed over my existing one.
I restored only the slapd part.
I then ran another pass to fix several applications.

And now I have something working.
Well, it's not perfect, but I've regained all my access and fixed a good portion of my problems.
After that, I don't know if there wasn't another route other than the one I used.
We'll see over time.
[17:27:00] <liberodark> Sorry for the inconvenience, it's been a while since I've dived into ynh.
[17:40:56] <srb> Alek,@$… s (he/him/il/lui): s
[20:09:23] <stereo> i get a 404 for yunohost.org
[20:09:35] <Aleks (he/him/il/lui)> i don't
[20:10:37] <stereo> thanks. so somethin wrong on my side
[20:12:02] <Aleks (he/him/il/lui)> is your browser using a specific lang