It worked! I actually have no idea at all why this didn't work with the Nextcloud option. Btw, thanks a lot for your help @dpoulton and @tessus.
Have a nice evening