This commit is contained in:
23
README.md
23
README.md
@@ -9,6 +9,7 @@ Using [NextCloud](https://nextcloud.com/)
|
|||||||
- [scan files](#scan-files)
|
- [scan files](#scan-files)
|
||||||
- [preview generator](#preview-generator)
|
- [preview generator](#preview-generator)
|
||||||
- [repair tree](#repair-tree)
|
- [repair tree](#repair-tree)
|
||||||
|
- [Repair AppData Cache (Fix App Store 500 Error)](#repair-appdata-cache-fix-app-store-500-error)
|
||||||
- [delete file locks](#delete-file-locks)
|
- [delete file locks](#delete-file-locks)
|
||||||
- [Setup and Deploy](#setup-and-deploy)
|
- [Setup and Deploy](#setup-and-deploy)
|
||||||
- [App](#app)
|
- [App](#app)
|
||||||
@@ -55,6 +56,28 @@ su -s /bin/bash www-data -c "./occ preview:generate-all --path=marcio.fernandes/
|
|||||||
su -s /bin/bash www-data -c "php occ files:repair-tree"
|
su -s /bin/bash www-data -c "php occ files:repair-tree"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Repair AppData Cache (Fix App Store 500 Error)
|
||||||
|
|
||||||
|
When the App Store returns HTTP 500, the cause is usually stale filecache entries pointing to missing files inside appdata_*.
|
||||||
|
This procedure clears the broken cache and forces Nextcloud to rebuild it.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Enable maintenance mode
|
||||||
|
sudo -u www-data php occ maintenance:mode --on
|
||||||
|
|
||||||
|
# Remove stale filecache entries (run inside MariaDB)
|
||||||
|
mariadb -u root -p nextcloud -e "DELETE FROM oc_filecache WHERE path LIKE 'appdata_ocuihfjhxkga/appstore%';"
|
||||||
|
|
||||||
|
# Remove corrupted appdata folder
|
||||||
|
rm -rf /var/www/html/data/appdata_*
|
||||||
|
|
||||||
|
# Disable maintenance mode
|
||||||
|
sudo -u www-data php occ maintenance:mode --off
|
||||||
|
|
||||||
|
# Rebuild appdata and caches
|
||||||
|
sudo -u www-data php occ maintenance:repair
|
||||||
|
```
|
||||||
|
|
||||||
### delete file locks
|
### delete file locks
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
image:
|
image:
|
||||||
repository: nextcloud
|
repository: nextcloud
|
||||||
flavor: apache
|
flavor: apache
|
||||||
tag:
|
tag: "latest"
|
||||||
pullPolicy: Always
|
pullPolicy: Always
|
||||||
|
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
@@ -84,7 +84,14 @@ resources:
|
|||||||
cronjob:
|
cronjob:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
|
# openssl.cafile = /etc/ssl/certs/ca-certificates.crt
|
||||||
|
#openssl.capath = /etc/ssl/certs
|
||||||
|
|
||||||
|
|
||||||
nextcloud:
|
nextcloud:
|
||||||
|
phpConfigs:
|
||||||
|
php.ini: |-
|
||||||
|
memory_limit = 512M
|
||||||
extraVolumes:
|
extraVolumes:
|
||||||
- name: mf-documents
|
- name: mf-documents
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
@@ -131,6 +138,12 @@ nextcloud:
|
|||||||
- name: it-storage
|
- name: it-storage
|
||||||
mountPath: /var/www/html/data/marcio.fernandes/files/NeirdStorage
|
mountPath: /var/www/html/data/marcio.fernandes/files/NeirdStorage
|
||||||
configs:
|
configs:
|
||||||
|
# appstore.override.config.php: |-
|
||||||
|
# <?php
|
||||||
|
# $CONFIG = array (
|
||||||
|
# 'appstoreenabled' => true,
|
||||||
|
# 'appstoreurl' => 'https://apps.nextcloud.com/api/v1',
|
||||||
|
# );
|
||||||
https.config.php: |-
|
https.config.php: |-
|
||||||
<?php
|
<?php
|
||||||
$CONFIG = array (
|
$CONFIG = array (
|
||||||
|
|||||||
Reference in New Issue
Block a user