tuxpoldo

Members
  • Posts

    730
  • Joined

  • Last visited

  • Days Won

    27

Posts posted by tuxpoldo

  1. Tuxpoldo, I am enjoying using your GUI system on my Ubuntu 13.04 (32-bit) system, 

    Do you have plans to use BTSync version 1.4.x in what you distribute?

    I have read lots of bad things about it.

    (I just used /strings/ to look inside btsync-core on my Ubuntu 13.04 (32-bit) system, and found BitTorrent Sync 1.2.82.)

     

    this might a basic question, but how do I update btsync-gui to 1.4.103beta? I am using xubuntu and apparently reinstalling the whole package doesn't work.

     

    I wrote this for sure many times, but it makes sense to spread this information as often as possible:

     

    The repositories on Launchpad (the famous ppa:tuxpoldo/btsync) are only available for supported versions of Ubuntu. After an Ubuntu version becomes unsupported, it is not possible any more to upload software updates on it. That's the reason, why people using Ubuntu 13.04 does not get any updates to the packages.

     

    If you really want to continue using an unsupported version of Ubuntu, you should switch to the YeaSoft repositories, since they provide updates of the btsync packages also for older Ubuntu versions. Please see the initial posting to find information about how to add the YeaSoft repository.

  2. Hey man, it's cool. I was just pointing this out to help you make your product even better. I'm a very happy btsync user, and your work regarding the packaging is absolutely vital and well appreciated. The phrase "Waste some time" was only used to build a case why the message was a "small nuisance". I assumed you where interested in some basic UX-feedback.

    No need to blow a fuse. You might scare off the next bug reporter.

     

    Sorry. I did not want to be offensive against you. If this was your impression: please take my apologies. But I never said, the problem is not existing: the problem is there and now we have also a trackable issue. I cannot imagine a better confirmation that bug reports will be taken seriously. But you should be aware of the fact, that if you exaggerate in a user driven forum saying "waste of time" when you are talking about ps ax | grep btsync, you might expect also an answer that may be a little exaggerated... The next time I will add a smiley to make sure that I'm not going to be misunderstood.

  3. ...

    It also seems to be starting two instances, no idea why...

    ...

    Processing triggers for btsync ... * Stopping btsync instance 'michael'                                    [ OK ] * Autostarting btsync instance 'michael'                                [ OK ] * Autostarting btsync instance 'michael'                                [ OK ]Setting up btsync-common (1.4.93-1) ...Processing triggers for btsync ... * Stopping btsync instance 'michael'                                    [ OK ] * Autostarting btsync instance 'michael'                                [ OK ] * Autostarting btsync instance 'michael'                                [ OK ]root@michelangelo:~#

    I noticed this ****ing *hit since a few releases and I'm quite angry about it. But don't worry: the scripts are so careful about process control, that only one instance is started. I'm still investigating it, but since it has no real consequences, I currently consider it a minor problem... In any case... let's go the correct way: see Issue #166

     

    I had the same upgrade experience as michaelarnauts. It's a small nuisance, that caused me to waste some time trying to verify that I wasn't running two instances.

    C'mon Dude! Are you kidding? "Waste some time" to do a

    ps ax | grep btsync

    ?

  4. After the new install I goto http://127.0.0.1:9999/ it says "authentication required" and asks for a u/p as per design. So I did "btsync-gui --webui --bindui 0.0.0.0 --username MyName --password MySecretPassword --savedefaults" literally pasted into the terminal and get "Default settings saved."

    ...but the u/p combo MyName/MySecretPassword won't log me in! What am I missing?

     

    You have to restart the whole thing for the changes to become effective. That's all.

  5. i saw that a new version of bittorrent has come out.

    I wanted to ask if i can help to test/package the new version

     

    Unfortunately it was not a matter of testing. It was solely the fact that I was tremendously busy during the last two weeks (work days of 12-14 hours). But the waiting has finished: I updated the btsync-common package to 1.4.93 right now. As usually the LaunchPad PPA will take longer...

  6. Is there any way to reset the WebUI password from a shell prompt? 6 months+ ago, the package configuration wizard would ask you for a username and password, which you could use to reset it. But it no longer asks for that... how can I reset it now?

     

    You can reset it by specifying it temporarily in the configuration file. Some settings were removed from debconf, since they can be set from the GUI and settings them in the configuration file would create an inconsistent situation (like changing the password in the UI and then wondering that after reboot the password has been reverted).

     

    This is the procedure for resetting the password:

     

    1. Stop the btsync daemon
    2. Edit the configuration file and add in the "webui" section the "login" and "password" parameters
    3. Start the btsync daemon and stop it again
    4. Remove the "login" and "password" parameters
    5. Start the btsync daemon

     

    Now you have reset the password to the value you wrote in the configuration file.

  7. I wanted to ask if it would be possible to "reactivate" btsync-user. I saw in the source of the gui that is possible to hide "Open With Webui". Would it be possible to get a version where "Open Bittorrent Sync" is hidden.

    I'm asking that because a lot of my users are confused by these two options. We are using btsync in a non-profit organisation to sync multiple folders. 

     

    Thank you for your suggestion! I was struggling a lot in the last weeks thinking about a way to smoothly migrate btsync-user users to btsync-gui. My initial thought was to let the btsync-user package install btsync-gui, but up to now I did not implement that because I know that many users would be confused. Now I have a plan:

     

    1. btsync-gui will get a new option (btsync-user compatibility mode)  that will change the meaning of menu items. By default "Open BitTorrent Sync..." and a click on the status icon will open the GUI and "Open Web UI" will open the Web UI. If the new option is set, "Open BitTorrent Sync..." will be hidden and a click on the status icon will open the Web UI instead.
    2. The new btsync-user pseudo-package will install btsync-gui with this option already set.

     

    This allows a smooth migration for users with btsync-user. Perhaps in future I will also consider implementing the Folders-Menu....

  8. I can't find any installation instructions for the Linux installers.

    Back when I first installed Bittorrent Sync in Ubuntu, I used a PPA provided by some kind person on the interwebz. Then my boss asked me to upgrade to the latest version, but the PPA didn't support it, so I removed my existing install and went to install via the download on bitorrent.com. But I have absolutely no idea how to install it and I can't find any installation instructions anywhere.

    Is there something I'm missing here? I tried double clicking it, trying all sorts of different tutorials online on installing tar.gz files, but nothing would work.

    I'm getting kinda desperate here as I badly need BitTorrent Sync up and working again.

    Hopefully one of you can help! Thanks :)

     

     

    If the PPA does not update you to the latest version, it may be because you are using a version of Ubuntu that is not supported any more. The PPA is hosted by Launchpad, the Ubuntu Build service, and Launchpad does only provide repositories for supported versions of Ubuntu and the next upcoming version. At the time I write this, Supported Versions of Ubuntu are only 10.04 (Lucid), 12.04 (Precise) and 14.04 (Trusty). In addition Launchpad offers also repositories for the upcoming version 14.10 (Utopic). If you want to keep BitTorrent Sync up to date also for old versions of Ubuntu, you have to switch to the YeaSoft-Repository. See the initial posting of the server package topic or the desktop package topic for details. Please keep in mind, that the old legacy desktop package btsync-user is not working any more with the current version of BitTorrent Sync.

  9. Thank you for the answer. You mentioned "you'd set "folder_defaults.delete_to_trash" to "false".". Where exactly do i do that. I .sync folder i do not see any files i could edit. settings.dat is hex file it appears, cause i get bunch of unrecognisable symbols if i open it with text editor.

    Do i create new file with this setting?

     

    In web gui i do not see where i coudl set additional settings.

     

    The Web UI does not support editing advanced configuration parameters. You can use btsync-gui for that. There are Debian and Arch packages available. If you are using other linux distributions, get it from Github and launch the GUI in client mode (remember that your btsync installation needs to be API-enabled). 

  10. Just to clarify, btsync-gui is the same thing except supported? Is it up to date?

     

    btsync-gui is a totally new project that was initially released on March 1, 2014 (See the initial post). There are some fundamental differences between btsync-user and btsync-gui:

     

    1. btsync-user initially was a Debian package that installed BitTorrent Sync together with a startup script and a desktop link suitable for normal user operation. That means that BitTorrent Sync is started in a user session. The script makes sure that the process runs in the context of the logged in user, keeps all internal data and configuration in the user's home folder. Later on that package included also Mark Johnson's btsyncindicator.py, a status indicator applet that displays current activities of BitTorrent Sync and allows to quickly access the Web UI from its menu. Mark Johnson's btsyncindicator.py, communicates with the BitTorrent Sync process by accessing the internal interfaces of the Web UI. The disadvantage of this solution is that BitTorrent Inc may change these interfaces at every new release since they are not an official documented API. This has already happened in the past making it vital to update btsyncindicator.py.
    2. btsync-gui is a new application that includes the functionality of the startup scripts, the indicator applet and additionally provides a native GTK GUI for BitTorrent Sync. Additionally the Web UI can be invoked from the indicator menu. The native GUI and indicator communicates with the BitTorrent Sync process via the official Sync API.

    btsync-gui is a full drop-in replacement for btsync-user and is a living project. The last release was a few days ago. The reason why they are kept into separate packages is due to the fact that there was people the preferred btsync-user...

  11. Somehow I do see the BTSync user creation page in an old tab that I tested, but it doesn't work anymore.

    Decided to try the same on my phone and I could access the webui! just not on my laptop :(

     

    edit: I completely cleared cache and everything of Firefox and Chrome and I got the login page, after logging in, still have the forever waiting issue. Will now reboot everything: router, raspberry, laptop and try again.

     

    another question: I get the possibility to create instances. But how to 'users' relate to instances? Can 1 instance have multiple users? Can each user have its own folder?

     

    Question: was it an update or a brand new installation?

     

    Instances: An instance is a running BitTorrent Sync process. Since BitTorrent Sync is not designed as a multiuser application, the process runs under exactly the credentials of one single user. The default instance is maintained by Debconf and you can select during the installation under which Linux users it should run.

     

    If you want to run multiple instances, you have to manually maintain configuration files for every instance. Every Instance can be bound to specific Linux users.

  12. Unfortunately the huge changes to the web UI made the indicator applet included in btsync-user totally incompatible with BitTorrent Sync 1.4. The problem is tracked in Issue #52 of the btsyncindicator project on GitHub. Unfortunately marxjohnson will not fix the problem, since he ceased using BitTorrent Sync, and this will very probably lead to the end of support of btsync-user:

     

    As I'm not using btsync anymore (I've migrated to syncthing) I can't really investigate this, but if anyone wants to submit a Pull Request I'll happily review it and merge it in.

     

    Fortunately there is an alternative:  you should give btsync-gui a try. You can find more information in this topic. The installation of btsync-gui automatically replaces btsync-user and migrates the configuration:

     

    sudo apt-get install btsync-gui
    I think, that I will announce the End of Support of btsync-user in the next few days.
  13. Unfortunately the huge changes to the web UI made the indicator applet included in btsync-user totally incompatible with BitTorrent Sync 1.4. The problem is tracked in Issue #52 of the btsyncindicator project on GitHub. Unfortunately marxjohnson will not fix the problem, since he ceased using BitTorrent Sync, and this will very probably lead to the end of support of btsync-user.

     

    As I'm not using btsync anymore (I've migrated to syncthing) I can't really investigate this, but if anyone wants to submit a Pull Request I'll happily review it and merge it in.

     
    Fortunately there is an alternative:  you should give btsync-gui a try. You can find more information in this topic. The installation of btsync-gui automatically replaces btsync-user and migrates the configuration:
     

    sudo apt-get install btsync-gui

    I think, that I will announce the End of Support of btsync-user in the next days.

  14. I know this problem. It happens if you have a btsync 1.4 installation with configuration file that specifies a username and password and than access the web UI. When you connect for the first time with the Web UI, it mandatorily wants you to accept the EULA. Unfortunately the EULA confirmation dialog is also used to create the initial login.

     

    OK - you try to reenter the data, confirm the EULA and the web UI appears to start. But something is broken. You see a "Loading..." in the middle. If you stop btsync and restart it, the Web UI requests a username and a password again.

     

    The only "official" solution, is to create a fully new btsync environment (that means: delete the internal database in the storage_path) with a configuration file with no credentials. If you connect with the Web UI, you will get the "EULA and create initial user"-dialog, you fill it, check the EULA thing, and btsync will really start. You will see not "Loading..." but "No folders" in the middle and everything works fine.

     

    Maybe there is also an unofficial solution that maybe someone has reverse engineered (it deals with an undocumented parameter in the config file)...  :ph34r:

  15. New version! Enjoy!

    btsync-gui (0.8.5-1) unstable; urgency=low  * Fixed add_folder incompatibility with btsync 1.4 (Closes #154)  * Fixed settings file creation when local agent not already    started (Closes #153)  * Always enabled Web UI menu entry (Closes #148)  * Menu item "Open Original Manual" new opens tghe official BitTorrent    Sync help site that replaces the unmaintained PDF manual (Closes #157) -- Leo Moll <leo.moll@yeasoft.com>  Fri, 05 Sep 2014 17:02:22 +0200
  16. Thanks for your reply,

     

    I installed btsync-gui as suggested and that's fixed the problem, however other than the btsync icon on my panel (which is now working fine) I have 2 menu entries BitTorrent Sync & BitTorrent Sync Web UI and neither of them work when I select BitTorrent Sync nothing happens and if I select BitTorrent Sync Web UI I'm prompted for a password, to my knowledge I have never password protected btsync

     

    Any help would be much appreciated

     

     

    Graeme

     

    The "BitTorrent Sync Web UI" menu item is a remnant from the btsync-user installation. You can remove it:

     

    rm ~/.local/share/applications/btsync-user.desktop

     

    The menu entry "BitTorrent Sync" launches the BitTorrent Sync GUI (that is already running, if you see the symbol in the bar). From the status icon you can reach the menu and there you can open the GUI with "Open BitTorrent Sync..."