MyFirstBrain/Technik/Nextcloud-Einstellungen.md
2025-07-20 11:18:07 +02:00

68 lines
2.1 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
created: 2024-06-12T09:29
updated: 2025-07-20T11:17
---
### Einstellungen im VMManger :
##### Cloud Server
CPU 6
RAM 16 GB
Netzwerkkarte e1000
Display vga. (kein VM_VGA)
Die anderen muss ich noch machen !
#todo
### How to run `occ` commands?
[](https://github.com/nextcloud/all-in-one#how-to-run-occ-commands)
Simply run the following: `sudo docker exec --user www-data -it nextcloud-aio-nextcloud php occ your-command`. Of course `your-command` needs to be exchanged with the command that you want to run.
### Extern hinzugefügte Dateien sofort erkennen bzw Anzeigen :
Laden Sie sich [per FTP](https://www.hostflash.de/blog/webhosting/filezilla-anleitung-so-nutzen-sie-ihren-ftp-zugang-mit-ftps-oder-sftp.html "So nutzen Sie Ihren FTP Zugang") die Datei config.php aus dem Ordner „config“ Ihres Nextcloud Verzeichnisses herunter und öffnen Sie diese mit einem einfachen Texteditor wie z. B. [Notepad++](https://notepad-plus-plus.org/downloads/ "Zur offiziellen Downloadseite").
Fügen Sie nun die Zeile
'filesystem_check_changes' => 1,
in die config.php Datei ein, wie auf der nachfolgenden Abbildung zu sehen. Laden Sie diese nach dem Speichern wieder an die selbe Stelle auf Ihren Webspace hoch und überschreiben die alte Datei.
![config.php](https://www.hostflash.de/images/blog/web-apps/nextcloud/dateierkennung/filesystem-check-changes-aktivieren.png "config.php")
- [ ] muss ich noch übertragen
- [x] kann dann weg
##### **Config.php on Nexctloud AIO :**
_`/var/lib/docker/volumes/nextcloud_aio_nextcloud/_data/config/`_
Wenn Files nicht mehr angzeigt werden aber da sind dann :
```
sudo docker exec --user www-data -it nextcloud-aio-nextcloud php occ files:scan --all
```
##### occ
**Reindex :**
sudo docker exec --user www-data -it <name-of-your-docker-container> php occ
```
sudo docker exec --user www-data -it nextcloud-aio-nextcloud php occ db:add-missing-indices
```
**Wenn Files nicht mehr angzeigt werden aber da sind dann :**
```
sudo docker exec --user www-data -it nextcloud-aio-nextcloud php occ files:scan --all
```
#synology #nextcloud