docs(nextcloud): update guide with new features (#21120)
**Description** Updates guide with new features. ⚒️ Fixes # **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [ ] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code **🧪 How Has This Been Tested?** **📃 Notes:** **✔️ Checklist:** - [ ] ⚖️ My code follows the style guidelines of this project - [ ] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [ ] 📄 I have made corresponding changes to the documentation - [ ] ⚠️ My changes generate no new warnings - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [ ] ⬆️ I increased versions for any altered app according to semantic versioning - [X] I made sure the title starts with `feat(chart-name):`, `fix(chart-name):` or `chore(chart-name):` **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._
This commit is contained in:
+26
-12
@@ -22,9 +22,13 @@ If you are using two factor authentication on your Nextcloud accounts disable it
|
||||
|
||||
If you have not already done so install PGAdmin and the [tcdbinfo.sh script](/scale/guides/sql-export/#how-to-list-database-login-info-for-truecharts-apps)
|
||||
|
||||
import { Steps } from '@astrojs/starlight/components';
|
||||
|
||||
<Steps>
|
||||
|
||||
1. Run the tcdbinfo.sh script and take note of the connection info
|
||||
|
||||
```bash
|
||||
```bash title="List Database Info"
|
||||
bash tcdbinfo.sh
|
||||
```
|
||||
|
||||
@@ -36,6 +40,8 @@ If you have not already done so install PGAdmin and the [tcdbinfo.sh script](/sc
|
||||
3. Backup Nextcloud database.
|
||||

|
||||
|
||||
</Steps>
|
||||
|
||||
### Backup User Data
|
||||
|
||||
If you are using HostPath of NFS for UserData then no further action is required. If you are using PVC for UserData then you will first need to mount your Nextcloud PVC and copy your UserData to a new dataset.
|
||||
@@ -46,7 +52,7 @@ If you are using HostPath of NFS for UserData then no further action is required
|
||||
|
||||
This step is not required but to have a clean installation remove all UserData folder and files that are not user folders.
|
||||
|
||||
```bash
|
||||
```bash title="List Files"
|
||||
ls -la
|
||||
```
|
||||
|
||||
@@ -58,11 +64,11 @@ Next steps are destructive without a way to undo. Make sure you have proper back
|
||||
|
||||
You have been **warned**
|
||||
|
||||
```bash
|
||||
```bash title="Remmove Old Nextcloud Users/Folders"
|
||||
rm -rf <folder>
|
||||
```
|
||||
|
||||
```bash
|
||||
```bash title="Remove Old Nextcloud Files"
|
||||
rm .ocdata .htaccess index.html nextcloud.log
|
||||
```
|
||||
|
||||
@@ -98,9 +104,11 @@ Wait for Nextcloud to fully deploy before proceeding.
|
||||
|
||||
:::
|
||||
|
||||
<Steps>
|
||||
|
||||
1. Stop the main pod of Nextcloud.
|
||||
|
||||
```bash
|
||||
```bash title="Stop Main Pod of Nextcloud"
|
||||
k3s kubectl scale deploy nextcloud -n ix-nextcloud --replicas=0
|
||||
```
|
||||
|
||||
@@ -122,10 +130,12 @@ PGAdmin may display an error during the restore process. This is known to occur
|
||||
|
||||
7. Start the main pod of Nextcloud.
|
||||
|
||||
```bash
|
||||
```bash title="Start Main Pod of Nextcloud"
|
||||
k3s kubectl scale deploy nextcloud -n ix-nextcloud --replicas=1
|
||||
```
|
||||
|
||||
</Steps>
|
||||
|
||||
### OCC Commands
|
||||
|
||||
:::caution[Nextcloud Deploy]
|
||||
@@ -134,34 +144,38 @@ Wait for Nextcloud to fully deploy before proceeding.
|
||||
|
||||
:::
|
||||
|
||||
<Steps>
|
||||
|
||||
1. Open a shell for the Nextcloud main pod as shown below. Ensure your are selecting the correct pod it should just say nextcloud for both Pods (followed by random characters only) and Containers as shown below.
|
||||

|
||||
2. Run the following commands in the Nextcloud shell.
|
||||
|
||||
```bash
|
||||
```bash title="Run Upgrade"
|
||||
occ upgrade
|
||||
```
|
||||
|
||||
```bash
|
||||
```bash title="Turn On Maintenance Mode"
|
||||
occ maintenance:mode --on
|
||||
```
|
||||
|
||||
```bash
|
||||
```bash title="Run Repair"
|
||||
occ maintenance:repair
|
||||
```
|
||||
|
||||
```bash
|
||||
```bash title="Turn Off Maintenance Mode"
|
||||
occ maintenance:mode --off
|
||||
```
|
||||
|
||||
```bash
|
||||
```bash title="title="Add Missing Database Indices"
|
||||
occ db:add-missing-indices
|
||||
```
|
||||
|
||||
```bash
|
||||
```bash title="Scan All User Files"
|
||||
occ files:scan --all
|
||||
```
|
||||
|
||||
</Steps>
|
||||
|
||||
### Delete Temporary User Data Folder
|
||||
|
||||
You may now remove the folder created during install for the temporary user that was configured.
|
||||
Reference in New Issue
Block a user