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

Share link no appear in folder or any file #13619

Closed
xjunin opened this issue Jan 15, 2019 · 7 comments
Closed

Share link no appear in folder or any file #13619

xjunin opened this issue Jan 15, 2019 · 7 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug

Comments

@xjunin
Copy link

xjunin commented Jan 15, 2019

After upgrade from nextcloud 14.0.6 to 15.0.2 share link not work. In debbug view return "0: 'link' is not defined merged-share-backend.js (2520,4)".

I need help... Thanks.

share_off

Steps to reproduce

Expected behaviour

Tell us what should happen

Actual behaviour

Tell us what happens instead

Server configuration

Operating system: Ubuntu 16

Web server: Apache

Database: Postgres

PHP version: 7.2

Nextcloud version: 15.0.2 (see Nextcloud admin page)

Updated from an older Nextcloud/ownCloud or fresh install: Update from 14.0.2

Where did you install Nextcloud from: Univention 4.3 docker

Signing status:

Signing status
Login as admin user into your Nextcloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results here.

"No errors have been found."

List of activated apps:

App list
Enabled:
  - accessibility: 1.1.0
  - activity: 2.8.2
  - admin_audit: 1.5.0
  - cloud_federation_api: 0.1.0
  - comments: 1.5.0
  - dashboard: 6.0.0
  - dav: 1.8.1
  - federatedfilesharing: 1.5.0
  - federation: 1.5.0
  - files: 1.10.0
  - files_external: 1.6.0
  - files_external_gdrive: 0.2.5
  - files_fulltextsearch: 1.2.3
  - files_fulltextsearch_tesseract: 1.2.0
  - files_mindmap: 0.0.11
  - files_pdfviewer: 1.4.0
  - files_rightclick: 0.9.1
  - files_sharing: 1.7.0
  - files_texteditor: 2.7.0
  - files_trashbin: 1.5.0
  - files_versions: 1.8.0
  - files_videoplayer: 1.4.0
  - firstrunwizard: 2.4.0
  - fulltextsearch: 1.2.3
  - fulltextsearch_elasticsearch: 1.2.2
  - gallery: 18.2.0
  - logreader: 2.0.0
  - lookup_server_connector: 1.3.0
  - nextcloud_announcements: 1.4.0
  - notifications: 2.3.0
  - oauth2: 1.3.0
  - ojsxc: 3.4.3
  - onlyoffice: 2.1.2
  - password_policy: 1.5.0
  - provisioning_api: 1.5.0
  - serverinfo: 1.5.0
  - sharebymail: 1.5.0
  - socialsharing_diaspora: 1.0.4
  - socialsharing_email: 1.0.5
  - support: 1.0.0
  - survey_client: 1.3.0
  - systemtags: 1.5.0
  - theming: 1.6.0
  - twofactor_backupcodes: 1.4.1
  - updatenotification: 1.5.0
  - user_external: 0.5.0
  - user_ldap: 1.5.0
  - workflowengine: 1.5.0
Disabled:
  - bookmarks_fulltextsearch
  - encryption
  - richdocuments
  - socialsharing_facebook
  - socialsharing_googleplus
  - socialsharing_twitter

Nextcloud configuration:

Config report
{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "URL_DOMAIN",
            "IP"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "pgsql",
        "version": "15.0.2.0",
        "overwrite.cli.url": "https:\/\/URL_DOMAIN\/nextcloud",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "5432",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "updatechecker": "false",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "overwriteprotocol": "https",
        "overwritewbroot": "\/nextcloud",
        "htaccess.RewriteBase": "\/nextcloud",
        "ldapIgnoreNamingRules": false,
        "ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "maintenance": false,
        "mail_smtpmode": "smtp",
        "mail_smtpsecure": "tls",
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpauth": 1,
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "updater.secret": "***REMOVED SENSITIVE VALUE***",
        "theme": "",
        "loglevel": 2
    }
}

Are you using external storage, if yes which one: local/smb/sftp/...

Are you using encryption: yes/no

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...

LDAP configuration (delete this part if not used)

