Running sudo ncp-update from my login shell has failed, and I dunno why.
I’m currently running v0.28.2, and when I ran sudo ncp-update from my login shell, I received the following error:
Unpacking pwauth (2.3.11-0.2) ...
Setting up libapache2-mod-authnz-external (3.3.2-0.1+b1) ...
apache2_invoke: Enable module authnz_external
apache2_reload: Your configuration is broken. Not restarting Apache 2
apache2_reload: AH00526: Syntax error on line 15 of /etc/apache2/sites-enabled/ncp.conf:
apache2_reload: Invalid command 'AuthType', perhaps misspelled or defined by a module not included in the server configuration
The end of the installation output closes with the following:
To activate the new configuration, you need to run:
systemctl restart apache2
NextCloudPi updated to version v0.30.0
When I tried to activate the new configuration, it went thusly:
pi@grumpy:~ $ systemctl restart apache2
Failed to restart apache2.service: The name org.freedesktop.PolicyKit1 was not provided by any .service files
See system logs and 'systemctl status apache2.service' for details.
Here is the relevant bit from the ncp.conf file:
<Directory /var/www/ncp-web/>
AuthType Basic
AuthName "ncp-web login"
AuthBasicProvider external
AuthExternal pwauth
Any thoughts about why this is happening? I can provide the full installer output if that seems germane.