• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Syncthing on Ubuntu Touch

Scheduled Pinned Locked Moved Support
37 Posts 9 Posters 7.2k Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      arubislander
      last edited by 10 Jun 2020, 12:39

      I have temporarily unpublished the app pending resolution of the issue that @kugiigi found...

      πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
      Happily running Ubuntu Touch
      Google Pixel 3a (20.04 DEV)
      JingPad (24.04 preview)
      Meizu Pro 5 (16.04 DEV)

      A 1 Reply Last reply 11 Jun 2020, 05:28 Reply Quote 1
      • A Offline
        arubislander @arubislander
        last edited by 11 Jun 2020, 05:28

        A new version has been uploaded and the app has been republished.

        @kugiigi, could you test this on you PinePhone?

        πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
        Happily running Ubuntu Touch
        Google Pixel 3a (20.04 DEV)
        JingPad (24.04 preview)
        Meizu Pro 5 (16.04 DEV)

        K 1 Reply Last reply 11 Jun 2020, 06:30 Reply Quote 2
        • K Offline
          kugiigi @arubislander
          last edited by 11 Jun 2020, 06:30

          @arubislander It's working now although the first time I opened it, it was stuck in the splash screen.
          Also, I've never actually used it so not sure if the functions are working πŸ˜…

          A 1 Reply Last reply 11 Jun 2020, 06:33 Reply Quote 0
          • A Offline
            arubislander @kugiigi
            last edited by 11 Jun 2020, 06:33

            @kugiigi Yeah, the sticking the first time is because of the upstart jobs that are installed on first run. For now it is sufficient to know that it starts up. Thank you for testing.

            πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
            Happily running Ubuntu Touch
            Google Pixel 3a (20.04 DEV)
            JingPad (24.04 preview)
            Meizu Pro 5 (16.04 DEV)

            1 Reply Last reply Reply Quote 0
            • C Offline
              Capsia @arubislander
              last edited by 12 Jun 2020, 19:27

              @arubislander Hi,
              I've used your app for 2 days now and I can confirm that the battery usage is much better than beforeπŸ‘ .
              The previous Syncthing was eating up all the battery in one night, now it is ok.
              I've also found that Syncthing stops some time after the app closes. (before was running all the time)

              Thanks

              1 Reply Last reply Reply Quote 2
              • C Offline
                Capsia
                last edited by 14 Jun 2020, 20:40

                Hi @arubislander ,
                I'd like to contribute an adapted icon that looks more Ubuntuish to make the app follow the icon style.
                syncthing_ut.png

                A 1 Reply Last reply 14 Jun 2020, 21:47 Reply Quote 2
                • A Offline
                  arubislander @Capsia
                  last edited by arubislander 14 Jun 2020, 21:47

                  @Capsia Thank You! Expect an updateof the app soon.

                  EDIT: New version has been uploaded to Open-Store.

                  πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                  Happily running Ubuntu Touch
                  Google Pixel 3a (20.04 DEV)
                  JingPad (24.04 preview)
                  Meizu Pro 5 (16.04 DEV)

                  1 Reply Last reply Reply Quote 1
                  • A Offline
                    arubislander
                    last edited by 7 Jul 2020, 17:58

                    A new version (1.7.0) of Syncthing has been uploaded to the Open Store. This release follows the upstream release. See here for the release notes.

                    πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                    Happily running Ubuntu Touch
                    Google Pixel 3a (20.04 DEV)
                    JingPad (24.04 preview)
                    Meizu Pro 5 (16.04 DEV)

                    1 Reply Last reply Reply Quote 2
                    • A Offline
                      arubislander
                      last edited by 13 Jul 2020, 15:09

                      I have updated the first post with info about the Syncthing snap package, available for those who want to sync with/to an amd64 machine.

                      πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                      Happily running Ubuntu Touch
                      Google Pixel 3a (20.04 DEV)
                      JingPad (24.04 preview)
                      Meizu Pro 5 (16.04 DEV)

                      1 Reply Last reply Reply Quote 0
                      • A Offline
                        arubislander
                        last edited by 16 Jul 2020, 22:01

                        A new version of Syncthing is available in the Open Store. This version follows the release of 1.7.1 of the main Sycthing project.

                        πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                        Happily running Ubuntu Touch
                        Google Pixel 3a (20.04 DEV)
                        JingPad (24.04 preview)
                        Meizu Pro 5 (16.04 DEV)

                        1 Reply Last reply Reply Quote 3
                        • A Offline
                          arubislander
                          last edited by 1 Nov 2020, 14:12

                          A new version of Syncthing is available in the Open Store. This version follows the release of 1.10.0 of the main Sycthing project.

                          πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                          Happily running Ubuntu Touch
                          Google Pixel 3a (20.04 DEV)
                          JingPad (24.04 preview)
                          Meizu Pro 5 (16.04 DEV)

                          1 Reply Last reply Reply Quote 2
                          • ? Offline
                            A Former User
                            last edited by A Former User 23 Dec 2020, 13:10

                            Thanks for bringing this awesome software to UBports!
                            I did not know about it until I found it in the store but now I try to learn about it and setup a local backup system. I plan to run a SoC as backup peer on my home network.

                            After the installation and the first successful start of the app on my OnePlus One I decided to set a user and password for the web interface. But then the app failed. Even a fresh install from the store did not change a thing. There may be some configuration files left that store my password protection. Opening localhost from the browser once asked me to enter username and password but then failed. The app either shows endless loading screen or prints "Not Authorized" on a white screen. Any ideas on how I could fix this?

                            Additionally I am concerned about the additional power usage as the OnePlus One is already struggling with low battery power. I would not mind to run Updates just once a week or manually in worst case. Is this possible? Sry as I can not run the app I was not able to further test this myself.

                            Greetings,

                            Jimmy

                            [Edit]
                            I had to reset the whole system and now also Syncthing is running again. I would still be interested in the option to setup https, username and password to enter the web UI. Is this somehow possible?

                            Additionally I am really interested in the best configuration to save energy. What would you advice?
                            I already disabled global discovery and relaying.

                            I read that the Syncthing Android app is able to sync only when the device is charged. This seems to be an awesome feature. But I guess its hard to implement for UBtouch right?

                            A 1 Reply Last reply 29 Dec 2020, 12:50 Reply Quote 0
                            • A Offline
                              arubislander @Guest
                              last edited by arubislander 29 Dec 2020, 12:50

                              Hi @jimmypesto,

                              Thank you for interest in the app.

                              First a cautionary note. Syncthing is not intended as a proper backing up service, but as a synchronization service. The difference is about what happens if you accidentally delete a file: In a sync service the deletion is propagated, i.e. you lose the file on the remote location too.

                              Now to your questions:
                              Currently the app is simply a QML wrapper around the web interface of the regular syncthing webservice that runs on the device.
                              To help limit the battery usage I implemented a background job that stops the webservice after 10 minutes if the app is not running. Then it runs it for 5 minutes every hour as long as the app is not running. Using this strategy I haven't noticed a significant increase in battery drain. But if you do, please let me know.

                              Could you explain why you feel you need to set a username and password for the Syncthing instance running on the device and therefore access it over https? Since the syncthing webservice only listens on localhost and can therefore only be accessed from a browser on the device itself, setting up the extra security seems like overkill.

                              πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                              Happily running Ubuntu Touch
                              Google Pixel 3a (20.04 DEV)
                              JingPad (24.04 preview)
                              Meizu Pro 5 (16.04 DEV)

                              1 Reply Last reply Reply Quote 1
                              • ? Offline
                                A Former User
                                last edited by 1 Jan 2021, 17:08

                                Hi @arubislander,
                                thanks for making this clear. Sorry for mixing this up.
                                With enough care this is even better as I share certain "backups" of the past between multiple systems. Keeping these merged/updated is awesome.

                                Wow you did an awesome job man! I like this idea and did not notice a significant difference in the first few days. Your settings are already a good choice. Only because of my old phone I am interested in saving as much as possible.
                                I think this is maybe a personal flavor. Would it be hard to add a rather simple interface that allows the user to tweak these settings?

                                It is arguable to call it paranoia. But as Syncthing supports it, I thought, why not.
                                I remember I had to change ~/.config/syncthing/config.xml to listen on 0.0.0.0 so I am able to access a headless device from the local network. This file can be edited by the user. You dont need root privileges to do this.
                                But I guess you are right.

                                Thanks a lot for your great work an feedback. πŸ˜‰

                                A 1 Reply Last reply 2 Jan 2021, 13:25 Reply Quote 0
                                • A Offline
                                  arubislander @Guest
                                  last edited by arubislander 1 Feb 2021, 13:26 2 Jan 2021, 13:25

                                  Happy New Year! Hope this year will be everything the last one was not.

                                  @jimmypesto said in Syncthing on Ubuntu Touch:

                                  Sorry for mixing this up.

                                  No apologies needed, if you look at the original post, I am guilty of doing the same.

                                  Wow you did an awesome job man!

                                  Thanks for the appreciation. Might you be inclined to leave a review on the OpenStore expressing your view, if you haven't already done so?

                                  Would it be hard to add a rather simple interface that allows the user to tweak these settings?

                                  User interfaces, I am terrible with. And that would just be the front end of it. The settings would need to be acted on by the background job.

                                  But if you would add a feature request in the issue tracker and it gets some support, I could look into it when I get the time ...

                                  I remember I had to change ~/.config/syncthing/config.xml to listen on 0.0.0.0 so I am able to access a headless device from the local network.

                                  Could you speak some more on this use case, where you would want to access the Syncthing instance on your mobile device remotely?

                                  πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                                  Happily running Ubuntu Touch
                                  Google Pixel 3a (20.04 DEV)
                                  JingPad (24.04 preview)
                                  Meizu Pro 5 (16.04 DEV)

                                  ? 1 Reply Last reply 3 Jan 2021, 23:03 Reply Quote 0
                                  • ? Offline
                                    A Former User @arubislander
                                    last edited by A Former User 1 Mar 2021, 23:27 3 Jan 2021, 23:03

                                    @arubislander
                                    I failed on finding a way to review Syncthing. Is it possible from the website or just from the OpenStore app itself?
                                    [Edit] Okay I needed to login to the OpenStore account within the OpenStore app. Nice thing that this is not needed to install apps on a phone. But I am happy to be able to appreciate this work.

                                    @arubislander said in Syncthing on Ubuntu Touch:

                                    I remember I had to change ~/.config/syncthing/config.xml to listen on 0.0.0.0 so I am able to access a headless device from the local network.

                                    Could you speak some more on this use case, where you would want to access the Syncthing instance on your mobile device remotely?

                                    You told me it is save to use Syncthing locally (without https). From my experience of setting up my home server to act as a backup/ share point between different devices I just know that Syncthing config is not highly protected to listen on another IP. But I guess its still okay. I m not really into all this. This is what I wanted to say.

                                    I don't mind just using it as an app. It could be interesting to be able to tweak the settings on the mobile from the PC and enable some sharing so you do not have to do anything on the phone at all. But as the Syncthing interface is pretty easy I think this is not needed.

                                    A 1 Reply Last reply 4 Jan 2021, 11:16 Reply Quote 0
                                    • A Offline
                                      arubislander @Guest
                                      last edited by 4 Jan 2021, 11:16

                                      @jimmypesto said in Syncthing on Ubuntu Touch:

                                      You told me it is save to use Syncthing locally (without https). From my experience of setting up my home server to act as a backup/ share point between different devices I just know that Syncthing config is not highly protected to listen on another IP.

                                      Ah, I got your meaning. Well, it is safe ot use without https only if the instance running on the device is not accessible from outside of the device. And to this effect the web service is started specifically to only listen on localhost. (in the file: synchting-webd.conf) :

                                      exec /opt/click.ubuntu.com/syncthing.syncthing/current/bin/syncthing-web -gui-address=127.0.0.1:8384 -no-browser
                                      

                                      πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                                      Happily running Ubuntu Touch
                                      Google Pixel 3a (20.04 DEV)
                                      JingPad (24.04 preview)
                                      Meizu Pro 5 (16.04 DEV)

                                      1 Reply Last reply Reply Quote 0
                                      • K Offline
                                        krillin
                                        last edited by 23 Aug 2021, 21:51

                                        Hello,
                                        Thank you so much for this app!
                                        Can I write on microSD card using this app?
                                        Best,
                                        hasan

                                        bq Aquaris E4.5 ubuntu edition - with a broken touch screen πŸ˜” but still powerful πŸ™ŒπŸ˜ƒ

                                        A 1 Reply Last reply 28 Aug 2021, 10:47 Reply Quote 0
                                        • A Offline
                                          arubislander @krillin
                                          last edited by arubislander 28 Aug 2021, 10:47

                                          @krillin I have never tried it. But it is unconfined, so I think it might work.

                                          πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                                          Happily running Ubuntu Touch
                                          Google Pixel 3a (20.04 DEV)
                                          JingPad (24.04 preview)
                                          Meizu Pro 5 (16.04 DEV)

                                          1 Reply Last reply Reply Quote 0
                                          • MoemM Offline
                                            Moem
                                            last edited by 28 Aug 2021, 11:41

                                            I'm liking this app more and more. It's not fast, and I need to switch wifi on to use it, but then I can just leave it to do its thing and it works fine.

                                            Is currently using an Op5t
                                            Also owns an Op1, a BQ E4.5 and an Xperia X, as well as a BQ tablet and a Pinetab2. Please, someone... make it stop.

                                            A 1 Reply Last reply 30 Aug 2021, 16:17 Reply Quote 1
                                            • First post
                                              Last post