Can't create or write into the data directory with automount

I am trying to get next cloud up and running for the first time.

When I point a browser at server/nextcloud I get the setup wizard page asking me to create an admin account and password. I enter a username and password and configure the settings to use my mysql server. But when I click on “Finish Setup” I get the error:

Can’t create or write into the data directory /var/www/html/nextcloud/data (I have also tried /var/www/nextcloud)

I’m running apache on a centOS 7.5 server. I have the data directory setup to automount at /var/www/html/nextcloud/data from a windows share with the apache uid and gid. The mount works fine. If I su to apache I’m able to create files in that directory read files and remove them. I have other automounts from the same server (for plex) that also work just fine.

I see nothing in the error logs for apache.

What else can I try?

selinux disabled/configured?

https://docs.nextcloud.com/server/13/admin_manual/installation/selinux_configuration.html

Thank you for your reply.

Selinux had been configured according to that documentation. However, setting it temporarily to permissive got me past that error (and on to the next error. ha!)

I’ll redo