File names and folders with spaces causing issues

Did you double check the permissions for the folders/files to be 750? I’ve seen the script fail from softaculous on my host and it ended up making the file/folders 740 or 640. I had to go into the file manager and update the files there. I’ve also updated the file/folder permissions through the FTP as well. Although I don’t know how well this will work with encrypted files on the server. I found this help article from 2017 that might help
Nextcloud datafolder permissions