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

There is a problem processing outgoing mail queue — an admin should check System Status and Recommendations #4216

Closed
pnkr opened this issue Sep 6, 2024 · 2 comments

Comments

@pnkr
Copy link

pnkr commented Sep 6, 2024

PHP version: 8.2.23
FreeScout version: 1.8.152
Database: Mysql (10.6.18-MariaDB-0ubuntu0.22.04.1)
Are you using CloudFlare: Yes
Are you using non-official modules: No

System status (PHP Extensions, Functions, Permissions) are all OK.
but queue: work reports this: queue:work Last run: ? Last successful run: ? Try to clear cache to force command to start.

I clear the cache but the same problem remains

The queue now has more than 100 jobs to be done but its just stuck.

I rebooted the server but the same issue persists.

I run php artisan freescout clear-cache but the queue does not start again

On my log files i see a list of issues like this

 file_put_contents(/site-url-path/storage/framework/cache/data/71/e7/71e745d13645beba997b5011324db8ee58db0e30): Failed to open stream: Permission denied {"exception":"[object] (ErrorException(code: 0): file_put_contents(/site-url-path/storage/framework/cache/data/71/e7/71e745d13645beba997b5011324db8ee58db0e30): Failed to open stream: Permission denied at /site-url-path/overrides/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:122) 

[stacktrace]
#0 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError()
#1 /site-url-path/overrides/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(122): file_put_contents()
#2 /site-url-path/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php(64): Illuminate\\Filesystem\\Filesystem->put()
#3 /site-url-path/overrides/laravel/framework/src/Illuminate/Cache/Repository.php(195): Illuminate\\Cache\\FileStore->put()
#4 /site-url-path/vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php(304): Illuminate\\Cache\\Repository->put()
#5 /site-url-path/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(221): Illuminate\\Cache\\CacheManager->__call()
#6 /site-url-path/app/Console/Kernel.php(179): Illuminate\\Support\\Facades\\Facade::__callStatic()
#7 /site-url-path/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(106): App\\Console\\Kernel->schedule()
#8 /site-url-path/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(89): Illuminate\\Foundation\\Console\\Kernel->defineConsoleSchedule()
#9 [internal function]: Illuminate\\Foundation\\Console\\Kernel->Illuminate\\Foundation\\Console\\{closure}()
#10 /site-url-path/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(831): call_user_func()
#11 /site-url-path/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(780): Illuminate\\Foundation\\Application->fireAppCallbacks()
#12 /site-url-path/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php(17): Illuminate\\Foundation\\Application->boot()
#13 /site-url-path/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(213): Illuminate\\Foundation\\Bootstrap\\BootProviders->bootstrap()
#14 /site-url-path/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(296): Illuminate\\Foundation\\Application->bootstrapWith()
#15 /site-url-path/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(119): Illuminate\\Foundation\\Console\\Kernel->bootstrap()
#16 /site-url-path/artisan(60): Illuminate\\Foundation\\Console\\Kernel->handle()
#17 {main}
"}

But the permissions on my system page is all OK.

@pnkr
Copy link
Author

pnkr commented Sep 6, 2024

in terminal i hit php artisan queue:work and the process starts but after a while it gets killed automaticaly.

Checking the logs I see a lot of tries like this
Send error. Connection could not be established with host xxxxxx [Connection timed out # 110]. Message-ID:xxxxxxx

and on send errors log list i see
Connection could not be established with host xxxxxx [Connection timed out #110]; File: /site-url-path/overrides/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php (271)

@freescout-help
Copy link
Collaborator

@pnkr pnkr closed this as completed Sep 19, 2024
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

2 participants