It went well
Thanks @YunoHost and team ![]()
Hi jarod5001,
Thanks for your reply. I had a glitch with spftoolbox using php7.3.
I deleted the file /etc/php/7.3/fpm/pool.d/spftoolbox.conf and everything went back to normal.
Hello. I seem to have had quite the error upgrading. Lots of PHP dying (8.1).
Please, @ericg, stop making apps require YNH 12 when they donât need to. Pretty please. I simply can not upgrade to 12 yet, but youâre gatekeeping the newest version of these apps for no reason. I know you said the helpers2.1 was updated on 12, but unless thatâs an actual change in functionality, I think it is fine as is.
2025-01-30 14:57:51,414: WARNING - Job for php8.1-fpm.service failed because the control process exited with error code.
2025-01-30 14:57:51,416: WARNING - See "systemctl status php8.1-fpm.service" and "journalctl -xeu php8.1-fpm.service" for details.
2025-01-30 14:57:51,418: WARNING - invoke-rc.d: initscript php8.1-fpm, action "restart" failed.
Can you look into this error (check the logs of php8.1-fpm) and retry the upgrade?
youâre gatekeeping the newest version of these apps for no reason
We just want to use the newest features of ynh 12 in our packages. We arenât gatekeeping anything.
Thank you for the prompt response! Iâm not seeing a lot in these logs. Would uninstalling PHP8.1 be a solution, or is php8.1 a required package?
I did previously have this issue:
Edit: there was no mediawiki pool. Not sure why. I just copied the prestashop config and renamed a few sections. Thank you for your patience. I have now successful upgraded to 12.
systemctl:
Ă php8.1-fpm.service - The PHP 8.1 FastCGI Process Manager
Loaded: loaded (/lib/systemd/system/php8.1-fpm.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Thu 2025-01-30 14:57:53 CST; 1h 6min ago
Docs: man:php-fpm8.1(8)
Main PID: 1238397 (code=exited, status=78)
CPU: 235ms
Jan 30 14:57:53 host.domain.com systemd[1]: php8.1-fpm.service: Scheduled restart job, restart counter is at 5.
Jan 30 14:57:53 host.domain.com systemd[1]: Stopped php8.1-fpm.service - The PHP 8.1 FastCGI Process Manager.
Jan 30 14:57:53 host.domain.com systemd[1]: php8.1-fpm.service: Start request repeated too quickly.
Jan 30 14:57:53 host.domain.com systemd[1]: php8.1-fpm.service: Failed with result 'exit-code'.
Jan 30 14:57:53 host.domain.com systemd[1]: Failed to start php8.1-fpm.service - The PHP 8.1 FastCGI Process Manager.
journalctl:
ââ A start job for unit php8.1-fpm.service has begun execution.
ââ
ââ The job identifier is 118506.
Jan 30 14:57:53 host.domain.com php-fpm8.1[1238397]: [30-Jan-2025 14:57:53] ALERT: [pool mediawiki] user has not been defined
Jan 30 14:57:53 host.domain.com php-fpm8.1[1238397]: [30-Jan-2025 14:57:53] ERROR: failed to post process the configuration
Jan 30 14:57:53 host.domain.com php-fpm8.1[1238397]: [30-Jan-2025 14:57:53] ERROR: FPM initialization failed
Jan 30 14:57:53 host.domain.com systemd[1]: php8.1-fpm.service: Main process exited, code=exited, status=78/CONFIG
ââ Subject: Unit process exited
ââ Defined-By: systemd
ââ Support: https://www.debian.org/support
ââ
ââ An ExecStart= process belonging to unit php8.1-fpm.service has exited.
ââ
ââ The process' exit code is 'exited' and its exit status is 78.
Jan 30 14:57:53 host.domain.com systemd[1]: php8.1-fpm.service: Failed with result 'exit-code'.
ââ Subject: Unit failed
ââ Defined-By: systemd
ââ Support: https://www.debian.org/support
ââ
ââ The unit php8.1-fpm.service has entered the 'failed' state with result 'exit-code'.
Jan 30 14:57:53 host.domain.com systemd[1]: Failed to start php8.1-fpm.service - The PHP 8.1 FastCGI Process Manager.
ââ Subject: A start job for unit php8.1-fpm.service has failed
ââ Defined-By: systemd
ââ Support: https://www.debian.org/support
ââ
ââ A start job for unit php8.1-fpm.service has finished with a failure.
ââ
ââ The job identifier is 118506 and the job result is failed.
Jan 30 14:57:53 host.domain.com systemd[1]: php8.1-fpm.service: Scheduled restart job, restart counter is at 5.
ââ Subject: Automatic restarting of a unit has been scheduled
ââ Defined-By: systemd
ââ Support: https://www.debian.org/support
ââ
ââ Automatic restarting of the unit php8.1-fpm.service has been scheduled, as the result for
ââ the configured Restart= setting for the unit.
Jan 30 14:57:53 host.domain.com systemd[1]: Stopped php8.1-fpm.service - The PHP 8.1 FastCGI Process Manager.
ââ Subject: A stop job for unit php8.1-fpm.service has finished
ââ Defined-By: systemd
ââ Support: https://www.debian.org/support
ââ
ââ A stop job for unit php8.1-fpm.service has finished.
ââ
ââ The job identifier is 118583 and the job result is done.
Jan 30 14:57:53 host.domain.com systemd[1]: php8.1-fpm.service: Start request repeated too quickly.
Jan 30 14:57:53 host.domain.com systemd[1]: php8.1-fpm.service: Failed with result 'exit-code'.
ââ Subject: Unit failed
ââ Defined-By: systemd
ââ Support: https://www.debian.org/support
ââ
ââ The unit php8.1-fpm.service has entered the 'failed' state with result 'exit-code'.
Jan 30 14:57:53 host.domain.com systemd[1]: Failed to start php8.1-fpm.service - The PHP 8.1 FastCGI Process Manager.
ââ Subject: A start job for unit php8.1-fpm.service has failed
ââ Defined-By: systemd
ââ Support: https://www.debian.org/support
ââ
ââ A start job for unit php8.1-fpm.service has finished with a failure.
ââ
ââ The job identifier is 118583 and the job result is failed.
Regarding gatekeeping claim:
I am aware that there are several applications that utilize features that are only available in 12. Immich, vaultwarden, Nextcloud are examples of apps that rely on features only available in 12.
Perhaps I am making this issue larger than life. I only have 3 real examples currently:
Peertube - ericg made peertube require 12, yalh reverted to 11.2.30
LSTU - why is this 12? I see no reason. Because helpers 2.1?
Filebrowser: requires 12 entirely arbitrarily.
The above mentality is what I was referring to with the last sentence in my previous post. I thought apps were requiring 12 just because of helpers 2.1.
I know that ericG is a pillar of YuNoHost given his countless contributions to the project. I appreciate the work that he, and you all do.
I apologize for my outburst.
Mailman3 fails to upgrade and seems to require a manual editing of a config file, at the present time: mailman daemon does not start after yunohost 12 upgrade · Issue #48 · YunoHost-Apps/mailman3_ynh · GitHub .
See my proposed PR for the FAQ : Add pointer for failed mailman3 by olberger · Pull Request #2552 · YunoHost/doc · GitHub
Hth,
I confirm that this is the problem in YunoHost 12.0. The default admin page used to be https://apps.xxxxx.yyy and after the update became https://xxxx.yyy/yunohost/sso . This bug needs to be fixed as the domain xxxx.yyy needs to be used by another website (blog).
Edit: I checked, and even other root domains that are added to the YunoHost have the âPortal Customizationâ option available (although these root domains do not redirect to the Yunohost portal page).
Jâai pu faire ma migration vers YunoHost v12 aujourdâhui : un grand coup de chapeau Ă lâĂ©quipe, celle-ci sâest vraiment bien passĂ©e, du premier coup et sans nouvelle alerte dans la partie diagnostic. Bravo !
Seul souci que je rencontre : certaines de mes applis nâaffichent plus leur icĂŽne dans le portail, alors que câĂ©tait le cas en v11. Voici les Ă©lĂ©ments de troubleshoot que jâai pu collecter :
- le problĂšme apparaĂźt dans tous les comptes sans distinction ;
- les applis restent accessibles par leur URL et entiĂšrement fonctionnelles ;
- lâoption âvisible en tuileâ est bien active pour les applis impactĂ©es, et jâai Ă©galement essayĂ© de la dĂ©sactiver/rĂ©activer, sans rĂ©sultat ;
- les droits dâaccĂšs aux applis sont corrects ;
- les applis sont toutes Ă jour, et celles qui ne lâĂ©taient pas ont Ă©tĂ© mises Ă jour dans leur derniĂšre version, lĂ aussi sans effet.
Quelquâun a-t-il eu ce problĂšme ? Je vais continuer Ă chercher une explication, mais en attendant, si quelquâun a une idĂ©e, je suis preneurâŠ
Merci encore aux admins pour cette upgrade !
[EDIT] Nevermind, je viens de voir la solution dans une rĂ©ponse un peu plus haut, avec lâoption âAfficher les applications dâautres domainesâ⊠Jâavais fait une recherche, mais je pense que je lâai faite alors que tous les commentaires nâĂ©taient pas chargĂ©s. Donc tout va bien, ouf ! ![]()
Bonsoir,
pour la rĂ©cupĂ©ration de mot de passe, ne sachant pas si lâoption Ă Ă©tĂ© prĂ©vue pour plus tardâŠ
Il pourrait ĂȘtre judicieux dâajouter un champ â@Mail de rĂ©cupĂ©rationâ,
en effet, si le mot de passe est perdu pour lâaccĂšs au serveur,
il lâest de fait Ă©galement pour le mail associĂ© ( sur le serveur )
Le prĂ©cĂ©dent post Ă©tait en anglais, mais lĂ câest plus simple pour moi de le faire en français :
Post migration vers yunohost 12, le serveur tournait bien. Plusieurs upgrades ainsi que lâinstallation de nouvelles applications semblaient sâĂȘtre dĂ©roulĂ©es sans erreurs.
Ensuite il a fallu effectuer plusieurs cycles arrĂȘt-dĂ©marrage au serveur. Câest aprĂšs ces cycles que jâai constatĂ© plusieurs problĂšmes :
Mastodon tourne, mais les versions de lâappli renseignĂ©es entre masto et yunohost sont diffĂ©rentes ce qui fait que jâai constamment la proposition de mise Ă jour. Sauf que lancer la mise Ă jour me remonte une erreur indiquant quâune sauvegarde avec ce nom existe dĂ©jĂ .
AprĂšs suppression du fichier backup bloquant et un sudo yunohost app upgrade mastodon --force, lâappli est Ă jour et fonctionnelle.
Lâinstance de Sharkey refuse de se lancer suite au dernier reboot.
Une upgrade forcée semble aussi avoir été la solution. (oui je ne fais pas dans la finesse, je sais)
Supervisor est en status âunknownâ. Quand je tente de le lancer Ă la main, jâobtiens
Failed to enable unit: Unit file supervisor.service does not exist.. Dans les log il sâavĂšre quâil a Ă©tĂ© redĂ©marrĂ© trop souvent et a fini par ĂȘtre dĂ©sactivĂ©.
Toujours dans les logs on trouve des erreurs liés à pixelfed-horizon :
PHP Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.3.0". You are running 8.2.27. in /var/www/pixelfed/vendor/composer/platform_check.php on line 26
AprĂšs une nouvelle upgrade forcĂ©e, supervisor tourne et ne remonte plus dâerreurs de version de php pour pixelfed-horizon.
Nextcloud a un soucis similaire Ă masto, une diffĂ©rence de version entre lâinterface admin yuno et lâinstance nextcloud. Une tentative dâinstall forcĂ©e donne : https://paste.yunohost.org/raw/detolatuka
Ăchec, il semble impossible dâeffectuer une nouvelle sauvegarde de lâappli. Ce qui est trĂšs gĂȘnant car je pensais avoir transfĂ©rĂ© les prĂ©cĂ©dentes sauvegardes (incluant celle de lâupgrade post migration) sur un HDD externe et Ă priori ce nâest pas le cas. Mais elles ne sont plus sur le stockage du serveur non plus.
Est-ce quâil y a plus de dĂ©tail sur ces fameux moyens de permettre ça : une API qui permettrait de coder des choses dans lâUI ? Est-ce que ça permettrait dâavancer sur : Force password reset upon new user account creation? ?
EDIT: Jâai lâimpression quâil nây a pas de doc nulle-part sur yunohost-portal-api⊠ou alors, Google nâest pas mon ami :-/
Bonsoir Ă tous,
Pour ma part, la montĂ©e de version sâest dĂ©roulĂ©e sans encombre. ![]()
Un trÚs grand merci à tous ceux qui ont contribué et surtout aux dev ! ![]()
Longue vie au projet.
Bien sincĂšrement.
Another (minor ?) issue with Mailman3 after upgrade : Strange list nonmembers seem to have appeared after upgrade to YNH 12 · Issue #53 · YunoHost-Apps/mailman3_ynh · GitHub
There seem to be strange mails present in the nonmember lists in Postorius for every legit members of the lists⊠but that seems quite harmless to me so far.
Hope this helps.
il y a eu une erreur similaire ici Upgrade Nextcloud de 29 Ă 30 - #7 by rodinux
est-ce que ce ne serait une erreur dans le script backup au sujet du changement de variable phpversion et php_version ? Dans le post, la cause Ă©tait un module quicknotes qui cassait lâupgradeâŠ
Salut,
La migration de mon serveur vers yunohost 12 a échoué.
Voici les derniĂšres lignes avant lâinterruption :
Info: [###################.] > 98.8% Installing python3-ldb
Info: [####################] > 100.0% Done
Info: Downloading...
Warning: E: Failed to fetch http://ftp.fr.debian.org/debian/pool/main/s/setuptools/python3-pkg-resources_66.1.1-1%2bdeb12u1_all.deb: Undetermined Error [IP: 2a01:e0c:1:1598::2 80]
Warning: E: Unable to fetch some packages; try '-o APT::Get::Fix-Missing=true' to continue with missing packages
Error: Migration 0027_migrate_to_bookworm did not complete, aborting. Error: Failed to run command 'aptitude full-upgrade --show-why -o Dpkg::Options::='--force-confold''
Info: The operation 'Run migrations' could not be completed. Please share the full log of this operation using the command 'yunohost log share 20250225-064929-tools_migrations_migrate_forward' to get help
Suite Ă cette Ă©chec jâai une erreur python qd jâutilise la commande yunohost (donc je ne peux pas rĂ©cupĂ©rer les logs proposĂ©s) :
sudo yunohost log share 20250225-064929-tools_migrations_migrate_forward
Traceback (most recent call last):
File "/usr/lib/python3.11/logging/config.py", line 389, in resolve
found = getattr(found, frag)
^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'moulinette.interfaces' has no attribute 'api'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.11/logging/config.py", line 391, in resolve
self.importer(used)
File "/usr/lib/python3/dist-packages/moulinette/interfaces/api.py", line 16, in <module>
from bottle import request, response, Bottle, HTTPResponse, FileUpload
File "/usr/lib/python3/dist-packages/bottle.py", line 44, in <module>
from inspect import getargspec
ImportError: cannot import name 'getargspec' from 'inspect' (/usr/lib/python3.11/inspect.py)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3.11/logging/config.py", line 562, in configure
handler = self.configure_handler(handlers[name])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/logging/config.py", line 724, in configure_handler
klass = self.resolve(cname)
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/logging/config.py", line 396, in resolve
raise v from e
ValueError: Cannot resolve 'moulinette.interfaces.api.APIQueueHandler': cannot import name 'getargspec' from 'inspect' (/usr/lib/python3.11/inspect.py)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/bin/yunohost", line 77, in <module>
yunohost.cli(
File "/usr/lib/python3/dist-packages/yunohost/__init__.py", line 35, in cli
init_logging(interface="cli", debug=debug, quiet=quiet)
File "/usr/lib/python3/dist-packages/yunohost/__init__.py", line 168, in init_logging
configure_logging(logging_configuration)
File "/usr/lib/python3/dist-packages/moulinette/utils/log.py", line 67, in configure_logging
dictConfig(logging_config)
File "/usr/lib/python3.11/logging/config.py", line 812, in dictConfig
dictConfigClass(config).configure()
File "/usr/lib/python3.11/logging/config.py", line 569, in configure
raise ValueError('Unable to configure handler '
ValueError: Unable to configure handler 'api'
Jâai tentĂ© 2 fois la migration (en revenant dans un Ă©tat prĂ©cĂ©dent grĂące Ă un snapshot lors du premiĂšre Ă©chec) et jâai eu 2 fois la mĂȘme erreur.
Comment résoudre ce problÚme de migration ?
Genre tu as vraiment eu dans deux tentative différente cette erreur précise � :
E: Failed to fetch http://ftp.fr.debian.org/debian/pool/main/s/setuptools/python3-pkg-resources_66.1.1-1%2bdeb12u1_all.deb: Undetermined Error [IP: 2a01:e0c:1:1598::2 80]
Oui jâai eu 2 fois lâerreur " Failed to fetch âŠ"
Jâai pas pris note du paquet concernĂ© Ă la deuxiĂšme tentative mais il me semble bien que câĂ©tait aussi
python3-pkg-resources_66.1.1-1%2bdeb12u1_all.deb
Jâai trouvĂ© ça bizarre car en me rendant Ă lâadresse via mon navigateur, le paquet Ă©tait bien accessibleâŠ
Je pense rĂ©essayer ce soir, peut-ĂȘtre en modifiant le sources.list de http://ftp.fr.debian.org vers http://ftp.debian.org
Quelles infos je peux vous donner pour identifier le problĂšme si il persiste ?
Donc aprĂšs avoir changĂ© le sources.list, la migration sâest bien passĂ©e !
Hello, big thanks to the @YunoHost team for this 12.0 release
!
I have done the migration this WE and most of the things went well.
Issues I encounter :
- Metronome app replacement doesnât have multi-domain support out of the box
- Metronome data arenât migrated from the old installation, clients reacts weirdly and donât reconnect into rooms/channels, I had to click on âJoin channelâ then it seems to work.
- Metronome have to restart but wait indefinitely during installation, I had to manually do
systemctl restart metronometo make it finish the installation - It seems there is no check for free space in
/varfor the PG migration from 13 to 15, so the first time it crash and auto relaunch in the background but I had to manually add to space to the partition so it can finish with success - PG migration doesnât report any progress and logs are empty
/var/log/postgresql/pg_upgradecluster-13-15-main.XXXX
List of apps I have : AgenDAV, Ampache, Baikal, Gitea, Kresus, Lufi, Mastodon, Metronome, Web App ( my blog ), Piwigo, some Redirect, riot, Roundcube, Rspamd, Seafile, Synapse, Tiny Tiny RSS, VPN Client, Wallabag
