Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. App Wishlist
  3. Agate+ (dual protocol server to serve gemini/http from one source)

Agate+ (dual protocol server to serve gemini/http from one source)

Scheduled Pinned Locked Moved App Wishlist
73 Posts 5 Posters 1.0k Views 5 Watching
  • 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.
  • robiR robi

    @timconsidine so far the easiest way we found was last year with @Kubernetes EasyInstall script, as you might recall.

    timconsidineT Offline
    timconsidineT Offline
    timconsidine
    App Dev
    wrote last edited by timconsidine
    #41

    @robi yep, I need to remind myself about it.
    I have a vague distant feeling that it didn’t deal with the core issue that less techie users would still struggle with it. But hey, grey hair, don’t even recall my name some days, let me review it. Maybe the truth is I didn’t understand it at the time 😊

    1 Reply Last reply
    1
    • L LoudLemur

      I haven't got round to testing the latest agate+ yet, but one thing I can say for sure:

      It was far easier to convert our astro starlight documentation to gemini-protocol format and publish them using agate as a gemlog than it was to try and publish via cubby, which we still haven't managed!

      timconsidineT Offline
      timconsidineT Offline
      timconsidine
      App Dev
      wrote last edited by timconsidine
      #42

      @LoudLemur hey, did you see my post about CCAI ?
      You can now use https://ccai.appx.uk to deploy custom apps to your own cloudron.
      Anonymous - no login details saved.

      Details : https://forum.cloudron.io/post/110907

      L 1 Reply Last reply
      0
      • timconsidineT timconsidine

        @LoudLemur hey, did you see my post about CCAI ?
        You can now use https://ccai.appx.uk to deploy custom apps to your own cloudron.
        Anonymous - no login details saved.

        Details : https://forum.cloudron.io/post/110907

        L Offline
        L Offline
        LoudLemur
        wrote last edited by LoudLemur
        #43

        @timconsidine Hey, thanks! No, I missed that. I shall take a look.

        WOW!

        So all we need is to link a publicly accessible git and Docker image, and it does the magic for us?

        Amazing! Surely, there must be more to it than that...?

        timconsidineT 1 Reply Last reply
        0
        • L LoudLemur

          @timconsidine Hey, thanks! No, I missed that. I shall take a look.

          WOW!

          So all we need is to link a publicly accessible git and Docker image, and it does the magic for us?

          Amazing! Surely, there must be more to it than that...?

          timconsidineT Offline
          timconsidineT Offline
          timconsidine
          App Dev
          wrote last edited by timconsidine
          #44

          @LoudLemur basically yes, simple as that, "magic" is behind the scenes

          I'm cautious about the word "link", could be understood differently.

          CCAI does this :

          1. asks for :
          • your cloudron domain e.g. my.cloudron-instance.tld (never stored)
          • your user name (never stored)
          • your password (never stored)
          • your 2FA code (if you've enabled this, otherwise leave blank)
            If it logs in successfully,
          1. asks for :
          • git repo of the target custom app, e.g. https://git.cloudron.io/timconsidine/cloudron-agate-plus
          • prebuilt docker image, e.g. tcmbp132021/cloudron-agate-plus:v6.36
          • location where you want the custom app to deploy, e.g. your-gemini.your-domain.tld
          • any port binding needed : optional in most cases, also optional for your first installation of Agate+, but subsequent instances need "GEMINI_PORT=1967" or higher number

          So it's a bit more than just linking, but it's much easier than installing and using CLI, installing and using docker to build, installing and using a docker registry.

          1 Reply Last reply
          1
          • timconsidineT Offline
            timconsidineT Offline
            timconsidine
            App Dev
            wrote last edited by timconsidine
            #45

            CCAI now has an "app picker" to populate necessary install data fields.

            @LoudLemur Agate+ is one of the custom apps in the list

            So is @DidierMalenfant Agate package, which is great for dedicated gemini site hosting.

            L 1 Reply Last reply
            3
            • timconsidineT timconsidine

              CCAI now has an "app picker" to populate necessary install data fields.

              @LoudLemur Agate+ is one of the custom apps in the list

              So is @DidierMalenfant Agate package, which is great for dedicated gemini site hosting.

              L Offline
              L Offline
              LoudLemur
              wrote last edited by LoudLemur
              #46

              @timconsidine Exciting!
              I like the idea of that App Picker!

              I see it and tried, however it failed as another installation to the same cloudron was already in progress.

              (I have been trying to package and deploy another custom application. I thought that process had ground to a halt, but the notification indicates that tcmbp thinks it is still trying...)

              timconsidineT 1 Reply Last reply
              0
              • L LoudLemur

                @timconsidine Exciting!
                I like the idea of that App Picker!

                I see it and tried, however it failed as another installation to the same cloudron was already in progress.

                (I have been trying to package and deploy another custom application. I thought that process had ground to a halt, but the notification indicates that tcmbp thinks it is still trying...)

                timconsidineT Offline
                timconsidineT Offline
                timconsidine
                App Dev
                wrote last edited by
                #47

                @LoudLemur errr
                No idea, sorry
                Have you tried doing one at a time ?

                robiR 1 Reply Last reply
                0
                • timconsidineT timconsidine

                  @LoudLemur errr
                  No idea, sorry
                  Have you tried doing one at a time ?

                  robiR Offline
                  robiR Offline
                  robi
                  wrote last edited by robi
                  #48

                  @timconsidine I got the same message.

                  I tried to login, failed the first time, fixed typo from entered data, logged in.

                  Selected your agate+ package, then got the message it's already in progress.

                  Thoughts:
                  See if the error state is interfering between tries.
                  Make sure to clear it on every submission, not just starting over.
                  It's annoying that each field starts with capital letter on mobile.
                  Would help to have ports prefilled like in your app.

                  Update: tried again from scratch, no error modal, still got the failure.
                  Then switched to the other agate app and got this: Unsupported git hosting service.

                  Doesn't like self hosted domains other than github and cloudron. Lol

                  I'd upload a screenshot but can't seem to paste or upload from this mobile browser.

                  Conscious tech

                  timconsidineT 1 Reply Last reply
                  1
                  • robiR Offline
                    robiR Offline
                    robi
                    wrote last edited by
                    #49

                    Seems you have to start with the image first.

                    4BB849BA-C82A-49E4-90BD-A279AB6B14EA.jpeg

                    Conscious tech

                    timconsidineT 1 Reply Last reply
                    1
                    • robiR robi

                      Seems you have to start with the image first.

                      4BB849BA-C82A-49E4-90BD-A279AB6B14EA.jpeg

                      timconsidineT Offline
                      timconsidineT Offline
                      timconsidine
                      App Dev
                      wrote last edited by
                      #50
                      This post is deleted!
                      1 Reply Last reply
                      0
                      • robiR robi

                        @timconsidine I got the same message.

                        I tried to login, failed the first time, fixed typo from entered data, logged in.

                        Selected your agate+ package, then got the message it's already in progress.

                        Thoughts:
                        See if the error state is interfering between tries.
                        Make sure to clear it on every submission, not just starting over.
                        It's annoying that each field starts with capital letter on mobile.
                        Would help to have ports prefilled like in your app.

                        Update: tried again from scratch, no error modal, still got the failure.
                        Then switched to the other agate app and got this: Unsupported git hosting service.

                        Doesn't like self hosted domains other than github and cloudron. Lol

                        I'd upload a screenshot but can't seem to paste or upload from this mobile browser.

                        timconsidineT Offline
                        timconsidineT Offline
                        timconsidine
                        App Dev
                        wrote last edited by timconsidine
                        #51

                        @robi thank you for the analysis

                        Yes, unsupported git hosting service is the critical error. I will remove the standard Agate package from the list until I can confirm Dider's git details.

                        @DidierMalenfant what is the git service behind "https://code.malenfant.net/didier/agate-app " ?
                        I can try to add support for it.
                        Also does it need port binding to be set ?

                        I will check my Agate+ settings again.

                        robiR 1 Reply Last reply
                        1
                        • L Offline
                          L Offline
                          LoudLemur
                          wrote last edited by
                          #52

                          Agate+ installed using https://ccai.appx.uk/ and the nice, new "Quick Setup" option.

                          • The port field 19XX was a bit confusing. If you leave it like that, the installation doesn't work. For the quick setup, how about suggesting 1965 and a note/tool-tip for changing this if needed

                          • I don't think that ccai checks to see if another installation is happening at the same time before attempting to start. In something like a college setting, lots of people might be trying to use the same service at the same time in a class.

                          • The reverse proxy for additional servers is a nice tool. I tried using the terminal as suggested to setup an additional server using the initial one as a reverse proxy, but it failed.

                          /app/code# register-new-instance.sh
                          bash: register-new-instance.sh: command not found

                          robiR 1 Reply Last reply
                          0
                          • timconsidineT Offline
                            timconsidineT Offline
                            timconsidine
                            App Dev
                            wrote last edited by timconsidine
                            #53

                            I could not replicate the errors.
                            So I tweaked the CCAI installer to be more aggressive on clearing past installation attempts, as robi and loudlemur mentioned multiple attempts.

                            NB : if you're doing repeat installs, it's definitely worth using the [Start Over] but maybe you did.

                            NB : when installing to a subdomain not used before, Cloudron's reverse proxy registration can be variable (fast to slow). Patience required 😆

                            I also cleared Didier's package details until they can be verified.

                            I used CCAI to install a new instance of Agate+ and made a video.

                            Note : for the first installation of Agate+, the port binding needs to be clear or set to GEMINI_PPORT=1965.
                            For additional installations, port binding needs to be GEMIN_PORT=1967 or higher if you have other installations. And in your first installation of Agate+, register your 2nd etc instance. See POSTINSTALL.md in the 1st instance, which is shown on the app settings dashboard.

                            No privilege to post the install demo here, so it's over here : https://ccai-demo.appx.uk/
                            This might flush out any difference in the way I am doing it.

                            Other thoughts :

                            • use [Start Over] between install attempts
                            • reload or force reload the browser page between install attempts
                            • check in your Cloudron whether an app was created despite failed install, and manually uninstall it through the Cloudron app dashboard before trying again
                            1 Reply Last reply
                            1
                            • timconsidineT Offline
                              timconsidineT Offline
                              timconsidine
                              App Dev
                              wrote last edited by
                              #54

                              Pushed small tweak to cloudron git and to hosted docker image (v 6.3.7)

                              robiR 1 Reply Last reply
                              1
                              • timconsidineT timconsidine

                                @robi thank you for the analysis

                                Yes, unsupported git hosting service is the critical error. I will remove the standard Agate package from the list until I can confirm Dider's git details.

                                @DidierMalenfant what is the git service behind "https://code.malenfant.net/didier/agate-app " ?
                                I can try to add support for it.
                                Also does it need port binding to be set ?

                                I will check my Agate+ settings again.

                                robiR Offline
                                robiR Offline
                                robi
                                wrote last edited by
                                #55

                                @timconsidine said in Agate+ (dual protocol server to serve gemini/http from one source):

                                @DidierMalenfant what is the git service behind "https://code.malenfant.net/didier/agate-app " ?
                                I can try to add support for it.

                                His is just a Gitea instance, so should be fine. It should fail on the git command attempt, not the URL check.

                                I'd also like to keep my cloudron info while installing other apps, until the browser window is closed.
                                Why log in every time?

                                Same for subdomain and port settings, keep the TLD and have a default port for first installs, we know to increment on additional installs.

                                Conscious tech

                                1 Reply Last reply
                                0
                                • L LoudLemur

                                  Agate+ installed using https://ccai.appx.uk/ and the nice, new "Quick Setup" option.

                                  • The port field 19XX was a bit confusing. If you leave it like that, the installation doesn't work. For the quick setup, how about suggesting 1965 and a note/tool-tip for changing this if needed

                                  • I don't think that ccai checks to see if another installation is happening at the same time before attempting to start. In something like a college setting, lots of people might be trying to use the same service at the same time in a class.

                                  • The reverse proxy for additional servers is a nice tool. I tried using the terminal as suggested to setup an additional server using the initial one as a reverse proxy, but it failed.

                                  /app/code# register-new-instance.sh
                                  bash: register-new-instance.sh: command not found

                                  robiR Offline
                                  robiR Offline
                                  robi
                                  wrote last edited by
                                  #56

                                  @LoudLemur said in Agate+ (dual protocol server to serve gemini/http from one source):

                                  /app/code# register-new-instance.sh
                                  bash: register-new-instance.sh : command not found

                                  That's because it's in /app/data

                                  Take a look in the App Terminal or File Manager

                                  Conscious tech

                                  1 Reply Last reply
                                  1
                                  • timconsidineT timconsidine

                                    Pushed small tweak to cloudron git and to hosted docker image (v 6.3.7)

                                    robiR Offline
                                    robiR Offline
                                    robi
                                    wrote last edited by robi
                                    #57

                                    @timconsidine Can you add a checkbox to an app anyone installs to submit it to your list of available packages once a successful install has taken place?

                                    Private apps remain private if left unchecked.

                                    Conscious tech

                                    1 Reply Last reply
                                    0
                                    • robiR Offline
                                      robiR Offline
                                      robi
                                      wrote last edited by
                                      #58

                                      Btw, your Agate+ app doesn't seem to complete health check, hence remains Starting... & unclickable from UI.

                                      Conscious tech

                                      timconsidineT L 2 Replies Last reply
                                      0
                                      • robiR robi

                                        Btw, your Agate+ app doesn't seem to complete health check, hence remains Starting... & unclickable from UI.

                                        timconsidineT Offline
                                        timconsidineT Offline
                                        timconsidine
                                        App Dev
                                        wrote last edited by timconsidine
                                        #59

                                        @robi really ?! 😢 Not good, sorry.
                                        Works for me though !
                                        Let me investigate further.

                                        Are you installing manually or through ccai.appx.uk ?
                                        Is this with v6.37 (latest - uploaded to cloudron git this evening) ?

                                        Just so I know what to investigate

                                        robiR 1 Reply Last reply
                                        0
                                        • timconsidineT timconsidine

                                          @robi really ?! 😢 Not good, sorry.
                                          Works for me though !
                                          Let me investigate further.

                                          Are you installing manually or through ccai.appx.uk ?
                                          Is this with v6.37 (latest - uploaded to cloudron git this evening) ?

                                          Just so I know what to investigate

                                          robiR Offline
                                          robiR Offline
                                          robi
                                          wrote last edited by robi
                                          #60

                                          @timconsidine said in Agate+ (dual protocol server to serve gemini/http from one source):

                                          Are you installing manually or through ccai.appx.uk ?
                                          Using your ccai

                                          Is this with v6.37 (latest - uploaded to cloudron git this evening) ?

                                          v6.37, pkg v 3.3.17

                                          I installed it twice, once with the port set to 1968, then uninstalled, and installed again with your new instructions to delete the port field, same result.

                                          App works, but Cloudron doesn't know.

                                          Conscious tech

                                          timconsidineT 2 Replies Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Bookmarks
                                          • Search