You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you installed Private Packagist Self-Hosted with Helm into your existing cluster, you can update the application with the command
48
+
below. Make sure to compare your existing `values.yaml` file to the [current one](http://packagist.com.lo/docs/self-hosted/kubernetes-helm#annotated-configuration) first.
49
+
50
+
```
51
+
helm upgrade -f values.yaml private-packagist oci://registry.replicated.com/privatepackagistkots/private-packagist --version VERSION
52
+
```
53
+
54
+
You can find the latest version in the [changelog](changelog). You can safely bump multiple versions at once, it's not required to
55
+
install individual versions consecutively. If we ever release a version that needs to be installed specifically,
56
+
we will make sure to communicate this first.
40
57
58
+
We recommend backing up your database before each update. We cannot guarantee that downgrading to a previous release will always work
59
+
due to database migrations. In case of upgrade failure, the most reliable way to rollback to the previous version is via backup.
Copy file name to clipboardExpand all lines: docs/self-hosted/kubernetes-migration-guide.md
+21Lines changed: 21 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -188,3 +188,24 @@ Ideally, run a `composer update` command in one of your projects to assert that
188
188
189
189
In case you initially set up Private Packagist Self-Hosted Kubernetes with a different domain name, you can now edit the
190
190
domain names in the admin panel. If necessary, adjust your DNS entries, and shut down the old Private Packagist Self-Hosted instance.
191
+
192
+
### Clear the cache
193
+
194
+
The final step is to clear the Composer endpoint cache. If you are not using the built-in Redis database, check your internal documentation how to connect to the Redis instance.
195
+
196
+
**Important:** Please note that there are multiple databases created in your Redis instance, and that Redis is not solely used for caching.
197
+
Be careful not to flush any of the other migrated databases.
198
+
199
+
```
200
+
kubectl exec -it redis-0 -- redis-cli -p 9869
201
+
select 5
202
+
flushdb
203
+
```
204
+
205
+
### Update Composer projects
206
+
207
+
Update the Composer projects that use your self-hosted Private Packagist instance to make sure all repository references are up-to-date:
Copy file name to clipboardExpand all lines: docs/self-hosted/kubernetes-troubleshooting.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,4 +60,21 @@ proxy_ssl_server_name on;
60
60
If you are using different hostnames on the upstream and on the reverse-proxy, set the value in the
61
61
`proxy_ssl_name` directive to the corresponding hostname of the upstream server.
62
62
63
+
#### Issues after changing the Private Packagist Self-Hosted domain name
64
+
65
+
If you've changed the domain name used to access your Private Packagist Self-Hosted Kubernetes installation, you'll need to clear the Composer endpoint Redis cache.
66
+
67
+
**Important:** Please note that there are multiple databases created in your Redis instance, and that Redis is not solely used for caching.
68
+
Be careful not to flush any of the other databases.
69
+
70
+
If you are not using the built-in Redis database, check your internal documentation how to connect to the Redis instance.
71
+
72
+
```
73
+
kubectl exec -it redis-0 -- redis-cli -p 9869
74
+
select 5
75
+
flushdb
76
+
```
77
+
78
+
Afterwards, run `composer update mirrors` to make sure all repository references are up-to-date.
0 commit comments