Skip to content

Domain user cannot access files via Web or Client, or WebDAV - Invalid recipient #26683

Closed
@turin13

Description

@turin13

Steps to reproduce

  1. Try to login as one of the affected users (currently 5 such users)
  2. Get Internal server error upon successful login with Remote Address (user's IP) and Request ID
  3. Get error in the owncloud.log (see below)

Expected behaviour

Normal login and access to the files

Server configuration

Operating system:

Ubuntu 14.04 x86_64

Web server:

Apache/2.4.7 (Ubuntu)

Database:

MySQL Distrib 5.5.53, for debian-linux-gnu on x86_64

PHP version:

PHP 5.5.9-1ubuntu4.20
Zend Engine v2.5.0

ownCloud version: (see ownCloud admin page)

ownCloud 9.1.2 (stable)

Updated from an older ownCloud or fresh install:

Update from previous major version (done several tymes)

Where did you install ownCloud from:

Ubuntu repository (deb)

Signing status (ownCloud 9.0 and above):

No errors have been found.

List of activated apps:

Enabled:
  - activity: 2.3.2
  - comments: 0.3.0
  - dav: 0.2.7
  - federatedfilesharing: 0.3.0
  - files: 1.5.1
  - files_antivirus: 0.9.0.0
  - files_pdfviewer: 0.8.1
  - files_sharing: 0.10.0
  - files_texteditor: 2.1
  - files_trashbin: 0.9.0
  - files_versions: 1.3.0
  - firstrunwizard: 1.1
  - gallery: 15.0.0
  - notifications: 0.3.0
  - provisioning_api: 0.5.0
  - systemtags: 0.3.0
  - templateeditor: 0.1
  - updatenotification: 0.2.1
  - user_ldap: 0.9.0

The content of config/config.php:

{
    "system": {
        "updatechecker": false,
        "instanceid": "ID",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
			DOMAINS
        ],
        "datadirectory": "\/var\/www\/owncloud\/data",
        "overwrite.cli.url": "http:\/\/URL\/owncloud",
        "dbtype": "mysql",
        "version": "9.1.2.5",
        "dbname": "DB",
        "dbhost": "localhost",
        "dbtableprefix": "PREFIX",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "UTC",
        "installed": true,
        "memcache.local": "\\OC\\Memcache\\APC",
        "mail_smtpmode": "smtp",
        "mail_smtphost": "HOST",
        "mail_smtpport": "25",
        "mail_from_address": "EMAIL",
        "mail_domain": "DOMAIN",
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpsecure": "tls",
        "ldapIgnoreNamingRules": false,
        "loglevel": 3,
        "maintenance": false
    }
}

Are you using encryption:

No

Are you using an external user-backend, if yes which one:

ActiveDirectory

Logs

ownCloud log (data/owncloud.log)

Exception: {"Exception":"InvalidArgumentException","Message":"Invalid recipient","Code":0,"Trace":"
#0 /var/www/owncloud/apps/files_sharing/lib/MountProvider.php(171): OC\Share20\Manager->moveShare(Object(OC\Share20\Share), '6C3E62C1-82F4-4...')
#1 /var/www/owncloud/apps/files_sharing/lib/MountProvider.php(76): OCA\Files_Sharing\MountProvider->buildSuperShares(Array, Object(OC\User\User))
#2 /var/www/owncloud/lib/private/Files/Config/MountProviderCollection.php(76): OCA\Files_Sharing\MountProvider->getMountsForUser(Object(OC\User\User), Object(OC\Files\Storage\StorageFactory))
#3 [internal function]: OC\Files\Config\MountProviderCollection->OC\Files\Config\{closure}(Object(OCA\Files_Sharing\MountProvider))
#4 /var/www/owncloud/lib/private/Files/Config/MountProviderCollection.php(77): array_map(Object(Closure), Array)
#5 /var/www/owncloud/lib/private/Files/Filesystem.php(440): OC\Files\Config\MountProviderCollection->getMountsForUser(Object(OC\User\User))
#6 /var/www/owncloud/lib/private/Files/Filesystem.php(370): OC\Files\Filesystem::initMountPoints('6C3E62C1-82F4-4...')
#7 /var/www/owncloud/lib/private/legacy/util.php(226): OC\Files\Filesystem::init('6C3E62C1-82F4-4...', '/6C3E62C1-82F4-...')
#8 /var/www/owncloud/lib/base.php(890): OC_Util::setupFS()
#9 /var/www/owncloud/index.php(54): OC::handleRequest()
#10 {main}","File":"/var/www/owncloud/lib/private/Share20/Manager.php","Line":862}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions