daddyfix Posted October 22, 2014 Report Posted October 22, 2014 I cant seem to create a LINK to a Folder on Raspberry Pi with a supplied Secret from a mobile Camera Backup Testing DetailsBTsync Version: 1.3.109Platform: Linux ARM Raspberry Pi Model B+Mobile: Android HTC One M8Storage on Mobile: Internal (NOT SD CARD) API Request:http://127.0.0.1:8888/api?method=add_folder&dir=/path/to/mnt/exteral/hdd&secret=<hidden> Error Returned from btsync:"error": 100, "message": "Can`t open the destination folder" Please help. Quote
RomanZ Posted October 27, 2014 Report Posted October 27, 2014 @daddyfixWhich user runs Sync on your PI? Make sure that it has access to "/path/to/mnt/exteral/" Quote
daddyfix Posted October 28, 2014 Author Report Posted October 28, 2014 Thank you for your help. I tried to change the permissions to root cause its on an External USB Drive with an NTFS format with no avail. But I think you are on to something. Perhaps could it be because the external drive is using the ntfs-3g driver to access the ntfs? /etc/fstabUUID=688F681855021DFG /mnt/usb ntfs-3g rw,user,exec,auto,permissions 0 0 User of BtSync Processroot 2079 1.1 1.6 62988 7992 ? Ssl 19:53 0:05 /mnt/usb/btsync/btsync --config /mnt/usb/btsync/btsync.conf Permissions of Dirdrwxrwxrwx 1 root root 0 Oct 27 19:57 Test_1 Error while adding with Secret$ sudo curl -Ss -u admin:pimedia "http://127.0.0.1:28888/api?method=add_folder&dir=Test_1&secret=XXXXU3C756ZRBNQPMMJPAI2KK5PXJXXXX"{ "error": 100, "message": "Can't open the destination folder." }[sOLVED]Stupid Me, my add_folder path was relative and not full. $sudo curl -Ss -u admin:pimedia "http://127.0.0.1:28888/api?method=add_folder&dir=/mnt/usb/Test_1&secret=XXXXU3C756ZRBNXXXXJPAI2KK5PXJXXXX"{ "error": 0 } Thanks for your help. Sometimes you need another person to look at your bugs! Quote
RomanZ Posted October 28, 2014 Report Posted October 28, 2014 @daddyfixOkay, i'm glad to help. Though notice, that if your ext HDD is NTFS and mounted as read-only - Sync won't be able to add its service files there - which is totally necessary to sync. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.