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

Cannot upgrade from 9.0.57 to 10.0.5 #5887

Closed
odesport opened this issue Jul 26, 2017 · 2 comments
Closed

Cannot upgrade from 9.0.57 to 10.0.5 #5887

odesport opened this issue Jul 26, 2017 · 2 comments
Labels
bug feature: ldap stale Ticket or PR with no recent activity

Comments

@odesport
Copy link

Steps to reproduce

1 V9 files removed (except data/, config/ and themes/ folders)
2. V10 files placed
3."php occ upgrade"

Expected behaviour

Platform working fine with functionnal file sharing.

Actual behaviour

Upgrade output

Set log level to debug
Turned on maintenance mode
Checking whether the database schema can be updated (this can take a long time depending on the database size)
Done
27/27 [============================] 100%
Checked database schema update
Checking updates of apps
Checking whether the database schema for can be updated (this can take a long time depending on the database size)
Done
2/2 [============================] 100%
Checking whether the database schema for can be updated (this can take a long time depending on the database size)
Done
10/10 [============================] 100%
Checking whether the database schema for can be updated (this can take a long time depending on the database size)
Done
1/1 [============================] 100%
Checking whether the database schema for <files_sharing> can be updated (this can take a long time depending on the database size)
Done
1/1 [============================] 100%
Checking whether the database schema for <files_trashbin> can be updated (this can take a long time depending on the database size)
Done
1/1 [============================] 100%
Checking whether the database schema for can be updated (this can take a long time depending on the database size)
Done
1/1 [============================] 100%
Checking whether the database schema for <user_ldap> can be updated (this can take a long time depending on the database size)
Done
3/3 [============================] 100%
Checked database schema update for apps
Updating database schema
Updated database
Disabled 3rd-party app: calendar
Disabled 3rd-party app: contacts
Disabled 3rd-party app: documents
Disabled 3rd-party app: onlyoffice
Updating ...
Updated to 1.0.1
Updating ...
Updated to 15.0.1
Updating <provisioning_api> ...
Updated <provisioning_api> to 1.0.0
Updating ...
Updated to 1.0.1
Updating <user_ldap> ...
Updated <user_ldap> to 1.0.1
Updating ...
Updated to 1.5.2
Updating ...
Updated to 2.3.2
Updating ...
Fix classification for calendar objects
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2004/0 [---------------->-----------] 0% An unhandled exception has been thrown:
Error: Call to a member function composeAndStoreDisplayName() on null in /var/www/owncloud/apps/user_ldap/lib/Access.php:553
Stack trace:
#0 /var/www/owncloud/apps/user_ldap/lib/Access.php(520): OCA\User_LDAP\Access->cacheUserDisplayName('289b2a65-1dd211...', 'CRIC CULTURE,RE...', '')
#1 /var/www/owncloud/apps/user_ldap/lib/Access.php(471): OCA\User_LDAP\Access->ldap2ownCloudNames(Array, true)
#2 /var/www/owncloud/apps/user_ldap/lib/User_LDAP.php(219): OCA\User_LDAP\Access->ownCloudUserNames(Array)
#3 /var/www/owncloud/apps/user_ldap/lib/User_Proxy.php(147): OCA\User_LDAP\User_LDAP->getUsers('', 500, 1000)
#4 /var/www/owncloud/lib/private/User/Manager.php(354): OCA\User_LDAP\User_Proxy->getUsers('', 500, 1000)
#5 /var/www/owncloud/apps/dav/lib/Migration/Classification.php(91): OC\User\Manager->callForAllUsers(Object(Closure))
#6 /var/www/owncloud/lib/private/Repair.php(91): OCA\DAV\Migration\Classification->run(Object(OC\Repair))
#7 /var/www/owncloud/lib/private/legacy/app.php(1291): OC\Repair->run()
#8 /var/www/owncloud/lib/private/legacy/app.php(1226): OC_App::executeRepairSteps('dav', Array)
#9 /var/www/owncloud/lib/private/Updater.php(406): OC_App::updateApp('dav')
#10 /var/www/owncloud/lib/private/Updater.php(282): OC\Updater->doAppUpgrade()
#11 /var/www/owncloud/lib/private/Updater.php(151): OC\Updater->doUpgrade('9.1.5.2', '9.0.57.2')
#12 /var/www/owncloud/core/Command/Upgrade.php(292): OC\Updater->upgrade()
#13 /var/www/owncloud/3rdparty/symfony/console/Command/Command.php(259): OC\Core\Command\Upgrade->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/owncloud/3rdparty/symfony/console/Application.php(844): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/owncloud/3rdparty/symfony/console/Application.php(192): Symfony\Component\Console\Application->doRunCommand(Object(OC\Core\Command\Upgrade), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/owncloud/3rdparty/symfony/console/Application.php(123): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/owncloud/lib/private/Console/Application.php(146): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/owncloud/console.php(98): OC\Console\Application->run()
#19 /var/www/owncloud/occ(11): require_once('/var/www/ownclo...')

