Wednesday, May 07, 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
 
             

[05:18:54] <Ilario> Bonjour. J'ai un serveur YH chez moi, avec non de domaine enregistré chez infomaniak. Je voudrait installer peertube, mais elas yh me dit que je doit l'installer dans un sous domaine ou un autre domaine. Quelle est la bonne manière de procéder? Merci.
[06:32:51] <tituspijean[m]> Bonjour, il te suffit d'ajouter un sous domaine de ce domaine (par exemple `tube.tondomaine.tld`) dans la webadmin de YunoHost et de configurer les enregistrements DNS en conséquence. Tu pourras ensuite installer Peertube et sélectionner ce sous-domaine.
[07:16:02] <Ilario> tituspijean[m]: merci! Est ce que le sous domaine doit être cré, avant que sur mon serveur, chez infomaniak?
[07:29:29] <tituspijean[m]> L'ordre importe peu, mais les deux sont nécessaires.
Le domaine que tu as acheté peut avoir une infinité de sous-domaines, tu dois juste les configurer dans la zone DNS chez Infomaniak (tu as un exemple de zone DNS dans le menu du sous-domaine quand tu l'auras créé, et tu peux consulter https://doc.yunohost.org/it/administer/admin_guide/domains aussi)
Le temps que les enregistrements DNS soient propagés, tu peux créer le sous-domaine dans ton interface YunoHost et installer l'application.
[07:31:44] <Ilario> tituspijean[m]: merci bcp
[07:38:56] <Jorge Luis> Hi, I just updated to debian 12 and the subdomains are misconfigured after that. They do not point to the apps installed. How can I check or fix that?
[07:46:09] <tituspijean[m]> What is reported by the Diagnosis?
[07:46:47] <tituspijean[m]> (and, where do they point to?)
[07:49:52] <Jorge Luis> the diagnosis are fine. I just uninstalled Roundcube and installed it again in the same domain and it works
[07:50:31] <Jorge Luis> they are leading to the root domain, which is a pleroma installation, and it shows an error page
[07:59:49] <tituspijean[m]> Just to be sure, try logging out and clearing your browser cache (since the portal/SSO changed in YNH12, it might get your browser confused)
[08:00:08] <tituspijean[m]> Is your Pleroma app marked as default?
[08:01:15] <tituspijean[m]> "An error page" is not helpful, I'll assume it's error 418 (https://http.cat/418 :p)
[08:06:40] <Jorge Luis> > <@tituspijean:matrix.org> Is your Pleroma app marked as default?

no, default is another sub-domain
[10:06:52] <Jorge Luis> is there a way to update nextcloud ignoring the apps installed in it?
[10:37:11] <orhtej2> > <@jorgeluis:pub.solar> is there a way to update nextcloud ignoring the apps installed in it?

Not to my knowledge, upgrade failing on incompatible apps is inner workings of nextcloud
[10:37:11] <Jorge Luis> > Not to my knowledge, upgrade failing on incompatible apps is inner workings of nextcloud

and any way to remove apps without using occ? occ is not working :(
[10:39:56] <Aleks (he/him/il/lui)> if it's not working, explain what happens when you try to use it...
[10:42:06] <Jorge Luis> It was working fine yesterday and after trying to update, occ is giving the following error:
```
Your data directory is invalid.
Ensure there is a file called ".ocdata" in the root of the data directory.

An unhandled exception has been thrown:
Exception: Environment not properly prepared. in /var/www/nextcloud/lib/private/Console/Application.php:167
Stack trace:
```
[10:44:47] <thatoo> C'est l'idée mais pas que pour les livres.
Et on peut autoheberger son propre inventaire.io?

[10:45:22] <rodinux> Oui ça doit être possible https://github.com/inventaire/inventaire/tree/main/docs
[10:45:38] <thatoo> > <@Alekswag:matrix.org> maybe https://apps.yunohost.org/app/grr

I saw it but it seems rather different than what we are looking for.
[10:47:11] <rodinux> C'est vraiment pour les livres, gestion aussi des IBN, éditeurs etc...
[11:18:00] <niklas> I'm currently trying to migrate a yunohost to a new server using backups. I tried restoring the conf backup first to get the basic config and users and ran into issues with the domain certs. The files aren't in the backup or rather they are there, but it's just links pointing to files that aren't there on the new host. Feels like an issue with the backup process maybe?
[11:25:42] <lautre> How can I update an app from CLI?
What is the args required after : `yunohost tools update apps ` ?
[11:26:45] <lautre> I tried with the ID, and with the number listed. I always get error message without information. What is the TARGET? apps, system, all ? and for apps?
[11:29:13] <lautre> Whith upgrade instead of update, it's upgrading all my apps.
[11:46:44] <orhtej2> > <@lautre:matrix.org> How can I update an app from CLI?
> What is the args required after : `yunohost tools update apps ` ?

`yunohost app upgrade app_id_here`
[12:27:03] <rodinux> I have had something similar with a upgrade failing... on new version this folder is rename `.ncdata`, you just need rename it
```
cd /home/yunohost.app/nextcloud/data/
ls -l |grep *data
mv .ncdata .ocdata
```
perhaps after this need use this
```
yunohost app shell nextcloud
php occ status
php occ maintenance:repair
```
[12:53:48] <Jorge Luis> > <@rodinux:matrix.org> I have had something similar with a upgrade failing... on new version this folder is rename `.ncdata`, you just need rename it
> ```
> cd /home/yunohost.app/nextcloud/data/
> ls -l |grep *data
> mv .ncdata .ocdata
> ```
> perhaps after this need use this
> ```
> yunohost app shell nextcloud
> php occ status
> php occ maintenance:repair
> ```

I have an issue with OCC. It is not working since I tried to update. It shows error `bash: apc.enable_cli=1: command not found`
[12:56:39] <orhtej2> > <@jorgeluis:pub.solar> I have an issue with OCC. It is not working since I tried to update. It shows error `bash: apc.enable_cli=1: command not found`

This is from ynh shell?
[12:56:54] <orhtej2> `yunohost app shell nextcloud`?
[12:57:12] <Jorge Luis> > `yunohost app shell nextcloud`?

this one
[12:57:15] <Jorge Luis> ```
yunohost app shell nextcloud
php occ status
```
[13:17:37] <orhtej2> As if it failed to substitute php version 🤔
[13:17:40] <orhtej2> Does `php8.3 --define apc.enable_cli=1 occ` work?
[13:17:48] <Jorge Luis> > Does `php8.3 --define apc.enable_cli=1 occ` work?

tha works
[13:17:57] <lautre> There is phar something in your Nextcloud folder. This one don't care too much php version
[13:18:06] <lautre> Great!
[17:19:29] <trendless> I've looked in a bunch of places and I can't seem to figure the issue with the 'automatic diagnosis' on one of my ynh boxes. The other boxes run it and/or send emails about it, but one doesn't. And that one does successfully send email for custom cron jobs. It's not an upgrade either, it was a fresh debian 12 & ynh 12 that I installed in January. Any tips or thoughts would be much appreciated 🙌
[18:22:40] <Gwên> Aleks (he/him/il/lui): lautre OK, c'est bon, j'ai réussi à me reconnecter, en fait c'était juste un problème d'interface chaise-clavier 😬
[18:23:56] <Gwên> Aleks (he/him/il/lui): J'ai réussi à me reconnecter en ssh au final, c'était juste un problème d'interface chaise-clavier :D
[18:24:09] <Gwên> J'arrive toujours à poster des messages ici ? 🤔
[18:24:55] <Gwên> Pardon, c'est Element qui buggait en fait et mon message disparaissait aussitôt écrit xD
[18:28:05] <umari> > Aleks (he/him/il/lui): J'ai réussi à me reconnecter en ssh au final, c'était juste un problème d'interface chaise-clavier :D
I don't ask.
[18:52:08] <Gwên> 🪑🤪⌨️*