Also, I would highly advise not to access your nextcloud data via SMB or AFP, Nextcloud isn’t designed this way.