New updates available

openmediavault 5.5.9

  • Update locales.
  • Issue #784: Use UDEV over /sys to get model and vendor information.
  • Issue #789: Read-only users or groups are not used in proftpd config.

openmediavault-snmp 5.0.2

  • Update locales.
  • Fix bug in snmpd.conf when using SNMP v3.

PAM feature request for PHP8

Today i created a feature request for PHP8 because i fear that the new upcoming major release will not support PAM anymore. With PHP7 this is already a pain because the PAM PECL extension needs to be patched to get it working. I fear this workaround will become a dead end for PHP8. This will be a major issue because OMV is requiring this feature. And i don’t think OMV is the only one that wants to use PAM for authentication. IMO this is an essential requirement for a programming language that is used in professional applications.

Hopefully this issue will become a broader attention due this blog post and feature request to increase the possibility to fully integrate PAM support in PHP8. If you want to support that please feel free to add a comment to the feature request.

OMV6 – First dashboard impressions

Adding custom dashboard widgets will be as easy as possible. Simply drop a JSON file to a specific directory and run a CLI command.

Examples:

{
	"id": "e2ed9a54-df38-11ea-8976-7786e66d5f43",
	"type": "rrd",
	"title": "CPU usage",
	"rrd": {
		"name": "cpu-0-hour.png"
	}
}
{
	"id": "1dc0ac9a-df14-11ea-8342-6fcac5f2e571",
	"title": "File Systems",
	"type": "datatable",
	"datatable": {
		"columns": [
			{
				"name": "Device",
				"prop": "devicefile",
				"flexGrow": 1,
				"sortable": true
			},
			{
				"name": "Label",
				"prop": "label",
				"flexGrow": 1,
				"sortable": true,
				"hidden": true
			},
			{
				"name": "Total",
				"prop": "size",
				"flexGrow": 1,
				"sortable": true,
				"cellTemplateName": "template",
				"cellTemplateConfig": "{{ size | tobytes | binaryunit | notavailable(\"-\") }}"
			},
			{
				"name": "Available",
				"prop": "available",
				"flexGrow": 1,
				"sortable": true,
				"cellTemplateName": "template",
				"cellTemplateConfig": "{{ available | tobytes | binaryunit | notavailable(\"-\") }}"
			},
			{
				"name": "Used",
				"prop": "used",
				"flexGrow": 1,
				"sortable": true,
				"cellTemplateName": "template",
				"cellTemplateConfig": "{{ used | tobytes | binaryunit | notavailable(\"-\") }}"
			}
		],
		"store": {
			"proxy": {
				"service": "FileSystemMgmt",
				"get": {
					"method": "enumerateFilesystems"
				}
			}
		},
		"sorters": [
			{
				"dir": "asc",
				"prop": "devicefile"
			}
		]
	}
}