Moe

Members
  • Posts

    624
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Moe

  1. You can go into the preferences on your NAS and refine the time sync checks for changes but be mindful that this also prevents the NAS from going into deep sleep when it is idling (eg at night) since it is checking regardless
  2. So what you can do is you right click on the share in your BitTorrent Sync GUI and then Preferences - Change Location. Then you should be able to point it to the correct location without creating a duplicate folder. Also make sure BitTorrent Sync binary is allowed to read/write to that directory.
  3. Mhh so I don't really think so. So FRITZ!Nas is a software feature inside of your Fritzbox and you can plug in a harddrive and put stuff on it accessible through MyFritz. What I would suggest doing is: Get a Raspberry Pi + small external 2,5" HDD and use that instead.
  4. Are you on 2.2 or 2.0? I would recommend updating to 2.2 and then try again. There you will be able to not participate in the pro trial. Let us know if you have any other issues
  5. I might add: If the machines are now power horses indexing might take a while (especially if it's a Raspberry Pi)
  6. Yeah I agree with you that it is a valid feature request and also that OwnCloud has it's own issues :> But it seems that BitBox is not a P2P service though when you have to have a webspace somewhere to make the file accessible.. If there was some sort of magic in the background to make all that happen on P2P basis please enlighten me Otherwise you are out of luck ;-)
  7. How are your calls setup? Can you give an example of a real call? But please, remove any kind of information that could be used by others to harm you or the data..
  8. For when I don't get a response, no "invalid" error the curl -v output looks like this: pi@raspberrypi:~/test/btsync/api$ curl -v -b cookie -u wrong_user_admin:password -X POST -H "Content-Type: application/json" -d '{"path":"/mnt/btsync/Moe/api/", "secret":"XXXXXXXXXXXXXXXXX" }' http://localhost:8888/api/v2/folders?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX* About to connect() to localhost port 8888 (#0)* Trying 127.0.0.1...* connected* Connected to localhost (127.0.0.1) port 8888 (#0)* Server auth using Basic with user 'wrong_user_admin'> POST /api/v2/folders?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX HTTP/1.1> Authorization: Basic XXXXXXXXXXXXXXXXXXX> User-Agent: curl/7.26.0> Host: localhost:8888> Accept: */*> Cookie: GUID=QzCE1Uz1em5QoKyKgqRf> Content-Type: application/json> Content-Length: 78>* upload completely sent off: 78 out of 78 bytes* HTTP 1.1 or later with persistent connection, pipelining supported< HTTP/1.1 401 Unauthorized< Connection: close< Content-Length: 0< Content-Type: text/html* Authentication problem. Ignoring this.< WWW-Authenticate: Basic realm="BitTorrent Sync"< Cache-Control: no-cache<* Closing connection #0pi@raspberrypi:~/test/btsync/api$The username should be admin and not wrong_user_admin. If username is correct, everything is working like expected.
  9. Uh.. tried that? btsync --config $conf --nodaemon --log ${storage_path}/sync.logI mean you must have a script that calls that and in that script ${storage_path} should be defined as a path. And you edit the line that actually calls the btsync binary with the line I posted above.
  10. Ok so for reference to whovever is going to read all this: Try to put a wrong password in the curl request. I have a username and password set in my BitTorrent Sync config file so I have to call curl with -u @zycho42: Take a look at the sample projects: https://github.com/bittorrent/sync_slack You can get a hang of it and copy pasta stuff together to make a nice script. And I definitely recommend using either Googles Go or Python for it.
  11. Huh so I think I had an error in my commands and I have re-checked it and it did not work. It did not give me an error though! So I think we are doing it right but it just does not work. I'm gonna report it to the Team.
  12. You have to add the token to your request URL like in the example below And how to add the folder is explained here: https://www.getsync.com/intl/de/api/docs#_folders_post So AFAIK you have to make the request like this: curl -b ~/btsync.cookie -u admin:pwd -X POST -H "Content-Type: application/json" -d '{"path":"/path/to/folder", "secret":"yoursecretgoeshere" }' http://localhost:8888/api/v2/folders?token=tokengoeshereMake sure the folder exists on your filesystem, and if not you can add another value to the json request which is "force" : "true"That did work for me at least.
  13. Yeah no problem! I was just waiting for them to update the API page. So I have this directory cd ~/test/btsync/apiI then make the token request using curl like this: curl -c cookie -u admin:password -X GET http://localhost:8888/api/v2/tokenWith the option -c I am writing the cookie to a file called cookie inside of ~/test/btsync/api The -u option is for the basic authentication of the username and password set in my current config file found close by your binary. In my case it is in ~/.btsync and is just called config. I then get a token response that looks like this: pi@raspberrypi:~/test/btsync/api$ curl -c cookie -u admin:password -X GET http://localhost:8888/api/v2/token{ "data": { "token": "tokenishere" }, "method": "GET", "path": "/api/v2/token", "status": 0 }pi@raspberrypi:~/test/btsync/api$You then take the token you get and put it to your POST request but also, which is the most important thing, you need to use the cookie you got with it with the option -b: curl -b cookie -u admin:password -X POST -H "Content-Type: application/json" -d '{"type": 1}' http://localhost:8888/api/v2/secret?token=tokenishereYou will end up with 2 secrets { "data": { "rosecret": "hereismyrosecret", "secret": "hereismyrwsecret" }, "method": "POST", "path": "/api/v2/secret", "status": 0 }The RO secret is longer than the RW secret and there is a trick you can use to get the encrypted secret! Look here: http://forum.bittorrent.com/topic/25823-generate-encrypted-read-only-secret-without-api-key/?p=76262 Right now it only works with the way above but that is a known bug and is on the list on bugs to be fixed. In a future release you will get a 3rd secret which is the encrypted secret. You can also, if you add the RW key to one of your machines, go to the preferences of that share you added the key to and see a third key in the GUI which is the encrypted one. The api is just not giving out the encrypted key..
  14. First of all I would edit your post and remove the link to your share lol. But on Linux you open up your linux WebGUI and click on gear icon on the top right and then Manuel Connection and there you paste the link.
  15. In fact it is actually the default value of BitTorrent Sync not to use DHT. If you take a look at this article here http://help.getsync.com/customer/portal/articles/1902048-sync-advanced-preferences--more-options I wonder why tuxpoldo is not updating it anymore..
  16. IMO this seems to be a bug. I know exactly what you mean and I think the welcome screen is just missing the option. Let's wait and see if one of the Sync Team members knows something about it. So they have changed the procedure to where you have to create a second Identity first and then link it to your original one - more switch to your original one. You can follow the steps here: http://help.getsync.com/customer/en/portal/articles/1901247-sync-private-identity-linking-my-devices
  17. Short answer: No, Sync is not for sharing a single file. You have to add a folder and then put a file in it. The setup I have with my friends is, that we have a share (for each friend I have one) called temp and in that thing I just drop stuff that is temporary like a any kind of file that I want to give them right away.
  18. Eldrin: I would now re-send the debug logs to the Support Technician so they can take a look. The log file should have that information in it. If you can fetch those from all clients that are affected that would def help them out
  19. You can add more columns by right clicking in the column bar on the top and adding more to it. Or you can add them in the settings Be aware that you might have to scroll left and right when you add all columns.
  20. Try to run it in --no-daemon mode this should print out all info on the command line
  21. Well, have you tried it? There have been lot's of bug fixes since March.. And if so you can report back so others can check for them selfs.
  22. You did what exactly? Please try to disconnect the folder from the NAS and the phone and then re-add it.
  23. No that feature is still there. Is that machine showing as offline or online?
  24. Ok so I tried the following curl -u admin:password -X POST -H "Content-Type: application/json" -d '{"type":1}' http://localhost:8888/api/v2/secretAnd it gave me this pi@raspberrypi:~$ curl -u admin:password -X POST -H "Content-Type: application/json" -d '{"type":1}' http://localhost:8888/api/v2/secretinvalid requestpi@raspberrypi:~$What am I missing? :/ /e Never mind ;-) I now know why