Problem while executing the cronjob to fetch faveo emails
hs-champi opened this issue · comments
- Faveo Version : 2.0.3
- PHP version : 8.2.13
- Database Driver & Version : Server version: 11.1.3-MariaDB-1:11.1.3+maria~ubu2204 mariadb.org binary distribution
- Datenbank-Client Version: libmysql - mysqlnd 8.2.13
- Server specification : Ubuntu 22.04.3 LTS
Description:
Cronjob to fetch mails always returns exception when there is no plugin installed. Which is always the case after installation
Illuminate\Database\QueryException
could not find driver (SQL: select `name`, `path` from `plugins` where `status` = 1)
at /var/www/vhosts/faveo/faveo-helpdesk/vendor/laravel/framework/src/Illuminate/Database/Connection.php:760
756▕ // If an exception occurs when attempting to run a query, we'll format the error
757▕ // message to include the bindings with SQL, which will make this exception a
758▕ // lot more helpful to the developer instead of just the database's errors.
759▕ catch (Exception $e) {
➜ 760▕ throw new QueryException(
761▕ $query, $this->prepareBindings($bindings), $e
762▕ );
763▕ }
764▕ }
+20 vendor frames
21 /var/www/vhosts/faveo/faveo-helpdesk/app/Providers/AppServiceProvider.php:59
Illuminate\Database\Query\Builder::get()
22 /var/www/vhosts/faveo/faveo-helpdesk/app/Providers/AppServiceProvider.php:32
App\Providers\AppServiceProvider::registerPlugin()
Steps To Reproduce:
try to execute the cronjob:
/usr/bin/php -q /var/www/vhosts/faveo/faveo-helpdesk/artisan schedule:run
Downloaded from
-
master-branch
-
development-branch
and also with version 2.0.2 -
release-tag
Question: Is this an installation issue? Do i have to install a plugin to avoid this? Any help is welcome