Git Product home page Git Product logo

btsync-deb's Introduction

Hi There! ๐Ÿ‘‹

Profile Stats

btsync-deb's People

Contributors

beardicus avatar cpbotha avatar flexiondotorg avatar ifireball avatar leoetlino avatar marxjohnson avatar misuzu avatar pilin avatar richard-bt avatar silvenga avatar tuxpoldo avatar willpapper avatar ywrac avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

btsync-deb's Issues

dpkg not offering user/pass

trying to follow this guide but

sudo dpkg-reconfigure btsync

never asks me to fill in a user and pass for the web interface, although on connecting it does ask for a user and pass, it doesn't seem to be able to log out again.

Start failed after 2.5 upgrade

After upgrading btsync-core from 2.4.5-1.0 to 2.5-1.0 the daemon cannot start anymore:
Failed to start btsync instance debconf-default - please check the configuration file /etc/btsync/debconf-default.conf

Ubuntu Server 14.04 on Atom CPU.

Downgrading to 2.4.5-1.0 temporarly solved the issue

Upgrade process hangs

I have 4 arm "servers" they all are hangs

"The following packages will be upgraded:
btsync-core
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/4,441 kB of archives.
After this operation, 6,144 B disk space will be freed.
Do you want to continue? [Y/n] y
Reading changelogs... Done
(Reading database ... 25660 files and directories currently installed.)
Preparing to unpack .../btsync-core_2.3.6-1.0_armhf.deb ...
Unpacking btsync-core (2.3.6-1.0) over (2.3.3-1.0) ...
Processing triggers for btsync (2.3.0-1.0) ..."

When I cancel this and restart server "dpkg --configure -a" did not solve the issue,
Setting up btsync-core (2.3.6-1.0) ...
Setting up btsync (2.3.0-1.0) ...

Warning : Bad SSL config, can't generate certificate.

New install of openmediavault, but unable to install btsync successfully:

# apt-get install btsync
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  bind-shim
The following NEW packages will be installed:
  btsync
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/100 kB of archives.
After this operation, 211 kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously unselected package btsync.
(Reading database ... 49257 files and directories currently installed.)
Preparing to unpack .../btsync_2.5.0-1.0_all.deb ...
Unpacking btsync (2.5.0-1.0) ...
Setting up btsync (2.5.0-1.0) ...
Warning : Bad SSL config, can't generate certificate.
chmod: cannot operate on dangling symlink '/etc/btsync/debconf-default.crt'
chmod: cannot operate on dangling symlink '/etc/btsync/debconf-default.key'

Any idea how to get around this?

Can't install on Raspbian/jessie

