Wednesday, October 02, 2024
support@conference.yunohost.org
October
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:51:52] <tituspijean> @thatoo:defis.info I don't quite understand what you want to achieve here, can you explain ?
[17:50:16] <thatoo> When someone goes on https://MY.DOMAIN/docs, it doesn't display a page of the website (my webapp) but a page of nextcloud listing some documents visitors can read and download.
[17:56:21] <Aleks (he/him/il/lui)> > is there any way to have the same result but keeping the url

probably not, propably because Nextcloud (or basically any complex webapp) is not designed for this ... why do you care so much about not chaging the URL, is there any motivation beyond pure aesthetic ?
[18:29:13] <thatoo> no, I was just asking if it was doable to make something nicer but if it isn't easy, then as it is will do 😁
[19:20:51] <Klorydryk> Hi !
I tried to update Vaultwarden and... "Cette application nécessite une version de YunoHost >= 12.0.0. La version installée est 11.2.30.2"
I just installed the last version of Yunohost. Packaging error?
[19:25:05] <tituspijean> Sorry 😖
[19:25:05] <tituspijean> Nope, unfortunately you would have to wait for YunoHost 12 release to install latest Vaultwarden version
[19:25:06] <eric_G> Klorydryk: the happy news is that the beta for YunoHost 12 is available!
[19:25:47] <Klorydryk> Ok, thank you for the news, I'll wait!
[19:32:19] <orhtej2> > <@klorydryk:matrix.org> Ok, thank you for the news, I'll wait!

you can test drive YNH 12 right now, just make **FULL SYSTEM BACKUP** prior to that in case things go south
Instructions here for the brave: https://forum.yunohost.org/t/beta-stage-testing-for-yunohost-12-0-bookworm-and-bullseye-bookworm-migration/30496
[19:32:46] <Klorydryk> Im' not brave : I'm in production =D
[19:34:28] <eric_G> > <@klorydryk:matrix.org> Im' not brave : I'm in production =D

I must be brave : I'm in production
[19:35:22] <orhtej2> > <@klorydryk:matrix.org> Im' not brave : I'm in production =D

no pressure then!
[19:36:13] <orhtej2> ```
Repository /etc/yunohost/hooks.d/backup_method/sauvegarde1/archives1 does not exist.
```

Anyone has any idea what that means when creating backup with borg? unbound variable/bug in integration, special mounts, some app I'm not aware of?
[19:45:09] <orhtej2> > ```
> Repository /etc/yunohost/hooks.d/backup_method/sauvegarde1/archives1 does not exist.
> ```
>
> Anyone has any idea what that means when creating backup with borg? unbound variable/bug in integration, special mounts, some app I'm not aware of?

ok, it means someone run Borg with a directory as destination x_x
[19:51:34] <orhtej2> > ok, it means someone run Borg with a directory as destination x_x

relative directory that is
[22:04:26] <orhtej2> > Nothing specific about Nextcloud. Just this:
>
> Failed to format translatable string 'backup_applying_method_custom': 'Calling the custom backup method '{method}'…' with arguments '()' and '{}', raising error: KeyError('method') (don't panic this is just a warning)
> Could not run script: /etc/yunohost/hooks.d/backup_method/05-borg_app
> Custom backup method could not get past the 'backup' step
> Another YunoHost command is running right now, we are waiting for it to finish before running this one
> The other command just completed, now starting this command
> Failed to format translated string 'backup_applying_method_custom': 'Calling the custom backup method '{method}'…' with arguments '()' and '{}, raising error: KeyError('method') (don't panic this is just a warning)
>
> Created an issue here: https://github.com/YunoHost-Apps/nextcloud_ynh/issues/736

'Another YunoHost command is running right now, we are waiting for it to finish before running this one' 🤷
[22:04:26] <Nadine> > Do you happen to have err file from /var/log/borg?

Nothing specific about Nextcloud. Just this:

Failed to format translatable string 'backup_applying_method_custom': 'Calling the custom backup method '{method}'…' with arguments '()' and '{}', raising error: KeyError('method') (don't panic this is just a warning)
Could not run script: /etc/yunohost/hooks.d/backup_method/05-borg_app
Custom backup method could not get past the 'backup' step
Another YunoHost command is running right now, we are waiting for it to finish before running this one
The other command just completed, now starting this command
Failed to format translated string 'backup_applying_method_custom': 'Calling the custom backup method '{method}'…' with arguments '()' and '{}, raising error: KeyError('method') (don't panic this is just a warning)

