Skip to content

Commit

Permalink
Update nextcloud app version to 27.0.1 (nextcloud#419)
Browse files Browse the repository at this point in the history
* updating nextcloud app version to 27.0.1

Signed-off-by: jessebot <[email protected]>

* adding some docs on upgrades and backups

Signed-off-by: jessebot <[email protected]>

* Update charts/nextcloud/README.md -  add backups link

Signed-off-by: JesseBot <[email protected]>

---------

Signed-off-by: jessebot <[email protected]>
Signed-off-by: JesseBot <[email protected]>
Signed-off-by: Ben Yanke <[email protected]>
  • Loading branch information
jessebot authored and benyanke committed Aug 18, 2023
1 parent 401a26b commit ca48098
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/nextcloud/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: nextcloud
version: 3.5.19
appVersion: 27.0.0
version: 3.5.20
appVersion: 27.0.1
description: A file sharing server that puts the control and security of your own data back into your hands.
keywords:
- nextcloud
Expand Down
17 changes: 17 additions & 0 deletions charts/nextcloud/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ helm install my-release nextcloud/nextcloud
* [Running `occ` commands](#running-occ-commands)
* [Putting Nextcloud into maintanence mode](#putting-nextcloud-into-maintanence-mode)
* [Downloading models for recognize](#downloading-models-for-recognize)
* [Backups](#backups)
* [Upgrades](#upgrades)

## Introduction

Expand Down Expand Up @@ -466,3 +468,18 @@ kubectl exec $NEXTCLOUD_POD -- su -s /bin/sh www-data -c "php occ maintenance:mo
# $NEXTCLOUD_POD should be the name of *your* nextcloud pod :)
kubectl exec $NEXTCLOUD_POD -- su -s /bin/sh www-data -c "php occ recognize:download-models"
```
# Backups
Check out the [official Nextcloud backup docs](https://docs.nextcloud.com/server/latest/admin_manual/maintenance/backup.html). For your files, if you're using persistent volumes, and you'd like to back up to s3 backed storage (such as minio), consider using [k8up](https://github.com/k8up-io/k8up) or [velero](https://github.com/vmware-tanzu/velero).
# Upgrades
Since this chart utilizes the [nextcloud/docker](https://github.com/nextcloud/docker) image, provided you are using persistent volumes, [upgrades of your Nextcloud server are handled automatically](https://github.com/nextcloud/docker#update-to-a-newer-version) from one version to the next, however, you can only upgrade one major version at a time. For example, if you want to upgrade from version `25` to `27`, you will have to upgrade from version `25` to `26`, then from `26` to `27`. Since our docker tag is set via the [`appVersion` in `Chart.yaml`](https://github.com/nextcloud/helm/blob/main/charts/nextcloud/Chart.yaml#L4), you'll need to make sure you gradually upgrade the helm chart if you have missed serveral app versions.
⚠️ *Before Upgrading Nextcloud or the attached database, always make sure you take [backups](#backups)!*
After an upgrade, you may have missing indices. To fix this, you can run:
```bash
# where NEXTCLOUD_POD is *your* nextcloud pod
kubectl exec -it $NEXTCLOUD_POD -- su -s /bin/bash www-data -c "php occ db:add-missing-indices"
```

0 comments on commit ca48098

Please sign in to comment.