<div dir="ltr"><div><div><div>Thanks for your response,  Sunil.<br><br></div><div>My method was to install debian (jessie) using the instructions here: <a href="https://github.com/ssinyagin/pcengines-apu-debian-cd">https://github.com/ssinyagin/pcengines-apu-debian-cd</a>, upgrade it to "testing" and then install freedombox-setup.<br></div><div><br></div>Your questions led me back to my notes, and I see that I did have errors related to ldapd during freedombox-setup install, and then I may have failed to run setup afterwards. In any case, when I run setup now, I get some exceptions. I'm not sure if it's useful, but I'll paste the output of /usr/lib/freedombox/setup below.<br><br></div>I think my next step is to revert to debian jessie, and start the process over, taking better notes as I go, in the hopes of being able to ask a better question. I'll do that unless there's a more direct approach.<br></div><div>thanks again,<br></div><div>-Aaron<br><br></div><div><br><b>root@freedombox:/home/aaronf# /usr/lib/freedombox/setup > freedombox-setup.log 2>&1<br>root@freedombox:/home/aaronf# cat freedombox-setup.log<br></b>running /usr/lib/freedombox/setup.d/01_etckeeper-pre<br></div>info: Not setting git user.email.<br>running /usr/lib/freedombox/setup.d/86_plinth<br>Configuring Apache for Plinth...<br>Module headers already enabled<br>Module proxy already enabled<br>Considering dependency proxy for proxy_http:<br>Module proxy already enabled<br>Module proxy_http already enabled<br>Module rewrite already enabled<br>Considering dependency setenvif for ssl:<br>Module setenvif already enabled<br>Considering dependency mime for ssl:<br>Module mime already enabled<br>Considering dependency socache_shmcb for ssl:<br>Module socache_shmcb already enabled<br>Module ssl already enabled<br>Conf javascript-common already enabled<br>Site plinth already enabled<br>Site plinth-ssl already enabled<br>Done configuring Apache for Plinth.<br>Running Plinth setup...<br>[2017-01-06 22:47:50,689] plinth.__main__ INFO     Configuration loaded from file - /etc/plinth/plinth.config<br>[2017-01-06 22:47:50,691] plinth.__main__ INFO     Script prefix - /plinth<br>[2017-01-06 22:47:51,070] plinth.module_loader INFO     Module load order - ['apps', 'xmpp', 'transmission', 'quassel', 'system', 'users', 'snapshot', 'repro', 'dynamicdns', 'first_boot', 'owncloud', 'firewall', 'upgrades', 'radicale', 'help', 'datetime', 'openvpn', 'names', 'tor', 'config', 'networks', 'disks', 'deluge', 'mumble', 'roundcube', 'shaarli', 'monkeysphere', 'diagnostics', 'minetest', 'avahi', 'power', 'ikiwiki', 'letsencrypt', 'pagekite', 'security', 'ttrss', 'privoxy']<br>[2017-01-06 22:47:51,185] plinth.actions INFO     Executing command - ['sudo', '-n', '/usr/share/plinth/actions/firewall', 'get-enabled-services', '--zone', 'external']<br>[2017-01-06 22:47:53,521] plinth.modules.names INFO     Added domain unassigned of type domainname with services ['ssh']<br>[2017-01-06 22:47:53,556] plinth.actions INFO     Executing command - ['sudo', '-n', '/usr/share/plinth/actions/pagekite', 'is-disabled']<br>Unit pagekite.service could not be found.<br>[2017-01-06 22:47:55,015] plinth.actions INFO     Executing command - ['sudo', '-n', '/usr/share/plinth/actions/pagekite', 'get-kite']<br>[2017-01-06 22:47:56,480] plinth.setup   INFO     Running setup for modules, essential - True, selected modules - None<br>[2017-01-06 22:47:56,488] plinth.setup   INFO     Running module setup - users<br>[2017-01-06 22:47:58,008] plinth.setup   INFO     Running step for module - users, step - post<br>[2017-01-06 22:47:58,009] plinth.actions INFO     Executing command - ['sudo', '-n', '/usr/share/plinth/actions/users', 'setup']<br>[2017-01-06 22:48:04,339] plinth.actions ERROR    Error executing command - ['sudo', '-n', '/usr/share/plinth/actions/users', 'setup'], , Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 1.<br>invoke-rc.d: policy-rc.d denied execution of stop.<br>  Moving old database directory to /var/backups:<br><br>  Backup path /var/backups/unknown-2.4.44+dfsg-2.ldapdb exists. Giving up...<br>Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 1.<br>Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 1.<br>invoke-rc.d: policy-rc.d denied execution of restart.<br>Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 1.<br>debconf: DbDriver "_ENV_stack": unable to save changes to: libnss-ldapd/nsswitch<br>ldap_add: Server is unwilling to perform (53)<br>        additional info: no global superior knowledge<br>Traceback (most recent call last):<br>  File "/usr/share/plinth/actions/users", line 84, in create_organizational_unit<br>    stdout=subprocess.DEVNULL, check=True)<br>  File "/usr/lib/python3.5/subprocess.py", line 398, in run<br>    output=stdout, stderr=stderr)<br>subprocess.CalledProcessError: Command '['ldapsearch', '-Q', '-Y', 'EXTERNAL', '-H', 'ldapi:///', '-s', 'base', '-b', 'ou=users,dc=thisbox', '(objectclass=*)']' returned non-zero exit status 32<br><br>During handling of the above exception, another exception occurred:<br><br>Traceback (most recent call last):<br>  File "/usr/share/plinth/actions/users", line 159, in <module><br>    main()<br>  File "/usr/share/plinth/actions/users", line 155, in main<br>    subcommand_method(arguments)<br>  File "/usr/share/plinth/actions/users", line 51, in subcommand_setup<br>    configure_slapd()<br>  File "/usr/share/plinth/actions/users", line 70, in configure_slapd<br>    create_organizational_unit('users')<br>  File "/usr/share/plinth/actions/users", line 94, in create_organizational_unit<br>    check=True)<br>  File "/usr/lib/python3.5/subprocess.py", line 398, in run<br>    output=stdout, stderr=stderr)<br>subprocess.CalledProcessError: Command '['ldapadd', '-Q', '-Y', 'EXTERNAL', '-H', 'ldapi:///']' returned non-zero exit status 53<br><br>[2017-01-06 22:48:04,340] plinth.setup   ERROR    Error running setup - ('users', '', 'Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 1.\ninvoke-rc.d: policy-rc.d denied execution of stop.\n  Moving old database directory to /var/backups:\n\n  Backup path /var/backups/unknown-2.4.44+dfsg-2.ldapdb exists. Giving up...\nUse of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 1.\nUse of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 1.\ninvoke-rc.d: policy-rc.d denied execution of restart.\nUse of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 1.\ndebconf: DbDriver "_ENV_stack": unable to save changes to: libnss-ldapd/nsswitch\nldap_add: Server is unwilling to perform (53)\n\tadditional info: no global superior knowledge\nTraceback (most recent call last):\n  File "/usr/share/plinth/actions/users", line 84, in create_organizational_unit\n    stdout=subprocess.DEVNULL, check=True)\n  File "/usr/lib/python3.5/subprocess.py", line 398, in run\n    output=stdout, stderr=stderr)\nsubprocess.CalledProcessError: Command \'[\'ldapsearch\', \'-Q\', \'-Y\', \'EXTERNAL\', \'-H\', \'ldapi:///\', \'-s\', \'base\', \'-b\', \'ou=users,dc=thisbox\', \'(objectclass=*)\']\' returned non-zero exit status 32\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File "/usr/share/plinth/actions/users", line 159, in <module>\n    main()\n  File "/usr/share/plinth/actions/users", line 155, in main\n    subcommand_method(arguments)\n  File "/usr/share/plinth/actions/users", line 51, in subcommand_setup\n    configure_slapd()\n  File "/usr/share/plinth/actions/users", line 70, in configure_slapd\n    create_organizational_unit(\'users\')\n  File "/usr/share/plinth/actions/users", line 94, in create_organizational_unit\n    check=True)\n  File "/usr/lib/python3.5/subprocess.py", line 398, in run\n    output=stdout, stderr=stderr)\nsubprocess.CalledProcessError: Command \'[\'ldapadd\', \'-Q\', \'-Y\', \'EXTERNAL\', \'-H\', \'ldapi:///\']\' returned non-zero exit status 53\n')<br>Traceback (most recent call last):<br>  File "/usr/lib/python3/dist-packages/plinth/setup.py", line 81, in run<br>    self.module.setup(self, old_version=current_version)<br>  File "/usr/lib/python3/dist-packages/plinth/modules/users/__init__.py", line 58, in setup<br>    helper.call('post', actions.superuser_run, 'users', ['setup'])<br>  File "/usr/lib/python3/dist-packages/plinth/setup.py", line 120, in call<br>    return method(*args, **kwargs)<br>  File "/usr/lib/python3/dist-packages/plinth/actions.py", line 118, in superuser_run<br>    return _run(action, options, input, async, True)<br>  File "/usr/lib/python3/dist-packages/plinth/actions.py", line 180, in _run<br>    raise ActionError(action, output, error)<br>plinth.errors.ActionError: ('users', '', 'Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 1.\ninvoke-rc.d: policy-rc.d denied execution of stop.\n  Moving old database directory to /var/backups:\n\n  Backup path /var/backups/unknown-2.4.44+dfsg-2.ldapdb exists. Giving up...\nUse of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 1.\nUse of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 1.\ninvoke-rc.d: policy-rc.d denied execution of restart.\nUse of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 1.\ndebconf: DbDriver "_ENV_stack": unable to save changes to: libnss-ldapd/nsswitch\nldap_add: Server is unwilling to perform (53)\n\tadditional info: no global superior knowledge\nTraceback (most recent call last):\n  File "/usr/share/plinth/actions/users", line 84, in create_organizational_unit\n    stdout=subprocess.DEVNULL, check=True)\n  File "/usr/lib/python3.5/subprocess.py", line 398, in run\n    output=stdout, stderr=stderr)\nsubprocess.CalledProcessError: Command \'[\'ldapsearch\', \'-Q\', \'-Y\', \'EXTERNAL\', \'-H\', \'ldapi:///\', \'-s\', \'base\', \'-b\', \'ou=users,dc=thisbox\', \'(objectclass=*)\']\' returned non-zero exit status 32\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File "/usr/share/plinth/actions/users", line 159, in <module>\n    main()\n  File "/usr/share/plinth/actions/users", line 155, in main\n    subcommand_method(arguments)\n  File "/usr/share/plinth/actions/users", line 51, in subcommand_setup\n    configure_slapd()\n  File "/usr/share/plinth/actions/users", line 70, in configure_slapd\n    create_organizational_unit(\'users\')\n  File "/usr/share/plinth/actions/users", line 94, in create_organizational_unit\n    check=True)\n  File "/usr/lib/python3.5/subprocess.py", line 398, in run\n    output=stdout, stderr=stderr)\nsubprocess.CalledProcessError: Command \'[\'ldapadd\', \'-Q\', \'-Y\', \'EXTERNAL\', \'-H\', \'ldapi:///\']\' returned non-zero exit status 53\n')<br>[2017-01-06 22:48:04,346] plinth.__main__ ERROR    Error running setup - ('users', '', 'Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 1.\ninvoke-rc.d: policy-rc.d denied execution of stop.\n  Moving old database directory to /var/backups:\n\n  Backup path /var/backups/unknown-2.4.44+dfsg-2.ldapdb exists. Giving up...\nUse of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 1.\nUse of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 1.\ninvoke-rc.d: policy-rc.d denied execution of restart.\nUse of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 1.\ndebconf: DbDriver "_ENV_stack": unable to save changes to: libnss-ldapd/nsswitch\nldap_add: Server is unwilling to perform (53)\n\tadditional info: no global superior knowledge\nTraceback (most recent call last):\n  File "/usr/share/plinth/actions/users", line 84, in create_organizational_unit\n    stdout=subprocess.DEVNULL, check=True)\n  File "/usr/lib/python3.5/subprocess.py", line 398, in run\n    output=stdout, stderr=stderr)\nsubprocess.CalledProcessError: Command \'[\'ldapsearch\', \'-Q\', \'-Y\', \'EXTERNAL\', \'-H\', \'ldapi:///\', \'-s\', \'base\', \'-b\', \'ou=users,dc=thisbox\', \'(objectclass=*)\']\' returned non-zero exit status 32\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File "/usr/share/plinth/actions/users", line 159, in <module>\n    main()\n  File "/usr/share/plinth/actions/users", line 155, in main\n    subcommand_method(arguments)\n  File "/usr/share/plinth/actions/users", line 51, in subcommand_setup\n    configure_slapd()\n  File "/usr/share/plinth/actions/users", line 70, in configure_slapd\n    create_organizational_unit(\'users\')\n  File "/usr/share/plinth/actions/users", line 94, in create_organizational_unit\n    check=True)\n  File "/usr/lib/python3.5/subprocess.py", line 398, in run\n    output=stdout, stderr=stderr)\nsubprocess.CalledProcessError: Command \'[\'ldapadd\', \'-Q\', \'-Y\', \'EXTERNAL\', \'-H\', \'ldapi:///\']\' returned non-zero exit status 53\n')<br><div><br></div></div>