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.3k 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.
      • C Offline
        Capsia @arubislander
        last edited by

        @arubislander Hi,
        I've been using Syncthing on UT before the app was available following these instructions:
        https://www.swalladge.net/archives/2016/07/11/syncthing-ubuntu-touch/

        how can I migrate the data from the old Syncthing to the app?

        Nice app
        Thanks

        arubislanderA 1 Reply Last reply Reply Quote 1
        • arubislanderA Offline
          arubislander @poVoq
          last edited by

          @poVoq If you like the app, please consider giving it a rating in the 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 0
          • K Offline
            kugiigi
            last edited by

            This app crashes on the pinephone with some missing file - synthing.syncthing IIRC.
            Perhaps a bad click build for arm64?

            arubislanderA 1 Reply Last reply Reply Quote 0
            • arubislanderA Offline
              arubislander @kugiigi
              last edited by

              @kugiigi Maybe, I don't an arm64 device to test it on yet.
              But it would help if you could provide the exact error message.

              πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
              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 Reply Quote 0
              • K Offline
                kugiigi @arubislander
                last edited by

                @arubislander Here it is ☺ http://paste.ubuntu.com/p/BVnwgHKDnQ/

                arubislanderA 1 Reply Last reply Reply Quote 0
                • arubislanderA Offline
                  arubislander @Capsia
                  last edited by arubislander

                  @Capsia I was not aware there were already instructions on running Syncthing on Ubuntu Touch.
                  The Syncthing web application writes its configuration in $HOME/.config/syncthing. So my app should pick up the existing configuration without any issues.

                  But because the old install is already using port 8384 you will have to stop it first. To do that open the Terminal app on your phone, or aquire a shell to your device from your computer.
                  Then stop the upstart job:

                  ~$ stop syncthing
                  syncthing stop/waiting
                  

                  and rename the upstart job configuration:

                  ~$ mv $HOME/.config/upstart/syncthing.conf $HOME/.config/upstart/syncthing.conf.bak
                  

                  Now reboot your device. When it is back up, install the Syncthing app from the Open Store.

                  Check if it starts and picks up your existing data. If it doesn't, please post back on here.

                  Otherwise clean up the old installation:

                  ~$ rm $HOME/.config/upstart/syncthing.conf.bak
                  ~$ rm -rf $HOME/apps/syncthing
                  

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

                  C 1 Reply Last reply Reply Quote 0
                  • arubislanderA Offline
                    arubislander @kugiigi
                    last edited by arubislander

                    @kugiigi Thank you...

                    Hmmm.. it seems to be missing the syncthing binary... could you post a listing of the contents of the /opt/click.ubuntu.com/.click/users/phablet/syncthing.syncthing/bin folder on your PinePhone?

                    EDIT: I downloaded the arm64 click and I confirmed that it is indeed missing the syncthing binary. I will prepare new versions to upload shortly.

                    EDIT2: Preparing a new click will take a bit longer than anticipated (the versioning is based on the upstream Syncthing version, and since this hasn't changed I will have to do some fiddling to get a version bump.)

                    πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                    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

                      @arubislander thank you, it worked perfectly

                      arubislanderA 1 Reply Last reply Reply Quote 1
                      • arubislanderA Offline
                        arubislander @Capsia
                        last edited by

                        @Capsia I would be interested in knowing if you notice better battery life using this version than in the previous situation.

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

                        C 1 Reply Last reply Reply Quote 0
                        • arubislanderA Offline
                          arubislander
                          last edited by

                          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)

                          arubislanderA 1 Reply Last reply Reply Quote 1
                          • arubislanderA Offline
                            arubislander @arubislander
                            last edited by

                            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 Reply Quote 2
                            • K Offline
                              kugiigi @arubislander
                              last edited by

                              @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 πŸ˜…

                              arubislanderA 1 Reply Last reply Reply Quote 0
                              • arubislanderA Offline
                                arubislander @kugiigi
                                last edited by

                                @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

                                  @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

                                    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

                                    arubislanderA 1 Reply Last reply Reply Quote 2
                                    • arubislanderA Offline
                                      arubislander @Capsia
                                      last edited by arubislander

                                      @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
                                      • arubislanderA Offline
                                        arubislander
                                        last edited by

                                        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
                                        • arubislanderA Offline
                                          arubislander
                                          last edited by

                                          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
                                          • arubislanderA Offline
                                            arubislander
                                            last edited by

                                            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
                                            • arubislanderA Offline
                                              arubislander
                                              last edited by

                                              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
                                              • First post
                                                Last post