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. OpenFire (XMPP server)

OpenFire (XMPP server)

Scheduled Pinned Locked Moved App Wishlist
40 Posts 8 Posters 5.6k Views 8 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.
  • guusdkG guusdk

    @robi I appreciate that this would solve an issue that we are discussing here, but that issue seems to be very specific to this particular environment. To my knowledge, this is the first time that anyone has ever thought this to be important enough to even start discussing it with us.

    robiR Offline
    robiR Offline
    robi
    wrote on last edited by robi
    #31

    @guusdk Actually, I am being much more general than this specific issue.

    I have no stake in it, as I don't use OpenFire yet, however reading about how any plugin can create files and folders in the home dir, that is as you agreed, less than optimal and a potential security issue via overwriting core files.

    If that is not a concern, I'm sure a code audit would bring up other useful architectural changes.

    If you're familiar with Wordpress, these are the categories of things they needed to address early on in their popularity, which still remains today.

    Conscious tech

    1 Reply Last reply
    0
    • guusdkG guusdk

      @robi I appreciate that this would solve an issue that we are discussing here, but that issue seems to be very specific to this particular environment. To my knowledge, this is the first time that anyone has ever thought this to be important enough to even start discussing it with us.

      potemkin_aiP Offline
      potemkin_aiP Offline
      potemkin_ai
      wrote on last edited by
      #32

      @guusdk if I may ask, do you do/have or plan to make OpenFire containerized?

      From what it seems, the issue is caused by a requirement that comes from container-based app development (i.e. Docker in our case).

      1 Reply Last reply
      0
      • L LoudLemur

        @potemkin_ai said in OpenFire (XMPP server):

        I would like to see OpenFire (easy to use and administer XMPP server) on Cloudron.

        I've prepared a private image - what is required to push it to your AppStore?

        Thank you for doing this.

        potemkin_aiP Offline
        potemkin_aiP Offline
        potemkin_ai
        wrote on last edited by
        #33

        @LoudLemur thank you, it's nice of you for mentioning that 🙂

        1 Reply Last reply
        0
        • potemkin_aiP Offline
          potemkin_aiP Offline
          potemkin_ai
          wrote on last edited by
          #34

          @girish , @nebulon , what's your thoughts on that? Could you possibly accept the app under a beta status, so that we could check the approach implemented in my package?

          1 Reply Last reply
          0
          • nebulonN Offline
            nebulonN Offline
            nebulon
            Staff
            wrote on last edited by
            #35

            I took another look now at the repo, is https://git.cloudron.io/cloudron/openfire-app still the one? Is there any specific reason why there are these patch files?
            Also is that README still current? I don't think we will publish a package which relies on other docker hub accounts as we had issues with such dependencies a long time ago and thus decided that we will always put images in our account to ensure users can install and restore apps even if that 3rdparty is gone.

            potemkin_aiP 1 Reply Last reply
            0
            • nebulonN nebulon

              I took another look now at the repo, is https://git.cloudron.io/cloudron/openfire-app still the one? Is there any specific reason why there are these patch files?
              Also is that README still current? I don't think we will publish a package which relies on other docker hub accounts as we had issues with such dependencies a long time ago and thus decided that we will always put images in our account to ensure users can install and restore apps even if that 3rdparty is gone.

              potemkin_aiP Offline
              potemkin_aiP Offline
              potemkin_ai
              wrote on last edited by
              #36

              @nebulon thank you.

              The patches make OpenFire more Docker-friendly by separating code, configs, and data.

              On the docker file - I don't know the way it works, in my head, it was that you would adjust all of the things and will push docker image into some Cloudron registry.

              I don't mind any changes required to be done with the code to make it a proper Cloudron citizen 🙂

              nebulonN 1 Reply Last reply
              0
              • potemkin_aiP potemkin_ai

                @nebulon thank you.

                The patches make OpenFire more Docker-friendly by separating code, configs, and data.

                On the docker file - I don't know the way it works, in my head, it was that you would adjust all of the things and will push docker image into some Cloudron registry.

                I don't mind any changes required to be done with the code to make it a proper Cloudron citizen 🙂

                nebulonN Offline
                nebulonN Offline
                nebulon
                Staff
                wrote on last edited by nebulon
                #37

                @potemkin_ai to be honest this package is not even based on our base image for apps.

                Given that I don't have any background info on the other patch files, it might be better if you could copy and paste the relevant Dockerfile lines into a Dockerfile based of the base image and we start working out entrypoint scripts for Cloudron from that on.
                Based on our experience sharing package related things like Dockerfile and start scripts always creates more work on all sides and is much less robust.

                Especially patching upstream code will cause a lot of headache further down the road when we have to provide working updates.

                potemkin_aiP 1 Reply Last reply
                0
                • nebulonN Offline
                  nebulonN Offline
                  nebulon
                  Staff
                  wrote on last edited by
                  #38

                  Oh since we have the/an upstream author here maybe there is a chance to workout why that upstream patch is required and what the implications would be. If the app works fine with that patch, maybe it should be first changed upstream?

                  potemkin_aiP 1 Reply Last reply
                  1
                  • nebulonN nebulon

                    @potemkin_ai to be honest this package is not even based on our base image for apps.

                    Given that I don't have any background info on the other patch files, it might be better if you could copy and paste the relevant Dockerfile lines into a Dockerfile based of the base image and we start working out entrypoint scripts for Cloudron from that on.
                    Based on our experience sharing package related things like Dockerfile and start scripts always creates more work on all sides and is much less robust.

                    Especially patching upstream code will cause a lot of headache further down the road when we have to provide working updates.

                    potemkin_aiP Offline
                    potemkin_aiP Offline
                    potemkin_ai
                    wrote on last edited by
                    #39

                    @nebulon I'm sorry to hear that...

                    You mentioned Cloudron Dockerfile, but I can't recall I have seen any reference to the 'Cloudron Dockerfile', that shall be used, if someone wants to package an app for the AppStore with you.

                    I'm not a fan of patching myself, but I can't see how this specific app could work some other way here - please, see the discussion above.

                    1 Reply Last reply
                    0
                    • nebulonN nebulon

                      Oh since we have the/an upstream author here maybe there is a chance to workout why that upstream patch is required and what the implications would be. If the app works fine with that patch, maybe it should be first changed upstream?

                      potemkin_aiP Offline
                      potemkin_aiP Offline
                      potemkin_ai
                      wrote on last edited by
                      #40

                      @nebulon @guusdk answer seems to be quite pessimistic about that:

                      For me, the cost vs. weight doesn't balance.

                      1 Reply Last reply
                      0
                      • S syn referenced this topic on
                      • D djxx referenced this topic on
                      • D djxx referenced this topic on
                      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