-
-
Notifications
You must be signed in to change notification settings - Fork 295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Best way to move big files/folders to nexctcloudpi USB drive from a linux/windows pc #94
Comments
You will have to do it as superuser, because the data folder is owned by If you do it from a file manager, for example, You can also use SCP, NFS or SMB for big files so you do not have to unplug the USB each time. See this article |
Hello Nachoparker, thank you for your always prompt response. I tried to activate samba in sudo nextcloudpi-config, but got this error:
I have usb hdd attached. The samba user name&pw is the same as the one I use with putty to ssh into the Rpi, correct? |
If you are using the NextCloudPi_07-29-17 image, there was this bug #82 Probably if you type
|
Yes, I'm using the NextCloudPi_07-29-17.img. Yes this is what I got:
|
I am sorry to say that you have to use the latest image due to that bug. I recommend that you use |
I am afraid you are going to have to download image NextCloudPi_08-08-17 and start from there. Upgrading is not enough, it doesn't matter admin page, or :( |
OK, ran the nc-restore the 2nd time seems to fixed it. I can log back in to nextcloud but the not showing any of the files/folders from the HDD. |
Launching nc-scan, the result:
Log in to nextcloud still not showing any files from the hdd. |
Did you move your data directory? you should really start from the latest image |
When I first installed it, I followed your instructions and did the following: Before updating I did nc-backup, after updating I ran nc-restore. Note: I did not "include Data" when backing up, I assumed it's just for backing up all the files I put in the HDD. Will this cause the problem for the files in HDD not showing up anymore? |
If you didn't include the data, then your Nextcloud data will not be in the backup. If you moved the datadir they should still be there, wherever you put them. You can try moving the datadir again to the same place, or moving manually the files |
Oops..I made a stupid mistake. So how can I get all the files/folders in the HDD to show up again in nextcloud? I guess all my files/folders should still be in the HDD, right? |
right. At the location where you instructed to move them ( |
So to get the files to show up should I run nc-datadir or nc-database? What is the different between the 2? |
|
Did ran the nc-datadir and leave the default location ( /media/USBdrive/ncdata by default ). Then launching nc-scan, after 3 minutes it found 3 folders which is correct but no files? Starting scan for user 1 out of 1 (admin) +---------+-------+--------------+ |
Tried to run nc-datadir again and got this: Launching nc-datadir |
you have to change it manually. Please try
, and modify
( |
I got it working again, thank you very much for your help. Inside the /config.php, I see that it's 'version' => '12.0.1.5'. I think I better just gave up samba, since it's causing some issue. |
great
Thanks for the feedback, because I had not noticed this |
I did a backup image of my working sdcard. I would like to try to activate samba again. When you said "fixed in the new image", is that meant I need to download the new image and burned it onto an sd card and start from new again? The problem I was facing yesterday was when I updated to the new version through sudo nextcloudpi-config. Thanks. |
I have 2TB HDD setup with nextcloudpi. Since the 2GB limit, I haven't been able to copy/upload my pictures (total of 1.5 TB). I have tried plugin the 2TB HDD to a laptop running Linux mint, when trying to open the "ncdata folder" it gave me error:
"The folder content cannot be displayed"
"You do not have permission necessary to view the content of ncdata"
The text was updated successfully, but these errors were encountered: