Unable to sync Nextcloud to Truenas 12 server

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:


Or for longer, use three backticks above and below the code snippet:


Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version 22.1.1
Operating system and version (eg, Ubuntu 18.04):
Apache or nginx version (eg, Apache 2.4.25): replace me
PHP version (eg, 7.4): replace me

Changing NAS from px4-300d to HP 40NL Microserver running TrueNAS 12
I’ve a WIn 10 desktop on the same network as the px4-300D NAS and the HP Microserver TrueNas and all can share/create/delete files between each other sucessfully so SMB is running fine.
Nextcloud sync is working well on the px4-300D NAS
However, when I try to set up a sync directory to the TrueNas server (using Nextcloud Windows client 3.4.2) I get the following message
‘Warning: You have no permission to write to the selected folder!’
Clearly permissions are ok between the three machines for file explorer to work.
Does Nextcloud SMB work differently and if so what permissions need changing?

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

Steps to replicate it:

The output of your Nextcloud log in Admin > Logging:


The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):


The output of your Apache/nginx/system log in /var/log/____: