Merci pour votre effort. Je suis yunohoster depuis 2 mois et je découvre encore de nouvelles possibilités pour aller plus loin avec mon serveur.
Cette version est très simple, ergonomique et l’interface est très rapide.
Je me posais juste des réflexions sur la possibilité d’ajouter quelques indicateurs de santé et sécurité en haut de la page d’accueil de webadmin, du genre : température cpu, état Smart du disque dur, espace disque libre et occupé, RAM libre, etc…
Autre suggestion : ajouter l’espace occupé par chaque application dans la rubrique applications et celui occupé par chaque utilisateur dans la rubrique utilisateurs.
Pour info la plupart de ces infos sont dispo dans le diagnostique
Ce serait chouette mais ça demande pas mal de boulot. Pour le poids des apps il y a eu un premier développement qui permettra au moins de savoir le poids des données des apps.
Le diagnostic prend beaucoup de temps pour afficher les données. Je ne trouve que l’espace disque occupé / libre et la mémoire physique et swap occupée et libre. Pour les températures j’utilise netdata (affiche en temps réel toutes les données que j’ai cité sauf pour l’état smart du disque, même si j’ai lu sur le site de netdata qu’il est possible de l’afficher, sauf que je suis novice, j’apprends tout les jours de nouvelles choses du monde Linux, mais je ne comprends pas trop comment faire). J’ai trouvé par ailleurs une commande (ssh) pour le faire.
Sinon pour les tailles des dossiers data des différentes applications j’utilise la commande suivante : sudo du -shc * | sort -h
La dernière fois que j’avais écrit des lignes de code c’était il y a un peu plus de 20 ans . J’aurais bien aimé aider (je veux bien commencer mais je n’ai aucune idée par où commencer surtout que j’ai peu de temps libre).
Je vous remercie encore une fois pour vos efforts et vos réponses.
Bizarre, j’ai la même chose ce soir. Le chemin change bien dans la barre d’adresse mais la page ne change pas en utilisant les boutons “Avancer” et “Reculer” du navigateur.
J’utilise déjà netdata, hypercomplet (peut être un peu trop) sauf l’état smart du disque dur, je n’arrive pas à l’afficher que ce soit sur netdata ou PhpSysInfo. J’utilise des commandes ssh. Savoir quand le disque de son serveur va lâcher est assez important, surtout si on compte y mettre plusieurs applications et données.
Mais smartd n’envoie pas par défaut un mail à l’admin quand un disque présente des soucis ?
(J’ai reçu et ignoré ces mails plusieurs mois avant de devoir changer des disques dans l’urgence quand c’était presque trop tard)
Mais j’avais peat-etre bidouillé quelquechose et suivi des tutos sur smartd…
Merci pour cette belle mise à jour, j’ai hâte de tester cette nouvelle interface.
Quelques soucis aussi après la mise à jour, avec ce log dans yunohost-api.log
OSError: [Errno 98] Address already in use: ('localhost', 6787)
2021-05-22 18:16:18,251 ERROR moulinette (unknown function) - A server is already running on that port
2021-05-22 18:16:20,129 DEBUG moulinette.interface __init__ - initializing base actions map parser for api
2021-05-22 18:16:20,155 DEBUG moulinette.actionsmap __init__ - loading actions map namespace 'yunohost'
2021-05-22 18:16:20,159 DEBUG moulinette.actionsmap _construct_parser - building parser...
2021-05-22 18:16:20,251 DEBUG moulinette.actionsmap _construct_parser - building parser took 0.092s
2021-05-22 18:16:20,450 DEBUG moulinette.interface.api (unknown function) - starting the server instance in localhost:6787
2021-05-22 18:16:20,479 ERROR moulinette.interface.api (unknown function) - unable to start the server instance on localhost:6787: [Errno 98] Address already in use: ('localhost', 6787)
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/moulinette/interfaces/api.py", line 823, in run
server.serve_forever()
File "/usr/lib/python3/dist-packages/gevent/baseserver.py", line 362, in serve_forever
self.start()
File "/usr/lib/python3/dist-packages/gevent/baseserver.py", line 306, in start
self.init_socket()
File "/usr/lib/python3/dist-packages/gevent/pywsgi.py", line 1487, in init_socket
StreamServer.init_socket(self)
File "/usr/lib/python3/dist-packages/gevent/server.py", line 146, in init_socket
self.socket = self.get_listener(self.address, self.backlog, self.family)
File "/usr/lib/python3/dist-packages/gevent/server.py", line 157, in get_listener
return _tcp_listener(address, backlog=backlog, reuse_addr=cls.reuse_addr, family=family)
File "/usr/lib/python3/dist-packages/gevent/server.py", line 256, in _tcp_listener
sock.bind(address)
OS
Le service tente de redémarrer tout seul, donc j’ai une multitude de ces logs.
Redémarrer le service n’a rien changé.
root@monserveur:~# yunohost tools upgrade
Warning: Using 'yunohost tools upgrade' with --apps / --system is deprecated, just write 'yunohost tools upgrade apps' or 'system' (no -- prefix anymore)
Error: Please specify '--apps', or '--system'
Imho il faut dégager les -- dans la ligne Error : Please specify [...]
[fix] helpers: Define ynh_node_load_path to be compatible with ynh_replace_vars (06f8c1cc)
[doc] helpers: Add requirements for new helpers (2b0df6c3)
[fix] helpers: Set YNH_APP_BASEDIR as an absolute path (#1229, 27300282)
[fix] Tweak yunohost-api systemd config as an attempt to fix the API being down after yunohost upgrades (52e30704)
[fix] python3: encoding issue in nftable migrations (0f10b91f)
[fix] python3: Email on certificate renewing failed (#1227)
[fix] permissions: Remove warnings about legacy permission system (now reported in the linter) (#1228)
[fix] diagnosis, mail: Remove SPFBL because it triggers false positive (#1231)
[fix] diagnosis: DNS diagnosis taking an awful amount of time because of timeout (#1233)
[fix] install: Be able to init slapd in a chroot (= infamous broken ISO bug) (#1230)
[fix] Unicode password doesn’t log in (= infamous “can’t log in because password has weird chars” bug) (Moulinette#276)
[fix] User edit view submit button blocked because of empty quota (Yunohost-Admin#362)
[i18n] Translations updated for Catalan, Chinese (Simplified), Czech, Finnish, French, Galician, German, Polish
Thanks to all contributors <3 ! (Christian Wehrli, Éric Gaspar, José M, Krzysztof Nowakowski, ljf, Mico Hauataluoma, Radek S, Salamandar, Stephan Schneider, xaloc33, yahoo~~)
Regarding Moulinette#276, it seems that a systemctl restart yunohost-api is required before trying to change the password with a special char from the webadmin. Unfortunately, this is what I’ve done (without the api restart beforehand), and now I still cannot log as admin from the web interface (and sadly I cannot log as admin through ssh either ).
Hopefully I’ve set up a private/public keys beforehand, so my computer is allowed to ssh log in without prompting for the password, but I don’t know how I could change the admin password from there. Any thoughts ?
Thanks
EDIT: Sorry, this can be solved by using yunohost tools adminpw as root instead of passwd as admin. My bad!
EDIT2: So I can now login as admin with a password containing several special chars from the webadmin, but only if I set this password from command line yunohost tools adminpw. Setting the admin password with special chars from the webadmin (https://domain.name/yunohost/admin/#/tools/adminpw) seems to record it badly, because I cannot log in afterwards.
Bunch of minor/technical fixes and enhancements, see detailed changelogs: here, here and here
Thanks to all contributors ! (amirale qt, Anthony //, Bram, Christian Wehrli, cyxae, Éric Gaspar, Flavio Cristoforetti, Jorge Guerra, José M, Kay0u, Le Libre Au Quotidien, ljf, Luca, Meta Meta, Mico Hauataluoma, mifegui, opi, ppr, Stylix58, Tagada, yalh76)
Thanks to all contributors ! (amirale qt, Christian Wehrli, Éric Gaspar, Flavio Cristoforetti, José M, Kay0u, Krakinou, Krzysztof Nowakowski, ljf, Luca, mifegui, ppr, sagessylu)