Cannot access ownCloud after upgrading to 9.1.2

hosting

#1

After upgrading, I am not able to get to the login screen. There are no errors in owncloud.log. In the webserver logs I find:

Cannot serve directory /home/xxx/domains/xxx/private_html/bestanden: No matching DirectoryIndex (none) found, and server-generated directory index forbidden by Options directive

Does anyone know how to solve this?


#2

I have done a clean installation of 9.1.2. I checked the differences in the .htaccess. The new installation had this extra:

> <IfModule mod_rewrite.c>
>   Options -MultiViews
>   RewriteRule ^core/js/oc.js$ index.php [PT,E=PATH_INFO:$1]
>   RewriteRule ^core/preview.png$ index.php [PT,E=PATH_INFO:$1]
>   RewriteCond %{REQUEST_FILENAME} !\.(css|js|svg|gif|png|html|ttf|woff|ico|jpg|jpeg)$
>   RewriteCond %{REQUEST_FILENAME} !core/img/favicon.ico$
>   RewriteCond %{REQUEST_FILENAME} !/remote.php
>   RewriteCond %{REQUEST_FILENAME} !/public.php
>   RewriteCond %{REQUEST_FILENAME} !/cron.php
>   RewriteCond %{REQUEST_FILENAME} !/core/ajax/update.php
>   RewriteCond %{REQUEST_FILENAME} !/status.php
>   RewriteCond %{REQUEST_FILENAME} !/ocs/v1.php
>   RewriteCond %{REQUEST_FILENAME} !/ocs/v2.php
>   RewriteCond %{REQUEST_FILENAME} !/updater/
>   RewriteCond %{REQUEST_FILENAME} !/ocs-provider/
>   RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge/.*
>   RewriteRule . index.php [PT,E=PATH_INFO:$1]
>   RewriteBase /
>   <IfModule mod_env.c>
>     SetEnv front_controller_active true
>     <IfModule mod_dir.c>
>       DirectorySlash off
>     </IfModule>
>   </IfModule>
> </IfModule>

I have copied the new .htaccess over the old and now it is working again.