serverinfo
serverinfo copied to clipboard
Add the ability to hide all irrelevant disks/partitions and network interfaces under settings/admin/serverinfo
Currently, in the web gui, under settings/admin/serverinfo, all disks and all partitions of the host os are displayed, including mountpoints like:
- tmpfs
- /boot/efi
- other disks
Additionally, all network interfaces are displayed as well, including all docker networks (and there are a lot of them)
My server hosts various services and thus has many partitions and networks, some of them are from docker. My admin page is currently horribly cluttered by all these partitions and network interfaces. A clear, precise overview is not possible.
I would really like the option to hide all irrelevant information so that the admin page only shows the storages that are used by nextcloud, in my case, that would be a single partition I created for nextcloud and the main network interface.
Hi, thanks for reporting :+1:
https://github.com/nextcloud/serverinfo/blob/638dc7b17f473ce0c7481c84ec839c6c94bfd7f5/lib/OperatingSystems/DefaultOs.php#L200-L202 feel free to extend the existing logic to skip more disks.
Hi, thanks for the information. I will do exactly that.
I'm also interested in this feature: we can have several mount points on the server that doesn't concern Nextcloud (and people who have access on this admin page are not sysadmins).
So I implemented an another optional filter: It can be activated in the system config. It's only a simple boolean, because the filtering is automatically based on the mount point: the disks is relevant if the mount path is parent of the PHP files or the data directory.
What do you think about that ?