Notes for myself.
On the local enviroment, I had issues when using thirtybees project with smarty and get all the time the warning: Warning on line 84 in file /vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_writefile.php  chmod(): Operation not permitted
The issue was that my user didn’t had permission to run chmod(). The solution:
Add user on the /etc/apache2/apache2.conf
After save the conf file, just reload the apache2.