I tried installing the package on raspbian/jessie and got this:

Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 167, in <module>
    sp = SoftwareProperties(options=options)
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 105, in __init__
    self.reload_sourceslist()
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 595, in reload_sourceslist
    self.distro.get_sources(self.sourceslist)
  File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 89, in get_sources
    (self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Raspbian/jessie

The 2.0 package from tuxpoldo worked fine on the Rasberry Pi, I'm not sure what needs to be changed since I don't know much about debs.

btsync-core crashed with SIGFPE in __udivdi3()

Hi there,

I was running 2.2.5 fine for the past little while, but then over the weekend it appears that btsync had crashed. Now, when rebooting the machine and restarting btsync, I get an immediate crash.

Here's the info from the error report:
Path:
/usr/lib/btsync-core/btsync-core
Package:
btsync-core 2.2.5-1.0 [origin: btsync any]
ProblemType
Crash
Title
btsync-core crashed with SIGFPE in __udivdi3()
ApportVersion:
2.14.1-0ubuntu3.18
Arch:
i386

I think that's the key stuff.

Let me know if I can add any more details.

Cant start daemon

Hello! I've installed btsync on Ubuntu 20 but can't start daemon

`service btsync status
โ— btsync.service - LSB: btsync Service
Loaded: loaded (/etc/init.d/btsync; generated)
Active: active (exited) since Thu 2022-01-13 23:18:54 MSK; 2s ago
Docs: man:systemd-sysv-generator(8)
Process: 959 ExecStart=/etc/init.d/btsync start (code=exited, status=0/SUCCESS)

Jan 13 23:18:48 sync-srv systemd[1]: Starting LSB: btsync Service...
Jan 13 23:18:48 sync-srv btsync[959]: * Autostarting btsync instance 'debconf-default'
Jan 13 23:18:54 sync-srv btsync[959]: * Failed to start btsync instance debconf-default - please check the configuration file /etc/btsync/debconf-default.conf
Jan 13 23:18:54 sync-srv btsync.debconf-default[1038]: Failed to start btsync instance debconf-default - please check the configuration file /etc/btsync/debconf-default.conf
Jan 13 23:18:54 sync-srv systemd[1]: Started LSB: btsync Service.`

Here's my config
{ "storage_path" : "/var/lib/btsync/", "display_new_version": false, "disk_low_priority" : true, "lan_encrypt_data" : true, "rate_limit_local_peers" : false, "folder_rescan_interval" : 600, "folder_defaults.use_relay" : true, "folder_defaults.use_tracker" : true, "folder_defaults.known_hosts" : "", "webui" : { "listen" : "0.0.0.0:8888", "force_https" : true, "ssl_certificate" : "/etc/btsync/debconf-default.crt", "ssl_private_key" : "/etc/btsync/debconf-default.key" } }

And in /tmp/sync.log I found something
12:01:44 +0100) x86_64 version: 2.7.2.1375 [20220113 23:12:38.065] Debug log mask has been set to FFFFFFFF [20220113 23:12:38.065] Features mask has been set to 0 [20220113 23:12:38.066] ZIP: Can't locate [version] in zip, error -100. [20220113 23:12:38.066] Configuration from file "/etc/btsync/debconf-default.conf" has been applied [20220113 23:12:38.074] loaded history: 1000 events [20220113 23:12:38.076] test sha1: AE5BD8EFEA5322C4D9986D06680A781392F9A642 [20220113 23:12:38.076] test sha2: 630DCD2966C4336691125448BBB25B4FF412A49C732DB2C8ABC1B8581BD710DD [20220113 23:12:38.076] test aes: 0A940BB5416EF045F1C39458C653EA5A07FEEF74E1D5036E900EEE118E949293 [20220113 23:12:38.076] DISKIO[0x0000561a12f5aed0]: Create diskio pool for drive with id 18446744073709551614, path: , type: 0, size: 1 [20220113 23:12:38.076] WORKER[0x0000561a12f5b510]: created [20220113 23:12:38.076] Affinity masks: network=3F03F workers=FC0FC0 messagethread=FC0FC0 [20220113 23:12:38.076] assert failed /build/sync/util/posix/thrsync_posix.cpp:144 [20220113 23:13:53.023] Debug log mask has been set to FFFFFFFF [20220113 23:13:53.023] Features mask has been set to 0 [20220113 23:13:53.024] ZIP: Can't locate [version] in zip, error -100. [20220113 23:13:53.024] Configuration from file "/etc/btsync/debconf-default.conf" has been applied [20220113 23:13:53.032] loaded history: 1000 events [20220113 23:13:53.034] test sha1: AE5BD8EFEA5322C4D9986D06680A781392F9A642 [20220113 23:13:53.034] test sha2: 630DCD2966C4336691125448BBB25B4FF412A49C732DB2C8ABC1B8581BD710DD [20220113 23:13:53.034] test aes: 0A940BB5416EF045F1C39458C653EA5A07FEEF74E1D5036E900EEE118E949293 [20220113 23:13:53.034] DISKIO[0x000055a390944ec0]: Create diskio pool for drive with id 18446744073709551614, path: , type: 0, size: 1 [20220113 23:13:53.034] WORKER[0x000055a3909454d0]: created [20220113 23:13:53.034] Affinity masks: network=3F03F workers=FC0FC0 messagethread=FC0FC0 [20220113 23:13:53.034] assert failed /build/sync/util/posix/thrsync_posix.cpp:144 [20220113 23:18:48.257] Debug log mask has been set to FFFFFFFF [20220113 23:18:48.257] Features mask has been set to 0 [20220113 23:18:48.257] ZIP: Can't locate [version] in zip, error -100. [20220113 23:18:48.258] Configuration from file "/etc/btsync/debconf-default.conf" has been applied [20220113 23:18:48.265] loaded history: 1000 events [20220113 23:18:48.266] test sha1: AE5BD8EFEA5322C4D9986D06680A781392F9A642 [20220113 23:18:48.266] test sha2: 630DCD2966C4336691125448BBB25B4FF412A49C732DB2C8ABC1B8581BD710DD [20220113 23:18:48.266] test aes: 0A940BB5416EF045F1C39458C653EA5A07FEEF74E1D5036E900EEE118E949293 [20220113 23:18:48.266] DISKIO[0x00005652b82f4e80]: Create diskio pool for drive with id 18446744073709551614, path: , type: 0, size: 1 [20220113 23:18:48.266] WORKER[0x00005652b82f54c0]: created [20220113 23:18:48.266] Affinity masks: network=3F03F workers=FC0FC0 messagethread=FC0FC0 [20220113 23:18:48.266] assert failed /build/sync/util/posix/thrsync_posix.cpp:144

I've tried to update OS, reinstall and reconfigure btsync but nothing helps.

AttributeError: 'module' object has no attribute 'HTTPMessage'

