For some strange reason i have started to get the below error. It happens when i try and do apply config in freepbx frontend
I did delete some files in tmp the other day but to try and fix it i did create a new cron.error in tmp and set to ownership and grp to asterisk, still no joy
Unable to continue. touch(): Unable to create file /tmp/cron.error because No such file or directory in /var/www/html/admin/libraries/BMO/Cron.class.php on line 279
#0 [internal function]: Whoops\Run->handleError(2, 'touch(): Unable...', '/var/www/html/a...', 279, Array)
#1 /var/www/html/admin/libraries/BMO/Cron.class.php(279): touch('/tmp/cron.error')
#2 /var/www/html/admin/libraries/BMO/Cron.class.php(164): FreePBX\Cron->installCrontab(Array)
#3 /var/www/html/admin/libraries/Builtin/UpdateManager.php(231): FreePBX\Cron->remove('11 4 * * * [ -e...')
#4 /var/lib/asterisk/bin/retrieve_conf(1012): FreePBX\Builtin\UpdateManager->updateCrontab()
#5 {main}
Also in asterisk CLI i get the following when doing apply config in freepbx
Just a quick update i tried everything , changing permissions to tmp , deleting and creating a new tmp
Changing ownership and groups etc and nothing seemed to do it. So i just re-booted the machine. It was ok in my case as its only a dev server and no big issues around re-booting it
Sorry I know this doesn’t really solve any problems but its what I ended up doing