Project

General

Profile

Feature #39

Diagnostic function

Added by Anonymous over 1 year ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
General
Target version:

Description

Implementing a diagnostic function would help debugging by providing useful information on Yunohost instance:

  • debian version wheezy/jessie
  • yunohost version
  • running / non running services
  • apps installed (including community app)
  • server status like RAM and disk usage
  • packages versions
  • IP
  • main domain

Some information can be personal, so we need to carefully show them to the user.


Related issues

Related to YunoHost - Feature #263: Add argument to diagnostic command to paste result online Closed

Associated revisions

Revision 8593eb46
Added by opi 12 months ago

[enh] Diagnostic function. WIP #39

History

#1 Updated by opi 12 months ago

  • Description updated (diff)
  • Assignee set to opi
  • Target version set to 2.5.x

#2 Updated by mbugeia 12 months ago

Here are some way to retrieve informations:

Debian version:
cat /etc/debian_version
yunohost version
dpkg -s yunohost | grep 'Version'
running / non running services:
systemctl status (long but useful for support)
RAM
free -m
disk usage
df -h

#3 Updated by opi 12 months ago

Current status of development:

root@yunohost:/# yunohost tools diagnosis --private
host: Debian 8.3
kernel: 3.16.0-62-generic
packages: 
  yunohost: 2.3.9
  yunohost-admin: 2.3.4
  moulinette: 2.3.4
  ssowat: 2.3.0
system: 
  disks: 
    mapper/ubuntu--vg-root: Mounted on /host_src, 106.1GiB (10.3GiB free)
  memory: 
    ram: 3.5GiB (1.4GiB free)
    swap: 0B (0B free)
services: 
  postfix: inactive (enabled)
  rspamd: inactive (enabled)
  nginx: running (enabled)
  [...]
  php5-fpm: running (enabled)
  ssh: inactive (enabled)
applications: 
  dokuwiki: Dokuwiki
  wordpress: Blog
  wallabag: Wallabag
private: 
  public_ip: 
    IPv4: 111.222.333.444
    IPv6: 2a01:1234:beef:cafe:dead:beef:cafe:dead
  domains: 
    - my-yunohost.local
    - another-domain.com

#4 Updated by opi 12 months ago

@mbugeia : FYI YunoHost now support yunohost -v !

#5 Updated by mbugeia 12 months ago

@opi cool ! What do you think about systemctl status instead of yunohost service status ? For me systemctl give all the infos needed while the yunohost function give only a summary and sometime services (especially app specific service) are not properly reconized.

#6 Updated by opi 12 months ago

  • Related to Feature #263: Add argument to diagnostic command to paste result online added

#7 Updated by opi 12 months ago

  • Status changed from New to In Progress

#8 Updated by opi 12 months ago

  • Status changed from In Progress to Closed
  • Target version changed from 2.5.x to 2.4

#9 Updated by moul 3 months ago

  • Category changed from 6 to General

Also available in: Atom PDF