Linux amateur here.Alt-f currentDNS-320axAlt-f is awesome.Want to add syncthing to recive file sync.Installed package from Alt-f Packages list.. It appears to work fine. EXCEPT. it is quite old version compared to current.Current in the automatic update provided gives 0.13.9, and it is the most recent version provided here: (as a .ipk)I could get newer versions from
cd /tmp
wget https://github.com/syncthing/syncthing/releases/download/v1.0.1/syncthing-linux-arm-v1.0.1.tar.gz # download from github
tar xzf syncthing-linux-arm-v1.0.1.tar.gz # extract to temporary location
rcsyncthing stop # stop an existing syncthing. *Don't* stop it other way
cp -a syncthing-linux-arm-v1.0.1/* /opt/syncthing/ # copy over existent
chown -R syncthing:sync /opt/syncthing # change user and group
rm -rf syncthing-linux-arm-v1.0.1* # remove download and tmp extracted files
rcsyncthing start # start syncthing. *don't* start syncthing other way
Which is the version i'm hoping to match to my other systems. (FYI this is not the latest version, which is 1.4, but my other hardware is limited to 1.0.1, so i can't go past that version - there is an update to current version button on the syncthing gui which would make this a piece of cake, but i can't go to that version - at least i'm not sure i can)But my concern is i'm not sure even which OS
choice to make (yes noob), much less how to get it into the alt-f system running on my NAS. I tried some basic 'nix commands like yum and apt, but not resident on NAS. SO i'm guessing the OS there is very stripped down version of something, but i don't know what. What is it?
On Wednesday, 1 April 2020 06:08:00 UTC+1, Chico Barker wrote:Linux amateur here.Alt-f currentDNS-320axAlt-f is awesome.Want to add syncthing to recive file sync.Installed package from Alt-f Packages list.. It appears to work fine. EXCEPT. it is quite old version compared to current.Current in the automatic update provided gives 0.13.9, and it is the most recent version provided here: (as a .ipk)I could get newer versions fromYou can try to download the syncthing-linux-arm-v1.0.1.tar.gz and install it over the existing one:
cd /tmp
wget https://github.com/syncthing/syncthing/releases/download/v1.0.1/syncthing-linux-arm-v1.0.1.tar.gz # download from github
tar xzf syncthing-linux-arm-v1.0.1.tar.gz # extract to temporary location
rcsyncthing stop # stop an existing syncthing. *Don't* stop it other way
cp -a syncthing-linux-arm-v1.0.1/* /opt/syncthing/ # copy over existent
chown -R syncthing:sync /opt/syncthing # change user and group
rm -rf syncthing-linux-arm-v1.0.1* # remove download and tmp extracted files
rcsyncthing start # start syncthing. *don't* start syncthing other wayUntested.Worked? Please report back.Note in the comments above: rcsyncthing start (or stop or status) # *don't* start/stop syncthing other way
I retried it several times with same result.
[monitor] 23:17:32 INFO: Starting syncthing [TJDVX] 23:17:38 INFO: syncthing v1.0.1 "Erbium Earthworm" (go1.11.5 linux-arm) team...@build.syncthing.net 2019-01-18 10:34:18 UTC [TJDVX] 23:17:38 INFO: My ID: TJDVXBI-IXWLS2O-V3CT3YF-NS5JROZ-EJKWELC-GD4WFFK-6ZNOOX2-66BCUQX [TJDVX] 23:17:39 INFO: Single thread SHA256 performance is 6.2 MB/s using crypto/sha256 (6.2 MB/s using minio/sha256-simd). [TJDVX] 23:17:40 INFO: Archiving a copy of old config file format at: /var/lib/syncthing/config.xml.v30 [TJDVX] 23:17:43 INFO: Hashing performance is 5.11 MB/s [TJDVX] 23:17:43 FATAL: Database schema: Syncthing v1.6.0 required [monitor] 23:17:43 INFO: Syncthing exited: exit status 1 [monitor] 23:17:44 WARNING: 4 restarts in 45.550844701s; not retrying further
It appears to fave failed due to some version issue. Any thoughts?
Hello Joao,I did follow the instructions you provided. The progress appeared to be sucess at each step.After the lsat command the appropriate reply was provided.
I then opened the GUI for syncthing to try to connect to it's webUI. No connection. I opened Alt-f webgui to see that the process was stopped.
I reissued the last command line command, and then ran top to confirm syncthing was running. Also quickly conformed in ALT-f GUI.After some short period, syncthing terminated.I retried it several times with same result.
The syncthing log from ALT-F says:[monitor] 23:17:32 INFO: Starting syncthing [TJDVX] 23:17:38 INFO: syncthing v1.0.1 "Erbium Earthworm" (go1.11.5 linux-arm) team...@build.syncthing.net 2019-01-18 10:34:18 UTC [TJDVX] 23:17:38 INFO: My ID: TJDVXBI-IXWLS2O-V3CT3YF-NS5JROZ-EJKWELC-GD4WFFK-6ZNOOX2-66BCUQX [TJDVX] 23:17:39 INFO: Single thread SHA256 performance is 6.2 MB/s using crypto/sha256 (6.2 MB/s using minio/sha256-simd). [TJDVX] 23:17:40 INFO: Archiving a copy of old config file format at: /var/lib/syncthing/config.xml.v30 [TJDVX] 23:17:43 INFO: Hashing performance is 5.11 MB/s [TJDVX] 23:17:43 FATAL: Database schema: Syncthing v1.6.0 required
Further update to the syncthing silent fail.Developer there says "no idea why use old version", so clearly not interested in helping.
Which is reasonable for a free product. You get what he is willing to give.
So, the idea of installing the older version of sync thing over-top of the later version appears to be a problem. So now i will try to remove all traces of sync thing then install the original (as provided with Alt-f) then attempt the upgrade again.only trouble is, I have no idea how to unistall syncthing from the ALT-f nas.
Joao,
Your idea worked like a charm. Thank you 1,000,000!!!
Although the database file name was the same, the internal structure must have been different. The missing file was recreated by syncthing upon start, and it is happily humming away rebuilding the database.
If only i could now change the topic of this post to "How to upgrade or downgrade the syncthing package provided in ALT-f distribution" so that others might find it if they are trying some similar silliness.
Again, thank you! Can i send you a coffee (or beer) via paypal somehow?
On Wednesday, April 1, 2020 at 1:08:00 AM UTC-4, Chico Barker wrote:Linux amateur here.Alt-f currentDNS-320ax
Alt-f is awesome.
Want to add syncthing to recive file sync.
Installed package from Alt-f Packages list.. It appears to work fine. EXCEPT. it is quite old version compared to current.Current in the automatic update provided gives 0.13.9, and it is the most recent version provided here: (as a .ipk)
I could get newer versions from
Which is the version i'm hoping to match to my other systems. (FYI this is not the latest version, which is 1.4, but my other hardware is limited to 1.0.1, so i can't go past that version - there is an update to current version button on the syncthing gui which would make this a piece of cake, but i can't go to that version - at least i'm not sure i can)
But my concern is i'm not sure even which OS choice to make (yes noob), much less how to get it into the alt-f system running on my NAS. I tried some basic 'nix commands like yum and apt, but not resident on NAS. SO i'm guessing the OS there is very stripped down version of something, but i don't know what. What is it?
I searched a lot and found a refernce to installing the ..ipk into a folder and Alt F would install it automagically. but i did not find a newer version .ipk of syncthing
So, can someone give noob level step by step:1) which of the versions (ie which file to download) would be appropriate for this NAS?2) how can i install it into alt-f os?
Seem like it should be easy.
help?
--
You received this message because you are subscribed to the Google Groups "Alt-F" group.
To unsubscribe from this group and stop receiving emails from it, send an email to alt-f+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/alt-f/78c00ba1-d26c-4701-8e25-f7c1b9b8d2cao%40googlegroups.com.
any guideance to how can i make these updates?