Hello,
i’ve installed invoice ninja v5 in self hosted vm. For some reason i got some problems:
- E-Mails wont work:
i changed my .env file.
MAIL_MAILER="smtp" MAIL_HOST="sslout.df.eu" MAIL_PORT="587" <-- also tried with 465. MAIL_USERNAME="info@xxxxxxx.de" MAIL_PASSWORD="xxxxxxx" MAIL_ENCRYPTION="tls" MAIL_FROM_ADDRESS="info@xxxxxxx.de" MAIL_FROM_NAME="Vertrieb"
And i am sure that my mail settings are fine.
an end via tinker (?) is also functionally:
timo@vertrieb:/usr/share/nginx/invoiceninja$ php artisan tinker Psy Shell v0.11.2 (PHP 7.4.3 — cli) by Justin Hileman >>> \Mail::raw('hello world', function($message) { ... $message->subject('Testing email')->to('tm@xxxxx.de'); ... }); => null >>>
i also received this test mail from tinker(?).
But when i send an invoice out of invoice ninja, i am not receiving the e-mail. Also there are no new logs in storage/logs/laravel.log (despite of activating API_DEBUG=TRUE)
(also i was searching for a “test e-mail-button” like during the setup → is there an option to test e-mails from invoiceninja page?
-
Aktivities per Invoice arent loading. The Stuck here:
-
No new system-log-entries are beeing generated, for this customer i tried to send the invoice:
(Last try: today, 18. Mai 2022)
- No new entries in storage/logs/laravel.log except of:
[2022-05-16 06:00:01] production.INFO: Performing Autobilling 2022-05-16 06:00:01 [2022-05-17 06:00:02] production.INFO: Performing Autobilling 2022-05-17 06:00:02 [2022-05-18 06:00:01] production.INFO: Performing Autobilling 2022-05-18 06:00:01
(so looks like crontab ist running)
I tried already:
chmod 777 /usr/share/nginx/invoiceninja -R (my inovice ninja webroot)
chown www-data /usr/share/nginx/invoiceninja -R
chgrp www-data /usr/share/nginx/invoiceninja -R
As root:
php artisan optmize
Does anyone know how to debug this stuff? Or does someone know how to solve that problems?