[03:01:33]
<lps> Hi, I haven't been following the forums, any show stoppers with the latest yunohost migration?
[15:39:36]
<Louis> The redirect app says "The nginx configuration can be further tweaked in `/etc/nginx/conf.d/liber-it.fr.d/redirect.conf`"
[15:39:46]
<Louis> but this file is actually read only
[15:39:52]
<Louis> Is it safe to modify it?
[15:41:28]
<rodinux> If you know what your doing, I think you can modify it...
[15:42:06]
<Louis> It’s weird to have a contradiction in the web UI
[15:42:10]
<Louis> when the file is read-only
[15:42:22]
<Louis> but yeah, it’s a just a simple conf
[15:43:01]
<Aleks (he/him/il/lui)> the fact that it is readonly or not depends on which user you're using to edit it ...
[15:43:20]
<Aleks (he/him/il/lui)> what exactly says that it is readonly
[15:47:23]
<Louis> it’s read-only for root
[15:47:46]
<Louis> `-rw------- 1 root root 75 Nov 9 15:33 redirect.conf` (I added write permission)
[15:48:23]
<Louis> I have edited it, but changes don’t seem to take effect. Do I need to reload nginx or something?
[15:48:37]
<Aleks (he/him/il/lui)> yes
[15:49:03]
<Aleks (he/him/il/lui)> also yes, the file may not have the +w flag but honestly this doesn't matter, because root can edit files even without having the +w anyway ...
[15:50:13]
<Louis> thanks
[16:31:51]
<Louis> I ran into a small issue with the migration: ihatemoney won’t restart
[16:32:18]
<Salamandar> do you have service logs ?
[16:32:21]
<Louis> `systemctl status ihatemoney.service` gives
```
Loaded: loaded (/etc/systemd/system/ihatemoney.service; enabled; preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Sat 2024-11-09 17:29:27 CET; 300ms ago
Process: 1960 ExecStart=/var/www/ihatemoney/venv/bin/gunicorn -c /var/www/ihatemoney/gunicorn.conf.py ihatemoney.wsgi:application (code=exited, status=203/EXEC)
Main PID: 1960 (code=exited, status=203/EXEC)
CPU: 18ms
```
[16:32:38]
<Aleks (he/him/il/lui)> you need to run this as root to get useful info
[16:32:56]
<Aleks (he/him/il/lui)> or webadmin > Tools > Services > ihatemoney > share logs with yunopaste using the green button
[16:33:19]
<Louis>
```
- Nov 09 17:32:43 systemd[1]: Started ihatemoney.service - I hate money.
- Nov 09 17:32:43 (gunicorn)[2159]: ihatemoney.service: Failed to locate executable /var/www/ihatemoney/venv/bin/gunicorn: No such file or directory
- Nov 09 17:32:43 (gunicorn)[2159]: ihatemoney.service: Failed at step EXEC spawning /var/www/ihatemoney/venv/bin/gunicorn: No such file or directory
- Nov 09 17:32:43 systemd[1]: ihatemoney.service: Main process exited, code=exited, status=203/EXEC
- Nov 09 17:32:43 systemd[1]: ihatemoney.service: Failed with result 'exit-code'.
```
[16:33:22]
<Louis> Found it
[16:34:54]
<Louis> > <@Alekswag:matrix.org> you need to run this as root to get useful info
I was root when running this command
[16:34:55]
<Aleks (he/him/il/lui)> anyway yeah sounds like the venv may be broken, usually the simple way to address this is to force-upgrade the app such that it rebuilds the venv : `yunohost app upgrade -F ihatemoney`
[16:37:39]
<Louis> I though I did it during the update, but apprently not…
[16:38:03]
<Louis> it gives me this though
```
Warning: DEPRECATION: debts is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
Warning: DEPRECATION: ihatemoney is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
Info: [############+.......] > Upgrading NGINX web server configuration...
Info: [#############+......] > Updating a configuration file...
Info: [##############++....] > Upgrading systemd configuration...
Info: [################+...] > Integrating service in YunoHost...
Info: [#################+..] > Starting a systemd service...
Warning: (this may take some time)
```
[16:39:05]
<Louis> It’s hanging… I’m pretty sure it’s not doing anything actually
[16:46:21]
<Louis> Ok it finished, and the web ui functions for ihatemoney, though I have a lot of errors due to deprecated things with gunicorn. (https://paste.yunohost.org/raw/orajozajev) What action should I take next? Or how can I help so that doesn’t have this problem?
[16:56:45]
<Aleks (he/him/il/lui)> if you mean stuff like `WARNING - [2024-11-09 17:35:27 +0100] [3948] [INFO] Booting worker with pid: 3948`, these are not really warnings, this is just the program using the stderr / "error/warning" channel to display regular information ... for reason ...
[18:44:10]
<Louis> I was talking about other errors regarding gunicorn and dependencies not being resolved or being deprecated… but i can’t find them not on keyboard
[19:12:21]
<spaced> am i going crazy or does the sso no longer follow through with whatever app sent you to login? i have freshrss set to users only and if id go to the url directly before yunohost 12 it’d have me login and redirect me back to freshrss, and matrix would have me login to sso then redirect me back to confirm it was me on my matrix account, but now it’ll have me login and just drop me at the homepage every time
[19:13:52]
<orhtej2> > <@spaced:eksoh.net> am i going crazy or does the sso no longer follow through with whatever app sent you to login? i have freshrss set to users only and if id go to the url directly before yunohost 12 it’d have me login and redirect me back to freshrss, and matrix would have me login to sso then redirect me back to confirm it was me on my matrix account, but now it’ll have me login and just drop me at the homepage every time
yup, same
[20:17:23]
<Xan> 🇫🇷 Bonsoir à tous, j'envisage de migrer mon YunoHost 11 vers YunoHost 12. J'ai pas mal d'applications donc je veux vraiment perdre le minimum (je pense notamment à NextCloud ou à Funkwhale). La MàJ est-elle bien fiable ? Avez-vous remarqué des soucis avec les applications après upgrade ?
Ci-joint l'espace disque dont je dispose actuellement 😊 Merci !
🇬🇧 Good evening everyone, I want to migrate my YunoHost 11 to YunoHost 12. I have a lot of apps so I want to lose nothing if possible (priority to NextCloud and Funkwhale). Is the update reliable ? Stable ? Did you experience some problems with apps after the upgrade ? Please find my remaining disk space 😊 Thanks !
```
root@am-networks:~# df -h /
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 392G 246G 127G 66% /
```
[20:19:23]
<Xan> 🇫🇷 Bonsoir à tous, j'envisage de migrer mon YunoHost 11 vers YunoHost 12. J'ai pas mal d'applications donc je veux vraiment perdre le minimum (je pense notamment à NextCloud ou à Funkwhale). La MàJ est-elle bien fiable ? Avez-vous remarqué des soucis avec les applications après upgrade ?
Ci-joint l'espace disque dont je dispose actuellement (- de 50% disponibles) 😊 Merci !
🇬🇧 Good evening everyone, I want to migrate my YunoHost 11 to YunoHost 12. I have a lot of apps so I want to lose nothing if possible (priority to NextCloud and Funkwhale). Is the update reliable ? Stable ? Did you experience some problems with apps after the upgrade ? Please find my remaining disk space (less than 50% available) 😊 Thanks !
```
root@am-networks:~# df -h /
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 392G 246G 127G 66% /
```
[20:20:49]
<orhtej2> > <@am:am-networks.fr> 🇫🇷 Bonsoir à tous, j'envisage de migrer mon YunoHost 11 vers YunoHost 12. J'ai pas mal d'applications donc je veux vraiment perdre le minimum (je pense notamment à NextCloud ou à Funkwhale). La MàJ est-elle bien fiable ? Avez-vous remarqué des soucis avec les applications après upgrade ?
> Ci-joint l'espace disque dont je dispose actuellement (- de 50% disponibles) 😊 Merci !
>
> 🇬🇧 Good evening everyone, I want to migrate my YunoHost 11 to YunoHost 12. I have a lot of apps so I want to lose nothing if possible (priority to NextCloud and Funkwhale). Is the update reliable ? Stable ? Did you experience some problems with apps after the upgrade ? Please find my remaining disk space (less than 50% available) 😊 Thanks !
>
> ```
> root@am-networks:~# df -h /
> Filesystem Size Used Avail Use% Mounted on
> /dev/sda2 392G 246G 127G 66% /
> ```
should work, if you want to be 100% make full machine backup (so that you can reimage it as if you never attempted the upgrade) PRIOR to upgrading
[20:21:00]
<orhtej2> 100% sure that is ;)
[20:22:46]
<Xan> Thanks for your answer, so I'll see to make a snapshot, because my VM is hosted by Contabo (Germany) and it will be too expensive to add more disk space ;)
[20:23:09]
<Salamandar> > <@am:am-networks.fr> 🇫🇷 Bonsoir à tous, j'envisage de migrer mon YunoHost 11 vers YunoHost 12. J'ai pas mal d'applications donc je veux vraiment perdre le minimum (je pense notamment à NextCloud ou à Funkwhale). La MàJ est-elle bien fiable ? Avez-vous remarqué des soucis avec les applications après upgrade ?
> Ci-joint l'espace disque dont je dispose actuellement (- de 50% disponibles) 😊 Merci !
>
> 🇬🇧 Good evening everyone, I want to migrate my YunoHost 11 to YunoHost 12. I have a lot of apps so I want to lose nothing if possible (priority to NextCloud and Funkwhale). Is the update reliable ? Stable ? Did you experience some problems with apps after the upgrade ? Please find my remaining disk space (less than 50% available) 😊 Thanks !
>
> ```
> root@am-networks:~# df -h /
> Filesystem Size Used Avail Use% Mounted on
> /dev/sda2 392G 246G 127G 66% /
> ```
Salut,
* on ne connaît pas toutes les bricoles que tu aurais pu faire sur ton serveur ;)
* a priori il n'y a pas de problèmes d'espace disque (je pense qu'il n'y a pas besoin de plus de place que 1/2Go)
* a priori Nextcloud n'a pas de problèmes
* aucune idée pour Funkwhale
[20:23:23]
<orhtej2> > <@am:am-networks.fr> Thanks for your answer, so I'll see to make a snapshot, because my VM is hosted by Contabo (Germany) and it will be too expensive to add more disk space ;)
no, you don't need more space on the device, you need VM snapshot, as you suggested
[20:23:35]
<orhtej2> 100GB is more than enough for the upgrade
[20:24:04]
<Xan> > 100GB is more than enough for the upgrade
I thought about backup for the disk space :)
[20:24:33]
<orhtej2> > <@am:am-networks.fr> I thought about backup for the disk space :)
nono, VM snapshot but I was unsure if you're running on bare metal
[20:25:01]
<orhtej2> (also backup held on machine being backed up is so called not a backup)
[20:26:07]
<Xan> > <@Salamandar:matrix.org> Salut,
> * on ne connaît pas toutes les bricoles que tu aurais pu faire sur ton serveur ;)
> * a priori il n'y a pas de problèmes d'espace disque (je pense qu'il n'y a pas besoin de plus de place que 1/2Go)
> * a priori Nextcloud n'a pas de problèmes
> * aucune idée pour Funkwhale
Salamandar: Just "a few" apps 😜
```
root@am-networks:~# yunohost app list | grep id:
id: adminer
id: baikal
id: calibreweb
id: castopod
id: crabfit
id: cryptpad
id: cyberchef
id: dolibarr
id: element
id: encryptor-decryptor
id: ergo
id: fittrackee
id: focalboard
id: funkwhale
id: gitea
id: glance
id: gogs
id: grammalecte
id: hubzilla
id: ihatemoney
id: jitsi
id: jupyterlab
id: keeweb
id: kiwiirc
id: lemmy
id: limesurvey
id: linkstack
id: mastodon
id: matomo
id: mattermost
id: mindmaps
id: mobilizon
id: movim
id: my_webapp
id: my_webapp__10
id: my_webapp__11
id: my_webapp__12
id: my_webapp__14
id: my_webapp__15
id: my_webapp__16
id: my_webapp__17
id: my_webapp__18
id: my_webapp__2
id: my_webapp__3
id: my_webapp__4
id: my_webapp__5
id: my_webapp__6
id: my_webapp__7
id: my_webapp__8
id: my_webapp__9
id: netdata
id: nextcloud
id: owncast
id: paperless-ngx
id: peertube
id: phpipam
id: phpldapadmin
id: pixelfed
id: pufferpanel
id: redirect
id: retroarch
id: roundcube
id: searxng
id: send
id: shellinabox
id: signaturepdf
id: spftoolbox
id: synapse
id: synapse-admin
id: teampass
id: trilium
id: uptime-kuma
id: vaultwarden
id: wallabag2
id: wireguard
id: z-push
id: zerobin
```
[20:27:16]
<Aleks (he/him/il/lui)> what teh frak
[20:27:34]
<Aleks (he/him/il/lui)> 77 ?!?!?!?!?
[20:27:53]
<Xan> > <@Alekswag:matrix.org> 77 ?!?!?!?!?
A lot are testing apps ;)
[20:28:13]
<Salamandar> https://aria.im/_matrix/media/v1/download/matrix.org/mVpYVfKQqHnQgRQVWMWrMAJX
[20:30:32]
<Xan> Priority to data-storing apps ; no problem with others... (In fact, maybe keep Gitea, Vaultwarden, Mastodon, Mattermost, Hubzilla and Synapse) but the others can be lost. Even my custom webapps.
I'm trying the Snapshot ;)
[20:34:45]
<Xan> If the migration fully-works in my case, we'll be able to say that YH is **truly** reliable 😜
[20:36:34]
<Aleks (he/him/il/lui)> https://static.wikia.nocookie.net/dfaa6704-740f-4412-9477-83ef38b1685b/scale-to-width/370
[20:36:42]
<Xan> I just have some fears about PostgreSQL : the last upgrade, to YH 11 didn't work well (and I didn't have so much apps !) 😁😁
[20:40:07]
<Xan> See you later ;)
[20:40:13]
<Xan> https://aria.im/_matrix/media/v1/download/am-networks.fr/rCBDTvEVHunmpySmPpWhyOrS
[20:53:57]
<eric_G> mmmh... I can't see ownCloud in the list
[21:02:37]
<Xan> Fail :(
https://paste.yunohost.org/raw/lafaxirage
[21:05:16]
<Xan> Problème côté PHP apparemment
```
× php7.3-fpm.service - The PHP 7.3 FastCGI Process Manager
Loaded: loaded (/lib/systemd/system/php7.3-fpm.service; disabled; preset: enabled)
Active: failed (Result: exit-code) since Sat 2024-11-09 22:00:45 CET; 2min 42s ago
Docs: man:php-fpm7.3(8)
Process: 2858855 ExecStart=/usr/sbin/php-fpm7.3 --nodaemonize --fpm-config /etc/php/7.3/fpm/php-fpm.conf (code=exited, status=78)
Process: 2858856 ExecStopPost=/usr/lib/php/php-fpm-socket-helper remove /run/php/php-fpm.sock /etc/php/7.3/fpm/pool.d/www.conf 73 >
Main PID: 2858855 (code=exited, status=78)
CPU: 119ms
Nov 09 22:00:45 am-networks.fr systemd[1]: php7.3-fpm.service: Failed with result 'exit-code'.
Nov 09 22:00:45 am-networks.fr systemd[1]: Failed to start php7.3-fpm.service - The PHP 7.3 FastCGI Process Manager.
Nov 09 22:00:45 am-networks.fr systemd[1]: php7.3-fpm.service: Scheduled restart job, restart counter is at 5.
Nov 09 22:00:45 am-networks.fr systemd[1]: Stopped php7.3-fpm.service - The PHP 7.3 FastCGI Process Manager.
Nov 09 22:00:45 am-networks.fr systemd[1]: php7.3-fpm.service: Start request repeated too quickly.
Nov 09 22:00:45 am-networks.fr systemd[1]: php7.3-fpm.service: Failed with result 'exit-code'.
Nov 09 22:00:45 am-networks.fr systemd[1]: Failed to start php7.3-fpm.service - The PHP 7.3 FastCGI Process Manager.
~
~
~
~
~
~
~
~
~
~
root@am-networks:~# systemctl start php7.3-fpm.service
Job for php7.3-fpm.service failed because the control process exited with error code.
See "systemctl status php7.3-fpm.service" and "journalctl -xeu php7.3-fpm.service" for details.
root@am-networks:~# journalctl -xeu php7.3-fpm.service
░░
░░ Automatic restarting of the unit php7.3-fpm.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
Nov 09 22:03:57 am-networks.fr systemd[1]: Stopped php7.3-fpm.service - The PHP 7.3 FastCGI Process Manager.
░░ Subject: A stop job for unit php7.3-fpm.service has finished
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A stop job for unit php7.3-fpm.service has finished.
░░
░░ The job identifier is 119220 and the job result is done.
Nov 09 22:03:57 am-networks.fr systemd[1]: php7.3-fpm.service: Start request repeated too quickly.
Nov 09 22:03:57 am-networks.fr systemd[1]: php7.3-fpm.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit php7.3-fpm.service has entered the 'failed' state with result 'exit-code'.
Nov 09 22:03:57 am-networks.fr systemd[1]: Failed to start php7.3-fpm.service - The PHP 7.3 FastCGI Process Manager.
░░ Subject: A start job for unit php7.3-fpm.service has failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit php7.3-fpm.service has finished with a failure.
░░
░░ The job identifier is 119220 and the job result is failed.
lines 1442-1467/1467 (END)
```
[21:21:05]
<Aleks (he/him/il/lui)> a day may come when systemctl status will provide useful information
[21:21:07]
<Aleks (he/him/il/lui)> but it is not this day
[21:31:47]
<am> Found the problem : remaining useless PHP 7.3 app conf files. After moving it to /root, it seems to work 😉
[21:33:33]
<am> It makes me able to see that my snapshot was on the wrong VM. I restored my Docker VM 😂. From now, the Snapshot is on the good VM 😁