NC 14 seems to require a trailing slash in the specification of overwrite.cli.url in config/config.php ``` sudo -u www-data php /var/www/nextcloud/occ maintenance:update:htaccess ``` Without a trailing slash: > Error updating .htaccess file, not enough permissions or "overwrite.cli.url" set to an invalid URL? With a trailing slash: > .htaccess has been updated If this is a permanent situation, then these two files need updating: - [Installation on Linux](https://github.com/nextcloud/documentation/blob/master/admin_manual/installation/source_installation.rst) ([Pretty URLs](https://docs.nextcloud.com/server/14/admin_manual/installation/source_installation.html?highlight=pretty#pretty-urls)) - [config.sample.php](https://github.com/nextcloud/server/blob/master/config/config.sample.php) ([Line 464](https://github.com/nextcloud/server/blob/master/config/config.sample.php#L464))