Server configuration

Operating system: debian 8.8

Web server: nginx/1.10.3

Database: MariaDB 10

PHP version: 7.0.20-1~dotdeb+8.1

Nextcloud version: 9.0.57.2 (see Nextcloud admin page)

Updated from an older Nextcloud/ownCloud or fresh install: owncloud9 (first time from owncloud 5)

Where did you install Nextcloud from: sources

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.

Unable to log as admin.

List of activated apps:

App list
activity: 2.3.2
  - admin_audit: 1.0.0
  - dav: 0.1.6
  - federatedfilesharing: 1.0.1
  - files: 1.5.2
  - files_pdfviewer: 0.8.1
  - files_sharing: 0.9.1
  - files_texteditor: 2.1
  - files_trashbin: 0.8.0
  - files_videoplayer: 0.9.8
  - gallery: 15.0.1
  - notifications: 0.2.3
  - provisioning_api: 1.0.0
  - systemtags: 0.2
  - theming: 0.2.0
  - updatenotification: 1.0.1
  - user_ldap: 1.0.1
  - workflowengine: true

Nextcloud configuration:

Config report
{
    "system": {
        "instanceid": "516c185b3b4e1",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "datadirectory": "\/var\/www\/owncloud\/data",
        "dbtype": "mysql",
        "version": "9.0.57.2",
        "dbname": "nextcloud",
        "dbhost": "********************",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "filesystem_check_changes": 0,
        "installed": true,
        "ldapIgnoreNamingRules": false,
        "proxy": "*************************:3128",
        "default_language": "fr",
        "overwritehost": "***********************",
        "forcessl": true,
        "appstoreenabled": true,
        "appstoreurl": "http:\/\/api.apps.owncloud.com\/v1",
        "mail_smtpmode": "smtp",
        "maintenance": false,
        "loglevel": 0,
        "preview_libreoffice_path": "\/usr\/bin\/libreoffice",
        "theme": "",
        "custom_csp_policy": "default-src 'self'; script-src 'self' https:\/\/*********************** 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; frame-src *; img-src *; font-src 'self' data:; media-src *",
        "trusted_domains": [
            "***********************"
        ],
        "secret": "***REMOVED SENSITIVE VALUE***",
        "share_folder": "\/Shared",
        "trashbin_retention_obligation": "auto, auto",
        "mail_domain": "**************",
        "mail_from_address": "**************",
        "mail_smtphost": "**********************",
        "logfile": "\/var\/log-owncloud\/owncloud.log",
        "memcache.local": "\\OC\\Memcache\\Memcached",
        "memcache.distributed": "\\OC\\Memcache\\Memcached",
        "memcached_servers": [
            [
                "localhost",
                11211
            ]
        ],
        "ldapProviderFactory": "\\OCA\\User_LDAP\\LDAPProviderFactory"
    },
    "apps": {
        "00e1e183-292511e5-800aedbb-6e12a": {
            "documents": "save_path"
        },
        "01ba16d0-af6311df-80a5b126-24726": {
            "documents": "save_path"
        },
        "08795645-33f911e4-800aedbb-6e12a": {
            "documents": "save_path"
        },
        "0e5a2ffa-836911df-80c5b126-24726": {
            "documents": "save_path"
        },
        "2c2eafed-1dd211b2-80000000-00000": {
            "documents": "save_path"
        },
        "372c1908-e02a11e0-80cfedbb-6e12a": {
            "documents": "save_path"
        },
        "381a6f40-1dd211b2-80000000-00000": {
            "documents": "save_path"
        },
        "381a707d-1dd211b2-80000000-00000": {
            "documents": "save_path"
        },
        "381a721b-1dd211b2-80000000-00000": {
            "documents": "save_path"
        },
        "394b9f4d-1dd211b2-80000000-00000": {
            "documents": "save_path"
        },
        "3a7ccaa2-1dd211b2-80000000-00000": {
            "documents": "save_path"
        },
        "3b1563b5-1dd211b2-80000000-00000": {
            "documents": "save_path"
        },
        "4042d402-1dd211b2-8046c898-4e50f": {
            "documents": "save_path"
        },
        "423c6f0f-1dd211b2-80000000-00000": {
            "documents": "save_path"
        },
        "4962a381-1dd211b2-8046c898-4e50f": {
            "documents": "save_path"
        },
        "4e9e9882-69c111e6-800aedbb-6e12a": {
            "documents": "save_path"
        },
        "51bbb6fc-1dd211b2-80000000-00000": {
            "documents": "save_path"
        },
        "53857be0-1dd211b2-80000000-00000": {
            "documents": "save_path"
        },
        "5d470b11-1dd211b2-80acc898-4e50f": {
            "documents": "save_path"
        },
        "65793964-be8b11e1-8040edbb-6e12a": {
            "documents": "save_path"
        },
        "66984bac-1dd211b2-80000000-00000": {
            "documents": "save_path"
        },
        "77e15d3e-1dd211b2-80000000-00000": {
            "documents": "save_path"
        },
        "7a8d1dfe-9cbb11e0-80b2ba44-b6f0a": {
            "documents": "save_path"
        },
        "7d3ea132-1dd211b2-80000000-00000": {
            "documents": "save_path"
        },
        "7d3ea457-1dd211b2-80000000-00000": {
            "documents": "save_path"
        },
        "873a37b6-1dd211b2-80a3c898-4e50f": {
            "documents": "save_path"
        },
        "Antivirus": {
            "installed_version": ""
        },
        "activity": {
            "enabled": "yes",
            "installed_version": "2.3.2",
            "types": "filesystem"
        },
        "admin_audit": {
            "enabled": "yes",
            "installed_version": "1.0.0",
            "types": "logging"
        },
        "admin_dependencies_chk": {
            "enabled": "no",
            "installed_version": "0.02",
            "ocsid": "166041",
            "types": ""
        },
        "admin_migrate": {
            "enabled": "no",
            "installed_version": "0.1"
        },
        "appframework": {
            "enabled": "no",
            "installed_version": "0.103",
            "types": ""
        },
        "b8cafcb7-cd3c11e4-800aedbb-6e12a": {
            "documents": "save_path"
        },
        "ba0a9a9a-1dd111b2-80010000-00000": {
            "documents": "save_path"
        },
        "backgroundjob": {
            "lastjob": "22442"
        },
        "bookmarks": {
            "enabled": "no",
            "installed_version": "0.6.2",
            "ocsid": "168710",
            "types": ""
        },
        "calendar": {
            "enabled": "no",
            "installed_version": "1.3.2",
            "ocsid": "168707",
            "types": ""
        },
        "comments": {
            "enabled": "no",
            "installed_version": "0.2",
            "types": "logging"
        },
        "configreport": {
            "enabled": "no",
            "installed_version": "0.1.1",
            "types": "filesystem"
        },
        "contacts": {
            "backend_ldap": "false",
            "enabled": "no",
            "installed_version": "1.3.1.0",
            "ocsid": "168708",
            "types": ""
        },
        "core": {
            "backgroundjobs_mode": "ajax",
            "backgroundjobs_step": "queued_tasks",
            "backgroundjobs_task": "",
            "default_encryption_module": "OC_DEFAULT_MODULE",
            "global_cache_gc_lastrun": "1456992515",
            "incoming_server2server_share_enabled": "yes",
            "installedat": "1366038837.0324",
            "lastcron": "1501050868",
            "lastupdateResult": "{\"version\":\"9.1.5.2\",\"versionstring\":\"Nextcloud 10.0.5\",\"url\":\"https:\\\/\\\/download.nextcloud.com\\\/server\\\/releases\\\/nextcloud-10.0.5.zip\",\"web\":\"https:\\\/\\\/docs.nextcloud.org\\\/server\\\/10\\\/admin_manual\\\/maintenance\\\/manual_upgrade.html\",\"autoupdater\":\"1\"}",
            "lastupdatedat": "1501049762",
            "oc.integritycheck.checker": "[]",
            "outgoing_server2server_share_enabled": "no",
            "public_caldav": "calendar\/share.php",
            "public_calendar": "calendar\/share.php",
            "public_documents": "documents\/public.php",
            "public_files": "files_sharing\/public.php",
            "public_gallery": "gallery\/public.php",
            "public_webdav": "dav\/appinfo\/v1\/publicwebdav.php",
            "remote_ampache": "media\/remote.php",
            "remote_caldav": "dav\/appinfo\/v1\/caldav.php",
            "remote_calendar": "dav\/appinfo\/v1\/caldav.php",
            "remote_carddav": "dav\/appinfo\/v1\/carddav.php",
            "remote_contacts": "dav\/appinfo\/v1\/carddav.php",
            "remote_contactthumbnail": "contacts\/thumbnail.php",
            "remote_core.css": "\/core\/minimizer.php",
            "remote_core.js": "\/core\/minimizer.php",
            "remote_dav": "dav\/appinfo\/v2\/remote.php",
            "remote_files": "dav\/appinfo\/v1\/webdav.php",
            "remote_filesync": "files\/appinfo\/filesync.php",
            "remote_mozilla_sync": "mozilla_sync\/appinfo\/remote.php",
            "remote_webdav": "dav\/appinfo\/v1\/webdav.php",
            "repairlegacystoragesdone": "yes",
            "shareapi_allow_mail_notification": "yes",
            "shareapi_allow_public_notification": "yes",
            "shareapi_allow_public_upload": "yes",
            "shareapi_allow_resharing": "no",
            "shareapi_default_expire_date": "yes",
            "shareapi_enabled": "yes",
            "shareapi_exclude_groups": "no",
            "shareapi_exclude_groups_list": "[\"\"]",
            "shareapi_expire_after_n_days": "30",
            "shareapi_only_share_with_group_members": "no"
        },
        "dad2efb8-1dd111b2-80010000-00000": {
            "documents": "save_path"
        },
        "dav": {
            "enabled": "yes",
            "installed_version": "0.1.6",
            "types": "filesystem"
        },
        "disablerememberlogin": {
            "enabled": "no",
            "installed_version": "0.2",
            "types": ""
        },
        "documents": {
            "converter": "local",
            "enabled": "no",
            "installed_version": "0.12.1",
            "ocsid": "168711",
            "types": ""
        },
        "e1e21107-1dd111b2-8077c898-4e50f": {
            "documents": "save_path"
        },
        "e4b60eaa-33f811e4-800aedbb-6e12a": {
            "documents": "save_path"
        },
        "eaeace3f-1dd111b2-80010000-00000": {
            "documents": "save_path"
        },
        "encryption": {
            "enabled": "no",
            "installed_version": "1.1.0",
            "masterKeyId": "master_607084de",
            "publicShareKeyId": "pubShare_607084de",
            "recoveryKeyId": "recoveryKey_607084de",
            "types": "filesystem"
        },
        "federatedfilesharing": {
            "enabled": "no",
            "installed_version": "1.0.1",
            "types": ""
        },
        "federation": {
            "enabled": "no",
            "installed_version": "0.0.4",
            "types": "authentication"
        },
        "files": {
            "backgroundwatcher_previous_file": "57520",
            "backgroundwatcher_previous_folder": "133548",
            "default_quota": "10 GB",
            "enabled": "yes",
            "installed_version": "1.5.2",
            "types": "filesystem"
        },
        "files_antivirus": {
            "av_chunk_size": "1024",
            "av_host": "",
            "av_mode": "executable",
            "av_path": "\/usr\/bin\/clamscan",
            "av_port": "",
            "enabled": "no",
            "infected_action": "delete",
            "installed_version": "0.4",
            "types": "filesystem"
        },
        "files_external": {
            "enabled": "no",
            "installed_version": "0.2",
            "types": "filesystem"
        },
        "files_imageviewer": {
            "enabled": "no",
            "installed_version": "1.0"
        },
        "files_mv": {
            "installed_version": ""
        },
        "files_odfviewer": {
            "enabled": "no",
            "installed_version": "0.1"
        },
        "files_pdfviewer": {
            "enabled": "yes",
            "installed_version": "0.8.1",
            "ocsid": "166049",
            "types": ""
        },
        "files_sharing": {
            "enabled": "yes",
            "incoming_server2server_share_enabled": "yes",
            "installed_version": "0.9.1",
            "outgoing_server2server_share_enabled": "no",
            "types": "filesystem"
        },
        "files_svgedit": {
            "installed_version": ""
        },
        "files_texteditor": {
            "enabled": "yes",
            "installed_version": "2.1",
            "ocsid": "166051",
            "types": ""
        },
        "files_trashbin": {
            "enabled": "yes",
            "installed_version": "0.8.0",
            "types": "filesystem"
        },
        "files_unsharing": {
            "installed_version": ""
        },
        "files_versions": {
            "enabled": "no",
            "installed_version": "1.0.5",
            "ocsid": "166053",
            "types": "filesystem"
        },
        "files_videoplayer": {
            "enabled": "yes",
            "installed_version": "0.9.8",
            "types": ""
        },
        "files_videoviewer": {
            "enabled": "no",
            "installed_version": "0.1.3",
            "ocsid": "166054",
            "types": ""
        },
        "files_whoshare": {
            "enabled": "no",
            "installed_version": ""
        },
        "firstrunwizard": {
            "enabled": "no",
            "installed_version": "1.0"
        },
        "fluxx_compensator": {
            "enabled": "no",
            "installed_version": "0.2.4",
            "types": "base"
        },
        "gallery": {
            "enabled": "yes",
            "installed_version": "15.0.1",
            "types": ""
        },
        "impress": {
            "enabled": "no",
            "installed_version": "1.0",
            "types": ""
        },
        "imprint": {
            "anonposition": "header-right",
            "content": "*************************************",
            "enabled": "no",
            "installed_version": "0.2.5",
            "ocsid": "153220",
            "position": "header-right",
            "position-guest": "header-right",
            "position-login": "footer-right",
            "position-user": "header-right",
            "types": "prelogin"
        },
        "internal_messages": {
            "enabled": "no",
            "installed_version": "1.5",
            "types": ""
        },
        "journal": {
            "enabled": "no",
            "installed_version": "0.3.2",
            "types": ""
        },
        "mailnotify": {
            "enabled": "no",
            "installed_version": "2.0.1",
            "types": ""
        },
        "media": {
            "enabled": "no",
            "installed_version": "0.4.3"
        },
        "mozilla_sync": {
            "enabled": "no",
            "installed_version": "1.3.1",
            "quota_limit": "0",
            "types": ""
        },
        "news": {
            "enabled": "no",
            "installed_version": "1.605",
            "types": ""
        },
        "notifications": {
            "enabled": "yes",
            "installed_version": "0.2.3",
            "types": "logging"
        },
        "ojsxc": {
            "boshUrl": "*********************",
            "enabled": "no",
            "iceCredential": "",
            "iceSecret": "",
            "iceTtl": "",
            "iceUrl": "",
            "iceUsername": "",
            "installed_version": "2.0.1",
            "ocsid": "162257",
            "types": "",
            "xmppDomain": "**********************:5222",
            "xmppOverwrite": "false",
            "xmppResource": ""
        },
        "onlyoffice": {
            "DocumentServerSecret": "123456",
            "DocumentServerUrl": "https:\/\/*******************************",
            "enabled": "no",
            "installed_version": "1.0.2",
            "ocsid": "174798",
            "skey": "1493719477108",
            "types": "filesystem"
        },
        "ownnote": {
            "enabled": "no",
            "installed_version": "0.0.2",
            "types": ""
        },
        "password_policy": {
            "enabled": "no",
            "installed_version": "1.0.0",
            "types": ""
        },
        "provisioning_api": {
            "enabled": "yes",
            "installed_version": "1.0.0",
            "types": "prevent_group_restriction"
        },
        "rescan_fs": {
            "enabled": "no",
            "installed_version": "1.1.0",
            "types": ""
        },
        "search_lucene": {
            "enabled": "no",
            "installed_version": "0.5.3",
            "ocsid": "168709",
            "types": "filesystem"
        },
        "search_public": {
            "enabled": "no",
            "installed_version": "0.1",
            "types": ""
        },
        "sharepro": {
            "installed_version": ""
        },
        "shareslist": {
            "enabled": "no",
            "installed_version": "0.1",
            "types": ""
        },
        "storage_charts": {
            "installed_version": ""
        },
        "storagecharts2": {
            "enabled": "no",
            "installed_version": "2.5.2.162",
            "ocsid": "165528",
            "types": ""
        },
        "systemtags": {
            "enabled": "yes",
            "installed_version": "0.2",
            "types": "logging"
        },
        "tal": {
            "enabled": "no",
            "installed_version": "0.2.2",
            "types": ""
        },
        "tasks": {
            "enabled": "no",
            "installed_version": "0.5.1",
            "types": ""
        },
        "templateeditor": {
            "enabled": "no",
            "installed_version": "0.1",
            "types": ""
        },
        "theming": {
            "cachebuster": "10",
            "color": "#03339F",
            "enabled": "yes",
            "installed_version": "0.2.0",
            "logoMime": "image\/png",
            "name": "\u00c9du-nuage",
            "slogan": "Votre nuage \u00e9ducatif !",
            "types": "logging",
            "url": "https:\/\/*********************************"
        },
        "updatenotification": {
            "enabled": "yes",
            "installed_version": "1.0.1",
            "types": ""
        },
        "updater": {
            "enabled": "no",
            "installed_version": "0.6",
            "types": ""
        },
        "usage_charts": {
            "enabled": "no",
            "installed_version": "1.0.1",
            "types": ""
        },
        "user_ldap": {
            "NEWhas_memberof_filter_support": "0",
            "NEWhome_folder_naming_rule": "attr:eleve",
            "NEWlast_jpegPhoto_lookup": "0",
            "NEWldap_agent_password": "",
            "NEWldap_attributes_for_group_search": "",
            "NEWldap_attributes_for_user_search": "",
            "NEWldap_backup_host": "***************************",
            "NEWldap_backup_port": "421",
            "NEWldap_base": "ou=********************",
            "NEWldap_base_groups": "ou=Groups,*********************",
            "NEWldap_base_users": "ou=******************************",
            "NEWldap_cache_ttl": "84600",
            "NEWldap_configuration_active": "1",
            "NEWldap_display_name": "cn",
            "NEWldap_dn": "",
            "NEWldap_dynamic_group_member_url": "",
            "NEWldap_email_attr": "mail",
            "NEWldap_experienced_admin": "0",
            "NEWldap_expert_username_attr": "",
            "NEWldap_expert_uuid_group_attr": "",
            "NEWldap_expert_uuid_user_attr": "",
            "NEWldap_group_display_name": "cn",
            "NEWldap_group_filter": "(&(|(objectclass=inetorgperson)(objectclass=organizationalPerson)))",
            "NEWldap_group_filter_mode": "0",
            "NEWldap_group_member_assoc_attribute": "uniqueMember",
            "NEWldap_groupfilter_groups": "",
            "NEWldap_groupfilter_objectclass": "inetorgperson",
            "NEWldap_host": "**************************",
            "NEWldap_login_filter": "uid=%uid",
            "NEWldap_login_filter_mode": "1",
            "NEWldap_loginfilter_attributes": "",
            "NEWldap_loginfilter_email": "0",
            "NEWldap_loginfilter_username": "1",
            "NEWldap_nested_groups": "0",
            "NEWldap_override_main_server": "0",
            "NEWldap_paging_size": "100",
            "NEWldap_port": "421",
            "NEWldap_quota_attr": "",
            "NEWldap_quota_def": "54288000",
            "NEWldap_tls": "",
            "NEWldap_turn_off_cert_check": "0",
            "NEWldap_user_display_name_2": "",
            "NEWldap_user_filter_mode": "0",
            "NEWldap_userfilter_groups": "",
            "NEWldap_userfilter_objectclass": "",
            "NEWldap_userlist_filter": "(objectclass=*)",
            "NEWuse_memberof_to_detect_membership": "1",
            "bgjUpdateGroupsLastRun": "1383063302",
            "cleanUpJobOffset": "255800",
            "enabled": "yes",
            "enforce_home_folder_naming_rule": "",
            "has_memberof_filter_support": "",
            "home_folder_naming_rule": "",
            "installed_version": "1.0.1",
            "last_jpegPhoto_lookup": "0",
            "ldap_agent_password": "",
            "ldap_attributes_for_group_search": "",
            "ldap_attributes_for_user_search": "mail\nmailAlternateAddress\ncn",
            "ldap_backup_host": "",
            "ldap_backup_port": "",
            "ldap_base": "ou=*****************************",
            "ldap_base_groups": "ou=groupes*********************",
            "ldap_base_users": "ou=************************",
            "ldap_cache_ttl": "86400",
            "ldap_configuration_active": "1",
            "ldap_display_name": "cn",
            "ldap_dn": "",
            "ldap_dynamic_group_member_url": "",
            "ldap_email_attr": "mail",
            "ldap_experienced_admin": "0",
            "ldap_expert_username_attr": "",
            "ldap_expert_uuid_attr": "",
            "ldap_expert_uuid_group_attr": "",
            "ldap_expert_uuid_user_attr": "",
            "ldap_group_display_name": "cn",
            "ldap_group_filter": "(&(|(objectclass=groupofuniquenames)))",
            "ldap_group_filter_mode": "1",
            "ldap_group_member_assoc_attribute": "uniqueMember",
            "ldap_groupfilter_groups": "",
            "ldap_groupfilter_objectclass": "groupofuniquenames",
            "ldap_host": "************************",
            "ldap_login_filter": "uid=%uid",
            "ldap_login_filter_mode": "0",
            "ldap_loginfilter_attributes": "",
            "ldap_loginfilter_email": "1",
            "ldap_loginfilter_username": "1",
            "ldap_nested_groups": "0",
            "ldap_override_main_server": "0",
            "ldap_paging_size": "1000",
            "ldap_port": "389",
            "ldap_quota_attr": "*************",
            "ldap_quota_def": "3024288000",
            "ldap_tls": "",
            "ldap_turn_off_cert_check": "0",
            "ldap_user_display_name_2": "",
            "ldap_user_filter_mode": "1",
            "ldap_userfilter_groups": "",
            "ldap_userfilter_objectclass": "inetOrgPerson",
            "ldap_userlist_filter": "(objectclass=*)",
            "types": "authentication",
            "use_memberof_to_detect_membership": "1"
        },
        "user_migrate": {
            "enabled": "no",
            "installed_version": "0.1"
        },
        "user_photo": {
            "enabled": "no",
            "installed_version": "0.5",
            "types": ""
        },
        "150401": {
            "enabled": "no"
        },
        "154784": {
            "enabled": "no"
        },
        "155982": {
            "enabled": "no"
        },
        "156039": {
            "enabled": "no"
        },
        "157439": {
            "enabled": "no"
        },
        "158434": {
            "enabled": "no"
        },
        "159291": {
            "enabled": "no"
        },
        "168512": {
            "enabled": "no"
        },
        "169148": {
            "enabled": "no"
        }
    }
}

