[15:02:38]
<Hook> > <@silverhook:matrix.org> Shouldn’t the apps and their settings be restored from the backup too?
Still stuck with this. Any ideas?
[15:04:23]
<Hook> > <@silverhook:matrix.org> sent an image.
These warnings don't sound like it, but could this be the cause? And if so, how do I fix it?
[19:07:07]
<James Richardson> The two errors in that pic seem to be related just to dnsmasq and xmpp which I don't think would have anything to do with the apps not populating. Sorry, I really don't have any ideas. I'm just a new YH users, so there's that.
[20:03:10]
<Hook> > <@tokenwizard1:matrix.org> The two errors in that pic seem to be related just to dnsmasq and xmpp which I don't think would have anything to do with the apps not populating. Sorry, I really don't have any ideas. I'm just a new YH users, so there's that.
That's how I understand it too. 🤷
[20:41:03]
<rodinux> The folders with the datas in `/home/yunohost.app/` are not saved in the apps backups, the app backups should restore the apps and their settings, but first the folders if exists in `/home/yunohost.app/` must be there before.
[20:45:16]
<pti-jean> Bonsoir,
[20:46:10]
<pti-jean> J'ai des problème avec des tuiles à résoudre après la migration...
[20:46:45]
<pti-jean> La tuile de NextCloud que j’aimerai bien voir apparaître dans la page d’accueil moi.fr (c’est t-un exemple)
et le problème de la tuile flottante qui n’apparaît plus dans les applications comme RoundCube, qui permet de revenir à la page d’accueil!
https://forum.yunohost.org/t/migration-vers-12-nginx-500-internal-server-error/32558/11
Une idée ?
[20:55:05]
<Josué> > <pti-jean> La tuile de NextCloud que j’aimerai bien voir apparaître dans la page d’accueil moi.fr (c’est t-un exemple)
> et le problème de la tuile flottante qui n’apparaît plus dans les applications comme RoundCube, qui permet de revenir à la page d’accueil!
> https://forum.yunohost.org/t/migration-vers-12-nginx-500-internal-server-error/32558/11
> Une idée ?
Malheureusement cette fonctionnalité a été supprimée sur Yunohost 12. Tu peux peut être faire une issue pour reporter que cette fonctionnalité à été supprimée et que c'est ennuyeux pour toi. Personnellement j'approuve aussi que c'est dommage d'avoir supprimé ca.
[20:56:11]
<pti-jean> Josué, Tu parles de la tuile flottante ?
[20:56:24]
<Hook> > <@rodinux:matrix.org> The folders with the datas in `/home/yunohost.app/` are not saved in the apps backups, the app backups should restore the apps and their settings, but first the folders if exists in `/home/yunohost.app/` must be there before.
So I need to install all the apps I had on the previous install and then restore the whole system backup _again_?
[20:56:39]
<Josué> > <pti-jean> Josué, Tu parles de la tuile flottante ?
Oui
[20:56:58]
<pti-jean> Et pour NextCloud ?
[20:57:50]
<pti-jean> Je sais pourquoi dans la page d’accueil, la tuile NextCloud n’apparaît plus…
J’ai un domaine principal en moi.fr, et un domaine secondaire en moi.nohost.me, et NextCloud se trouve sur ce domaine secondaire, ce qui fait que dans ma page d’accueil https://moi.fr, j’ai pas la tuile NextCloud, elle se trouve sur l’autre domaine…
Une idée pour avoir, cette tuile NextColud sur la page d’accueil de mon domaine principal ??
[21:00:47]
<rodinux> > <@silverhook:matrix.org> So I need to install all the apps I had on the previous install and then restore the whole system backup _again_?
The backup `data` should have backup the folder `home` I think... Normally if you have done a yunohost backup create, all the datas are in the backups... I hope
[21:02:06]
<rodinux> > <pti-jean> Je sais pourquoi dans la page d’accueil, la tuile NextCloud n’apparaît plus…
>
> J’ai un domaine principal en moi.fr, et un domaine secondaire en moi.nohost.me, et NextCloud se trouve sur ce domaine secondaire, ce qui fait que dans ma page d’accueil https://moi.fr, j’ai pas la tuile NextCloud, elle se trouve sur l’autre domaine…
>
> Une idée pour avoir, cette tuile NextColud sur la page d’accueil de mon domaine principal ??
via la webadmin => domaines => voir toutes les apps
[21:02:18]
<Hook> > <@rodinux:matrix.org> The backup `data` should have backup the folder `home` I think... Normally if you have done a yunohost backup create, all the datas are in the backups... I hope
It was a 220 GB tarball, so I assume so. It also listed apps both when creating and restoring. But I see no apps in either user menu, admin menu or in home/
[21:04:10]
<pti-jean> rodinux, Yess!!! 👍️👍️👍️
[21:07:02]
<Josué> > <pti-jean> Je sais pourquoi dans la page d’accueil, la tuile NextCloud n’apparaît plus…
>
> J’ai un domaine principal en moi.fr, et un domaine secondaire en moi.nohost.me, et NextCloud se trouve sur ce domaine secondaire, ce qui fait que dans ma page d’accueil https://moi.fr, j’ai pas la tuile NextCloud, elle se trouve sur l’autre domaine…
>
> Une idée pour avoir, cette tuile NextColud sur la page d’accueil de mon domaine principal ??
Ca normalement tu peux le configurer maintenant depuis la webadmin pour que les app des autres domaines soie listée
[21:12:05]
<rodinux> > <@silverhook:matrix.org> It was a 220 GB tarball, so I assume so. It also listed apps both when creating and restoring. But I see no apps in either user menu, admin menu or in home/
A very big migration ! Perhaps do it by steps... Fist restore system, users, datas (if the datas are so big perhaps is a good idea rsync some big folders in `/home/yunohost.app/` ?, then apps one by one ? ), what's the context, you have another machine with ynh 11 and a new one with a new install ynh 12 ?
[21:18:29]
<pti-jean> Bon, pour la tuile flottante, c'était surtout pour savoir si c'était normal! Mais oui, son absence est-un peu gênante !
[21:20:15]
<pti-jean> Si non, j'ai un autre problème avec borg...
[21:20:16]
<rodinux> > <pti-jean> Bon, pour la tuile flottante, c'était surtout pour savoir si c'était normal! Mais oui, son absence est-un peu gênante !
Il devrait y avoir un autre portail pour le domaine secondaire en moi.nohost.me
[21:20:17]
<pti-jean> Je me rends compte que Borg m’affiche un encadré… dans Application/borg :
[21:20:35]
<pti-jean> > Remarques suite à la mise à niveau
>
> Borg pre-version 1.2.5 had CVE in archive format. One liner to check if you’re affected is:
>
> sudo env BORG_RSH=“ssh -i /root/.ssh/id_borg_ed25519 -p 22 -oStrictHostKeyChecking=yes " BORG_PASSPHRASE=”$(sudo yunohost app setting borg passphrase)" BORG_RELOCATED_REPO_ACCESS_IS_OK=yes BORG_REPO=“$(sudo yunohost app setting borg repository)” /var/www/borg/venv/bin/borg upgrade --show-rc --check-tam $BORG_REPO
>
> Consult the linked documentation on how to interpret the result.
[21:21:13]
<pti-jean> Dois-je faire une manipulation ? Ou je peux ignorer ?
[21:21:22]
<pti-jean> https://forum.yunohost.org/t/borg-suite-a-la-mise-a-niveau/32655
[21:21:45]
<pti-jean> Le lien est le suivant:
https://github.com/borgbackup/borg/blob/1.2.8/docs/changes.rst#pre-125-archives-spoofing-vulnerability-cve-2023-36811
[21:22:01]
<p> I'm a Linux n00b. Is it safe to upgrade yet?
[21:23:49]
<pti-jean> > Il devrait y avoir un autre portail pour le domaine secondaire en moi.nohost.me
Exactement, mais c'est pas un problème!
[21:26:17]
<rodinux> > <pti-jean> https://forum.yunohost.org/t/borg-suite-a-la-mise-a-niveau/32655
Si ça peut aider, ça me rappelle ce fil, avec une histoire d'autorisations pour les clés ssh https://forum.yunohost.org/t/borg-ne-fait-pas-de-backup-warning-cannot-stat-root-ssh-known-hosts-no-such-file-or-directory/32130
[21:28:27]
<rodinux> Du coup je lancerai la commande proposée par borg voir si elle passe...
[21:29:06]
<pti-jean> rodinux, Sauf que borg fonctionne parfaitement... Seulement j'ai un encadré... La question est de savoir si je l'ignore, ou si je dois faire des manipulations, et quelle manipulations ??
[21:30:56]
<rodinux> je comprends...
[21:31:23]
<pti-jean> Sachant que borg fonctionne bien, et que j'ai pas l'envie de le faire tomber en panne !
[21:33:30]
<rodinux> après il ne devrait y avoir de potentiellement de risques...
[21:34:39]
<pti-jean> > de risques...
Si j'ignore l'encadré ?
[21:36:11]
<rodinux> je voulais dire en appliquant la recommandation du `--check-tam`... Juste que ça peut être long
[21:37:39]
<pti-jean> Mais la commande, je l'exécute depuis YunoHost, ou depuis la serveur qui héberge mes backup ??
[21:39:35]
<rodinux> > <pti-jean> Mais la commande, je l'exécute depuis YunoHost, ou depuis la serveur qui héberge mes backup ??
Là je pense que c'est depuis Yunohost ou se trouve Borg App, clairement, il va chercher les infos dans les settings de l'application...
[21:41:50]
<pti-jean> rodinux, Mais la:
https://github.com/borgbackup/borg/blob/1.2.8/docs/changes.rst#pre-125-archives-spoofing-vulnerability-cve-2023-36811
Le point 1 avec:
borg check would complain about archives without a valid archive TAM.
borg check --repair would remove such archives!
devait suffire! non ??
[21:42:25]
<pti-jean> Pas besoin de passer au point 2! Non ??
[21:44:55]
<rodinux> Le point 2 c'est `Do this step on every client using this repo`... Je ne sais pas si le serveur fait différents backups ??
[21:46:06]
<rodinux> Je ne sais pas, c'est peut-être mieux de demander sur le forum avant de faire une bêtise... ou de relancer celui existant pour le coup
[21:47:17]
<pti-jean> Le problème, c'est que sur le forum c'est pas très réactif en ce moment !
[21:50:08]
<pti-jean> J'essaierai de lancer un "borg check", tel quel dans YunoHost, pour voir ce que cela fait... Mais pas maintenant car à minuit y a une sauvegarde qui démarre, et j'ai bien peur que l'exécution dure plus d'un heure!
[21:51:27]
<rodinux> Juste voir si la sauvegarde c'est bien faîte même déjà...
[21:52:53]
<Hook> > <@rodinux:matrix.org> A very big migration ! Perhaps do it by steps... Fist restore system, users, datas (if the datas are so big perhaps is a good idea rsync some big folders in `/home/yunohost.app/` ?, then apps one by one ? ), what's the context, you have another machine with ynh 11 and a new one with a new install ynh 12 ?
The context is it's the same machine, but the ssd (ynh 11) is prematurely dying, so I did a whole ynh system backup, installed debian 12 and ynh 12 on the new hdd and restored the ynh system backup
[21:52:53]
<pti-jean> Ah, mais les sauvegardes fonctionnent ! C'est pas là le problème !
[21:56:13]
<rodinux> > <@silverhook:matrix.org> The context is it's the same machine, but the ssd (ynh 11) is prematurely dying, so I did a whole ynh system backup, installed debian 12 and ynh 12 on the new hdd and restored the ynh system backup
and where are the datas ? on another disk ? or in the the first ssd ? do you have used symbolics links in the system ?
[22:02:38]
<Hook> > <@rodinux:matrix.org> and where are the datas ? on another disk ? or in the the first ssd ? do you have used symbolics links in the system ?
dyingSSD – original system; ynh 11 with data
oldHDD1 – backups; was /home/yunohost.backups/ on original system
newHDD1 – debian 12 + ynh 12
(I’m skipping oldHDD2 (other data, currently unused) and newHDD2 (to be btrfs mirror of newHDD1 ))
[22:04:04]
<Hook> So it went:
1) `yunohost backup create` from dyingSSD to oldHHD1
2) install debian 12 to newHDD1
3) install ynh 12 to newHDD1
4) mount oldHDD1 and from it `yunohost backup restore` the last full system backup (the 220 GB)
[22:04:15]
<Hook> took overnight too …
[22:08:09]
<Denny> Hello, i did migrate from 11 to 12 now is my dashboard / Portal gone. No Portal Settings in YH Settings - Other. Is there someting wrong with the migration?
[22:09:44]
<rodinux> > <@der-den:matrix.org> Hello, i did migrate from 11 to 12 now is my dashboard / Portal gone. No Portal Settings in YH Settings - Other. Is there someting wrong with the migration?
did you have few domains ? the portal must be on the top `domain.tld/yunohost/sso`
[22:10:30]
<rodinux> The settings are in the webadmin in domains
[22:10:44]
<Denny> okay, i did run YH11 only with subdomains
[22:12:51]
<rodinux> so you do a mount point for `/home/yunohost/backup` oldHDD1 ?
[22:14:25]
<rodinux> > <@der-den:matrix.org> okay, i did run YH11 only with subdomains
You haven't a `domain.tld` ?
[22:16:37]
<Hook> > <@rodinux:matrix.org> so you do a mount point for `/home/yunohost/backup` oldHDD1 ?
I did when I was doing the the backup restore, yes. Not in fstab (yet), but can do
[22:17:45]
<Hook> oldHDD1 only has backups, nothing else. Everything else from the old install is on dyingSSD
[22:19:48]
<Denny> not pointed to this server, but some subdomains are connected and active
[22:22:46]
<rodinux> From the webadmin have you a button portal, sorry you did not access to webadmin also ?
[22:23:35]
<Denny> what did you exactly mean with webadmin?
[22:24:42]
<rodinux> the dashboard admin settings
[22:30:21]
<Denny> of course, i have access to ..org/yunohost/admin/#/
[22:31:11]
<rodinux> So in domains you see a button link to portal ?
[22:33:48]
<Denny> on the top right? i point to https://my.domain.org/yunohost/sso (my. is the subdomain where the old portal was accessible)
[22:34:19]
<rodinux> and it not accessible ?
[22:34:47]
<Denny> no, it redirect to domain.org
[22:35:00]
<Denny> domain.org/yunohost/sso -> 404
[22:35:58]
<rodinux> Can you just add the `domain.org` ?
[22:35:59]
<Denny> i think i must connect to domain to this server and run the wordpress on the YH.. this was still planed
[22:36:43]
<rodinux> You can't beacuse is a wordpress in another place ?
[22:37:15]
<rodinux> So there is a workaround, let me search
[22:41:04]
<Denny> wordpress (only) run on the old server with KeyHelp ... so, i think if i move the domain and wordpress i must recreate all email ..
[22:44:41]
<rodinux> You can look this https://forum.yunohost.org/t/yunohost-12-0-bookworm-release-sortie-de-yunohost-12-0-bookworm/31673/84
[22:49:54]
<Denny> okay nice, thank you, i will look into it
[22:52:12]
<rodinux> > <@silverhook:matrix.org> oldHDD1 only has backups, nothing else. Everything else from the old install is on dyingSSD
As said before, try install the system and app one by one perhaps, because in your screenshot, it failed with for example app scrutinny not found...
[22:53:18]
<rodinux> well, not the system, but first the users ? the data ?
[22:54:00]
<rodinux> it's a singular case ! not easy
[23:13:24]
<Hook> > <@rodinux:matrix.org> well, not the system, but first the users ? the data ?
The system settings and users migrated fine
[23:14:14]
<Hook> I still have dyingSSD in the box, so I can so just copy directly from it.
[23:14:59]
<rodinux> not sure about the diffs between 11 and 12...
[23:16:37]
<rodinux> but via the webadmin, you should choose restore first one app, nextcloud for exemple, see if the restore works...
[23:18:25]
<rodinux> for nextcloud, I think the backup save only the app and the bdd, the folder `/home/yunohost.app/nextcloud` may be need be replaced
[23:20:09]
<rodinux> there is a variable `BACKUP_CORE_ONLY=1` some times in apps with a big data folder...
[23:22:22]
<Hook> > <@rodinux:matrix.org> but via the webadmin, you should choose restore first one app, nextcloud for exemple, see if the restore works...
Restore one app at time from the big 220gb system backup?
[23:24:50]
<rodinux> waouw sorry, is only the `system` backup which have 220GB ? if you look in the webadmin in backups archive and click on the backup, you haven't choices ?
[23:28:21]
<Hook> > <@rodinux:matrix.org> waouw sorry, is only the `system` backup which have 220GB ? if you look in the webadmin in backups archive and click on the backup, you haven't choices ?
Let me check. I did it via cli, since it was so big
[23:43:27]
<rodinux> Here an example to restore nextcloud from borg backups https://github.com/YunoHost-Apps/borg\_ynh/blob/master/doc/FULL\_RESTORE.md#and-nextcloud-its-super-heavy
[23:53:39]
<Hook> Thanks, rodinux, I’ll look into that. It’s getting late and it’s been a long day, so I’ll give it a rest before I do something stupid like a typo.
[23:54:12]
<Hook> But I am very thankful for your help so far and that you answered to so many people in the chat too.
[23:54:23]
<Hook> rodinux