-
Notifications
You must be signed in to change notification settings - Fork 195
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
Change sites import to accept local files #732
Comments
Hi, @ioskevich. The issue is that the |
Cool, thanks for converting it into feature request. Being able to import local archive would be quite handy. |
++1 this feature request!! |
+1 |
Update: This work is being done as part of our site migrations project. We're updating how you create sites on Pantheon so that imports (which you'll find will be called "migrations" instead) so that it has a significantly improved rate of success. Stay tuned. |
Terminus version: 0.9.3
Terminus script: boot-fs.php
I have prepared site archive using drush ard and was able to import it with no problem through Pantheon UI. However, it fails when trying to do the same with terminus (same archive loaded from local file system, same Pantheon account).
CLI input/output:
WORK-MBA:~ vitaly$ terminus sites import
Human-readable label for the site: CLI TEST
Machine name of the site; used as part of the default URL (if left blank will be cli-test):
URL of archive to import: /Users/vitaly/Documents/TEMP/PROJECTS/AIR/safesupportive.20151202_161303.tar.gz
...................
[2015-12-07 11:32:45] [info] Created new site "cli-test"
Notice: Undefined variable: org_id in /Users/vitaly/terminus/php/Terminus/Models/Collections/Sites.php on line 80
..
[2015-12-07 11:33:06] [error] An error occurred, process unsuccessful.
New site has been created and accessible via dashboard: https://dashboard.pantheon.io/sites/1b9f11fc-7e2c-46dc-bde8-1452c9170ac1#dev/code
Going to dashboard then shows that site is created, but import was not actually run with the error in the workflows dropdown - Import code, files and database to "dev” failed.
Trying to run import once again through UI for the same site (as suggested by messages in site's dashboard) with same site archive succeeds.
Doing all the same through UI (create site, choose import file, choose same archive from local file system) creates files and runs import just fine.
The text was updated successfully, but these errors were encountered: