Skip to content
Christian Müller edited this page Feb 27, 2019 · 1 revision

Random bits of things to remember:

I changed the user in /etc/supervisor/conf.d/laravel-worker.conf to ec2-user, reason was permissions for the logs

sudo chown ec2-user:root /var/app/current/storage/worker.log

According to my notes I changed /etc/supervisord.conf and added . /opt/elasticbeanstalk/support/envvars - but I'm not sure anymore what exactly that one solved. Env. vars were missing somewhere, but I could not figure out howto fix it, you fixed that somehow.

env variables was also a problem for the cronjob: * * * * * . /opt/elasticbeanstalk/support/envvars; php /var/app/current/artisan schedule:run >> /dev/null 2>&1

and this sudo chmod 0775 /var/app/current/storage/logs

Clone this wiki locally