after tinkering around with settings for almost a week I am out of ideas and so seems google. I want to install NC21 on a VM with an NFS share mounted to the path /mnt/www. I tried the following share setups on my file server:
Then I mounted this share on the webserver under /mnt/www. There is a folder on the base of that share that will contain any websites called html. I changed the apache config file 000-default.conf to:
DocumentRoot /mnt/www/html <Directory /mnt/www/html/> Options -Indexes Require all granted AllowOverride All Options FollowSymLinks MultiViews <IfModule mod_dav.c> Dav off </IfModule> </Directory>
With that change I was able to see the my default website now on the NFS share. After that I downloaded the web installer and executed it. All dependencies were found and I started the process of installing NC21. The package (nc.zip) was downloaded and properly unzipped. I clicked next to move to the config screen. That is the first time I ran into the issue that NC told me there was an error and I should check the logs. At that point there are no logs, it is a fresh install. Nothing is defined in the config.php. So I went into the NC folder and executed
sudo -u www-data php8.0 occ check
That was the first time I got an error that the file config.php could not be locked and that is where I am stuck now. I was able to install NC on a smb share but that is too slow. I want that speed that NFS is offering. Is anyone out there that can help?
I am sure it is a config thing but I could not find if it was a config thing on the NFS server or the apache2 server.
Thanks so much for your help.