【NextCloud】サーバに直接アップロードしたファイルをDBに反映するコマンド
![](https://vamdemicsystem.black/wp-content/uploads/2019/10/13.jpg)
dockerの場合、-u 33を着けてといわれる。
バージョンは29
1 |
docker-compose exec -u 33 app php /var/www/html/occ files:scan --all |
実行結果
1 2 3 4 5 6 7 8 |
[root@nextcloud ~]# docker-compose exec -u 33 app php /var/www/html/occ files:scan --all WARN[0000] /root/docker-compose.yaml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion Starting scan for user 1 out of 1 (yuta) +---------+-------+-----+---------+---------+--------+--------------+ | Folders | Files | New | Updated | Removed | Errors | Elapsed time | +---------+-------+-----+---------+---------+--------+--------------+ | 5 | 44 | 0 | 0 | 0 | 0 | 00:00:01 | +---------+-------+-----+---------+---------+--------+--------------+ |