According to the properties.ini file you shared with me:
However, when you used the custom module I shared with you, you found the error:
According to the logic on the module (which uses the Apache values obtained from the properties.ini), it should have run:
chown -R daemon:daemon /opt/lampstack-7.1.16-0/apps/owncloud/data
But for some reason it's not using the right user... Just to confirm this is the reason why it's failing. I created a new ownCloud module you can use on top of clean LAMP. Could you try using it?