Are you using external storage, if yes which one: NFS

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
With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your Nextcloud installation folder

Without access to your command line download the data/owncloud.db to your local
computer or access your SQL server remotely and run the select query:
SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap';

+-----------+--------------------------------------+---------------------------------------------------------------------+
| appid     | configkey                            | configvalue                                                         |
+-----------+--------------------------------------+---------------------------------------------------------------------+
| user_ldap | NEWhas_memberof_filter_support       | 0                                                                   |
| user_ldap | NEWhome_folder_naming_rule           | attr:eleve                                                          |
| user_ldap | NEWlast_jpegPhoto_lookup             | 0                                                                   |
| user_ldap | NEWldap_agent_password               |                                                                     |
| user_ldap | NEWldap_attributes_for_group_search  |                                                                     |
| user_ldap | NEWldap_attributes_for_user_search   |                                                                     |
| user_ldap | NEWldap_backup_host                  | *******************.fr                                              |
| user_ldap | NEWldap_backup_port                  | 421                                                                 |
| user_ldap | NEWldap_base                         | ou=*************                                                    |
| user_ldap | NEWldap_base_groups                  | ou=Groups,*************                                             |
| user_ldap | NEWldap_base_users                   | ou=****************************                                     |
| user_ldap | NEWldap_cache_ttl                    | 84600                                                               |
| user_ldap | NEWldap_configuration_active         | 1                                                                   |
| user_ldap | NEWldap_display_name                 | cn                                                                  |
| user_ldap | NEWldap_dn                           |                                                                     |
| user_ldap | NEWldap_dynamic_group_member_url     |                                                                     |
| user_ldap | NEWldap_email_attr                   | mail                                                                |
| user_ldap | NEWldap_experienced_admin            | 0                                                                   |
| user_ldap | NEWldap_expert_username_attr         |                                                                     |
| user_ldap | NEWldap_expert_uuid_group_attr       |                                                                     |
| user_ldap | NEWldap_expert_uuid_user_attr        |                                                                     |
| user_ldap | NEWldap_group_display_name           | cn                                                                  |
| user_ldap | NEWldap_group_filter                 | (&(|(objectclass=inetorgperson)(objectclass=organizationalPerson))) |
| user_ldap | NEWldap_group_filter_mode            | 0                                                                   |
| user_ldap | NEWldap_group_member_assoc_attribute | uniqueMember                                                        |
| user_ldap | NEWldap_groupfilter_groups           |                                                                     |
| user_ldap | NEWldap_groupfilter_objectclass      | inetorgperson                                                       |
| user_ldap | NEWldap_host                         | *************                                                       |
| user_ldap | NEWldap_login_filter                 | uid=%uid                                                            |
| user_ldap | NEWldap_login_filter_mode            | 1                                                                   |
| user_ldap | NEWldap_loginfilter_attributes       |                                                                     |
| user_ldap | NEWldap_loginfilter_email            | 0                                                                   |
| user_ldap | NEWldap_loginfilter_username         | 1                                                                   |
| user_ldap | NEWldap_nested_groups                | 0                                                                   |
| user_ldap | NEWldap_override_main_server         | 0                                                                   |
| user_ldap | NEWldap_paging_size                  | 100                                                                 |
| user_ldap | NEWldap_port                         | 421                                                                 |
| user_ldap | NEWldap_quota_attr                   |                                                                     |
| user_ldap | NEWldap_quota_def                    | 54288000                                                            |
| user_ldap | NEWldap_tls                          |                                                                     |
| user_ldap | NEWldap_turn_off_cert_check          | 0                                                                   |
| user_ldap | NEWldap_user_display_name_2          |                                                                     |
| user_ldap | NEWldap_user_filter_mode             | 0                                                                   |
| user_ldap | NEWldap_userfilter_groups            |                                                                     |
| user_ldap | NEWldap_userfilter_objectclass       |                                                                     |
| user_ldap | NEWldap_userlist_filter              | (objectclass=*)                                                     |
| user_ldap | NEWuse_memberof_to_detect_membership | 1                                                                   |
| user_ldap | bgjUpdateGroupsLastRun               | 1383063302                                                          |
| user_ldap | cleanUpJobOffset                     | 255800                                                              |
| user_ldap | enabled                              | yes                                                                 |
| user_ldap | enforce_home_folder_naming_rule      |                                                                     |
| user_ldap | has_memberof_filter_support          |                                                                     |
| 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      | mail mailAlternateAddress cn                                        |
| user_ldap | ldap_backup_host                     |                                                                     |
| user_ldap | ldap_backup_port                     |                                                                     |
| user_ldap | ldap_base                            | ou=***********************                                          |
| user_ldap | ldap_base_groups                     | ou=groupes**********************                                    |
| user_ldap | ldap_base_users                      | ou=************************                                         |
| user_ldap | ldap_cache_ttl                       | 86400                                                               |
| user_ldap | ldap_configuration_active            | 1                                                                   |
| user_ldap | ldap_display_name                    | cn                                                                  |
| user_ldap | ldap_dn                              |                                                                     |
| user_ldap | ldap_dynamic_group_member_url        |                                                                     |
| user_ldap | ldap_email_attr                      | mail                                                                |
| user_ldap | ldap_experienced_admin               | 0                                                                   |
| user_ldap | ldap_expert_username_attr            |                                                                     |
| user_ldap | ldap_expert_uuid_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                    | (&(|(objectclass=groupofuniquenames)))                              |
| user_ldap | ldap_group_filter_mode               | 1                                                                   |
| user_ldap | ldap_group_member_assoc_attribute    | uniqueMember                                                        |
| user_ldap | ldap_groupfilter_groups              |                                                                     |
| user_ldap | ldap_groupfilter_objectclass         | groupofuniquenames                                                  |
| user_ldap | ldap_host                            | **********************                                              |
| user_ldap | ldap_login_filter                    | uid=%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            | 0                                                                   |
| user_ldap | ldap_paging_size                     | 1000                                                                |
| user_ldap | ldap_port                            | 389                                                                 |
| user_ldap | ldap_quota_attr                      | **********                                                          |
| user_ldap | ldap_quota_def                       | 3024288000                                                          |
| user_ldap | ldap_tls                             |                                                                     |
| user_ldap | ldap_turn_off_cert_check             | 0                                                                   |
| user_ldap | ldap_user_display_name_2             |                                                                     |
| user_ldap | ldap_user_filter_mode                | 1                                                                   |
| user_ldap | ldap_userfilter_groups               |                                                                     |
| user_ldap | ldap_userfilter_objectclass          | inetOrgPerson                                                       |
| user_ldap | ldap_userlist_filter                 | (objectclass=*)                                                     |
| user_ldap | types                                | authentication                                                      |
| user_ldap | use_memberof_to_detect_membership    | 1                                                                   |
+-----------+--------------------------------------+---------------------------------------------------------------------+