BitTorrent Sync forked to background. pid = 2430. default port = 8888
Traceback (most recent call last):
File "/usr/lib/btsync-gui/btsyncstatus.py", line 162, in btsync_connect
version = self.agent.get_version()
File "/usr/lib/btsync-gui/btsyncapi.py", line 372, in get_version
return self._request(params,throw_exceptions)
File "/usr/lib/btsync-gui/btsyncapi.py", line 477, in _request
self.response = requests.get(self.urlroot, params=params, auth=self.auth)
File "/usr/lib/python2.7/dist-packages/requests/api.py", line 60, in get
return request('get', url, *_kwargs)
File "/usr/lib/python2.7/dist-packages/requests/api.py", line 49, in request
return session.request(method=method, url=url, *_kwargs)
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 457, in request
resp = self.send(prep, *_send_kwargs)
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 569, in send
r = adapter.send(request, *_kwargs)
File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 362, in send
timeout=timeout
File "/usr/local/lib/python2.7/dist-packages/urllib3/connectionpool.py", line 557, in urlopen
body=body, headers=headers)
File "/usr/local/lib/python2.7/dist-packages/urllib3/connectionpool.py", line 388, in _make_request
assert_header_parsing(httplib_response.msg)
File "/usr/local/lib/python2.7/dist-packages/urllib3/util/response.py", line 49, in assert_header_parsing
if not isinstance(headers, httplib.HTTPMessage):
AttributeError: 'module' object has no attribute 'HTTPMessage'

Lubuntu 20.04 64-bit -- can't install btsync-gui

Hello Silvenga, I love your package, and have been using it on Lubuntu 18.04, 32-bit, but I can't install it on Lubuntu 20.04.3, 64-bit.

Here's what happens:

sudo apt-get install btsync-gui

but it produces this error:

 btsync-gui : Depends: btsync-gui-gtk but it is not going to be installed

I tried to install btsync-gui-gtk the same way, but got this error:

 btsync-gui-gtk : Depends: python-requests but it is not installable
              Depends: python-qrencode but it is not installable

I tried to install python-requests using pip but was not able to.

Would you have time to bundle a 64-bit version of btsync-gui that contains these dependencies?

Thanks for considering this request.

Make Log-file path and name adjustable

Hi there,

it would be nice to have an option to make the Logfile directory adjustable. It is currently hardcoded under /temp/sync.log.
Following Problems:
Default-Config File(/etc/btsync/) does not support a Log-Setting.

Possible Solution:
adjust the setting DAEMON_ARGS="" in /etc/default/btsync.

This is my first action in Github at all. So I could also provide a pull request on this one.. Don't really know my way around here yet.. So please be patient on me!! ;)

Sync Does Not Have Permission To Access This Folder

As this seems to be the up-to-date repo, I'd like to lodge this issue here too as it's causing me problems with syncing anything outside my home directory (i.e. /home/pcj works fine, but anything under /media/ is hit and miss)

tuxpoldo#182

Snip from (my thread in the BTSync forums)[http://forum.bittorrent.com/topic/34641-sync-does-not-have-permission-to-access-this-folder/]:

I recently upgraded from 1.4 to 2.0 on my Debian server box. When attempting to recreate my 1.4 sync folder in 2.0, I am getting the error "Sync does not have permission to access this folder".

I double checked, and Sync does have permission for this folder. The daemon is running as the same user it was in 1.4. If I make a 1.4 style sync folder, it appears to have no issue reading the data and no error is thrown.

Unfortunately this is my "target" box for some one way syncing from a remote host, so I need to be able to add the key from my remote server. Even using the 1.4 style key, it throws permission errors.

After some troubleshooting with the btsync support team, we determined it was due to the "directory_root" property that is found in the debconf-default.conf file in the webui section. Removing this property fixed this error.

Here is what the support team said in regards to this property:

Check please your config. Most likely you'll find there "directory_root" (or "dir_whitelist") parameter.
This parameters specify the locations where Sync can create folders. Try to remove these parameters.

By the way, this is not and official repository and as I understand the repository maintainer included this parameter in the default config.

Another potential fix is to add this to the reconfigure options and specify what it is for. Maybe like, "Add the following folder(s) to the directory whitelist"

I gave removing it a go and it works for me, but I'm well aware that'll be overwritten on the next upgrade so a permanent fix would be great.

icon very faint & errors

Thanks for developing and packaging the GUI for BitTorrent Sync :-)
I have installed it on Lubuntu 18.04, but the icon appears only faintly in the notification area. When I run btsync-gui from a terminal window I see these error messages:

