SYSTEM INFORMATION | |
---|---|
OS type and version: Ubuntu 20.04 LTS | |
— | — |
Webmin version: 1.984 | |
Virtualmin version: 6.17-3 | |
Related products version: DigitalOcean Droplet (Ubuntu 18.04 LTS) |
Hello.
I do indeed have PHP-7.4
installed with several of its Modules including PHP-7.4-sqlite-3
. And yet, when, I’m trying to run a CRON Task in Webmin, I am facing this kind of error:
PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_sqlite' (tried: /usr/lib/php/20190902/pdo_sqlite (/usr/lib/php/20190902/pdo_sqlite: cannot open shared object file: No such file or directory), /usr/lib/php/20190902/pdo_sqlite.so (/usr/lib/php/20190902/pdo_sqlite.so: undefined symbol: php_pdo_unregister_driver)) in Unknown on line 0
PHP Warning: Module 'sqlite3' already loaded in Unknown on line 0
[2022-02-17T02:25:55+00:00] Running scheduled command: cronjob_event:log
[2022-02-17T02:25:55+00:00] Running scheduled command: automation:run
[2022-02-17T02:25:55+00:00] Running scheduled command: '/usr/bin/php7.4' 'artisan' queue:work --queue=default,batch --timeout=120 --tries=1 --max-time=180 > '/dev/null' 2>&1
[2022-02-17T02:28:56+00:00] Running scheduled command: '/usr/bin/php7.4' 'artisan' sender:verify > '/dev/null' 2>&1
[2022-02-17T02:28:56+00:00] Running scheduled command: '/usr/bin/php7.4' 'artisan' geoip:check > '/dev/null' 2>&1
In StreamHandler.php line 111:
The stream or file "/home/mydomain/domains/emm.mydomain.com/public_html/storage
/logs/laravel.log" could not be opened in append mode: failed to open strea
m: Permission denied
Why this error ???
How to overcome this error and successfully launch my CRON task ???
Please guide me please.