0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

laravel queueではまった。

Posted at

laravelの非同期処理を実現するためqueue(jobテーブル)機能にて実装。
supervisorにてphp artisan queue:workを定期実行。

しばらく運用していたが、failed_jobsテーブルにログが出るように。

ErrorException: include(/var/www/html/vendor/composer/../egulias/email-validator/EmailValidator/EmailValidator.php): failed to open stream: No such file or directory in /var/www/html/vendor/composer/ClassLoader.php:444

あれこれ調べても分らないのでcomposerのクリアや
composer dump-autoloadしてもダメだったが
supervisorのデーモンを再起動で直った。

よくわからないけど
supervisorの子プロセスはphpのclassマップのリロードしないのかもしれない。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?