(btsync-gui:24567): dbind-WARNING **: 01:41:41.248: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
/usr/lib/btsync-gui/btsyncguiapp.py:34: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
from gi.repository import Gtk
/usr/lib/btsync-gui/trayindicator.py:32: PyGIWarning: AppIndicator3 was imported without specifying a version first. Use gi.require_version('AppIndicator3', '0.1') before import to ensure that the right version gets loaded.
from gi.repository import AppIndicator3 as AppIndicator
By using this application, you agree to our Privacy Policy, Terms of Use and End User License Agreement.
http://www.bittorrent.com/legal/privacy
http://www.bittorrent.com/legal/terms-of-use
http://www.bittorrent.com/legal/eula

BitTorrent Sync forked to background. pid = 24584. default port = 8888

Here are the processes running as a result:
EUSER EGROUP PID PPID C STIME %CPU TIME COMMAND jim rslsync 24567 1772 0 01:41 0.7 00:00:01 python2 /usr/bin/btsync-gui jim rslsync 24584 1 0 01:41 0.1 00:00:00 /usr/lib/btsync-common/btsync-core --config /home/jim/.config/btsync/btsync-agent.conf

The system is Ubuntu 18.04.4 LTS and uname -a shows
Linux langtran 4.15.0-106-generic tuxpoldo#107-Ubuntu SMP Thu Jun 4 11:28:08 UTC 2020 i686 i686 i686 GNU/Linux
So that I can run gpodder, I have /usr/bin/python pointing to python3.
When I first ran btsync-gui, I got an error from a print command, because the python2 usage is different in python3, so I changed the first line of my btsync-gui from #/usr/bin/env python to #!/usr/bin/env python2
python2 is version 2.7

Is there a plan to bring out a version for python3?

Can you tell me how to improve the appearance of the icon?
btsync-gui_icon

Thanks for thinking about these things :-)

Package signing key expired

Hi

the deb signing key seems to be expired:

Err:4 http://deb.silvenga.com/btsync any InRelease
The following signatures were invalid: KEYEXPIRED 1500219473 KEYEXPIRED 1500223169 KEYEXPIRED 1500223169 KEYEXPIRED 1500219473 KEYEXPIRED 1500223169 KEYEXPIRED 1500219473 KEYEXPIRED 1500223169

Regards
Michael

Latest Sync versions missing

From README:

New versions should be automatically built and published to this location via my build server (found above) when new changelogs are released.

This doesn't seem to work right now. deb.silvenga.com btsync packages are left in version 2.3.3 missing at least following versions:

  • 2.3.4
  • 2.3.5
  • 2.3.6

Update btsync-gui to btsync version 2.x?

Hi,
Thanks for providing this repository. Thus, btsync-gui runs perfectly with Ubuntu 16.04.1.
Are they any chances to update the btsync-gui to a newer btsync version?

Bye, Al

GUI not appearing

Sorry, title should be "icon very faint" (because I did get the program to work and changed the issue, but can't change the title.)
Thanks for developing and packaging the GUI for BitTorrent Sync :-)
I have installed it on Lubuntu 18.04, but the icon appears only faintly in the notification area. When I run btsync-gui from a terminal window I see these error messages:

`(btsync-gui:24567): dbind-WARNING **: 01:41:41.248: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
/usr/lib/btsync-gui/btsyncguiapp.py:34: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
from gi.repository import Gtk
/usr/lib/btsync-gui/trayindicator.py:32: PyGIWarning: AppIndicator3 was imported without specifying a version first. Use gi.require_version('AppIndicator3', '0.1') before import to ensure that the right version gets loaded.
from gi.repository import AppIndicator3 as AppIndicator
By using this application, you agree to our Privacy Policy, Terms of Use and End User License Agreement.
http://www.bittorrent.com/legal/privacy
http://www.bittorrent.com/legal/terms-of-use
http://www.bittorrent.com/legal/eula

BitTorrent Sync forked to background. pid = 24584. default port = 8888
`

Here are the processes running as a result:
EUSER EGROUP PID PPID C STIME %CPU TIME COMMAND jim rslsync 24567 1772 0 01:41 0.7 00:00:01 python2 /usr/bin/btsync-gui jim rslsync 24584 1 0 01:41 0.1 00:00:00 /usr/lib/btsync-common/btsync-core --config /home/jim/.config/btsync/btsync-agent.conf

The system is Ubuntu 18.04.4 LTS and uname -a shows
Linux langtran 4.15.0-106-generic #107-Ubuntu SMP Thu Jun 4 11:28:08 UTC 2020 i686 i686 i686 GNU/Linux
So that I can run gpodder, I have /usr/bin/python pointing to python3.
When I first ran btsync-gui, I got an error from a print command, because the python2 usage is different in python3, so I changed the first line of my btsync-gui from #/usr/bin/env python to #!/usr/bin/env python2

Is there a plan to bring out a version for python3?

Can you tell me how to improve the appearance of the icon?
btsync-gui_icon

Thanks for thinking about these things :-)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.