{"action":"created","issue":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/5340","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/5340/labels{/name}","comments_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/5340/comments","events_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/5340/events","html_url":"https://github.com/orientechnologies/orientdb/issues/5340","id":117393327,"number":5340,"title":"second node in a cluster does not get started","user":{"login":"mohamnag","id":4481421,"avatar_url":"https://avatars.githubusercontent.com/u/4481421?v=3","gravatar_id":"","url":"https://api.github.com/users/mohamnag","html_url":"https://github.com/mohamnag","followers_url":"https://api.github.com/users/mohamnag/followers","following_url":"https://api.github.com/users/mohamnag/following{/other_user}","gists_url":"https://api.github.com/users/mohamnag/gists{/gist_id}","starred_url":"https://api.github.com/users/mohamnag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mohamnag/subscriptions","organizations_url":"https://api.github.com/users/mohamnag/orgs","repos_url":"https://api.github.com/users/mohamnag/repos","events_url":"https://api.github.com/users/mohamnag/events{/privacy}","received_events_url":"https://api.github.com/users/mohamnag/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/orientechnologies/orientdb/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"lvca","id":312606,"avatar_url":"https://avatars.githubusercontent.com/u/312606?v=3","gravatar_id":"","url":"https://api.github.com/users/lvca","html_url":"https://github.com/lvca","followers_url":"https://api.github.com/users/lvca/followers","following_url":"https://api.github.com/users/lvca/following{/other_user}","gists_url":"https://api.github.com/users/lvca/gists{/gist_id}","starred_url":"https://api.github.com/users/lvca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lvca/subscriptions","organizations_url":"https://api.github.com/users/lvca/orgs","repos_url":"https://api.github.com/users/lvca/repos","events_url":"https://api.github.com/users/lvca/events{/privacy}","received_events_url":"https://api.github.com/users/lvca/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/orientechnologies/orientdb/milestones/64","html_url":"https://github.com/orientechnologies/orientdb/milestones/2.1.x%20(next%20hotfix)","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/milestones/64/labels","id":1282180,"number":64,"title":"2.1.x (next hotfix)","description":"","creator":{"login":"lvca","id":312606,"avatar_url":"https://avatars.githubusercontent.com/u/312606?v=3","gravatar_id":"","url":"https://api.github.com/users/lvca","html_url":"https://github.com/lvca","followers_url":"https://api.github.com/users/lvca/followers","following_url":"https://api.github.com/users/lvca/following{/other_user}","gists_url":"https://api.github.com/users/lvca/gists{/gist_id}","starred_url":"https://api.github.com/users/lvca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lvca/subscriptions","organizations_url":"https://api.github.com/users/lvca/orgs","repos_url":"https://api.github.com/users/lvca/repos","events_url":"https://api.github.com/users/lvca/events{/privacy}","received_events_url":"https://api.github.com/users/lvca/received_events","type":"User","site_admin":false},"open_issues":144,"closed_issues":27,"state":"open","created_at":"2015-08-31T15:18:49Z","updated_at":"2015-11-20T05:28:33Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-11-17T16:33:36Z","updated_at":"2015-11-21T14:26:06Z","closed_at":null,"body":"As mentioned in #5338, I'm dealing with moving an existing cluster from v2.0.15 to v2.1.5. \r\n\r\nAfter I setup the first node of v2.1.5, I'm trying to run the second node but with no success. The problem is that I get following errors (sslc is the name of database and sslc-db-backup-1 is the name of first node whereas sslc-db-1 is name of new node):\r\n\r\n```\r\n2015-11-17 16:24:29:781 WARNI [sslc-db-1]->[[sslc-db-backup-1]] requesting deploy of database 'sslc' on local server... [OHazelcastPlugin]\r\n2015-11-17 16:24:29:835 WARNI [sslc-db-1] moving existent database 'sslc' located in '/opt/orientdb/databases/sslc' to '/opt/orientdb/databases/../backup/databases/sslc' and get a fresh copy from a remote node... [OHazelcastPlugin]\r\n2015-11-17 16:24:29:835 SEVER [sslc-db-1] error on moving existent database 'sslc' located in '/opt/orientdb/databases/sslc' to '/opt/orientdb/databases/../backup/databases/sslc'. Try to move the database directory manually and retry [OHazelcastPlugin][sslc-db-1] Error on starting distributed plugin\r\ncom.orientechnologies.orient.server.distributed.ODistributedException: Error on moving existent database 'sslc' located in '/opt/orientdb/databases/sslc' to '/opt/orientdb/databases/../backup/databases/sslc'. Try to move the database directory manually and retry\r\n\tat com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.backupCurrentDatabase(OHazelcastPlugin.java:1007)\r\n\tat com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.requestDatabase(OHazelcastPlugin.java:954)\r\n\tat com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.installDatabase(OHazelcastPlugin.java:893)\r\n\tat com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.installNewDatabases(OHazelcastPlugin.java:1448)\r\n\tat com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.startup(OHazelcastPlugin.java:185)\r\n\tat com.orientechnologies.orient.server.OServer.registerPlugins(OServer.java:979)\r\n\tat com.orientechnologies.orient.server.OServer.activate(OServer.java:346)\r\n\tat com.orientechnologies.orient.server.OServerMain.main(OServerMain.java:41)\r\n```\r\n\r\nfirst of all, I have no idea why moving database to backup dir fails!! directory exists and is writable for the whole world.\r\n\r\nsecond I double check the \"existing\" directory before starting the server and it is totally empty. but just after starting the server, the directory contains a file named `distributed-config.json` it seems to me that the start script creates this file itself and then it can not accept it. "},"comment":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/comments/158647661","html_url":"https://github.com/orientechnologies/orientdb/issues/5340#issuecomment-158647661","issue_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/5340","id":158647661,"user":{"login":"lvca","id":312606,"avatar_url":"https://avatars.githubusercontent.com/u/312606?v=3","gravatar_id":"","url":"https://api.github.com/users/lvca","html_url":"https://github.com/lvca","followers_url":"https://api.github.com/users/lvca/followers","following_url":"https://api.github.com/users/lvca/following{/other_user}","gists_url":"https://api.github.com/users/lvca/gists{/gist_id}","starred_url":"https://api.github.com/users/lvca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lvca/subscriptions","organizations_url":"https://api.github.com/users/lvca/orgs","repos_url":"https://api.github.com/users/lvca/repos","events_url":"https://api.github.com/users/lvca/events{/privacy}","received_events_url":"https://api.github.com/users/lvca/received_events","type":"User","site_admin":false},"created_at":"2015-11-21T14:26:06Z","updated_at":"2015-11-21T14:26:06Z","body":"Are you using docker? \r\n\r\nHowever, you can also use another directory by setting this config at startup in bin/server.sh script. Example: -Ddistributed.backupDirectory=/tmp (default is \"../backup/databases\").\r\n"}}