The cron file is running the script as user
daemon. Some permissions may have changed and that's why it only runs correctly when you execute it as root.
We have a Support Tool that will gather relevant information for us to debug the issue. Could you please download and execute it on the machine where the stack is running by following the steps described in the guide below? You must click on the platform or cloud that you are using to find the correct instructions.
How to Run the Bitnami Support Tool
Please note that you need to paste the code outputted by the tool in your reply.