This is a runbook that patches nextcloud plugins and core functionality
-
[] Locate the instance
Connection details (user@host:/path/to/nextcloud) into connection_details
run:
ruby_command do @uri = URI("ssh://" + connection_details) end
-
[] True LDAP group autocomplete
run:
ruby_command do #server @connection_details sed_cmd = %[sed -i "s/\$result = \$term . '\*';/\$result = '*' . \$term . '\*';/" apps/user_ldap/lib/Access.php] notice "URI TEST #{@uri.user}" notice "run #{sed_cmd}" end
-
[] Curl download timeout setting for update/app server communication
run:
ruby_command do sed_cmd = %[sed -i "s/'timeout' => 10,/'timeout' => 90/" lib/private/App/AppStore/Fetcher/Fetcher.php] notice "run #{sed_cmd}" end