/![:us: :us:](https://forum.yunohost.org/images/emoji/twitter/us.png?v=12)
My YunoHost server
Hardware: Computer with VM by Proxmox
YunoHost version: 11.2.11.3 (stable) with updated packages system the same day.
I have access to my server : Through SSH & through the webadmin & direct access via keyboard / screen
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : yes
Only adapted the Nginx for logs and works behind a Proxy SNI
Description of my issue
NextCloud previously worked on this server.
Yesterday, I updated it, but can’t log in (Means php working).
Because it was for tests, I removed it, and reinstalled it, but the the installation failled.
In the log, I saw that was a MySQL issue.
I restarter the server (easyer than connect to SSH at this time), but same problem, can’t install NextCloud.
Logs are here: 302 Found
I checked, in the MySQL, there is no Nextcloud users, and no databases for nextcloud.
Here, some parts form logs.
2024-04-27 23:38:51,361: DEBUG - + local _globalapp=nextcloud
2024-04-27 23:38:51,433: DEBUG - + app=nextcloud
2024-04-27 23:38:51,433: DEBUG - + [[ phpflags =~ (unprotected|protected|skipped)_ ]]
2024-04-27 23:38:51,433: DEBUG - + ynh_app_setting set nextcloud phpflags '--define;apc.enable_cli=1'
2024-04-27 23:38:52,082: INFO - [....................] > Migrate MySQL database to utf8...
2024-04-27 23:38:52,083: DEBUG - + ynh_mysql_connect_as --user=nextcloud --password=a143fcb65052109d959168ad --database=nextcloud
2024-04-27 23:38:52,158: DEBUG - + database=nextcloud
2024-04-27 23:38:52,158: DEBUG - + default_character_set=
2024-04-27 23:38:52,158: DEBUG - + '[' -n '' ']'
2024-04-27 23:38:52,158: DEBUG - + default_character_set=--default-character-set=latin1
2024-04-27 23:38:52,158: DEBUG - + mysql --user=nextcloud --password=a143fcb65052109d959168ad --default-character-set=latin1 --batch nextcloud
2024-04-27 23:38:52,446: WARNING - ERROR 1045 (28000): Access denied for user 'nextcloud'@'localhost' (using password: YES)
2024-04-27 23:38:52,447: DEBUG - + ynh_exit_properly
2024-04-27 23:38:52,447: DEBUG - + [[ install =~ ^install$|^upgrade$|^restore$ ]]
2024-04-27 23:38:53,972: ERROR - Impossible d'installer nextcloud : Une erreur est survenue dans le script d'installation de l'application
Mon serveur YunoHost
Matériel: ordinateur avec des VM par Proxmox
Version de YunoHost: 11.2.11.3 (stable) avec mise Ă jour des paquets le mĂŞme jour
J’ai accès à mon serveur : En SSH & webadmin & En direct avec un clavier/écran
Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : oui
J’ai modifié un peu Nginx pour les logs et de manière à ce que tout fonctionne parce que la VM est après un Proxy SNI
Description du problème
NextCloud a déjà fonctionné par le passé sur cette installation.
J’ai mis à jour NextCloud, mais après je n’ai pas réussi à m’identifier, mais je n’ai pas trop fait attention.
Comme c’était une installation de test, je l’ai désinstallé et réinstallé.
Mais l’installation à échoué.
J’ai vu que c’était une erreur MySQL, dans le doute, j’ai rebooté la VM (plus facile que de voir par SSH).
Cela n’a rien changé, l’installation échoua encore, avec cette erreur MySQL.
Les logs : 302 Found
Pour un extrait des logs, voir plus haut.
Bonne journée