Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem while executing the cronjob to fetch faveo emails #8275

Open
1 of 3 tasks
hs-champi opened this issue Dec 14, 2023 · 0 comments
Open
1 of 3 tasks

Problem while executing the cronjob to fetch faveo emails #8275

hs-champi opened this issue Dec 14, 2023 · 0 comments

Comments

@hs-champi
Copy link

  • 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant