-
-
Notifications
You must be signed in to change notification settings - Fork 4.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
Email notification about new share #1277
Comments
same here |
Same here using Centos 7 with packaged apache and php7. |
same here |
The checkbox gets a 302, because |
I tought we covered everything. Let me dive into this. |
Stable10 fix is in #1394 |
Works well. Thx. |
Here too. Thanks. |
Works. Thank you very much |
#1394 is in for stable10. |
The email feature was removed with #657 |
Agreed. |
Steps to reproduce
If I share a file or directory, the notification email isn't send. But testing email from admin page work correctly. Other type of notification email (like Activity notification email) work correctly too.
Expected behaviour
Notification "Sharing email (HTML) will be send when I share a file o directory.
Actual behaviour
It doesn't send notification email.
Server configuration
Operating system:
Ubuntu 16.04.1
Web server:
Apache/2.4.18
Database:
Type: mysql
Version: 5.7.13
PHP version:
Version: 7.0.8
Memory Limit: 512.0 MB
Max Execution Time: 3600
Upload max size: 1.0 GB
Nextcloud version: (see Nextcloud admin page)
10.0 (stable)
Updated from an older Nextcloud/ownCloud or fresh install:
Update from ownCloud 9 to nextCloud 9 and then to nextCloud 10.
Where did you install Nextcloud from:
Onpromis. Downloaded from nextcloud.com/install
Signing status:
Signing status
List of activated apps:
App list
Enabled:
Disabled:
The content of config/config.php:
Config report
{
"system": {
"instanceid": "oc48vrlql87a",
"passwordsalt": "_REMOVED SENSITIVE VALUE",
"secret": "_REMOVED SENSITIVE VALUE",
"trusted_domains": [
"cloud.xxxx.cz",
"192.168.246.190",
"cloud.xxx.lcl"
],
"datadirectory": "/var/www/html/owncloud/data",
"overwrite.cli.url": "https://cloud.xxxx.cz/owncloud",
"dbtype": "mysql",
"version": "9.1.0.16",
"dbname": "owncloud",
"dbhost": "localhost",
"dbtableprefix": "oc_",
"dbuser": "_REMOVED SENSITIVE VALUE",
"dbpassword": "_REMOVED SENSITIVE VALUE",
"logtimezone": "UTC",
"installed": true,
"default_language": "cs_CZ",
"ldapIgnoreNamingRules": false,
"mail_from_address": "cloud",
"mail_smtpmode": "smtp",
"mail_domain": "xxxx.cz",
"mail_smtphost": "vm_mail1.xxx.lcl",
"mail_smtpport": "25",
"theme": "xxxx",
"memcache.local": "\OC\Memcache\APCu",
"loglevel": 3,
"maintenance": false,
"htaccess.RewriteBase": "/owncloud",
"updater.release.channel": "stable",
"ldapProviderFactory": "\OCA\User_LDAP\LDAPProviderFactory",
"trashbin_retention_obligation": "auto, 30"
}
}
Are you using external storage, if yes which one: local/smb/sftp/...
no
Are you using encryption: yes/no
no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
ActiveDirectory
LDAP configuration (delete this part if not used)
LDAP config
+-----------+-----------------------------------+--------------------------------------------------------------------------------------------+
| appid | configkey | configvalue |
+-----------+-----------------------------------+--------------------------------------------------------------------------------------------+
| user_ldap | cleanUpJobOffset | 250 |
| user_ldap | enabled | yes |
| user_ldap | has_memberof_filter_support | 1 |
| user_ldap | home_folder_naming_rule | |
| user_ldap | installed_version | 1.0.1 |
| user_ldap | last_jpegPhoto_lookup | 0 |
| user_ldap | ldap_agent_password | *** |
| user_ldap | ldap_attributes_for_group_search | |
| user_ldap | ldap_attributes_for_user_search | |
| user_ldap | ldap_backup_host | hdc2.xxx.lcl |
| user_ldap | ldap_backup_port | 389 |
| user_ldap | ldap_base | OU=Xxxx.cz,DC=xxx,DC=lcl |
| user_ldap | ldap_base_groups | OU=Xxxx.cz,DC=xxx,DC=lcl |
| user_ldap | ldap_base_users | OU=Xxxx.cz,DC=xxx,DC=lcl |
| user_ldap | ldap_cache_ttl | 600 |
| user_ldap | ldap_configuration_active | 1 |
| user_ldap | ldap_display_name | displayname |
| user_ldap | ldap_dn | CN=ownCloud srv,OU=SERVICES,OU=Other Accounts,DC=xxx,DC=lcl |
| user_ldap | ldap_dynamic_group_member_url | |
| user_ldap | ldap_email_attr | mail |
| user_ldap | ldap_experienced_admin | 1 |
| user_ldap | ldap_expert_username_attr | |
| user_ldap | ldap_expert_uuid_group_attr | |
| user_ldap | ldap_expert_uuid_user_attr | |
| user_ldap | ldap_group_display_name | cn |
| user_ldap | ldap_group_filter | |
| user_ldap | ldap_group_filter_mode | 0 |
| user_ldap | ldap_group_member_assoc_attribute | member |
| user_ldap | ldap_groupfilter_groups | |
| user_ldap | ldap_groupfilter_objectclass | |
| user_ldap | ldap_host | hdc1.xxx.lcl |
| user_ldap | ldap_login_filter | (&(&(|(objectclass=user)))(|(samaccountname=%uid)(|(mailPrimaryAddress=%uid)(mail=%uid)))) |
| user_ldap | ldap_login_filter_mode | 0 |
| user_ldap | ldap_loginfilter_attributes | |
| user_ldap | ldap_loginfilter_email | 1 |
| user_ldap | ldap_loginfilter_username | 1 |
| user_ldap | ldap_nested_groups | 0 |
| user_ldap | ldap_override_main_server | |
| user_ldap | ldap_paging_size | 500 |
| user_ldap | ldap_port | 389 |
| user_ldap | ldap_quota_attr | |
| user_ldap | ldap_quota_def | |
| user_ldap | ldap_tls | 0 |
| user_ldap | ldap_turn_off_cert_check | 0 |
| user_ldap | ldap_user_display_name_2 | description |
| user_ldap | ldap_user_filter_mode | 0 |
| user_ldap | ldap_userfilter_groups | |
| user_ldap | ldap_userfilter_objectclass | user |
| user_ldap | ldap_userlist_filter | (&(|(objectclass=user))) |
| user_ldap | types | authentication |
| user_ldap | use_memberof_to_detect_membership | 1 |
+-----------+-----------------------------------+--------------------------------------------------------------------------------------------+
Browser:
Last chrome / IE
Operating system:
Windows 7/8/8.1/10
Logs
Web server error log
Web server error log
Nextcloud log
{"reqId":"gkHNRT0xA15oocRwD0RU","remoteAddr":"xxx.xxx.xxx.xxx","app":"index","message":"Exception: {"Exception":"Symfony\Component\Routing\Exception\MissingMandatoryParametersException","Message":"Some mandatory parameters are missing (\"fileid\") to generate a URL for route \"files.viewcontroller.showFile\".","Code":0,"Trace":"#0 \/var\/www\/html\/owncloud\/3rdparty\/symfony\/routing\/Generator\/UrlGenerator.php(136): Symfony\Component\Routing\Generator\UrlGenerator->doGenerate(Array, Array, Array, Array, Array, 'files.viewcontr...', 1, Array, Array)\n#1 \/var\/www\/html\/owncloud\/lib\/private\/Route\/Router.php(333): Symfony\Component\Routing\Generator\UrlGenerator->generate('files.viewcontr...', Array, 1)\n#2 \/var\/www\/html\/owncloud\/lib\/private\/Route\/CachingRouter.php(60): OC\Route\Router->generate('files.viewcontr...', Array, false)\n#3 \/var\/www\/html\/owncloud\/lib\/private\/URLGenerator.php(69): OC\Route\CachingRouter->generate('files.viewcontr...', Array)\n#4 \/var\/www\/html\/owncloud\/lib\/private\/URLGenerator.php(82): OC\URLGenerator->linkToRoute('files.viewcontr...', Array)\n#5 \/var\/www\/html\/owncloud\/lib\/private\/Share\/MailNotifications.php(126): OC\URLGenerator->linkToRouteAbsolute('files.viewcontr...', Array)\n#6 \/var\/www\/html\/owncloud\/core\/ajax\/share.php(77): OC\Share\MailNotifications->sendInternalShareMail(Array, '9914', 'folder')\n#7 \/var\/www\/html\/owncloud\/lib\/private\/Route\/Route.php(155) : runtime-created function(1): require_once('\/var\/www\/html\/o...')\n#8 [internal function]: __lambda_func()\n#9 \/var\/www\/html\/owncloud\/lib\/private\/Route\/Router.php(293): call_user_func('\x00lambda_1010', Array)\n#10 \/var\/www\/html\/owncloud\/lib\/base.php(967): OC\Route\Router->match('\/core\/ajax\/shar...')\n#11 \/var\/www\/html\/owncloud\/index.php(48): OC::handleRequest()\n#12 {main}","File":"\/var\/www\/html\/owncloud\/3rdparty\/symfony\/routing\/Generator\/UrlGenerator.php","Line":165}","level":3,"time":"2016-09-06T07:23:43+00:00","method":"POST","url":"/owncloud/index.php/core/ajax/share.php","user":"xxxxxxxx-xxxx-xxxx-xxxx-49433F05F065"}
Browser log
The text was updated successfully, but these errors were encountered: