{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/13574","labels_url":"https://api.github.com/repos/owncloud/core/issues/13574/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/13574/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/13574/events","html_url":"https://github.com/owncloud/core/issues/13574","id":55072002,"number":13574,"title":"OC_Preferences issues with a server with multiple instances of owncloud","user":{"login":"tombou","id":4664655,"avatar_url":"https://avatars.githubusercontent.com/u/4664655?v=3","gravatar_id":"","url":"https://api.github.com/users/tombou","html_url":"https://github.com/tombou","followers_url":"https://api.github.com/users/tombou/followers","following_url":"https://api.github.com/users/tombou/following{/other_user}","gists_url":"https://api.github.com/users/tombou/gists{/gist_id}","starred_url":"https://api.github.com/users/tombou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tombou/subscriptions","organizations_url":"https://api.github.com/users/tombou/orgs","repos_url":"https://api.github.com/users/tombou/repos","events_url":"https://api.github.com/users/tombou/events{/privacy}","received_events_url":"https://api.github.com/users/tombou/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/triage","name":"triage","color":"00FFFF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-21T20:24:21Z","updated_at":"2015-01-22T09:04:16Z","closed_at":null,"body":"I have a problem when I try to upgrade from 6.0.6 to 7.0.4 on a server with multiple instances of owncloud. The first instance I upgraded, no problem at all, it was working great. When I tried to upgrade the second one, the process went fine, no issues using the php occ upgrade command. When I tried to login, I've got a blank page and in the error log I've got this:\r\n\r\n{\"reqId\":\"54c00553d3320\",\"app\":\"PHP\",\"message\":\"Cannot redeclare class OC_Preferences at \\/home\\/ubuntu\\/web\\/oc7test\\/owncloud\\/lib\\/private\\/legacy\\/preferences.php#28\",\"level\":3,\"time\":\"2015-01-21T20:00:21+00:00\",\"method\":\"GET\",\"url\":\"\\/\"}\r\n\r\nThe webdav access failed too with the same error.\r\n\r\nWhen I turn off the first instance within the server, the second one works like a charm! Turning on again the first instance make this one with a blank page with the same kind of error.\r\n\r\nWith owncloud 6, no issues of this kind at all.\r\n\r\nConfig: Ubuntu 14.04 using latest stable php 5 and latest nginx"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/70990279","html_url":"https://github.com/owncloud/core/issues/13574#issuecomment-70990279","issue_url":"https://api.github.com/repos/owncloud/core/issues/13574","id":70990279,"user":{"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},"created_at":"2015-01-22T09:04:16Z","updated_at":"2015-01-22T09:04:16Z","body":"@tombou This looks like a configuration problem. You send the exact same log snippets (have a look at the request IDs - some are identical in both paths.) Or could it be that both instances write to the same log file?\r\n\r\nI never heard of such a problem with other installations. The paths are all generated relative to the owncloud root and never go outside of this root. Can you please show both webserver configs?"}}