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 @@ -138,7 +138,7 @@ kubectl scale statefulset redis --replicas 1
138138Importing the dist and artifact files requires the UI pods to be back online. Start them with the command below. This will take a few seconds.
139139You can use the second command to verify once 2/2 pods are running.
140140```
141- kubectl scale statefulset ui --replicas 1
141+ kubectl scale deployment ui --replicas 1
142142kubectl get pods -w
143143```
144144
@@ -148,15 +148,15 @@ it can take several minutes for this command to finish.
148148```
149149export UI_POD=$(kubectl get pods --no-headers -o custom-columns=":metadata.name"|grep ui-)
150150kubectl 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 "
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"
152152```
153153
154154### Start the Private Packagist application
155155
156156Once your data has been restored. Start the application:
157157
158158```
159- kubectl scale deployment ui --replicas 1
159+ kubectl scale deployment ui repo worker --replicas 1
160160```
161161
162162This can take a few minutes. You can run the command below to see when all pods are back up and running.
You can’t perform that action at this time.
0 commit comments