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. Humhub
  3. PWA support

PWA support

Scheduled Pinned Locked Moved Humhub
25 Posts 5 Posters 3.8k 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.
  • C Offline
    C Offline
    ccfu
    wrote on last edited by
    #1

    Does the Cloudron installation of HumHub support PWA? If so, how / where can it be activated?

    girishG 1 Reply Last reply
    0
    • C ccfu

      Does the Cloudron installation of HumHub support PWA? If so, how / where can it be activated?

      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @ccfu AFAIK, this is the default per https://docs.humhub.org/docs/admin/config-options/#web

      1 Reply Last reply
      0
      • imc67I Online
        imc67I Online
        imc67
        translator
        wrote on last edited by
        #3

        In my instance I configured nothing special and it works by default. BTW thanks for the hint because I discovered only now 🙂

        1 Reply Last reply
        0
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by girish
          #4

          In our instance, service worker is registered but stopped (we didn't tweak any option):

          image.png

          1 Reply Last reply
          0
          • C Offline
            C Offline
            ccfu
            wrote on last edited by
            #5

            I also understood that it should work by default and I have just checked and see that the service worker is in fact both registered and active. Strangely I don't get the option to "install app" on my phone though, which is what made me wonder.

            jdaviescoatesJ 1 Reply Last reply
            0
            • C ccfu

              I also understood that it should work by default and I have just checked and see that the service worker is in fact both registered and active. Strangely I don't get the option to "install app" on my phone though, which is what made me wonder.

              jdaviescoatesJ Offline
              jdaviescoatesJ Offline
              jdaviescoates
              wrote on last edited by jdaviescoates
              #6

              @ccfu said in PWA support:

              Strangely I don't get the option to "install app" on my phone though

              Even when you look in the menu?

              In Firefox on Android I see this when using https://vive.transitiontogether.org.uk/ which is an instance of HumHub managed by @Sam_uk :

              Screenshot_20231128-110220_Firefox.png

              Edit: although, actually, nothing seems to happen when I choose Install from the menu 🤔

              Update: it did work when using the Chromium-based default /e/ OS browser

              I use Cloudron with Gandi & Hetzner

              1 Reply Last reply
              1
              • C Offline
                C Offline
                ccfu
                wrote on last edited by ccfu
                #7

                @jdaviescoates I have only tried it with the Chrome browser on Android and only see Add to Home screen as an option in the menu. I'll try another browser.

                Edit: It works with Chrome and https://vive.transitiontogether.org.uk/. I am now thinking that it might be a cache issue because a different site was using the domain before the HumHub instance was installed.

                Thanks for confirming that it should work as expected.

                1 Reply Last reply
                1
                • C Offline
                  C Offline
                  ccfu
                  wrote on last edited by
                  #8

                  I tried the Firefox browser on my phone and the situation is the same. I really cannot understand why this isn't working. The service worker is active but the browser is somehow getting the information that no PWA is configured. Maybe I'll just try reinstalling, though I didn't confiugure anything on setup that could have changed any defaults.

                  1 Reply Last reply
                  0
                  • nebulonN Away
                    nebulonN Away
                    nebulon
                    Staff
                    wrote on last edited by
                    #9

                    Have you tried chrome as well? Maybe the firefox implementation is not up to speed for this usage or upstream needs to provide some quirks for firefox to work.

                    1 Reply Last reply
                    1
                    • C Offline
                      C Offline
                      ccfu
                      wrote on last edited by
                      #10

                      @nebulon Yes, I tried Chrome first and then installed Firefox to see if chrome was the problem.

                      1 Reply Last reply
                      0
                      • jdaviescoatesJ Offline
                        jdaviescoatesJ Offline
                        jdaviescoates
                        wrote on last edited by
                        #11

                        perhaps @Sam_uk did something to make it work?

                        I use Cloudron with Gandi & Hetzner

                        1 Reply Last reply
                        1
                        • C Offline
                          C Offline
                          ccfu
                          wrote on last edited by
                          #12

                          Also a possibility of course. @Sam_uk A quick feedback would be greatly appreciated.

                          1 Reply Last reply
                          0
                          • girishG Offline
                            girishG Offline
                            girish
                            Staff
                            wrote on last edited by
                            #13

                            @ccfu I installed a fresh instance at https://humhub.demo.cloudron.io . I see the Install menu in my Android Firefox. I also checked our internal HumHub instance and that also shows Install menu.

                            image.png

                            jdaviescoatesJ 1 Reply Last reply
                            0
                            • girishG girish

                              @ccfu I installed a fresh instance at https://humhub.demo.cloudron.io . I see the Install menu in my Android Firefox. I also checked our internal HumHub instance and that also shows Install menu.

                              image.png

                              jdaviescoatesJ Offline
                              jdaviescoatesJ Offline
                              jdaviescoates
                              wrote on last edited by
                              #14

                              @girish said in PWA support:

                              I see the Install menu in my Android Firefox.

                              But presumably it doesn't actually work?

                              I use Cloudron with Gandi & Hetzner

                              girishG 1 Reply Last reply
                              0
                              • jdaviescoatesJ jdaviescoates

                                @girish said in PWA support:

                                I see the Install menu in my Android Firefox.

                                But presumably it doesn't actually work?

                                girishG Offline
                                girishG Offline
                                girish
                                Staff
                                wrote on last edited by
                                #15

                                @jdaviescoates said in PWA support:

                                But presumably it doesn't actually work?

                                I went back and checked. It installs an icon of humhub with firefox icon at the bottom corner in the home screen. When clicked it opens a full page humhub (i.e without browser's navbar etc).

                                jdaviescoatesJ 1 Reply Last reply
                                1
                                • girishG girish

                                  @jdaviescoates said in PWA support:

                                  But presumably it doesn't actually work?

                                  I went back and checked. It installs an icon of humhub with firefox icon at the bottom corner in the home screen. When clicked it opens a full page humhub (i.e without browser's navbar etc).

                                  jdaviescoatesJ Offline
                                  jdaviescoatesJ Offline
                                  jdaviescoates
                                  wrote on last edited by
                                  #16

                                  @girish said in PWA support:

                                  It installs an icon of humhub with firefox icon at the bottom corner in the home screen. When clicked it opens a full page humhub (i.e without browser's navbar etc).

                                  Interesting. Firefox didn't work for me at all on https://vive.transitiontogether.org.uk/ but it worked fine on Chrome.

                                  I use Cloudron with Gandi & Hetzner

                                  girishG 1 Reply Last reply
                                  0
                                  • jdaviescoatesJ jdaviescoates

                                    @girish said in PWA support:

                                    It installs an icon of humhub with firefox icon at the bottom corner in the home screen. When clicked it opens a full page humhub (i.e without browser's navbar etc).

                                    Interesting. Firefox didn't work for me at all on https://vive.transitiontogether.org.uk/ but it worked fine on Chrome.

                                    girishG Offline
                                    girishG Offline
                                    girish
                                    Staff
                                    wrote on last edited by
                                    #17

                                    @jdaviescoates For me, your site worked as well. I hope we are talking of the same thing, so here's some screenshots:

                                    First, I add like:
                                    2e78339a-972f-4ae6-a2d1-63962ddafd70-image.png

                                    Then, it appears on desktop:
                                    9284730b-bbf1-4090-8a5c-ff3d1aa76bd6-image.png

                                    Which when clicked, shows the app:
                                    dc2cf8b8-a44f-4095-a720-12102880fa67-image.png

                                    I am on Firefox 120.0 / Android 11 if that matters...

                                    1 Reply Last reply
                                    0
                                    • C Offline
                                      C Offline
                                      ccfu
                                      wrote on last edited by ccfu
                                      #18

                                      Yes, that is what Chrome calls "Add to Homescreen". I also get that on my instance, but it is not actually installing as a PWA. As with @jdaviescoates on https://vive.transitiontogether.org.uk/ the install button on Chrome installs HumHub as a web app, on firefox it wants to add it as a shortcut. It will appear full screen but runs in the browser that created the shortcut (hence the Firefox logo on the icon). Maybe this is what humHub is supposed to do then and Firefox just doesn't support the configuration.

                                      jdaviescoatesJ 1 Reply Last reply
                                      1
                                      • C ccfu

                                        Yes, that is what Chrome calls "Add to Homescreen". I also get that on my instance, but it is not actually installing as a PWA. As with @jdaviescoates on https://vive.transitiontogether.org.uk/ the install button on Chrome installs HumHub as a web app, on firefox it wants to add it as a shortcut. It will appear full screen but runs in the browser that created the shortcut (hence the Firefox logo on the icon). Maybe this is what humHub is supposed to do then and Firefox just doesn't support the configuration.

                                        jdaviescoatesJ Offline
                                        jdaviescoatesJ Offline
                                        jdaviescoates
                                        wrote on last edited by
                                        #19

                                        @ccfu said in PWA support:

                                        on firefox it wants to add it as a shortcut. It will appear full screen but runs in the browser that created the shortcut (hence the Firefox logo on the icon). Maybe this is what humHub is supposed to do then and Firefox just doesn't support the configuration.

                                        Even that doesn't happen for me with Firefox

                                        But yeah I think maybe that's just how it is 🤷

                                        I use Cloudron with Gandi & Hetzner

                                        1 Reply Last reply
                                        0
                                        • C Offline
                                          C Offline
                                          ccfu
                                          wrote on last edited by
                                          #20

                                          @jdaviescoates @girish
                                          Just to follow up on this: To test I installed humhub in a LAMP app and the PWA app works as intended in both Chrome and Firefox so it must be something to with the way Cloudron installs the app.

                                          girishG 1 Reply 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