Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This is a mapping table of all general.json settings and general.cfg settings. Not all settings of general.json are present in general.cfg (and vice versa) because of new features. Key names in general.json are upper camel case always first-letter-uppercase (e.g. Base.SendStatisticSendstatistic, or Ipv4address), in general.cfg everything is capital letters (e.g. BASE.SENDSTATISTIC). Key names are not equal in all cases. Abbreviations may have special casing in general.json, e.g. FullURI. IP address format is always written as IPv4 and IPv6.Note, that LoxBerry::System/loxberry_system.php functions like get_miniservers use other casing for the values.

general.json introduced hierarchy of objects, that were not possible in the ini format. The general.json - like general.cfg - still maintains main sections as objects,, e.g. Base, Miniserver, Network.

...

general.jsonLB versiongeneral.cfgConfigured byPossible valuesDescription
Base2.0.2+BASE


Base.CloudDNSURIClouddnsuri
CLOUDDNS


Base.Lang
LANG


Base.SendStatisticSendstatistic
SENDSTATISTIC


Base.StartSetupStartsetup
STARTSETUP


Base.SystemLoglevelSystemloglevel
SYSTEMLOGLEVEL


Base.Version
VERSION


n/a
MINISERVERSMiniserver widget1-xThe number of Miniserver entries as [MINISERVERx].
Not required in general.json
n/a
INSTALLFOLDERImage<Path>LoxBerrys base folder /opt/loxberry
Not required anymore, use $ENV{'LBHOMEDIR'}
Log2Ram2.0.0+n/a


Log2ram.Compalg




Log2ram.Logdisksize




Log2ram.Manualconfigured




Log2ram.Ramlog




Log2ram.Size




Log2ram.Zl2r




Network2.0.2+NETWORK


Network.FriendlyNameFriendlyname
FRIENDLYNAME


Network.Interface
INTERFACE


Network.SSIDSsid
SSID


Network.WPAWpa
WPA


Network.IPv4Ipv4.DNSDns
DNS


Network.IPv4Ipv4.Gateway
GATEWAY


Network.IPv4Ipv4.IPAddressIpaddress
IPADDRESS


Network.IPv4Ipv4.Mask
MASK


Network.IPv4Ipv4.Type
TYPE


Network.IPv6Ipv6.DNSDns
DNS_IPv6


Network.IPv6Ipv6.IPAddressIpaddress
IPADDRESS_IPv6


Network.IPv6Ipv6.Mask
MASK_IPv6


Network.IPv6Ipv6.PrivacyExtPrivacyext
PRIVACYEXT_IPv6


Network.IPv6Ipv6.Type
TYPE_IPv6


Remote1.4.0+n/a


Remote.Autoconnect




Remote.Httpport




Remote.Httpproxy




SSDP2.0.2+SSDP


Disabled
DISABLED


UUIDUuid
UUID


Timeserver2.0.2+TIMESERVER


Timeserver.Method
METHOD


Timeserver.NTPServerNtpserver
SERVER


Timeserver.TimeMSNoTimemsno
n/a


Timeserver.Timezone
ZONETimeserver.


Update2.0.2+UPDATE


Branch
BRANCH


DryRunDryrun
DRYRUN


FailedScriptFailedscript
FAILED_SCRIPT


InstallTypeInstalltype
INSTALLTYPE


Interval
INTERVAL


KeepInstallFilesKeepinstallfiles
KEEPINSTALLFILES


KeepUpdateFilesKeepupdatefiles
KEEPUPDATEFILES


LatestSHALatestsha
LATESTSHA


ReleaseTypeReleasetype
RELEASETYPE


Watchdog1.4.0+n/a


Watchdog.Enable




Watchdog.Logging




Watchdog.Ping




Watchdog.Maxload1




Watchdog.Maxload5




Watchdog.Maxload15




Watchdog.Minmem




Watchdog.Maxtemp




Watchdog.Tempsensor




Webserver2.0.2+WEBSERVER


Port
PORT


PortHttpsPorthttps
n/a


Miniserver2.0.2+MINISERVERx


"x" is a string label with the number, The "x" object holds the data of each Miniserver



In general.json, each Miniserver is an object, named by the number ("1", "2",...)
In general.cfg, each Miniserver has a section [MINISERVERx], where x is starting at 1, maximal count in BASE.MINISERVERS
Miniserver.x.Admin
ADMIN


Miniserver.x.Admin_RAWraw
ADMIN_RAW


Miniserver.x.CloudURLCloudurl
CLOUDURL


Miniserver.x.CloudURLFTPPortCloudurlftpport
CLOUDURLFTPPORT


Miniserver.x.Credentials
CREDENTIALS


Miniserver.x.Credentials_RAWraw
CREDENTIALS_RAW


Miniserver.x.EncryptResponseEncryptresponse
ENCRYPTRESPONSE


Miniserver.x.FullURIFulluri
n/a


Miniserver.x.FullURIFulluri_RAWraw
n/a


Miniserver.x.IPAddressIpaddress
IPADDRESS


Miniserver.x.IPv6FormatIpv6format
n/a


Miniserver.x.Name
NAME


Miniserver.x.Note
NOTE


Miniserver.x.Pass
PASS


Miniserver.x.Pass_RAWraw
PASS_RAW


Miniserver.x.Port
PORT


Miniserver.x.PortHttpsPorthttps
n/a


Miniserver.x.PreferHttpsPreferhttps
n/a


Miniserver.x.SecureGatewaySecuregateway
SECUREGATEWAY


Miniserver.x.Transport
n/a


Miniserver.x.UseCloudDNSUseclouddns
USECLOUDDNS