mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-04-21 12:07:00 +02:00
update nextcloud occ command
This commit is contained in:
parent
ced4fbc88b
commit
fdd9f013cb
@ -33,15 +33,17 @@ nginx:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ docker-compose up -d
|
$ docker-compose up -d
|
||||||
$ docker-compose exec --user www-data nextcloud bash
|
|
||||||
>>> php occ files:scan --all
|
$ docker-compose exec -u www-data nextcloud ./occ files:scan --all
|
||||||
Starting scan for user 1 out of 1 (admin)
|
Starting scan for user 1 out of 1 (admin)
|
||||||
+---------+-------+--------------+
|
+---------+-------+--------------+
|
||||||
| Folders | Files | Elapsed time |
|
| Folders | Files | Elapsed time |
|
||||||
+---------+-------+--------------+
|
+---------+-------+--------------+
|
||||||
| 10 | 21 | 00:00:00 |
|
| 10 | 21 | 00:00:00 |
|
||||||
+---------+-------+--------------+
|
+---------+-------+--------------+
|
||||||
>>> exit
|
|
||||||
|
$ crontab -l
|
||||||
|
0 * * * * docker exec -u www-data nextcloud_nextcloud_1 ./occ files:scan --all
|
||||||
```
|
```
|
||||||
|
|
||||||
You can use the [occ][2] admin tool.
|
You can use the [occ][2] admin tool.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user