Client configuration

Browser: Firefox 54.0

Operating system: Linux Mint DE betsy (Debian 8.9)

Logs

Web server error log

Web server error log
2017/07/26 10:46:28 [error] 811#811: *34631 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.31.130.35, server: ****************, request: "POST /heartbeat HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.0-fpm.sock:", host: "****************"
2017/07/26 10:58:28 [error] 811#811: *34634 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.31.130.35, server: ****************, request: "POST /heartbeat HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.0-fpm.sock:", host: "****************"
2017/07/26 10:58:28 [error] 811#811: *34634 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.31.130.35, server: ****************, request: "POST /heartbeat HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.0-fpm.sock:", host: "****************"

Nextcloud log (data/nextcloud.log)

Nextcloud log
{"reqId":"1U0YJbXQoUxQzrSV1p3f","remoteAddr":"","app":"user_ldap","message":"No DN found for 289b2be7-1dd211b2-80000000-00000000 on ****************","level":0,"time":"2017-07-26T10:24:21+00:00","method":"--","url":"--","user":"--","version":"9.0.57.2"}
{"reqId":"1U0YJbXQoUxQzrSV1p3f","remoteAddr":"","app":"user_ldap","message":"No DN found for 289b2be9-1dd211b2-80000000-00000000 on ****************","level":0,"time":"2017-07-26T10:24:21+00:00","method":"--","url":"--","user":"--","version":"9.0.57.2"}
{"reqId":"1U0YJbXQoUxQzrSV1p3f","remoteAddr":"","app":"user_ldap","message":"No DN found for 289b2bf6-1dd211b2-80000000-00000000 on ****************","level":0,"time":"2017-07-26T10:24:22+00:00","method":"--","url":"--","user":"--","version":"9.0.57.2"}
{"reqId":"1U0YJbXQoUxQzrSV1p3f","remoteAddr":"","app":"user_ldap","message":"No DN found for 289b2bf7-1dd211b2-80000000-00000000 on ****************","level":0,"time":"2017-07-26T10:24:22+00:00","method":"--","url":"--","user":"--","version":"9.0.57.2"}
{"reqId":"L8KPchvlnbF1kImsSyht","remoteAddr":"172.31.130.35","app":"index","message":"Exception: {\"Exception\":\"OC\\\\NeedsUpdateException\",\"Message\":\"\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/legacy\\\/app.php(123): OC_App::loadApp('dav')\\n#1 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/legacy\\\/util.php(136): OC_App::loadApps(Array)\\n#2 \\\/var\\\/www\\\/owncloud\\\/lib\\\/base.php(997): OC_Util::setupFS()\\n#3 \\\/var\\\/www\\\/owncloud\\\/index.php(48): OC::handleRequest()\\n#4 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/legacy\\\/app.php\",\"Line\":151}","level":3,"time":"2017-07-26T13:37:41+00:00","method":"GET","url":"\/core\/js\/oc.js?v=1957291c7ecdbf14560ee066d5bb01d4","user":"--","version":"9.0.57.2"}
{"reqId":"QfpZydtZhcIwDOpKRYhD","remoteAddr":"172.31.130.35","app":"index","message":"Exception: {\"Exception\":\"OC\\\\NeedsUpdateException\",\"Message\":\"\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/legacy\\\/app.php(123): OC_App::loadApp('dav')\\n#1 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/legacy\\\/util.php(136): OC_App::loadApps(Array)\\n#2 \\\/var\\\/www\\\/owncloud\\\/lib\\\/base.php(997): OC_Util::setupFS()\\n#3 \\\/var\\\/www\\\/owncloud\\\/index.php(48): OC::handleRequest()\\n#4 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/legacy\\\/app.php\",\"Line\":151}","level":3,"time":"2017-07-26T13:38:56+00:00","method":"GET","url":"\/core\/js\/oc.js?v=1957291c7ecdbf14560ee066d5bb01d4","user":"--","version":"9.0.57.2"}

Browser log

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

a) The javascript console log
b) The network log
c) ...
@LukasReschke
Copy link
Member

cc @blizzz

@blizzz
Copy link
Member

blizzz commented Aug 29, 2017

@odesport thanks for your bug report. I am just back and only catching up slowly. Since there was a 9.0.58 and a 10.0.6 release, does upgrading with those versions work, or do you encounter the same issue?

@nextcloud-bot nextcloud-bot added the stale Ticket or PR with no recent activity label Jun 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug feature: ldap stale Ticket or PR with no recent activity
Projects
None yet
Development

No branches or pull requests

5 participants