what is the Permanent db entry on the Directories tab and how to change it

Problem/Question

Hi all.

I wanted to change the storage location of the persistent data for the client, which I believe I was able to do, however the netdata directory tab shows two different paths for Ephemeral db and Permanent db, and only Ephemeral db is pointing to the path of my choice.

Ephemeral db       /some/other/path
Permanent db       /opt/netdata/var/lib/netdata

I was not able to locate any info about permanent.db, or any setting to change that path.

Relevant docs you followed/actions you took to solve the issue

Environment/Browser/Agent’s version etc

netdata v2.3.1 running on a synology DSM 7
I reckon browser is not relevant

the relevant configuration AFAIK, from the Netdata UI itself…

[directories]
	#| >>> [directories].cache <<<
	#| datatype: text, default value: /opt/netdata/var/cache/netdata
	cache = /some/other/path

	# config = /opt/netdata/etc/netdata
	# stock config = /opt/netdata/usr/lib/netdata/conf.d
	# log = /opt/netdata/var/log/netdata
	# web = /opt/netdata/usr/share/netdata/web
	# lib = /opt/netdata/var/lib/netdata
	# cloud.d = /opt/netdata/var/lib/netdata/cloud.d
	# plugins = "/opt/netdata/usr/libexec/netdata/plugins.d" "/opt/netdata/etc/netdata/custom-plugins.d"
	# registry = /opt/netdata/var/lib/netdata/registry
	# home = /var/services/homes/netdata
	# stock health config = /opt/netdata/usr/lib/netdata/conf.d/health.d
	# health config = /opt/netdata/etc/netdata/health.d

What I expected to happen

I could not find documentation about Permanent db path and what it means.
It sounds like persistence for permanent nodes (?).
I was expecting it to be stored in the same path as set with the cache configuration setting.

Hi @ycdtosa - I have replied via email but also replying here as well for visibility.
This seems something specific to Synology’s packaging, as Netdata doesn’t make any distinction like this.