-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
RFC-2822-error when sharing after upgrading from NC 12.0.2 to NC 12.0.3 #6744
Comments
Please check your nextcloud.log file. |
Sorry, that it took so long: I brought the instance back to 12.0.2 and can only do testing at weekend. I updated again to 12.0.3 and there really is no logging about this! I found out, that the error occurs, when I do not fill in an e-mail-address in the ajax-sharing-form. What can I do? |
Some further infos I found out:
For the moment I can help myself with storing an e-mail-address in the e-mail-server-settings. But why do I have to fill in an e-mail-address here for sharing ? There isn't any e-mail generated, when I share a folder with somebody else. And I do not want the nextcloud-system to send any e-mails. This problem started with 12.0.3. |
I have also error. From web: From server log: |
FYI - same error as in the issue title happened to a VAR partner when upgrading from 12.0.5 to 13.0.0, no LDAP though but local users.
|
Happening to me and it's annoying for all the users. Any fix? It's happening whenever someone tries to share something. |
Also getting this error in Nextcloud 13 with LDAP users |
I had the exact same symptoms on a fresh install of NC 13. The problem disappeared after configuring mail in "Settings->Extra Settings", specifically when I entered an email-address to use for sending mails. |
I am getting the same error running 13.01 |
I'm seeing this error when I try to share with another LDAP user after upgrading from 12.0.3 to 13.0.1:
Changing the "From address" on the "Additional Settings" admin page did not help. |
OK, I believe I have tracked down the source of this issue. I'm seeing these DEBUG messages in the nextcloud server log:
It appears that the domain is being removed from the email address in lib/private/Mail/Mailer.php. Here is a test to confirm the behavior:
Apparently, this is because INTL_IDNA_VARIANT_UTS46 was not available in my version of the ICU library. I'm looking for a workaround. |
I checked the 13 admin manual and saw that the recommended setup for running Nextcloud is "Red Hat Enterprise Linux 7". If this issue is not fixed then I believe the admin manual should be updated to say that RHEL 6 is not supported. |
@nickvergessen Please see my earlier comment about the source of this bug. I'd like to know if you'll be providing a minor version fix for this in 13 or if I need to look at moving to CentOS 7. |
This commit by @LukasReschke broke support for ICU 4.2.1 which is part of RHEL 6: |
Looks like this is a dup of #8387 |
Created PR to fix this here: #9095 |
@JaredBoone's PRs are merged → closing |
Steps to reproduce
Expected behaviour
The folder should be shared without the hint. All LDAP-Users in my installation have valid mail-adresses in the ldap-field “mail”. But that never was important since i use the userPrincipalName as internal username.
Actual behaviour
This error should - as in version 12.0.2 - not appear. The folder will be shared anyway, but to see the user in the list of people with whom the folder is shared, you have to select another folder first and then select the affected folder again.
Maybe related to #951?
Server configuration
Operating system: Debian 9
Web server: Apache 2
Database: MariaDB
PHP version: 7.0
Nextcloud version: 12.0.3
Updated from an older Nextcloud/ownCloud or fresh install: updated from 12.0.2
Where did you install Nextcloud from: zip from project-website
Signing status:
Signing status
No errors have been found.List of activated apps:
App list
Enabled: - activity: 2.5.2 - admin_audit: 1.2.0 - bruteforcesettings: 1.0.2 - dav: 1.3.0 - federatedfilesharing: 1.2.0 - federation: 1.2.0 - files: 1.7.2 - files_pdfviewer: 1.1.1 - files_sharing: 1.4.0 - files_texteditor: 2.4.1 - files_trashbin: 1.2.0 - files_versions: 1.5.0 - files_videoplayer: 1.1.0 - firstrunwizard: 2.1 - gallery: 17.0.0 - logreader: 2.0.0 - lookup_server_connector: 1.0.0 - nextcloud_announcements: 1.1 - notifications: 2.0.0 - oauth2: 1.0.5 - password_policy: 1.2.2 - provisioning_api: 1.2.0 - serverinfo: 1.2.0 - sharebymail: 1.2.0 - survey_client: 1.0.0 - theming: 1.3.0 - twofactor_backupcodes: 1.1.1 - updatenotification: 1.2.0 - user_ldap: 1.2.1 - workflowengine: 1.2.0 Disabled: - comments - encryption - files_external - systemtags - user_externalNextcloud configuration:
Config report
I switched back to 12.0.2-Snapshot: { "system": { "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "nextcloud.rsarnstorf.de", "www.nextcloud.rsarnstorf.de" ], "datadirectory": "\/srv\/nextcloud-data", "overwrite.cli.url": "https:\/\/nextcloud.rsarnstorf.de", "dbtype": "mysql", "version": "12.0.2.0", "dbname": "nextcloud", "dbhost": "localhost", "dbport": "", "dbtableprefix": "oc_", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "htaccess.RewriteBase": "\/", "ldapUserCleanupInterval": 15, "memcache.local": "\\OC\\Memcache\\APCu", "share_folder": "\/Mit mir geteilt", "ldapIgnoreNamingRules": false, "ldapProviderFactory": "\\OCA\\User_LDAP\\LDAPProviderFactory", "loglevel": 2, "maintenance": false, "instanceid": "ocmskkpv9em4" } }Are you using external storage, if yes which one: no
Are you using encryption: no
Are you using an external user-backend, if yes which one: LDAP
LDAP configuration (delete this part if not used)
LDAP config
+-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Configuration | |
+-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| hasMemberOfFilterSupport | 1 |
| hasPagedResultSupport | |
| homeFolderNamingRule | |
| lastJpegPhotoLookup | 0 |
| ldapAgentName | CN=Administrator,CN=Users,DC=rsa-sn,DC=intra |
| ldapAgentPassword | *** |
| ldapAttributesForGroupSearch | |
| ldapAttributesForUserSearch | |
| ldapBackupHost | |
| ldapBackupPort | |
| ldapBase | OU=School,DC=rsa-sn,DC=intra |
| ldapBaseGroups | OU=Groups,OU=School,DC=rsa-sn,DC=intra |
| ldapBaseUsers | OU=Users,OU=School,DC=rsa-sn,DC=intra |
| ldapCacheTTL | 600 |
| ldapConfigurationActive | 1 |
| ldapDefaultPPolicyDN | |
| ldapDynamicGroupMemberURL | |
| ldapEmailAttribute | mail |
| ldapExperiencedAdmin | 1 |
| ldapExpertUUIDGroupAttr | |
| ldapExpertUUIDUserAttr | |
| ldapExpertUsernameAttr | userPrincipalName |
| ldapGidNumber | gidNumber |
| ldapGroupDisplayName | cn |
| ldapGroupFilter | (&(|(objectclass=group))(|(cn=5a)(cn=5b)(cn=5c)(cn=5d)(cn=5e)(cn=5f)(cn=6a)(cn=6b)(cn=6c)(cn=6d)(cn=6e)(cn=6f)(cn=7a)(cn=7b)(cn=7c)(cn=7d)(cn=7e)(cn=7f)(cn=8a)(cn=8b)(cn=8c)(cn=8d)(cn=8e)(cn=8f)(cn=9a)(cn=9b)(cn=9c)(cn=9d)(cn=9e)(cn=9f)(cn=10a)(cn=10b)(cn=10c)(cn=10d)(cn=10e)(cn=10f)(cn=lehrer)(cn=schueler)(cn=schulleitung)(cn=erweiterte-schulleitung))) |
| ldapGroupFilterGroups | 5a;5b;5c;5d;5e;5f;6a;6b;6c;6d;6e;6f;7a;7b;7c;7d;7e;7f;8a;8b;8c;8d;8e;8f;9a;9b;9c;9d;9e;9f;10a;10b;10c;10d;10e;10f;lehrer;schueler;schulleitung;erweiterte-schulleitung |
| ldapGroupFilterMode | 0 |
| ldapGroupFilterObjectclass | group |
| ldapGroupMemberAssocAttr | member |
| ldapHost | 10.1.1.5 |
| ldapIgnoreNamingRules | |
| ldapLoginFilter | (&(objectclass=)(samaccountname=%uid)) |
| ldapLoginFilterAttributes | |
| ldapLoginFilterEmail | 0 |
| ldapLoginFilterMode | 0 |
| ldapLoginFilterUsername | 1 |
| ldapNestedGroups | 0 |
| ldapOverrideMainServer | |
| ldapPagingSize | 0 |
| ldapPort | 389 |
| ldapQuotaAttribute | postOfficeBox |
| ldapQuotaDefault | |
| ldapTLS | 0 |
| ldapUserDisplayName | displayname |
| ldapUserDisplayName2 | |
| ldapUserFilter | (objectclass=) |
| ldapUserFilterGroups | |
| ldapUserFilterMode | 0 |
| ldapUserFilterObjectclass | |
| ldapUuidGroupAttribute | auto |
| ldapUuidUserAttribute | auto |
| turnOffCertCheck | 0 |
| turnOnPasswordChange | 0 |
| useMemberOfToDetectMembership | 1
Client configuration
Browser: Chrome
Operating system: Window 10
Logs
Web server error log
Web server error log
Nextcloud log (data/nextcloud.log)
Nextcloud log
Browser log
Browser log
The text was updated successfully, but these errors were encountered: