-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
No email notification #20962
Comments
The background job is being restricted from sending emails, as your logs show. Please check any security measures such as SELinux, and make sure they are properly configured to allow access to the |
That was 1 time during 2 weeks. It does not connected to my problem, that message appear 1 time for 2 weeks, but I test notification 100 times during 2 weeks. |
@Landver Are you testing with different users? If not you need to tick the "Notify about your own actions via email" box in your personal settings to get notifications for your own actions. |
Yes, I tested with another admin user with another email clients, and another email servers |
So far this still looks like an environment issue. @nickvergessen is there any additional info that we look at ? @Landver you can try manually running your cron: |
Other idea: |
@PVince81 seems like cron doing his job as I asked him(each 15 min), here is example of log: At the same time there I see that apache each 15 min send mail, because cron want that, here is example: But I don't see at all in any logs something about my email, I can't find nothing with key word "gmail.com". It must be somewhere, because I use that email also as source email in admin panel of ownCloud, and also as my profile email. Here is example of commande that I used: |
|
Hi, |
In my fresh 8.2.1 installation was missing a " OCA\Activity\BackgroundJob\EmailNotification" record into the oc_jobs table. This record was present in an updated (8.2.1 from 8.0) installation on another server. |
Thanks paolotws! This solved my problem. I upgraded from 8.2 to 8.2.1 and didn't get any activity emails anymore. |
Might be caused by an issue we fixed with #21289 then. |
@nickvergessen Are deleted background jobs added again after #21289 ? |
Not automatically, but all apps readd their jobs on update |
Thanks for the info. So 8.2.3 will fix that and will also add the job again. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Steps to reproduce
Expected behaviour
I should receive notifications about changes.
Actual behaviour
But I not receive nothing. Only test emails.
Server configuration
Operating system:
Linux 3.10.0-229.20.1.el7.x86_64 x86_64
CentOS Linux 7 (Core)
Web server:
Server version: Apache/2.4.6 (CentOS)
Server built: Aug 24 2015 18:11:25
Database:
5.5.44-MariaDB MariaDB Server
PHP version:
php-mbstring-5.4.16-36.el7_1.x86_64
php-process-5.4.16-36.el7_1.x86_64
php-cli-5.4.16-36.el7_1.x86_64
php-gd-5.4.16-36.el7_1.x86_64
php-pecl-igbinary-1.2.1-1.el7.x86_64
php-common-5.4.16-36.el7_1.x86_64
php-pear-1.9.4-21.el7.noarch
php-xml-5.4.16-36.el7_1.x86_64
php-pdo-5.4.16-36.el7_1.x86_64
php-mysql-5.4.16-36.el7_1.x86_64
php-pecl-apcu-4.0.7-1.el7.x86_64
php-5.4.16-36.el7_1.x86_64
ownCloud version:
ownCloud 8.2.0 (stable)
Updated from an older ownCloud or fresh install:
I uploaded 9 gb files, created users and groups, and had been testing owncloud for 2 weeks. But you can say it's fresh install, because only 3 man test it.
List of activated apps:
sudo -u apache php occ app:list
Enabled:
Disabled:
The content of config/config.php:
I don't use in command public option, because: "The "--public" option does not exist. "
sudo -u apache php occ config:list system
{
"system": {
"instanceid": "oc2oi4887h9v",
"passwordsalt": "_REMOVED SENSITIVE VALUE",
"secret": "_REMOVED SENSITIVE VALUE",
"trusted_domains": [
"192.168.249.125",
"_",
"_"
],
"datadirectory": "/var/www/html/owncloud/data",
"overwrite.cli.url": "http://192.168.249.125/owncloud",
"dbtype": "mysql",
"version": "8.2.0.12",
"dbname": "clouddb",
"dbhost": "localhost",
"dbtableprefix": "oc",
"dbuser": "_REMOVED SENSITIVE VALUE",
"dbpassword": "_REMOVED SENSITIVE VALUE",
"logtimezone": "UTC",
"installed": true,
"loglevel": 2,
"memcache.local": "\OC\Memcache\APC",
"filelocking.enabled": "true",
"memcache.locking": "\OC\Memcache\APC",
"mail_smtpmode": "smtp",
"mail_from_address": "blablabla",
"mail_domain": "gmail.com",
"mail_smtphost": "smtp.gmail.com",
"mail_smtpport": "465",
"mail_smtpsecure": "ssl",
"mail_smtpauthtype": "LOGIN",
"mail_smtpauth": 1,
"mail_smtpname": "_REMOVED SENSITIVE VALUE_",
"mail_smtppassword": "_REMOVED SENSITIVE VALUE*"
Are you using external storage, if yes which one: local/smb/sftp/...
I do not use external storage
Are you using encryption: yes/no
No
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
No
Client configuration
Browser:
Chrome: Version 47.0.2526.73
Firefox
Operating system:
Windows 7 profesional
Logs
Web server error log
cat /var/log/httpd/ssl_error_log
[Thu Dec 03 17:03:00.596397 2015] [autoindex:error] [pid 61867] [client 192.168.249.1:60083] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
cat /var/log/httpd/error_log
error_log.txt
ownCloud log (data/owncloud.log)
owncloud (1).txt
Abowe is to much info in log, maybe it's easie for you to see log by some key words like:
tail -10000 /var/www/html/owncloud/data/owncloud.log |grep mail
{"reqId":"Vlblc0jDxWJXANWWnm3LMAAAAA8","remoteAddr":"192.168.249.1","app":"no app in context","message":"Error while running background job: Connection could not be established with host mail.io.com [Permission denied #13]","level":3,"time":"2015-11-26T10:56:56+00:00"}
or the same entry:
tail -10000 /var/www/html/owncloud/data/owncloud.log |grep background
{"reqId":"Vlblc0jDxWJXANWWnm3LMAAAAA8","remoteAddr":"192.168.249.1","app":"no app in context","message":"Error while running background job: Connection could not be established with host mail.io.com [Permission denied #13]","level":3,"time":"2015-11-26T10:56:56+00:00"}
Browser log
I have no idea what I can give you here
The text was updated successfully, but these errors were encountered: