{"action":"created","issue":{"url":"https://api.github.com/repos/versionpress/support/issues/6","labels_url":"https://api.github.com/repos/versionpress/support/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/versionpress/support/issues/6/comments","events_url":"https://api.github.com/repos/versionpress/support/issues/6/events","html_url":"https://github.com/versionpress/support/issues/6","id":121050495,"number":6,"title":"No changes tracked","user":{"login":"jbvidex","id":9750924,"avatar_url":"https://avatars.githubusercontent.com/u/9750924?v=3","gravatar_id":"","url":"https://api.github.com/users/jbvidex","html_url":"https://github.com/jbvidex","followers_url":"https://api.github.com/users/jbvidex/followers","following_url":"https://api.github.com/users/jbvidex/following{/other_user}","gists_url":"https://api.github.com/users/jbvidex/gists{/gist_id}","starred_url":"https://api.github.com/users/jbvidex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbvidex/subscriptions","organizations_url":"https://api.github.com/users/jbvidex/orgs","repos_url":"https://api.github.com/users/jbvidex/repos","events_url":"https://api.github.com/users/jbvidex/events{/privacy}","received_events_url":"https://api.github.com/users/jbvidex/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-08T16:55:14Z","updated_at":"2015-12-09T15:06:18Z","closed_at":null,"body":"I'm trying to work out how to use VersionPress between servers.  I have set up a repository on GitLab.com to function as my Git server.  When I clone down to my staging/test server and run the restore-site command, then everything appears to be functioning, but no changes are tracked.  Here is what I did:\r\n\r\n1. Push from my dev machine to my account on GitLab.com.\r\n2. Do a git clone on the staging server.\r\n3. Run the 'wp core config' command to have wp-cli generate the wp-config.php file.\r\n4. Ran 'wp vp restore-site --require=wp-content/plugins/versionpress/src/Cli/vp.php --dbname=vanilla --dbuser=wp-user --dbpass=mypass'.\r\n5. Make some changes to the site - change title, post content, etc.\r\n6. Check the VersionPress page - it says, \"No more commits to show.\"  No table content is displayed."},"comment":{"url":"https://api.github.com/repos/versionpress/support/issues/comments/163283600","html_url":"https://github.com/versionpress/support/issues/6#issuecomment-163283600","issue_url":"https://api.github.com/repos/versionpress/support/issues/6","id":163283600,"user":{"login":"borekb","id":101152,"avatar_url":"https://avatars.githubusercontent.com/u/101152?v=3","gravatar_id":"","url":"https://api.github.com/users/borekb","html_url":"https://github.com/borekb","followers_url":"https://api.github.com/users/borekb/followers","following_url":"https://api.github.com/users/borekb/following{/other_user}","gists_url":"https://api.github.com/users/borekb/gists{/gist_id}","starred_url":"https://api.github.com/users/borekb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borekb/subscriptions","organizations_url":"https://api.github.com/users/borekb/orgs","repos_url":"https://api.github.com/users/borekb/repos","events_url":"https://api.github.com/users/borekb/events{/privacy}","received_events_url":"https://api.github.com/users/borekb/received_events","type":"User","site_admin":false},"created_at":"2015-12-09T15:06:18Z","updated_at":"2015-12-09T15:06:18Z","body":"Hi, I'm assuming that as a step \"3a\", you copy VersionPress manually from your orig site to your staging site, right?\r\n\r\nWhat's strange is that steps 4 works for you at all. If I try to follow your procedure, step 4 ends with an error because you are specifying settings on both the command line as arguments and they are already in the wp-config.php file. VersionPress 2.1.1 will not allow that and will tell you to remove wp-config.php to regenerate it.\r\n\r\nI went ahead and removed `wp-config,php` from the staging site and ran the step 4 again which worked fine. I was then able to make changes on the staging site, push them to GitLab, pull them from the live site (plain `git pull`), then ran `wp vp apply-change` and the sites were merged properly. (To be honest, these remote scenarios are not entirely supported so I was quite happy that it worked :) ).\r\n\r\nDoes this give any clues to you? Thanks."}}