Hi Andy22!
Andy22 wrote:
Since BTsync 1.4.82+ the default Btsync client UI does not properly support (does not save) a specific listening port, which results in problematic sync behaviour for my NAS machine. So can you add a option, where we can specify the listening port via config file?
In the new release of my extension I implemented all new options which were introduced starting with BitTorrent Sync (BTS) 1.4 so you can specifiy also the listening port which overrules the current bug in BTS. You now can also change the device name, which overrules the naming problem (see =>
viewtopic.php?f=71&t=5704&start=50#p42775).
Andy22 wrote:
A general text-field that simply adds the entered options to the end of the btsync config file would also solve such problems and would even allow to add future options without the need to update the extension. The Webserver service has something like this called "Auxiliary parameters" and this helps adds whatever option we may need in a more general way.
This is not neccessary because you can directly edit the sync.conf file and add every parameter directly via the N4F WebGUI (in ADVANCED | File editor). Just copy the full path and name of the conf file - which you can see at the bottom of the configuration page of the BTS extension under NOTE - into the file path of the editor, make your changes and - voilá

.
Since the sync.conf file is stored in a persistant place your changes stay permanent.
If you want you can try the new release, it's almost finished (I have still some changes in my mind but everything in this pre-release is tested and working). Just follow the steps for the new installation procedure below,
every upcoming update can than be done directly via the WebGUI (Extension Maintenance Tab).
INSTALLATION
1. Prior to the installation
make a backup of the N4F configuration via SYSTEM | BACKUP/RESTORE | Download configuration.
2. Got to the N4F Webgui menu entry ADVANCED | COMMAND, copy the following line (change the path /mnt/DATA/extensions to
your needs - a persistant place where all extensions are/should be) paste it to the command field and push "Execute"
- this will copy the installer to your system:
Code: Select all
cd /mnt/DATA/extensions && fetch https://raw.github.com/crestAT/nas4free-bittorrent-sync/master/bts_install.php && chmod 770 bts_install.php && echo "fetch OK"
3. After you see "fetch OK" execute the following line (change the path /mnt/DATA/extensions to your persistant place), this will install/update the extension:
Code: Select all
/mnt/DATA/extensions/bts_install.php
4. After successful completion you can access the extension from the WebGUI menu entry EXTENSIONS | BitTorrent Sync.
What's new in this version:
N: BTS installation, new tab "Extension Maintainance" for online extension update and remove via the WebGUI
C: btsync-installer: combined Install/Update option
C: Configuration: improvements for user change, take care about permissions
N: Configuration: VLAN/LAGG support -> taken from user Vasily1
N: Configuration: http/https switch
N: Configuration: external tick box => listen to 0.0.0.0
N: Configuration: all directly edited changes in sync.conf will be taken as they are
N: Configuration: all newly introduced BTS options editable/choosable in Advanced section
N: Configuration: updated documentation URL
N: Maintainance => editable update URL for the BitTorrent Sync application, so we are future-proof

N: Maintainance => switch to previuosely saved update URL, just to be sure ...
N: Maintainance => one-time download and installation of previous BTS application versions
C: Logview => only two columns
N: Logview => new search field
When I'm finished with all changes I will edit the first post regarding to the new final release.
Regards
crest