Created an issue here: https://github.com/YunoHost-Apps/nextcloud_ynh/issues/736
[22:04:56] <orhtej2> > 'Another YunoHost command is running right now, we are waiting for it to finish before running this one' 🤷

out of curiosity, what's the output of `sudo yunohost app setting borg repository`?
Some URI? (like `ssh://user@somewhere.tld/gibberish`?
[22:05:13] <Nadine> > 'Another YunoHost command is running right now, we are waiting for it to finish before running this one' 🤷

Yes, but afterwards `The other command just completed, now starting this command`. If this was a problem, how would I fix it? There is nothing other running except of borg backups.
[22:05:23] <orhtej2> (don't paste it here if it's an URI)
[22:06:10] <orhtej2> > Yes, but afterwards `The other command just completed, now starting this command`. If this was a problem, how would I fix it? There is nothing other running except of borg backups.

IDK, I'm triaging other failure here, perhaps something helps? https://forum.yunohost.org/t/borg-backup-failed-to-start-borg-service-access-denied-see-system-logs-and-systemctl-status-borg-service-for-details/31267/12
[22:07:43] <Nadine> > out of curiosity, what's the output of `sudo yunohost app setting borg repository`?
> Some URI? (like `ssh://user@somewhere.tld/gibberish`?

It's not another SSH server. It's a local directory like /mnt/cloud/ServerBackups/borg (this is mounted via rclone).
[22:08:20] <orhtej2> > It's not another SSH server. It's a local directory like /mnt/cloud/ServerBackups/borg (this is mounted via rclone).

and you set an absolute path?
[22:09:40] <Nadine> > and you set an absolute path?

Yes. Is there an issue with that?
[22:09:42] <orhtej2> > Nothing specific about Nextcloud. Just this:
>
> Failed to format translatable string 'backup_applying_method_custom': 'Calling the custom backup method '{method}'…' with arguments '()' and '{}', raising error: KeyError('method') (don't panic this is just a warning)
> Could not run script: /etc/yunohost/hooks.d/backup_method/05-borg_app
> Custom backup method could not get past the 'backup' step
> Another YunoHost command is running right now, we are waiting for it to finish before running this one
> The other command just completed, now starting this command
> Failed to format translated string 'backup_applying_method_custom': 'Calling the custom backup method '{method}'…' with arguments '()' and '{}, raising error: KeyError('method') (don't panic this is just a warning)
>
> Created an issue here: https://github.com/YunoHost-Apps/nextcloud_ynh/issues/736

you pasted the full contents of err file?
[22:10:08] <orhtej2> > Yes. Is there an issue with that?

no, that's OK (at least according to the installation manual for borg_ynh)
[22:15:51] <Nadine> > you pasted the full contents of err file?

Added all lines in the GitHub issue. Perhaps this is some issue?
Could not link /var/www/borg/backup-with-borg to /home/yunohost.backup/tmp/auto_borg/apps/borg/backup/var/www/borg/backup-with-borg ([Errno 18] Invalid cross-device link: '/var/www/borg/backup-with-borg' -> '/home/yunohost.backup/tmp/auto_borg/apps/borg/backup/var/www/borg/backup-with-borg') ... falling back to regular copy.
Could not link /var/www/borg/logging.conf to /home/yunohost.backup/tmp/auto_borg/apps/borg/backup/var/www/borg/logging.conf ([Errno 18] Invalid cross-device link: '/var/www/borg/logging.conf' -> '/home/yunohost.backup/tmp/auto_borg/apps/borg/backup/var/www/borg/logging.conf') ... falling back to regular copy.
[22:25:24] <orhtej2> > Added all lines in the GitHub issue. Perhaps this is some issue?
> Could not link /var/www/borg/backup-with-borg to /home/yunohost.backup/tmp/auto_borg/apps/borg/backup/var/www/borg/backup-with-borg ([Errno 18] Invalid cross-device link: '/var/www/borg/backup-with-borg' -> '/home/yunohost.backup/tmp/auto_borg/apps/borg/backup/var/www/borg/backup-with-borg') ... falling back to regular copy.
> Could not link /var/www/borg/logging.conf to /home/yunohost.backup/tmp/auto_borg/apps/borg/backup/var/www/borg/logging.conf ([Errno 18] Invalid cross-device link: '/var/www/borg/logging.conf' -> '/home/yunohost.backup/tmp/auto_borg/apps/borg/backup/var/www/borg/logging.conf') ... falling back to regular copy.

Sounds like it should be handled properly, also its not for nextcloud