Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

psite-clone runs update.php, even without the --update option #156

Open
jessepinho opened this issue Jul 16, 2014 · 8 comments
Open

psite-clone runs update.php, even without the --update option #156

jessepinho opened this issue Jul 16, 2014 · 8 comments
Labels

Comments

@jessepinho
Copy link

Pretty much all in the title. Since --update is an option for psite-clone, I would expect it not to run update.php when that option is absent. But it does anyway (according to the "Active Jobs" in the Pantheon dashboard).

@joshkoenig
Copy link
Contributor

I'm not seeing this in my environment. The jobs run are:

Clone Database from Live to Testing
finished a few seconds ago

Copy Files from Live to Testing
finished a few seconds ago

@joshkoenig
Copy link
Contributor

I can confirm that it also doesn't run the db updates upon re-syncing the data.

Can you verify this again on your end, and also try running it with the --debug --verbose flags and gisting the output so we can see?

@jessepinho
Copy link
Author

Will do.

First, the screenshot of the dashboard: http://i.imgur.com/G288JTx.png

Re: the gist: are there any security concerns with including Pantheon site and user IDs in the output, or should I remove them first?

@joshkoenig
Copy link
Contributor

You shouldn't have any concerns with exposing UUIDs in public. They don't let anyone do anything without access to your account.

@jessepinho
Copy link
Author

@joshkoenig
Copy link
Contributor

So you gist shows that it is indeed setting up update.php to run:

 "params": {"updatedb": 1}

However, this doesn't happen for me when I run it. The only difference I can see is that you're using backticks to fill in the UUID. Can you try it with the uuid in the command rather than in backticks just to eliminate this as a potential problem?

@jessepinho
Copy link
Author

https://gist.github.com/jessepinho/802af82f87f1361039a7#file-psite-clone-with-uuid

Even with the raw UUID, it still includes "updatedb": 1. (Just checked the Pantheon dashboard, too, and it did indeed run update.php in testing.)

@joshkoenig
Copy link
Contributor

Crazy! I'll look deeper this weekend.
On Jul 18, 2014 8:19 PM, "jessepinho" [email protected] wrote:

https://gist.github.com/jessepinho/802af82f87f1361039a7#file-psite-clone-with-uuid

Even with the raw UUID, it still includes "updatedb": 1. (Just checked
the Pantheon dashboard, too, and it did indeed run update.php in testing.)


Reply to this email directly or view it on GitHub
pantheon-systems/terminus#156 (comment)
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants