Jump to content

davidk845

Members
  • Posts

    8
  • Joined

  • Last visited

Posts posted by davidk845

  1. 2 hours ago, CHBMB said:

    So played around with this on Nextcloud, just to see how it works..

     

    
    docker exec nextcloud /bin/sh -c "sudo -u abc php7 /config/www/nextcloud/occ files:scan --all"
    
    root@server:~# docker exec nextcloud /bin/sh -c "sudo -u abc php7 /config/www/nextcloud/occ files:scan --all"
    
    Scanning files for 2 users
    Starting scan for user 1 out of 2 (wife)
    Starting scan for user 2 out of 2 (chbmb)
    
    +---------+-------+--------------+
    | Folders | Files | Elapsed time |
    +---------+-------+--------------+
    | 360     | 6199  | 00:00:50     |
    +---------+-------+--------------+

    So I guess all you'd have to change for Owncloud is the container name, path and the user (abc) if it's different.

     

    Hope that helps. :)

    Thank you so much that’s incredibly helpful!

×
×
  • Create New...