Error 403 put when upload a new file on OSX

IMHO probably NextCloudPi would be the most appropriate solution for you.

:+1:

Please be aware that NC 17 cannot be called stable and one should consult the documentation:

More general advice: Avoid exotic experiments without due cause and stick to the more known Un*x flavours. Naturally, you can choose Ubuntu, CentOS, FreeBSD, ArchLinux and probably NextCloudPi or other flavours besides Debian Linux. Also available are some other OS …

Have a look here for macOS client background and possible trials:

Do not hesitate to come around again and tell us of your new results. Good luck.
:four_leaf_clover:

Happy hacking.
:sunny: