Unable to run occ on nfs4 share

Nextcloud version: 28.0.6
Operating system and version: Ubuntu 20.04.6 LTS
Apache or nginx version: Apache/2.4.41
PHP version: PHP 8.2.19

The issue you are facing:

Unable to run occ commands from console when using nfs4 mounted as install directory under /var/www/html.
If I copy the files to local storage everything is ok.
Nextcloud is working fine from shared storage.
Same user/uid/gid on client side and on server side (napp-it on OmniOS).
The error I get is that the owner of occ file is not the same as http user. But it is. the problem is it is displayed as nobody because of the nfs share.

Is this the first time you’ve seen this error? (Y/N): N

I have been rolling with this issue for a very long time. Updates between Nextcloud versions were done only from webpage and maintenance mode activated/deactivated manually from config file.

Any idea how I would be able to make this work on external share?

I just decided, after moere than 2 years, to give up on nfs4 :).
I just forced nfsvers=3 in /etc/fstab and I’ll go with the flow.

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.