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

emalis don't fetching #3394

Closed
invmedia opened this issue Sep 14, 2023 · 9 comments
Closed

emalis don't fetching #3394

invmedia opened this issue Sep 14, 2023 · 9 comments

Comments

@invmedia
Copy link

Hi! Starting today, around 11:00, I have a problem with downloading e-mails in all mailboxes. I checked the box connection configuration - everything is OK. Cron has been added correctly. I tried to enter the system - tools, download emails - after a while I get the message "Whoops something went wrong". I looked in the logs (file: laravel-2023-09-14.log) and there is information about the time zone error (I have UTM + 2:00 set). logo content:
Call to a member function setTimezone() on null {"exception":"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Call to a member function setTimezone() on null at /home/daclawntee/domains/invmedia.com.pl/public_html/emailup/app/Console/Commands/FetchEmails.php:665)
[stacktrace]
#0 /home/daclawntee/domains/invmedia.com.pl/public_html/emailup/app/Console/Commands/FetchEmails.php(255): App\Console\Commands\FetchEmails->processMessage(Object(Webklex\ \IMAP\Message), '604125138.01694...', Object(App\Mailbox), Object(Illuminate\Database\Eloquent\Collection))
#1 /home/daclawntee/domains/invmedia.com.pl/public_html/emailup/app/Console/Commands/FetchEmails.php(115): App\Console\Commands\FetchEmails->fetch(Object(App\ \Mailbox))
#2 [internal function]: App\Console\Commands\FetchEmails->handle()
#3 /home/daclawntee/domains/invmedia.com.pl/public_html/emailup/overrides/laravel/framework/src/Illuminate/Container/BoundMethod.php(29): call_user_func_array(Array, Array)
#4 /home/daclawntee/domains/invmedia.com.pl/public_html/emailup/overrides/laravel/framework/src/Illuminate/Container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\ Container\{closure}()
#5 /home/daclawntee/domains/invmedia.com.pl/public_html/emailup/overrides/laravel/framework/src/Illuminate/Container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object (Illuminate\Foundation\Application), Array, Object(Closure))
#6 /home/daclawntee/domains/invmedia.com.pl/public_html/emailup/overrides/laravel/framework/src/Illuminate/Container/Container.php(549): Illuminate\Container\BoundMethod::call(Object (Illuminate\Foundation\Application), Array, Array, NULL)
#7 /home/daclawntee/domains/invmedia.com.pl/public_html/emailup/vendor/laravel/framework/src/Illuminate/Console/Command.php(183): Illuminate\Container\Container->call(Array )
#8 /home/daclawntee/domains/invmedia.com.pl/public_html/emailup/vendor/symfony/console/Command/Command.php(255): Illuminate\Console\Command->execute(Object(Symfony\ Component\Console\Input\ArgvInput), Object(Illuminate\Console\OutputStyle))
#9 /home/daclawntee/domains/invmedia.com.pl/public_html/emailup/vendor/laravel/framework/src/Illuminate/Console/Command.php(170): Symfony\Component\Console\Command\ Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Illuminate\Console\OutputStyle))
#10 /home/daclawntee/domains/invmedia.com.pl/public_html/emailup/vendor/symfony/console/Application.php(992): Illuminate\Console\Command->run(Object(Symfony\Component\ \Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /home/daclawntee/domains/invmedia.com.pl/public_html/emailup/vendor/symfony/console/Application.php(255): Symfony\Component\Console\Application->doRunCommand(Object(App\ \Console\Commands\FetchEmails), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /home/daclawntee/domains/invmedia.com.pl/public_html/emailup/vendor/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun(Object(Symfony\ \Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /home/daclawntee/domains/invmedia.com.pl/public_html/emailup/vendor/laravel/framework/src/Illuminate/Console/Application.php(88): Symfony\Component\Console\Application-> run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /home/daclawntee/domains/invmedia.com.pl/public_html/emailup/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(121): Illuminate\Console\Application->run (Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /home/daclawntee/domains/invmedia.com.pl/public_html/emailup/artisan(62): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input \ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 {main}
"}

Can I ask for help in solving the problem?

@freescout-helpdesk
Copy link
Contributor

You've probably enabled "Use date and time from mail headers" option. Change it to "Use actual fetching date and time".

@invmedia
Copy link
Author

Thank you, the error has disappeared but I am still unable to download the mail. I followed the steps from this link: https://github.com/freescout-helpdesk/freescout/wiki/Fetching-Emails I cleared the cache and it still doesn't download emails. What else could be the problem? I didn't install anything...

@freescout-helpdesk
Copy link
Contributor

Mark un-fetched emails as "Unread" in your mail server.

@invmedia
Copy link
Author

Marked undownloaded emails as "Unread" and still the same: https://prnt.sc/pxqF00EXNBOu

@invmedia
Copy link
Author

I tried to download e-mails in "system-tools", I get the error: "Whoops something went wrong"

@invmedia
Copy link
Author

???

@freescout-helpdesk
Copy link
Contributor

Check logs.

@invmedia
Copy link
Author

invmedia commented Sep 14, 2023

przesyłam 2 logi:
fetch-emails.log
laravel-2023-09-14.log

only 2 boxes receive emails

Repository owner deleted a comment from invmedia Sep 15, 2023
@freescout-helpdesk
Copy link
Contributor

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