Hi David, yes you are right - I forgot to commit a change while testing :(
In /usr/bin/openxpkiadm, line 1496 change "->get" to "->exists":
diff --git a/core/server/bin/openxpkiadm b/core/server/bin/openxpkiadm
index 6deb0db..978eb93 100755
--- a/core/server/bin/openxpkiadm
+++ b/core/server/bin/openxpkiadm
@@ -1496,7 +1496,7 @@ if ($cmd eq 'initdb') {
my $c = OpenXPKI::Config::Backend->new(LOCATION => $conf );
print "Checking config at $conf\n";
- if ($c->get('system')) {
+ if ($c->exists('system')) {
print "Config ok\n";
$ret = 0;
} else {
Oliver
Am 10.06.2018 um 13:49 schrieb David McNeill:
> Version (core): 2.0.3
>
> On a clean install, with no modification, running
>
> openxpkictl lintconfig
>
> gives the error
>
> requested value is not a scalar $VAR1 = {
> 'realms' => {
> 'ca-one' => {
> ...
> rest of config
> ...
> 'interval_loop_run' => 1
> }
> };
>
> It's not clear which value is not a scalar, most key value pairs seem to
> be singletons.
>
> How do I identify the error in the config?
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>
>
>
> _______________________________________________
> OpenXPKI-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openxpki-users
>
--
Protect your environment - close windows and adopt a penguin!
smime.p7s
Description: S/MIME Cryptographic Signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ OpenXPKI-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openxpki-users
