{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/19255","labels_url":"https://api.github.com/repos/owncloud/core/issues/19255/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/19255/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/19255/events","html_url":"https://github.com/owncloud/core/issues/19255","id":107696346,"number":19255,"title":"Oc 8.1 Openstack Swift Primary Storage does not work","user":{"login":"Berndinox","id":1122698,"avatar_url":"https://avatars.githubusercontent.com/u/1122698?v=3","gravatar_id":"","url":"https://api.github.com/users/Berndinox","html_url":"https://github.com/Berndinox","followers_url":"https://api.github.com/users/Berndinox/followers","following_url":"https://api.github.com/users/Berndinox/following{/other_user}","gists_url":"https://api.github.com/users/Berndinox/gists{/gist_id}","starred_url":"https://api.github.com/users/Berndinox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Berndinox/subscriptions","organizations_url":"https://api.github.com/users/Berndinox/orgs","repos_url":"https://api.github.com/users/Berndinox/repos","events_url":"https://api.github.com/users/Berndinox/events{/privacy}","received_events_url":"https://api.github.com/users/Berndinox/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/app:objectstore","name":"app:objectstore","color":"02d7e1"},{"url":"https://api.github.com/repos/owncloud/core/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-09-22T11:30:52Z","updated_at":"2015-10-09T12:46:13Z","closed_at":null,"body":"#### Steps to reproduce:\r\n1 Install a fresh OC 8.1.3 on Nginx+HHVM+MariaDB Stack\r\n2 Enable external Storage Addon\r\n3 Connect Runabove OpenStack Swift Storage via Admin GUI: OK\r\n4 Connect the same Bucket as primary Storage in config.php: NOK\r\n\r\n#### Expected behaivour:\r\nDefault Storage should be Openstack Swift Backend\r\n\r\n#### Actual behaivour:\r\nThe following Error occours, when connecting Swift Backend via config.php:\r\n```\r\nException: {\"Exception\":\"OCP\\\\Files\\\\NotFoundException\",\"Message\":\"\",\"Code\":0,\"Trace\":\"#0 \\/var\\/www\\/cloud.xxx.at\\/apps\\/files\\/index.php(84): OC_Helper::getStorageInfo()\\n#1 (1): include()\\n#2 (): \\u0000lambda_1()\\n#3 \\/var\\/www\\/cloud.xxx.at\\/lib\\/private\\/route\\/router.php(274): call_user_func()\\n#4 \\/var\\/www\\/cloud.xxx.at\\/lib\\/base.php(874): OC\\\\Route\\\\Router->match()\\n#5 \\/var\\/www\\/cloud.xxx.at\\/index.php(40): OC::handleRequest()\\n#6 {main}\",\"File\":\"\\/var\\/www\\/cloud.xxx.at\\/lib\\/private\\/helper.php\",\"Line\":971}\r\n```\r\n```\r\nException: {\"Message\":\"Call to a member function getPath() on a non-object (boolean)\",\"Code\":0,\"Trace\":\"#0 \\/var\\/www\\/cloud.xxx.at\\/apps\\/files\\/appinfo\\/remote.php(63): OC\\\\Connector\\\\Sabre\\\\Node->__construct()\\n#1 (): Closure$()\\n#2 \\/var\\/www\\/cloud.xxx.at\\/3rdparty\\/sabre\\/event\\/lib\\/EventEmitterTrait.php(105): call_user_func_array()\\n#3 \\/var\\/www\\/cloud.xxx.at\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(456): Sabre\\\\Event\\\\EventEmitter->emit()\\n#4 \\/var\\/www\\/cloud.xxx.at\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod()\\n#5 \\/var\\/www\\/cloud.xxx.at\\/apps\\/files\\/appinfo\\/remote.php(83): Sabre\\\\DAV\\\\Server->exec()\\n#6 \\/var\\/www\\/cloud.xxx.at\\/remote.php(132): include()\\n#7 {main}\",\"File\":\"\\/var\\/www\\/cloud.xxx.at\\/lib\\/private\\/connector\\/sabre\\/node.php\",\"Line\":75}\r\n```\r\n> HHVM or Nginx does not show any errors.\r\n\r\n**config.php:**\r\n```\r\n'objectstore' => array(\r\n    'class' => 'OC\\\\Files\\\\ObjectStore\\\\Swift',\r\n    'arguments' => array(\r\n        'username' => 'user',\r\n        'password' => 'pass',\r\n        'container' => 'storage',\r\n        'autocreate' => true,\r\n        'region' => 'SBG-1',\r\n        'url' => 'https://auth.Runabove.io/v2.0',\r\n        'tenantName' => 'id',\r\n        'serviceName' => 'swift',\r\n    ),\r\n),\r\n```\r\n\r\n**Env-Details:**\r\n\r\n- Ubuntu 14.04\r\n- Nginx 1.8\r\n- HHVM 3.6\r\n- redis 2.8\r\n- mariadb 10.1.7\r\n\r\n\r\nEnabled:\r\n - activity: 2.0.2\r\n - files: 1.1.10\r\n - files_external: 0.2.3\r\n - files_locking:\r\n - files_pdfviewer: 0.7\r\n - files_sharing: 0.6.2\r\n - files_texteditor: 0.4\r\n - files_trashbin: 0.6.3\r\n - files_versions: 1.0.6\r\n - files_videoviewer: 0.1.3\r\n - firstrunwizard: 1.1\r\n - gallery: 0.6.0\r\n - provisioning_api: 0.2\r\n - templateeditor: 0.1\r\n - updater: 0.6\r\n\r\nDisabled:\r\n - encryption\r\n - external\r\n - user_external\r\n - user_ldap\r\n - user_webdavauth\r\n\r\n#### UPDATE:\r\n**OC 8.0.8 on the same Server: It does work!**\r\nBut: On OC 8.0.8 remove does not work, the files are still on the swift backend\r\n\r\nHmm, after an Upgrade from 8.0.8 to 8.1.3 it does work, however i still can not remove files. Of course its working in owncloud, but the files still persist on the swift storage backend.\r\n\r\nSomething is not running very smooth with openstack storage...\r\n\r\nBR Bernd"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/146858174","html_url":"https://github.com/owncloud/core/issues/19255#issuecomment-146858174","issue_url":"https://api.github.com/repos/owncloud/core/issues/19255","id":146858174,"user":{"login":"butonic","id":956847,"avatar_url":"https://avatars.githubusercontent.com/u/956847?v=3","gravatar_id":"","url":"https://api.github.com/users/butonic","html_url":"https://github.com/butonic","followers_url":"https://api.github.com/users/butonic/followers","following_url":"https://api.github.com/users/butonic/following{/other_user}","gists_url":"https://api.github.com/users/butonic/gists{/gist_id}","starred_url":"https://api.github.com/users/butonic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/butonic/subscriptions","organizations_url":"https://api.github.com/users/butonic/orgs","repos_url":"https://api.github.com/users/butonic/repos","events_url":"https://api.github.com/users/butonic/events{/privacy}","received_events_url":"https://api.github.com/users/butonic/received_events","type":"User","site_admin":false},"created_at":"2015-10-09T12:46:13Z","updated_at":"2015-10-09T12:46:13Z","body":"@Berndinox the testsuite is in place and https://github.com/owncloud/core/pull/17641 should fix the move / rename problems."}}