Closed simoneburalli closed 3 years ago
What is the device (cpu)? How much RAM (total/available)?
PHP is not the fastest language on the planet, so you need more resources. If you have a lot files to transfer, one option is to copy directly to disk (attach) or to use sftp (to /data/nextcloud/[user]/files) and then let Nextcloud know about it: https://github.com/syncloud/platform/wiki/Nextcloud#file-scan
What is the device (cpu)? How much RAM (total/available)?
It's an Odtoid HC4 (8GB RAM, if I well remember) with 2 HDD's in RAID1. I'll try sftp. Thanks a lot
UPDATE: through sftp the transfer rate is about 60 times faster (5 minutes instead of 5 hrs). Thanks a lot
UPDATE#2: the entire process with almost a double amount of data that I was trying to transfer yesterday took less than 2 hrs (snap run nextcloud.occ files:scan --all
took only 45 mins, see below). Some details: I have transferred 130 GB distributed over 30k files . @cyberb I think it would be great to put this solution in evidence for first time users that normally need to perform an initial massive upload of data before starting to use the sync client.
Here follows a small guide for dummies, as am I:
chown
recursively (option "-R") on the folder(s) you have transferred. Example: $ chown -R nextcloud:nextcloud /opt/disk/external/nextcloud/Maryann/files/My_Uploaded_Folder
. To perform this operation open the console of Syncloud (download Putty to avoid the connection of both a physical monitor and keyboard) and login with your credentials;snap run nextcloud.occ files:scan --all
. This will make Nextcloud aware of the changes you have performed on disk;Ciao
@cyberb to me you can close this issue. Thanks a lot
About 6 hrs for 40 GB and about 6000 files (all RAW photos). In my opinion it is too slow, almost unusable. Any idea to start from to understand what's wrong with the system configuration? Nextcloud has a slow responsiveness also in web interface to navigate dashboard, applications, etc. Any help will be appreciated a lot. Thanks in advance