merlinuwe

Members
  • Posts

    46
  • Joined

  • Last visited

Posts posted by merlinuwe

  1. Hi, dear helpers,

     

    yes, I've read this topic in the inofficial faq:

     

     

    How to make BitTorrent Sync "Portable"
    If you wish to make BitTorrent Sync "Portable" so that you can use it on another PC without installing, and run it directly from a USB memory stick, here's how:

    • Save the BitTorrent Sync installer onto your USB memory stick, and run it from that location.
    • When the installer begins, select "Portable Mode" for the Program Location (NOTE: You will only see the "Portable Mode" option if running the installer from a USB memory stick/SD card, etc)
    • BitTorrent Sync will then be installed in "Portable Mode" to your USB memory stick/SD card!

     

    But the installer tries to install the software on my PC not on the usb-stick. I got no choice for Portable Mode (1.2.82).

     

    What can I do, please?

     

    Greetings

     

    merlinuwe

  2. I tried "listen": "0.0.0.0:44444",

    and couldn't access the WebUI.

     

    Then I tried (after changing the sync.conf to port 8888)

     

    curl http://127.0.0.1:8888/gui/en/index.html -i -u mybtsyncusername:mybtsyncpassword | egrep "HTTP|Set-Cookie"
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100 15837  100 15837    0     0  15837      0  0:00:01 --:--:--  0:00:01 15.1M
    HTTP/1.1 200 OK
    Set-Cookie: GUID=yvOUYUyLejOr7TQd0vFa; path=/

     

     

    and couldn't access the WebUI, too.

     

     

    When I tried

     

    curl http://127.0.0.1:8888/gui/en/index.html -i -u username:mypassword | egrep ""

     

    I got the websites html-code.

    .

     

    When I tried

     

    netstat -a

     

    I saw, that port 8888 is listed somewhere:

     

    netstat -a
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State
    tcp        0      0 *:8000                  *:*                     LISTEN
    tcp        0      0 *:60384                 *:*                     LISTEN
    tcp        0      0 localhost:submission    *:*                     LISTEN
    tcp        0      0 *:sunrpc                *:*                     LISTEN
    tcp        0      0 *:auth                  *:*                     LISTEN
    tcp        0      0 *:4433                  *:*                     LISTEN
    tcp        0      0 *:33907                 *:*                     LISTEN
    tcp        0      0 *:ftp                   *:*                     LISTEN
    tcp        0      0 *:ssh                   *:*                     LISTEN
    tcp        0      0 *:8888                  *:*                     LISTEN
    tcp        0      0 localhost:smtp          *:*                     LISTEN
    tcp        0      0 *:10972                 *:*                     LISTEN
     

     

    So I changed the port it in the sync.conf to a few numbers, at last to 8080 and now IT WORKS!

     

    (BTW: It doesn't matter if I use 0.0.0.0:8080 or ip-address:8080)

     

    MANY thanks for your help!

  3. Thanks for your help, now I use your sync.config (with my server, path etc.) and have a connection to btsync installed on my notebook like before.

     

    But I cannot yet access the WebUI.

     

    I tested your sync.conf with 

    • i386
    • lInux i386(glibc 2.3)

    Both releases are running fine (which of them is the right for debian 6?) but as I said, without access to the WebUI.

     

    What can I do to solve the problem?

  4. {   "device_name": "servername.de btsync",  "listening_port" : 0,                       // 0 - randomize port  /* storage_path dir contains auxilliary app files   if no storage_path field: .sync dir created in the directory    where binary is located.   otherwise user-defined directory will be used *///  "storage_path" : "/home/user/.sync",    "storage_path" : "/home/www/doc/41467373/servername.de/www/btsync/.sync",  // uncomment next line if you want to set location of pid file// "pid_file" : "/var/run/btsync/btsync.pid",   "pid_file" : "/home/www/doc/41467373/servername.de/www/btsync/btsync.pid",     "check_for_updates" : true,   "use_upnp" : true,                              // use UPnP for port mapping/* limits in kB/s   0 - no limit*/  "download_limit" : 0,                         "upload_limit" : 0, /* remove "listen" field to disable WebUI   remove "login" and "password" fields to disable credentials check*/  "webui" :  {    "listen" : "serverip:44444",    "login" : "thisisthelogin",    "password" : "thisisapassword"  }/* !!! if you set shared folders in config file WebUI will be DISABLED !!!   shared directories specified in config file   override the folders previously added from WebUI.*/  ,  "shared_folders" :  [    {//  use --generate-secret in command line to create new secret      "secret" : "thesecretissecret",                   // * required field      "dir" : "/home/www/doc/41467373/servername.de/www/Austausch", // * required field//  use relay server when direct connection fails      "use_relay_server" : true,      "use_tracker" : true,       "use_dht" : true,      "search_lan" : false,//  enable sync trash to store files deleted on remote devices      "use_sync_trash" : true,//  specify hosts to attempt connection without additional search           "known_hosts" :      [        "anotherservername.no-ip.org:32725"      ]    }  ]// Advanced preferences can be added to config file.// Info is available in BitTorrent Sync User Guide.,"disk_low_priority": true,"rate_limit_local_peers": false,"folder_rescan_interval": 600,"sync_max_time_diff": 600,"lan_encrypt_data": true,"sync_trash_ttl": 30,"lan_use_tcp": false,"send_buf_size": 5,"max_file_size_diff_for_patching": 1000,"recv_buf_size": 5,"max_file_size_for_versioning": 1000}

    This is the code of my sync.config, which runs and syncs ok, but without WebUI.

     

    Could you please be so kind to change it, that I can run the WebUI? 

  5. I run btsync under debian 6 on a hosted webspace by starting it in the directory "www/btsync" with the command "./btsync"

     

    How can I access to bittorrent sync via the WebUI? Access with the url "xxx.xxx.xxx.xxx:8888/gui" doesn't work.

     

    (If I run it by "./btsync --config sync.conf", the WebUI doesn't work, too - but it is possible to sync with other peers.)

     

    On my FreeNAS at home I can access the WebUI. Is it only possible to access the WebUI in a local network?

     

    Greetings

     

    merlinuwe

  6. I'm not sure, if all of my files got synced.

     

    On Windows 8.1, and on Windows XP I use "properties" with the right mousekey ("Eigenschaften"). On both PC "hidden system files" and "hidden files and folders" are shown.

     

    I count all files, but not the folders ".SyncArchive" and ".Trashes".

     

    Windows 8.1:

    164GB, 172951 files, 25107 folders

     

    Windows XP:

    164 GB, 172901 files, 25107 folders.

     

    So I am missing 50 files on XP.

     

    bittorrent sync counts 164,1 GB in 168966 files on each of these PC.

     

    • Which files/folders does BTSync count and which files/folders not?
    • How can I find the 50 missing files on XP?
    • How can I test that there are the same files on each PC (over the internet)? (I also use FreeNAS 9.1.)
    • How can I "force" syncing, so that the amount of files are the same on each PC?

     

    Thanks for any advance.

  7. I start bittorrent sync 1.69 on FreeNAS (FreeBSD) with this command (Init/Shutdown Scripts):

    /mnt/NAS1GB/btsync/btsync --config /mnt/NAS1GB/btsync/sync.conf

    This is my configuration:

     

    Version FreeNAS-9.1.1-RELEASE-x64 (a752d35) Plattform AMD Athlon 64 X2 Dual Core Processor 4800+ Speicher 2011MB

     

    The following message appears at startup in /var/log/messages:

    Sep 16 22:13:26 freenas kernel: WARNING pid 2288 (btsync): ioctl sign-extension ioctl ffffffff8004667e

    What can I do to solve this Warning-message?

     

    Thanks for any advice.

     

    -merlinuwe

  8. Thanks for your help.

    I edited the sync.conf as follows (and deleted the comment-signs /* */):

    ,

    "shared_folders" :

    [

    {

    // use --generate-secret in command line to create new secret

    "secret" : "AxyxxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxxyxyyxyxyxyxyxU", // * required field (this is not the original secret)

    "dir" : "/home/www/doc/16737/myserver.de/www/Austausch", // * required field

    // use relay server when direct connection fails

    "use_relay_server" : true,

    "use_tracker" : true,

    "use_dht" : false,

    "search_lan" : true,

    // enable sync trash to store files deleted on remote devices

    "use_sync_trash" : true,

    // specify hosts to attempt connection without additional search

    "known_hosts" :

    [

    "192.168.1.2:44444"

    ]

    }

    ]

    // Advanced preferences can be added to config file.

    // Info is available in BitTorrent Sync User Guide.

    }

    Then I killed the process with

    kill -9 processid

    and startet again with

    ./btsync --config sync.conf

    But nothing is synced between the Webserver and my local Bittorent sync.I added new files on the webserver to the directory "Austausch" and on my notebook. The sync is only between the Windows Laptop and the server 2008R2 but not from or to the Webserver with Linux.

    Any idea? Perhaps anything else in my sync.conf is wrong?

    -merlinuwe

  9. At first: thanks to the cool software BitTorrent sync (at the moment release 1.1.40) you provide here, It runs under windows 7, 8 and Server 2008 R2.

    But how can I sync my folders via a hosted Linux server, too? I would like to run Bittorrent Sync 1.1.40 on Linux. My system is as follows (and I describe the steps I did):

    cat /proc/version

    Linux version 2.6.26-2-xen-686 (Debian 2.6.26-27) (dannf@debian.org) (gcc version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25)) #1 SMP Wed Sep 21 09:56:47 UTC 2011

    ldd --version

    ldd (Debian EGLIBC 2.11.3-4) 2.11.3

    Copyright © 2009 Free Software Foundation, Inc.

    This is free software; see the source for copying conditions. There is NO

    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

    Written by Roland McGrath and Ulrich Drepper.

    I copied the package btsync_i386.tar.gz to the path

    /home/www/doc/16737/myserver.de/www/bts/btsync_i386.tar.gz

    then I uncompressed it:

    tar xfvz btsync_i386.tar.gz

    then I built the example file sync.conf:

    ./btsync --dump-sample-config > sync.conf

    I edited the file sync.conf as follows:

    {

    "device_name": "My Sync Device",

    "listening_port" : 0, // 0 - randomize port

    /* storage_path dir contains auxilliary app files

    if no storage_path field: .sync dir created in the directory

    where binary is located.

    otherwise user-defined directory will be used

    */

    // "storage_path" : "/home/user/.sync",

    "storage_path" : "/home/www/doc/16737/myserver.de/www/bts/.sync",

    // uncomment next line if you want to set location of pid file

    // "pid_file" : "/var/run/btsync/btsync.pid",

    "pid_file" : "/home/www/doc/16737/myserver.de/www/bts/btsync.pid",

    "check_for_updates" : true,

    "use_upnp" : true, // use UPnP for port mapping

    /* limits in kB/s

    0 - no limit

    */

    "download_limit" : 0,

    "upload_limit" : 0,

    /* remove "listen" field to disable WebUI

    remove "login" and "password" fields to disable credentials check

    */

    "webui" :

    {

    "listen" : "0.0.0.0:8888",

    "login" : "admin",

    "password" : "password"

    }

    /* !!! if you set shared folders in config file WebUI will be DISABLED !!!

    shared directories specified in config file

    override the folders previously added from WebUI.

    */

    /*

    ,

    "shared_folders" :

    [

    {

    // use --generate-secret in command line to create new secret

    "secret" : "MY_SECRET_1", // * required field

    "dir" : "/home/user/bittorrent/sync_test", // * required field

    // use relay server when direct connection fails

    "use_relay_server" : true,

    "use_tracker" : true,

    "use_dht" : false,

    "search_lan" : true,

    // enable sync trash to store files deleted on remote devices

    "use_sync_trash" : true,

    // specify hosts to attempt connection without additional search

    "known_hosts" :

    [

    "192.168.1.2:44444"

    ]

    }

    ]

    */

    // Advanced preferences can be added to config file.

    // Info is available in BitTorrent Sync User Guide.

    }

    I started the program with

    ./btsync --config sync.conf

    I got

    By using this application, you agree to our Privacy Policy and Terms.

    http://www.bittorren...m/legal/privacy

    http://www.bittorren...al/terms-of-use

    BitTorrent Sync forked to background. pid = 23909

    The program runs

    ps aux |grep btsync

    46456 19412 0.0 0.1 49464 1968 ? Ssl 11:49 0:02 ./btsync --config sync.conf

    46456 23909 0.0 0.1 41016 1964 ? Ssl 12:36 0:00 ./btsync --config sync.conf

    46456 24107 0.0 0.0 5020 764 pts/0 R+ 12:38 0:00 grep btsync

    I made a directory "Austausch" to sync my files:

    /home/www/doc/16737/myserver.de/www/Austausch/

    I found the folder .sync with webui.zip and unzipped it in

    /home/www/doc/16737/myserver.de/www/bts/

    I called the index.html

    /home/www/doc/16737/myserver.de/www/bts/index.html via http://myserver.de/bts/index.html

    and got lost. I cannot add a folder or generate a secret or do something else. The website doesn't work as expected.

    What do I have to do to get the software sync with my folders on Windows (installed: 1.1.40 and run propper) with that in the folder

    /home/www/doc/16737/myserver.de/www/Austausch/

    ?

    Many thanks to any help (perhaps there is a more detailed documentation?)

    -merlinuwe