storage normalization, security middlewares
All checks were successful
/ continuous-deploy (push) Successful in 23s
All checks were successful
/ continuous-deploy (push) Successful in 23s
This commit is contained in:
24
README.md
24
README.md
@@ -12,6 +12,8 @@ Using [NextCloud](https://nextcloud.com/)
|
||||
- [preview generator](#preview-generator)
|
||||
- [repair tree](#repair-tree)
|
||||
- [Repair AppData Cache (Fix App Store 500 Error)](#repair-appdata-cache-fix-app-store-500-error)
|
||||
- [force create indexes](#force-create-indexes)
|
||||
- [Mimetype migrations available](#mimetype-migrations-available)
|
||||
- [delete file locks](#delete-file-locks)
|
||||
- [Setup and Deploy](#setup-and-deploy)
|
||||
- [App](#app)
|
||||
@@ -73,7 +75,7 @@ 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
|
||||
su -s /bin/bash www-data -c "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%';"
|
||||
@@ -82,10 +84,26 @@ mariadb -u root -p nextcloud -e "DELETE FROM oc_filecache WHERE path LIKE 'appda
|
||||
rm -rf /var/www/html/data/appdata_*
|
||||
|
||||
# Disable maintenance mode
|
||||
sudo -u www-data php occ maintenance:mode --off
|
||||
su -s /bin/bash www-data -c "php occ maintenance:mode --off"
|
||||
|
||||
# Rebuild appdata and caches
|
||||
sudo -u www-data php occ maintenance:repair
|
||||
su -s /bin/bash www-data -c "php occ maintenance:repair"
|
||||
```
|
||||
|
||||
### force create indexes
|
||||
|
||||
```bash
|
||||
|
||||
# Rebuild appdata and caches
|
||||
su -s /bin/bash www-data -c "php occ db:add-missing-indices"
|
||||
```
|
||||
|
||||
### Mimetype migrations available
|
||||
|
||||
```bash
|
||||
|
||||
# Rebuild appdata and caches
|
||||
su -s /bin/bash www-data -c "php occ maintenance:repair --include-expensive"
|
||||
```
|
||||
|
||||
### delete file locks
|
||||
|
||||
Reference in New Issue
Block a user