You don't have permission to access this resource.Server unable to read htaccess file, denying access to be safe

It’s a brand new installation with version 22.2. the installation went well. Tried going to the install wizard, http://… the browser get this error message:
You don’t have permission to access this resource.Server unable to read htaccess file, denying access to be safe

#vi /etc/httpd/conf.d/nextcloud.conf
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html/nextcloud
ServerName
<Directory /var/www/html/nextcloud/>
Require all granted
AllowOverride All
Options FollowSymLinks MultiViews

    <IfModule mod_dav.c>
        Dav off
    </IfModule>
</Directory>

What’s wrong with my nextcloud?

1 Like

I’m having the same issue when trying to update Nextcloud 23.0.3, and I’m not sure why.

EDIT: I figured part of it out for myself - my Nextcloud’s updater directory did not have execute permissions. For the uninitiated, you must give “execute” permissions to directories in order for owners/groups (in this case, the user:group apache:apache, the user:group under which the HTTPD webserver runs) to “traverse” the folder and see what’s inside.

Sadly, something messed up during the upgrade and almost torched my Nextcloud install, so… back to square one. Might try a manual occ upgrade. :stuck_out_tongue: