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
Copy file name to clipboardExpand all lines: docs/troubleshoot/troubleshoot.md
+20-5Lines changed: 20 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,11 +98,7 @@ If the error persists:
98
98
1. Take note of the parameter `client_id` in the URL of the Bitbucket Cloud error page (for example, `r8QJDkkxj8unYfg4Bd`)
99
99
2. Check if the value of the parameter matches the value of the Client ID of your Bitbucket OAuth consumer
100
100
101
-
## Codacy configuration
102
-
103
-
The following sections help you troubleshoot the Codacy configuration.
104
-
105
-
### Accessing the RabbitMQ dashboard
101
+
## Accessing the RabbitMQ dashboard
106
102
107
103
We use RabbitMQ for the internal message queue between our components.
108
104
@@ -131,3 +127,22 @@ If the **Code patterns** page of your repositories doesn't list a new tool that
131
127
```bash
132
128
curl -X POST localhost:9000/api/v1/engine/initialize
133
129
```
130
+
131
+
## Upgrade failed: cannot patch "codacy-minio"
132
+
133
+
If you download and use an updated `values-production.yaml` file while upgrading to [Codacy Self-hosted 9.0.0](/release-notes/self-hosted/self-hosted-v9.0.0/), you'll get the following error:
134
+
135
+
> Error: UPGRADE FAILED: cannot patch "codacy-minio" with kind PersistentVolumeClaim: persistentvolumeclaims "codacy-minio" is forbidden: only dynamically provisioned pvc can be resized and the storageclass that provisions the pvc must support resize
136
+
137
+
This happens because [we updated the MinIO PVC size](https://github.com/codacy/chart/commit/40a158f8b6f62a6f90387060b86fe1dd8d008ed5). As a workaround, you can either:
138
+
139
+
- Reset the PVC size back to the original value of 20Gi on your `values.yaml` file:
140
+
141
+
```yaml
142
+
minio:
143
+
fullnameOverride: codacy-minio
144
+
persistence:
145
+
size: 20Gi
146
+
```
147
+
148
+
- [Uninstall your current version of Codacy](../maintenance/uninstall.md) and reinstall Codacy Self-hosted 9.0.0 directly. Your data won't be impacted by the uninstall since it's stored on the database.
0 commit comments