LDAP config
+-------------------------------+----------------------------------------------------------------------------+
| Configuration                 | s01                                                                        |
+-------------------------------+----------------------------------------------------------------------------+
| hasMemberOfFilterSupport      | 0                                                                          |
| homeFolderNamingRule          |                                                                            |
| lastJpegPhotoLookup           | 0                                                                          |
| ldapAgentName                 | cn=nextc-05464967,cn=memberserver,cn=computers,dc=DOMAIN,dc=com,dc=br |
| ldapAgentPassword             | ***                                                                        |
| ldapAttributesForGroupSearch  |                                                                            |
| ldapAttributesForUserSearch   | uid;givenName;sn;employeeNumber;mailPrimaryAddress                         |
| ldapBackupHost                |                                                                            |
| ldapBackupPort                |                                                                            |
| ldapBase                      | dc=DOMAIN,dc=com,dc=br                                                |
| ldapBaseGroups                | dc=DOMAIN,dc=com,dc=br                                                |
| ldapBaseUsers                 | dc=DOMAIN,dc=com,dc=br                                                |
| ldapCacheTTL                  | 600                                                                        |
| ldapConfigurationActive       | 1                                                                          |
| ldapDefaultPPolicyDN          |                                                                            |
| ldapDynamicGroupMemberURL     |                                                                            |
| ldapEmailAttribute            | mail                                                                       |
| ldapExperiencedAdmin          | 1                                                                          |
| ldapExpertUUIDGroupAttr       |                                                                            |
| ldapExpertUUIDUserAttr        |                                                                            |
| ldapExpertUsernameAttr        | uid                                                                        |
| ldapGidNumber                 | gidNumber                                                                  |
| ldapGroupDisplayName          | cn                                                                         |
| ldapGroupFilter               | (&(objectclass=nextcloudGroup)(nextcloudEnabled=1))                        |
| ldapGroupFilterGroups         |                                                                            |
| ldapGroupFilterMode           | 1                                                                          |
| ldapGroupFilterObjectclass    | nextcloudGroup                                                             |
| ldapGroupMemberAssocAttr      | uniqueMember                                                               |
| ldapHost                      | SERVER_DOMAIN                                                  |
| ldapIgnoreNamingRules         |                                                                            |
| ldapLoginFilter               | (&(objectclass=nextcloudUser)(nextcloudEnabled=1)(uid=%uid))               |
| ldapLoginFilterAttributes     |                                                                            |
| ldapLoginFilterEmail          | 0                                                                          |
| ldapLoginFilterMode           | 1                                                                          |
| ldapLoginFilterUsername       | 1                                                                          |
| ldapNestedGroups              | 0                                                                          |
| ldapOverrideMainServer        |                                                                            |
| ldapPagingSize                | 500                                                                        |
| ldapPort                      | 7389                                                                       |
| ldapQuotaAttribute            | nextcloudQuota                                                             |
| ldapQuotaDefault              |                                                                            |
| ldapTLS                       | 0                                                                          |
| ldapUserAvatarRule            | default                                                                    |
| ldapUserDisplayName           | displayname                                                                |
| ldapUserDisplayName2          |                                                                            |
| ldapUserFilter                | (&(objectclass=nextcloudUser)(nextcloudEnabled=1))                         |
| ldapUserFilterGroups          |                                                                            |
| ldapUserFilterMode            | 1                                                                          |
| ldapUserFilterObjectclass     |                                                                            |
| ldapUuidGroupAttribute        | auto                                                                       |
| ldapUuidUserAttribute         | auto                                                                       |
| turnOffCertCheck              | 0                                                                          |
| turnOnPasswordChange          | 0                                                                          |
| useMemberOfToDetectMembership | 0                                                                          |
+-------------------------------+----------------------------------------------------------------------------+

Client configuration

Browser: All (Firefox, chrome and Edge)

Operating system: Windows 10

Logs

Web server error log

Web server error log
Insert your webserver log here

Nextcloud log (data/nextcloud.log)

Nextcloud log
Insert your Nextcloud log here

Browser log

Browser log
Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...
@xjunin xjunin added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Jan 15, 2019
@gorenc
Copy link

gorenc commented Jan 16, 2019

Same problem.
Can not unshare as well.

@herrmannsdorfer
Copy link

Looks like you are running into this issue: nextcloud/socialsharing#29

Disable the app socialsharing_email and you are fine.

@xjunin
Copy link
Author

xjunin commented Jan 16, 2019

Hi,
Disable the socialsharing_email app, but the error still continues.

@Angeles912
Copy link

Hi,

i have solved the Problem with 2 Steps
Step1 I have Disabled the app socialsharing_email like @herrmannsdorfer said
Step2 I have Disabled the Setting "Allow users to share via link" load the Site new and enabled "Allow users to share via link" after that it works for me.

@xjunin
Copy link
Author

xjunin commented Jan 16, 2019

I performed the procedure but the error persists.
I also removed socialsharing_email and still nextcloud refers to erged-share-backend.js
I stopped the docker server and started again, I stopped only the httpd service, but nothing solves

@xjunin
Copy link
Author

xjunin commented Jan 16, 2019

Thanks for help.
I solve disable all socialsharing (diáspora, facebook, mail, tweeter...)

Thanks!!!

@xjunin xjunin closed this as completed Jan 16, 2019
@Huster-at-github
Copy link

I have this issue on several NC instances and nothing above resolved the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug
Projects
None yet
Development

No branches or pull requests

5 participants