Set DB directory in config result in "[ERR] Failed to load any valid config file(s) ..."
After DB directory configuration like:
[db] directory = "C:\l2cpbg\l2cpbg.db"
Start of L2CPBG fail with: [ERR] Failed to load any valid config file(s) ./l2cpbg.conf, /etc/l2cpbg.conf, /usr/local/etc/l2cpbg.conf, C:\l2cpbg\l2cpbg.conf
Updated by Jörg Ebeling 8 months ago
- File l2cpbg_0.9.4beta3_amd64.deb l2cpbg_0.9.4beta3_amd64.deb added
- File l2cpbg_0.9.4beta3_armhf.deb l2cpbg_0.9.4beta3_armhf.deb added
- File l2cpbg_0.9.4beta3_windows-64bit.zip l2cpbg_0.9.4beta3_windows-64bit.zip added
Windows user who prefer to write their path with a backslash as path separator, need to write it as double backslash "\", because a single backslash is used as escape character in TOML. I.e.:
directory = "C:\\Program Files\\LDAP2CardDAV-Gateway\\db"
or write it in forward-slash style:
directory = "C:/Program Files/LDAP2CardDAV-Gateway/db"
The attached beta4 does some better error output if only a single backslash got entered.