Reco-X

New Members
  • Content Count

    18
  • Joined

  • Last visited

About Reco-X

  • Rank
    Member

Recent Profile Visitors

292 profile views
  1. Yes that's my goal, so now I understand that the configuration file was wrong. Now I have another question when I run the service the old folders that were sync are not more anymore in synchronization, there is any way to move the old config running with the service?
  2. Well I did all the stuff that you told me in your reply but it doesnt work properly First I did: sudo chown rslsync: /var/lib/resilio-sync sudo chmod u+w /var/lib/resilio-sync ps aux | grep sync rslsync 7184 1.0 0.1 739016 4280 ? Ssl 06:37 0:00 /usr/bin/rslsync --config /etc/resilio-sync/config.json root 7199 0.0 0.0 12224 928 pts/1 S+ 06:37 0:00 grep --color=auto sync sudo netstat -anp | grep sync tcp 0 0 127.0.0.1:8888 0.0.0.0:* LISTEN 7184/rslsync tcp 0 0 0.0.0.0:36004 0.0.0.0:* LISTEN 7184/rslsync tcp6 0 0 :::36004 :::* LISTEN 7184/rslsync udp 0 0 127.0.0.1:55024 0.0.0.0:* 7184/rslsync udp 0 0 127.0.0.1:3838 0.0.0.0:* 7184/rslsync udp 0 0 0.0.0.0:3838 0.0.0.0:* 7184/rslsync udp 0 0 0.0.0.0:1900 0.0.0.0:* 7184/rslsync udp 0 0 37.187.125.87:59493 0.0.0.0:* 7184/rslsync udp 0 0 0.0.0.0:36004 0.0.0.0:* 7184/rslsync udp6 0 0 :::36004 :::* 7184/rslsync unix 3 [ ] STREAM CONNECTED 19039875 7184/rslsync P19039876 unix 3 [ ] STREAM CONNECTED 19039876 7184/rslsync P19039875 But it doesnt work, any suggestion please??
  3. I have a couple of doubts. 1- If I choose a different path for the configuration file, why the service its still using the default path ?? Its not a big problem I will change it but I think if i can change the path must use my path. "storage_path" : "/root/rslsync-config", 2- Why I must create an rslsync user? I want to use the service as root, I know for security reasons every app must be isolated under a user with restricted access, but lets say i dont care for now that, what the problem with the application? And if I want to create the account for rslsync what are the steps ?? a) Create user with the command adduser b) Give permission of 777 to the folders I sync with the applications and also the folder that have the program /var/lib/resilio-sync c) what else?
  4. More information about the problem: after do all this stuff when i run the program with rslsync i have this root 28146 0.3 0.0 667188 3596 ? Ssl 04:06 0:00 rslsync root 28326 0.0 0.0 12220 924 pts/1 S+ 04:06 0:00 grep --color=auto rslsync when i run the program as a service service resilio-sync start it takes the configuration from a different file from my configuration file rslsync 681 0.3 0.0 667160 3628 ? Ssl 04:11 0:00 /usr/bin/rslsync --config /etc/resilio-sync/config.json root 698 0.0 0.0 12220 928 pts/1 S+ 04:11 0:00 grep --color=auto rslsync and when i run the program in config mode, it works rslsync --config sync.conf root 1535 1.8 0.1 804340 5996 ? Ssl 04:13 0:00 rslsync --config sync.conf root 1550 0.0 0.0 12220 928 pts/1 R+ 04:13 0:00 grep --color=auto rslsync I try to put my config in /etc/resilio-sync/config.json to try the program when it starts as a service, but it doesnt work. The same when i try to run the program as rslsync --config /etc/resilio-sync/config.json
  5. Now I will try to delete all the PPAs and only left the original for resilio. I have this ones ls btsync.list btsync.list.distUpgrade deluge-team-ppa-trusty.list deluge-team-ppa-trusty.list.distUpgrade deluge-team-ppa-trusty.list.save resilio-sync.list resilio-sync.list.distUpgrade tuxpoldo-btsync-trusty.list tuxpoldo-btsync-trusty.list.distUpgrade Im trying with strange stuff because i dont know the source of the problem.
  6. And when i try ps aux | grep sync after reboot the computer i have this rslsync 4075 0.1 0.0 736764 3468 ? Ssl Jun01 0:55 /usr/bin/rslsync --config /etc/resilio-sync/config.json root 24424 0.0 0.0 12224 928 pts/0 D+ 02:04 0:00 grep --color=auto sync The strange here its that the config file its another than and another folder from my configuration "storage_path" : "/root/rslsync-config",
  7. Another thing. When i write this command: ps aux | grep sync root 21145 0.0 0.0 12224 924 pts/4 S+ 17:02 0:00 grep --color=auto sync But when i try to kill this process throw: -bash: kill: (21145) - No such process Any suggestions ?
  8. First the OS its Ubuntu 14.04.5 LTS not 16 my error. Another think I figure out, the PID is never changing in the pid file. Just in case im doing rslsync --config <<file>> for do the changes.
  9. Hello, I have a problem with rslsync basically I try to fix it since uninstalling it and trying doing a fresh install, try to modify the parameters in conf file, and also see and learn about service , upstart and so on. Basically if I write this command: service resilio-sync start the message I have its this: Starting Resilio Sync But this doest start any process. If I write this command: rslsync I have this message: By using this application, you agree to our Privacy Policy, Terms of Use and End User License Agreement. https://www.getsync.com/legal/privacy https://www.getsync.com/legal/terms-of-use https://www.getsync.com/legal/eula Resilio Sync forked to background. pid = 16428 But my problem is when I try to go to the GUI in the browser it doesnt work, http://ip:8888/ This is my conf file. I dont know for example if the path of PID file is correct, but i dont think it the source of my problem { "device_name": "Seedbox", // "listening_port" : 0, // 0 - randomize port /* storage_path dir contains auxilliary app files if no storage_path field: .sync dir created in current working directory */ "storage_path" : "/root/rslsync-config", /* set location of pid file */ // "pid_file" : "/var/run/resilio/resilio.pid", /* use UPnP for port mapping */ "use_upnp" : true, /* limits in kB/s. 0 - no limit */ "download_limit" : 0, "upload_limit" : 0, /* proxy configuration */ // "proxy_type" : "socks4", // Valid types: "socks4", "socks5", "http_connect". Any other value means no proxy // "proxy_addr" : "192.168.1.2", // IP address of proxy server. // "proxy_port" : 1080, // "proxy_auth" : false, // Use authentication for proxy. Note: only username/password for socks5 (RFC 1929) is supported, and it is not really secure // "proxy_username" : "user", // "proxy_password" : "password", /* directory_root path defines where the WebUI Folder browser starts (linux only). Default value is / */ // "directory_root" : "/home/", /* directory_root_policy defines how directory_root is used (linux only). Valid values are: "all" - accepts directory_root and its subdirectories for 'getdir' and 'adddir' actions "belowroot" - accepts directory_root's subdirectories for 'getdir' and 'adddir' actions, but denies attempts to use 'adddir' to create directories directly within directory_root Default value is "all". */ // "directory_root_policy" : "all", "webui" : { "listen" : "0.0.0.0:8888" // remove field to disable WebUI /* preset credentials. Use password or password_hash */ // ,"login" : "admin" // ,"password" : "password" // ,"password_hash" : "some_hash" // password hash in crypt(3) format // ,"allow_empty_password" : false // Defaults to true /* ssl configuration */ // ,"force_https" : true // disable http // ,"ssl_certificate" : "/path/to/cert.pem" // ,"ssl_private_key" : "/path/to/private.key" /* dir_whitelist defines which directories can be shown to user or have folders added (linux only) relative paths are relative to directory_root setting */ // ,"dir_whitelist" : [ "/home/user/MySharedFolders/personal", "work" ] } /* !!! 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" : [ { "secret" : "MY_SECRET_1", // required field - use --generate-secret in command line to create new secret "dir" : "/home/user/resilio/sync_test", // * required field "use_relay_server" : true, // use relay server when direct connection fails "use_tracker" : true, "search_lan" : true, "use_sync_trash" : true, // enable SyncArchive to store files deleted on remote devices "overwrite_changes" : false, // restore modified files to original version, ONLY for Read-Only folders "selective_sync" : false, // add folder in selective sync mode "known_hosts" : // specify hosts to attempt connection without additional search [ "192.168.1.2:44444" ] } ] */ /* Advanced preferences can be added to config file. Info is available at "http://help.getsync.com/customer/portal/articles/1902048-sync-advanced-preferences--more-options" For example see folder_rescan_interval below */ //, "folder_rescan_interval" : "86400" } So basically i need to fix this to run Resilio Sync and also I need to put rslsync as a service and made it start in the startup process. Thanks
  10. Well now is working, after doing evertything in the post i do this: rslsync --config /etc/resilio-sync/config.json at lest now the gui is working, now is indexing files again, i hope the service is configured, if not tomorrow will get news about me lol
  11. Well, Im trying to follow this guide: https://help.getsync.com/hc/en-us/articles/206178924-Installing-Sync-package-on-Linux Everything ok, but the problem is that i cannot see the gui in the explorer. When i enter this command sudo service resilio-sync start It says Starting Resilio Sync But nothings happen, ok, trying to fix it, i did a apt-get purge resilio-sync to try to do a fresh install of it, but the point now is, THERE IS NO WIZARD like in btsync, and now Im not able to configure the program, where must i put the config file?? I read here: that the file is in: /etc/resilio-sync/config.json So I configure again my Config File: { "device_name": "My Seedbox", // "listening_port" : 0, // 0 - randomize port /* storage_path dir contains auxilliary app files if no storage_path field: .sync dir created in current working directory */ // "storage_path" : "/home/user/.sync", /* set location of pid file */ // "pid_file" : "/var/run/btsync/btsync.pid", /* use UPnP for port mapping */ "use_upnp" : true, /* limits in kB/s. 0 - no limit */ "download_limit" : 0, "upload_limit" : 0, /* proxy configuration */ // "proxy_type" : "socks4", // Valid types: "socks4", "socks5", "http_connect". Any other value means no proxy // "proxy_addr" : "192.168.1.2", // IP address of proxy server. // "proxy_port" : 1080, // "proxy_auth" : false, // Use authentication for proxy. Note: only username/password for socks5 (RFC 1929) is supported, and it is not really secure // "proxy_username" : "user", // "proxy_password" : "password", /* directory_root path defines where the WebUI Folder browser starts (linux only). Default value is / */ // "directory_root" : "/home/edu/", /* directory_root_policy defines how directory_root is used (linux only). Valid values are: "all" - accepts directory_root and its subdirectories for 'getdir' and 'adddir' actions "belowroot" - accepts directory_root's subdirectories for 'getdir' and 'adddir' actions, but denies attempts to use 'adddir' to create directories directly within directory_root Default value is "all". */ // "directory_root_policy" : "all", "webui" : { "listen" : "0.0.0.0:8888" // remove field to disable WebUI /* preset credentials. Use password or password_hash */ // ,"login" : "admin" // ,"password" : "password" // ,"password_hash" : "some_hash" // password hash in crypt(3) format // ,"allow_empty_password" : false // Defaults to true /* ssl configuration */ // ,"force_https" : true // disable http // ,"ssl_certificate" : "/path/to/cert.pem" // ,"ssl_private_key" : "/path/to/private.key" /* dir_whitelist defines which directories can be shown to user or have folders added (linux only) relative paths are relative to directory_root setting */ // ,"dir_whitelist" : [ "/home/user/MySharedFolders/personal", "work" ] } /* !!! 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" : [ { "secret" : "MY_SECRET_1", // required field - use --generate-secret in command line to create new secret "dir" : "/home/user/bittorrent/sync_test", // * required field "use_relay_server" : true, // use relay server when direct connection fails "use_tracker" : true, "search_lan" : true, "use_sync_trash" : true, // enable SyncArchive to store files deleted on remote devices "overwrite_changes" : false, // restore modified files to original version, ONLY for Read-Only folders "selective_sync" : false, // add folder in selective sync mode "known_hosts" : // specify hosts to attempt connection without additional search [ "192.168.1.2:44444" ] } ] */ /* Advanced preferences can be added to config file. Info is available at "http://help.getsync.com/customer/portal/articles/1902048-sync-advanced-preferences--more-options" For example see folder_rescan_interval below */ //, "folder_rescan_interval" : "86400" } I need help to run again the program in the server... I tried too with the command rslsync --webui.listen 0.0.0.0:8888 And nothing.
  12. Reco-X

    Prioritize Transfers

    The thing here is simple, we need a way to manage the queue. So if a download 5 folders, i want to decide what folder i need first. Thanks
  13. Well, Im trying to follow this guide: https://help.getsync.com/hc/en-us/articles/206178924-Installing-Sync-package-on-Linux Everything ok, but the problem is that i cannot see the gui in the explorer. When i enter this command sudo service resilio-sync start It says Starting Resilio Sync But nothings happen, ok, trying to fix it, i did a apt-get purge resilio-sync to try to do a fresh install of it, but the point now is, THERE IS NO WIZARD like in btsync, and now Im not able to configure the program, where must i put the config file??
  14. How can i do it, in command line ??