Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mattermost: Database and data disk usage in dashboard #6191

Closed
andre8244 opened this issue Jun 3, 2020 · 6 comments
Closed

Mattermost: Database and data disk usage in dashboard #6191

andre8244 opened this issue Jun 3, 2020 · 6 comments
Labels
verified All test cases were verified successfully

Comments

@andre8244
Copy link
Contributor

andre8244 commented Jun 3, 2020

It would be useful to include in Dashboard page:

  • Disk usage of Mattermost postgres database
  • Disk usage of /var/lib/nethserver/mattermost directory
@nethbot
Copy link
Member

nethbot commented Jun 3, 2020

in 7.8.2003/testing:

  • nethserver-mattermost-1.4.6-1.4.ga1fcf3a.ns7.x86_64.rpm x86_64

@gsanchietti
Copy link
Member

Test case

  • Update an existing machine
  • Check the dshboard displays both database and disk usage

@gsanchietti gsanchietti added the testing Packages are available from testing repositories label Jun 3, 2020
@gsanchietti
Copy link
Member

gsanchietti commented Jun 3, 2020

The dashboard displays the wrong disk usage unit:
Screenshot from 2020-06-03 18-09-24

It should be G, in fact du report 5 Giga Bytes:

# du -sh /var/lib/nethserver/mattermost
5.2G	/var/lib/nethserver/mattermost

@gsanchietti gsanchietti removed the testing Packages are available from testing repositories label Jun 3, 2020
gsanchietti added a commit to NethServer/nethserver-mattermost that referenced this issue Jun 4, 2020
The UI expects the size in bytes, while du outputs kilo-bytes by default.

NethServer/dev#6191
@nethbot
Copy link
Member

nethbot commented Jun 4, 2020

in 7.8.2003/testing:

  • nethserver-mattermost-1.4.6-1.5.g2da4fdb.ns7.x86_64.rpm x86_64

@gsanchietti gsanchietti assigned gsanchietti and unassigned andre8244 Jun 4, 2020
@gsanchietti gsanchietti added the testing Packages are available from testing repositories label Jun 4, 2020
@gsanchietti
Copy link
Member

Now statistics are displayed correctly:
Screenshot from 2020-06-04 09-34-26

@gsanchietti gsanchietti added verified All test cases were verified successfully and removed testing Packages are available from testing repositories labels Jun 4, 2020
@gsanchietti gsanchietti removed their assignment Jun 4, 2020
@nethbot
Copy link
Member

nethbot commented Jun 4, 2020

in 7.8.2003/updates:

  • nethserver-mattermost-1.4.7-1.ns7.x86_64.rpm x86_64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
verified All test cases were verified successfully
Projects
None yet
Development

No branches or pull requests

3 participants