Nextcloud user folder

G8One2

Patron
Joined
Jan 2, 2017
Messages
248
Anyone know if its possible to drop files etc, in user folders without using the NextCloud interface. I've tried to add files to my user folder, through windows file browser. The files are there but when you try to view them on the website, the files i just added to the users document folder doesnt show. I tried restarting the jail, even rebooting the whole server. Any file i copy and paste into user document, or even photo folders, isnt visible through the website. I was hoping i could do this because i have family members who have seperate folders they access through .ssh, and i would like to migrate all their data to the user folders of nextcloud by cut / pasting. Anyone have an ideas why this doesnt work and or how i can accomplish this?
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
Anyone have an ideas why this doesnt work
Because the nextcloud database doesn't know the files exist. You'll have to use the interface or an app if you want to see your files.
 

blueether

Patron
Joined
Aug 6, 2018
Messages
259
You need to rebuild the nextcloud db. Something like this is a start:
iocage console nextcloud cd /usr/local/www/nextcloud/ sudo -u www php occ files:scan --all
 
Top