{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/25058","repository_url":"https://api.github.com/repos/owncloud/core","labels_url":"https://api.github.com/repos/owncloud/core/issues/25058/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/25058/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/25058/events","html_url":"https://github.com/owncloud/core/issues/25058","id":159621645,"number":25058,"title":"[OC 9.0.2.2] Infinite loop in admin backend due to server setup /  integrity check","user":{"login":"xshadow","id":3142448,"avatar_url":"https://avatars.githubusercontent.com/u/3142448?v=3","gravatar_id":"","url":"https://api.github.com/users/xshadow","html_url":"https://github.com/xshadow","followers_url":"https://api.github.com/users/xshadow/followers","following_url":"https://api.github.com/users/xshadow/following{/other_user}","gists_url":"https://api.github.com/users/xshadow/gists{/gist_id}","starred_url":"https://api.github.com/users/xshadow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xshadow/subscriptions","organizations_url":"https://api.github.com/users/xshadow/orgs","repos_url":"https://api.github.com/users/xshadow/repos","events_url":"https://api.github.com/users/xshadow/events{/privacy}","received_events_url":"https://api.github.com/users/xshadow/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/owncloud/core/labels/needs%20info","name":"needs info","color":"0b02e1"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/78","html_url":"https://github.com/owncloud/core/milestones/9.0.3-current-maintenance","labels_url":"https://api.github.com/repos/owncloud/core/milestones/78/labels","id":1693137,"number":78,"title":"9.0.3-current-maintenance","description":"","creator":{"login":"MorrisJobke","id":245432,"avatar_url":"https://avatars.githubusercontent.com/u/245432?v=3","gravatar_id":"","url":"https://api.github.com/users/MorrisJobke","html_url":"https://github.com/MorrisJobke","followers_url":"https://api.github.com/users/MorrisJobke/followers","following_url":"https://api.github.com/users/MorrisJobke/following{/other_user}","gists_url":"https://api.github.com/users/MorrisJobke/gists{/gist_id}","starred_url":"https://api.github.com/users/MorrisJobke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MorrisJobke/subscriptions","organizations_url":"https://api.github.com/users/MorrisJobke/orgs","repos_url":"https://api.github.com/users/MorrisJobke/repos","events_url":"https://api.github.com/users/MorrisJobke/events{/privacy}","received_events_url":"https://api.github.com/users/MorrisJobke/received_events","type":"User","site_admin":false},"open_issues":36,"closed_issues":66,"state":"open","created_at":"2016-04-08T13:29:25Z","updated_at":"2016-06-14T11:40:02Z","due_on":"2016-07-04T22:00:00Z","closed_at":null},"comments":13,"created_at":"2016-06-10T12:10:39Z","updated_at":"2016-06-14T15:14:00Z","closed_at":null,"body":"### Expected behaviour\r\nAdmin backup should work without any problems if lib/imap.php is customized. Only report that the integrity check failed.\r\n\r\n### Actual behaviour\r\nThe admin page is unuseable because it's reloaded every three seconds.\r\n\r\nServer setup and security check function is called again and again. \r\n\r\nIn the logs there could be found: \r\n\"{core} User backend OC_User_IMAP already initialized.\"  \r\n\r\n### Server configuration\r\n**Operating system**: Debian 8\r\n\r\n**Web server:** Apache 2.4\r\n\r\n**Database:** mysql  Ver 14.14 Distrib 5.6.31,\r\n\r\n**PHP version:** PHP 7.0.7-1~dotdeb+8.1 (cli) ( NTS ),\r\n\r\n**ownCloud version:** 9.0.2.2\r\n\r\n**Updated from an older ownCloud or fresh install:** Updated from an older version\r\n\r\n**Where did you install ownCloud from:** gz-package from download page \r\n\r\n**Signing status (ownCloud 9.0 and above):**  failed\r\n\r\nModifications in lib/imap.php are valid. Not yet merged https://github.com/owncloud/apps/pull/2093\r\n\r\n```\r\nTechnical information\r\n=====================\r\nThe following list covers which files have failed the integrity check. Please read\r\nthe previous linked documentation to learn more about the errors and how to fix\r\nthem.\r\n\r\nResults\r\n=======\r\n- imap\r\n\t- EXCEPTION\r\n\t\t- Exception\r\n\t\t- App not found\r\n- user_external\r\n\t- INVALID_HASH\r\n\t\t- lib/imap.php\r\n- Application to check\r\n\t- EXCEPTION\r\n\t\t- Exception\r\n\t\t- App not found\r\n\r\nRaw output\r\n==========\r\nArray\r\n(\r\n    [imap] => Array\r\n        (\r\n            [EXCEPTION] => Array\r\n                (\r\n                    [class] => Exception\r\n                    [message] => App not found\r\n                )\r\n\r\n        )\r\n\r\n    [user_external] => Array\r\n        (\r\n            [INVALID_HASH] => Array\r\n                (\r\n                    [lib/imap.php] => Array\r\n                        (\r\n                            [expected] => d4ebccdc4a2f2a97456c666ef6f6608ed631ceaee3f605e270df88be08a1c3e2c3b6944f07a271612bc6fa79b708c0d9a2ee54b310e68255c415f46904665efa\r\n                            [current] => 2b57473d0fb8855b1c4d9d24eb033efb8bf4f62cfaabbcfedf7319f282b79b76bca77664d0847b2bd43964b67db3c51c2dfc5291638931e4cc815fc88f4a3a57\r\n                        )\r\n\r\n                )\r\n\r\n        )\r\n\r\n    [Application to check] => Array\r\n        (\r\n            [EXCEPTION] => Array\r\n                (\r\n                    [class] => Exception\r\n                    [message] => App not found\r\n                )\r\n\r\n        )\r\n\r\n)\r\n```\r\n\r\n\r\n**List of activated apps:**\r\n```\r\nEnabled:\r\n  - activity: 2.2.1\r\n  - calendar: 1.2.2\r\n  - comments: 0.2\r\n  - contacts: 1.2.0.0\r\n  - dav: 0.1.6\r\n  - documents: 0.12.0\r\n  - encryption: 1.2.0\r\n  - federatedfilesharing: 0.1.0\r\n  - federation: 0.0.4\r\n  - files: 1.4.4\r\n  - files_pdfviewer: 0.8.1\r\n  - files_sharing: 0.9.1\r\n  - files_texteditor: 2.1\r\n  - files_trashbin: 0.8.0\r\n  - files_versions: 1.2.0\r\n  - files_videoplayer: 0.9.8\r\n  - firstrunwizard: 1.1\r\n  - galleryplus: 15.0.0\r\n  - news: 8.8.0\r\n  - notes: 2.0.1\r\n  - notifications: 0.2.3\r\n  - provisioning_api: 0.4.1\r\n  - systemtags: 0.2\r\n  - templateeditor: 0.1\r\n  - updatenotification: 0.1.0\r\n  - user_external: 0.4\r\nDisabled:\r\n  - external\r\n  - files_external\r\n  - gallery\r\n  - user_ldap\r\n```\r\n\r\n**The content of config/config.php:**\r\n\r\n```\r\n<?php\r\n$CONFIG = array (\r\n  'forcessl' => true,\r\n  'logdateformat' => 'Y-m-d H:i:s.u',\r\n  'log_type' => 'syslog',\r\n  'syslog_tag' => 'ownCloud',\r\n  'loglevel' => 0,\r\n  'mail_domain' => 'foobar.com',\r\n  'mail_from_address' => 'foobar-owncloud',\r\n  'mail_smtpmode' => 'php',\r\n  'remember_login_cookie_lifetime' => '1296000',\r\n  'session_keepalive' => true,\r\n  'session_lifetime' => '86400',\r\n  'trashbin_retention_obligation' => 'auto, 15',\r\n  'trusted_proxies' => \r\n  array (\r\n    0 => '192.168.2.4',\r\n  ),\r\n  'instanceid' => 'XXX',\r\n  'passwordsalt' => 'XXX',\r\n  'secret' => 'XXX',\r\n  'trusted_domains' => \r\n  array (\r\n    0 => 'cloud.foobar.com',\r\n  ),\r\n  'datadirectory' => '/var/www/cloud.foobar.com/www/data',\r\n  'overwrite.cli.url' => 'https://cloud.foobar.com',\r\n  'dbtype' => 'mysql',\r\n  'version' => '9.0.2.2',\r\n  'dbname' => 'syscloud',\r\n  'dbhost' => 'localhost',\r\n  'dbtableprefix' => '',\r\n  'dbuser' => 'syscloud',\r\n  'dbpassword' => 'XXX',\r\n  'logtimezone' => 'UTC',\r\n  'installed' => true,\r\n  'default_language' => 'de',\r\n  'mail_smtpsecure' => 'ssl',\r\n  'user_backends' => \r\n  array (\r\n    0 => \r\n    array (\r\n      'class' => 'OC_User_IMAP',\r\n      'arguments' => \r\n      array (\r\n        0 => '{mail.foobar.com:993/imap/ssl}',\r\n        1 => 'foobar.com',\r\n      ),\r\n    ),\r\n  ),\r\n  'memcache.local' => '\\\\OC\\\\Memcache\\\\Redis',\r\n  'redis' => \r\n  array (\r\n    'host' => 'localhost',\r\n    'port' => 6379,\r\n  ),\r\n  'memcache.locking' => '\\\\OC\\\\Memcache\\\\Redis',\r\n  'mail_smtphost' => 'mail.foobar.com',\r\n  'mail_smtpport' => '587',\r\n  'theme' => '',\r\n  'maintenance' => false,\r\n  'appstore.experimental.enabled' => false,\r\n);\r\n\r\n\r\n```\r\n\r\n**Are you using external storage, if yes which one:** local/smb/sftp/...\r\nNo\r\n\r\n**Are you using encryption:** yes/no\r\nNo\r\n\r\n**Are you using an external user-backend, if yes which one:** LDAP/ActiveDirectory/Webdav/...\r\nYes , Imap\r\n\r\n### Client configuration\r\n**Browser:** FF46.0.1\r\n\r\n**Operating system:**  Debian 8\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/225914390","html_url":"https://github.com/owncloud/core/issues/25058#issuecomment-225914390","issue_url":"https://api.github.com/repos/owncloud/core/issues/25058","id":225914390,"user":{"login":"PVince81","id":277525,"avatar_url":"https://avatars.githubusercontent.com/u/277525?v=3","gravatar_id":"","url":"https://api.github.com/users/PVince81","html_url":"https://github.com/PVince81","followers_url":"https://api.github.com/users/PVince81/followers","following_url":"https://api.github.com/users/PVince81/following{/other_user}","gists_url":"https://api.github.com/users/PVince81/gists{/gist_id}","starred_url":"https://api.github.com/users/PVince81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PVince81/subscriptions","organizations_url":"https://api.github.com/users/PVince81/orgs","repos_url":"https://api.github.com/users/PVince81/repos","events_url":"https://api.github.com/users/PVince81/events{/privacy}","received_events_url":"https://api.github.com/users/PVince81/received_events","type":"User","site_admin":false},"created_at":"2016-06-14T15:14:00Z","updated_at":"2016-06-14T15:14:00Z","body":"@xshadow had a conversation with someone on IRC who also had a strange redirect, maybe your situation is similar ?\r\n```\r\n<Jay2k1> PVince81: got it! the ssl vhost includes a generic SSL config from Let's Encrypt (where i got my cert from)\r\n<PVince81> ah, great\r\n<Jay2k1> in that config there's a line 'AcceptPathInfo Off'\r\n<Jay2k1> when i uncomment that, it works\r\n```\r\n"}}
{"actor":{"display_login":"PVince81"}}