nextcloud not finding linux manual added folder/files Topic is solved

Having issues with your DietPi installation or found a bug? Post it here.
Post Reply
mail2rst
Posts: 135
Joined: Fri Apr 13, 2018 4:53 pm

nextcloud not finding linux manual added folder/files

Post by mail2rst »

I need expert advice. I have setup nextcloud on my dietpi machine (raspberypi3/usb HDD). I have copied about 300GB image through linux copy command (cp) manually to the my nextcloud user folder like (/mnt/dietpi_userdata/nextcloud_data/my_user). this is the same folder in which i see nextcloud generated default folder (like template, instaupload etc.). i have change the file permission for all to www-data (0644) right. but in nextcloud app i am not able to see any file or folder. then i try to found solution on nextcloud forum. & they told that we have to do "occ files:scan all" command. i translate that command into dietpi as below. but still system is not able to find my manual added folders.
`
root@DietPi:~# sudo -u www-data php /var/www/nextcloud/occ files:scan all
Unknown user 1 all
+---------+-------+--------------+
| Folders | Files | Elapsed time |
+---------+-------+--------------+
| 0 | 0 | 00:00:00 |
+---------+-------+--------
`
I want to do this only one time as with USB-3 i download all 300gb data within few hours. if i do via ftp/webdav it may take many days. please help me to fix this situation one time. after that i will always use nextcloud webpage to sync data.
thanks
Dopoulo
Posts: 7
Joined: Fri Aug 28, 2020 11:22 am

Re: nextcloud not finding linux manual added folder/files

Post by Dopoulo »

Use "--all" instead of "all"
Post Reply