File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -146,9 +146,9 @@ Please note that depending on the size of the `packagist_storage.tar.gz` file an
146146it can take several minutes for this command to finish.
147147
148148```
149- kubectl cp packagist_storage.tar.gz ui:/tmp/packagist_storage.tar.gz
150- kubectl exec ui /srv/manager/bin/console packagist:self-hosted:migrate-storage import /tmp/ packagist_storage.tar.gz && rm /tmp/packagist_storage.tar.gz
151-
149+ export UI_POD=$( kubectl get pods --no-headers -o custom-columns=":metadata.name"|grep ui-)
150+ kubectl cp packagist_storage.tar.gz $UI_POD: /tmp/packagist_storage.tar.gz -c ui
151+ kubectl exec $UI_POD -c ui -- /bin/sh -c "/srv/manager/bin/console packagist:self-hosted:migrate-storage import /tmp/packagist_storage.tar.gz && rm /tmp/packagist_storage.tar.gz"
152152```
153153
154154### Start the Private Packagist application
You can’t perform that action at this time.
0 commit comments