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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved HumHub - social network software

    App Wishlist
    17
    126
    15366
    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.
    • nebulon
      nebulon Staff last edited by

      https://www.humhub.org/en

      ? Sam_uk 2 Replies Last reply Reply Quote 24
      • ?
        A Former User @nebulon last edited by

        @nebulon this looks like a good choice, did anyone look into it?

        scooke C 2 Replies Last reply Reply Quote 0
        • scooke
          scooke @Guest last edited by

          @YurkshireLad I've played around with it before but was prompted by your question to install it in a LAMP app. Wow. I did not know that it has modules that can expand its functionality, and two of those modules, which are free, are a Jitsi Meet module and an Etherpad module. Note, the Etherpad module needs to link to an existing etherpad somewhere, so it isn't as awesome as the built-in Jitsi Meet! (I should note that the Etherpad app offered by Cloudron also can use a video chat module.)
          Anyway, visually it hearkens back to groupware from ages ago, but it looks pretty handy. And not to slow either.

          A life lived in fear is a life half-lived

          1 Reply Last reply Reply Quote 2
          • ruihildt
            ruihildt last edited by

            Main drawback from me was the lack of an Android/iOS/PWA app.

            Users now expects to have those for social networks.

            ? 1 Reply Last reply Reply Quote 3
            • ?
              A Former User @ruihildt last edited by

              @ruihildt said in HumHub - social network software:

              Main drawback from me was the lack of an Android/iOS/PWA app.

              Users now expects to have those for social networks.

              Good point, but which alternatives have apps?

              1 Reply Last reply Reply Quote 0
              • ?
                A Former User last edited by

                I think HumHub supports LDAP out of the box so it should be easy (!) to port to Cloudron.

                yusf 1 Reply Last reply Reply Quote 0
                • C
                  ctrl @Guest last edited by ctrl

                  @A-Former-User said in HumHub - social network software:

                  @nebulon this looks like a good choice, did anyone look into it?

                  We've been using it in production since a couple of years now. Currently our instance runs on a shared webspace at Uberspace7.

                  Originally our main goal was to create some kind of a basecamp or starting point for all of our concerns. As an example we created a space (topic) for each of our projects. Everything related to a project is linked and lives there and serves as a project hub. Very much everything like repos, wikis, external resources, briefings, documents, discussions can be found in such a space. It used to work very sufficient for our needs.

                  Basically and to some extent we used to use it in a similar manner like one would use Atlassian Confluence. But I'd say that is just one use case. It's a little jack of all trades in its own field but not a specialized application that does one thing very well - IMHO of course. 😉

                  @scooke said in HumHub - social network software:

                  Anyway, visually it hearkens back to groupware from ages ago, but it looks pretty handy. And not to slow either.

                  Yes. 😄

                  1 Reply Last reply Reply Quote 4
                  • yusf
                    yusf @Guest last edited by

                    @A-Former-User said in HumHub - social network software:

                    HumHub supports LDAP out of the box so it should be easy (!) to port to Cloudron.

                    Only HumHub Professional Edition supports LDAP, so alas no.

                    1 Reply Last reply Reply Quote 0
                    • C
                      ctrl last edited by ctrl

                      @yusf
                      The professional edition supports extended LDAP (Mapping), but basic LDAP authentication seems to be available in the community edition, too.

                      I attached a recent screenshot from the backend of our instance.
                      screenshot.png

                      Would it be possible to test authentication over LDAP by using the LDAP backend provided by Cloudron?

                      fbartels 1 Reply Last reply Reply Quote 3
                      • fbartels
                        fbartels App Dev @ctrl last edited by

                        @ctrl said in HumHub - social network software:

                        Would it be possible to test authentication over LDAP by using the LDAP backend provided by Cloudron?

                        No, not really as the ldap is only available internally to apps that have it enabled.

                        The lamp app however seems to have ldap enabled by default so one could do a manual installation if Humhub into it.

                        1 Reply Last reply Reply Quote 1
                        • jdaviescoates
                          jdaviescoates last edited by jdaviescoates

                          I think this is probably the best current open source self-hosted alternative to Facebook Groups, would be great to have it on Cloudron!

                          I use Cloudron with Gandi & Hetzner

                          1 Reply Last reply Reply Quote 1
                          • fbartels
                            fbartels App Dev last edited by

                            I recently talked to the CEO of Humhub and also made him aware of Cloudron and this topic. He said that they are currently busy with investigating ways to automate deployments in container scenarios and once that is solved they would be open to collaborate on an app for Cloudron.

                            jdaviescoates 1 Reply Last reply Reply Quote 8
                            • jdaviescoates
                              jdaviescoates @fbartels last edited by

                              @fbartels nice one, keep us posted! 🙂

                              I use Cloudron with Gandi & Hetzner

                              Sam_uk 1 Reply Last reply Reply Quote 1
                              • kaxline
                                kaxline last edited by

                                I was able to migrate a Humhub instance to Cloudron inside the LAMP app. If anyone comes here wanting to do the same and is running into trouble, feel free to ping me.

                                doodlemania2 1 Reply Last reply Reply Quote 6
                                • Sam_uk
                                  Sam_uk @nebulon last edited by

                                  @nebulon I'd be potentially interested in this. How much work would it be do you think?

                                  1 Reply Last reply Reply Quote 1
                                  • Sam_uk
                                    Sam_uk @jdaviescoates last edited by

                                    @jdaviescoates @fbartels Yes I'm interested in this too.

                                    1 Reply Last reply Reply Quote 1
                                    • doodlemania2
                                      doodlemania2 App Dev @kaxline last edited by

                                      @kaxline I might could package this for you if you send me the instructions for how you did it in LAMP stack!

                                      kaxline Sam_uk 2 Replies Last reply Reply Quote 6
                                      • kaxline
                                        kaxline @doodlemania2 last edited by

                                        @doodlemania2 Ah OK, cool! I'll see if I can write down my process.

                                        jdaviescoates Sam_uk 2 Replies Last reply Reply Quote 2
                                        • jdaviescoates
                                          jdaviescoates @kaxline last edited by

                                          @kaxline said in HumHub - social network software:

                                          I'll see if I can write down my process.

                                          Did you manage to do that? I'd love to be able to use HumHub on Cloudon 🙂

                                          Thanks!

                                          I use Cloudron with Gandi & Hetzner

                                          scooke Sam_uk 2 Replies Last reply Reply Quote 0
                                          • scooke
                                            scooke @jdaviescoates last edited by

                                            @jdaviescoates Does it not install easily in the LAMP app?

                                            A life lived in fear is a life half-lived

                                            jdaviescoates 1 Reply Last reply Reply Quote 0
                                            • jdaviescoates
                                              jdaviescoates @scooke last edited by jdaviescoates

                                              @scooke I don't know, I've not tried it (I've not tried installing on anything on LAMP stack because in my eyes that kinda defeats the purpose of Cloudron 🙂 although it's great it's an option)

                                              I use Cloudron with Gandi & Hetzner

                                              1 Reply Last reply Reply Quote 1
                                              • Sam_uk
                                                Sam_uk @kaxline last edited by

                                                @kaxline Did you get a chance to do this yet?

                                                1 Reply Last reply Reply Quote 1
                                                • L
                                                  Lealda last edited by

                                                  Many local companies are adopting it, any news about being added?

                                                  scooke 1 Reply Last reply Reply Quote 1
                                                  • scooke
                                                    scooke @Lealda last edited by

                                                    @lealda Really? Could you share some links please? I'm interested in how it looks, how it is presented, etc.

                                                    A life lived in fear is a life half-lived

                                                    L 1 Reply Last reply Reply Quote 1
                                                    • Sam_uk
                                                      Sam_uk @doodlemania2 last edited by

                                                      @doodlemania2 Would it be a lot of work to start from scratch?

                                                      doodlemania2 1 Reply Last reply Reply Quote 0
                                                      • L
                                                        Lealda @scooke last edited by Lealda

                                                        @sam_uk said in HumHub - social network software:

                                                        @doodlemania2 Would it be a lot of work to start from scratch?

                                                        I am trying to run it, but cron is failing and some other errors. I noticed that on docker they use 1.6.
                                                        https://hub.docker.com/r/mriedmann/humhub

                                                        1 Reply Last reply Reply Quote 0
                                                        • doodlemania2
                                                          doodlemania2 App Dev @Sam_uk last edited by

                                                          @sam_uk well it could be - if you can share the instructions for how to install it on LAMP app, I might could back port that into a custom full blown app.

                                                          Sam_uk L 3 Replies Last reply Reply Quote 1
                                                          • Sam_uk
                                                            Sam_uk @doodlemania2 last edited by

                                                            @doodlemania2 I have no experience of running it I'm afraid.

                                                            The Lamp instructions are here: https://docs.humhub.org/docs/admin/server-setup/

                                                            1 Reply Last reply Reply Quote 1
                                                            • L
                                                              Lealda @doodlemania2 last edited by

                                                              @doodlemania2
                                                              It would be wonderful if you could.

                                                              1 Reply Last reply Reply Quote 1
                                                              • Sam_uk
                                                                Sam_uk @doodlemania2 last edited by

                                                                I wonder if Gitcoin could be useful for app bounties?

                                                                I posted here: https://forum.cloudron.io/topic/4951/gitcoin-for-app-bounties

                                                                I couldn't commit to putting funds in from my organisation yet, but it's something I could explore if there was a transparent way of handling payments.

                                                                1 Reply Last reply Reply Quote 0
                                                                • Sam_uk
                                                                  Sam_uk @jdaviescoates last edited by

                                                                  @jdaviescoates @doodlemania2 @kaxline Has anyone done any work on Humhub? I'm pretty keen and may be able to pay if I had an idea of how much work it would be.

                                                                  doodlemania2 1 Reply Last reply Reply Quote 2
                                                                  • doodlemania2
                                                                    doodlemania2 App Dev @Sam_uk last edited by

                                                                    @sam_uk I'm going to try next week when things at work calm down a bit.

                                                                    Sam_uk 1 Reply Last reply Reply Quote 7
                                                                    • Sam_uk
                                                                      Sam_uk @doodlemania2 last edited by

                                                                      @doodlemania2 Great stuff, thanks..

                                                                      doodlemania2 1 Reply Last reply Reply Quote 1
                                                                      • doodlemania2
                                                                        doodlemania2 App Dev @Sam_uk last edited by

                                                                        All - I wanted to report back and not just be a flake - I've been saddled with a crazy go nuts project at work and won't be able to work on this for a while. I've really very sorry, I had gotten everything loaded and was about to start 😞

                                                                        I hope another app_dev person can pick this up!

                                                                        Sam_uk 1 Reply Last reply Reply Quote 4
                                                                        • Sam_uk
                                                                          Sam_uk @doodlemania2 last edited by

                                                                          @doodlemania2 Ah no worries, thanks for letting us know.

                                                                          I wonder if @ATRILAHIJI could take a look at it and estimate the work involved?

                                                                          Sam_uk 1 Reply Last reply Reply Quote 0
                                                                          • Sam_uk
                                                                            Sam_uk @Sam_uk last edited by

                                                                            @sam_uk Just to update @atrilahiji is going to take a look at this one over the next couple of weeks.

                                                                            1 Reply Last reply Reply Quote 2
                                                                            • ?
                                                                              A Former User last edited by

                                                                              I have it "working" as in it deploys just fine, but it will need manual DB, SMTP, and LDAP config at the moment.

                                                                              They seem to prefer to route everyone through web UI configuration instead of easy CLI config. Looks like I gotta find what DB entries the config makes and do it manually 👀

                                                                              doodlemania2 1 Reply Last reply Reply Quote 0
                                                                              • doodlemania2
                                                                                doodlemania2 App Dev @Guest last edited by

                                                                                @atrilahiji Make sure to take advantage of the environment vars inside the container for all CR apps which provide you with full connection details of all associated resources from your manifest.

                                                                                ? 1 Reply Last reply Reply Quote 1
                                                                                • ?
                                                                                  A Former User @doodlemania2 last edited by

                                                                                  @doodlemania2 Yeah for sure, I'm going to make use of those.

                                                                                  1 Reply Last reply Reply Quote 2
                                                                                  • ?
                                                                                    A Former User last edited by

                                                                                    I got permission from @Sam_uk to make the repo public:
                                                                                    https://git.atrilahiji.dev/Alt-Ron/cloudron-humhub-app

                                                                                    Todo:

                                                                                    1. Properly address the update process
                                                                                    2. See if its possible to config LDAP and SMTP automatically (this is the part I am really struggling with right now.
                                                                                    fbartels Sam_uk 2 Replies Last reply Reply Quote 2
                                                                                    • fbartels
                                                                                      fbartels App Dev @Guest last edited by

                                                                                      @atrilahiji said in HumHub - social network software:

                                                                                      this is the part I am really struggling with right now

                                                                                      Did you already have a look at https://github.com/humhub/docker/blob/master/docker-entrypoint.sh ?

                                                                                      ? 1 Reply Last reply Reply Quote 1
                                                                                      • ?
                                                                                        A Former User @fbartels last edited by A Former User

                                                                                        @fbartels Wowee nope. Good catch lol

                                                                                        EDIT: You know, I have no clue why it never occurred to me that I can look for a docker version of the app.

                                                                                        1 Reply Last reply Reply Quote 1
                                                                                        • ?
                                                                                          A Former User last edited by

                                                                                          I have finished getting things automated (sort of). The DB is set up on the first install, and the LDAP and SMTP configuration is set up after a re-start (and is updated after every restart).

                                                                                          1 Reply Last reply Reply Quote 4
                                                                                          • ?
                                                                                            A Former User last edited by A Former User

                                                                                            Encountering a snag:

                                                                                            The ONLYOFFICE integration seems to fail to send the JWT token to an ONLYOFFICE instance. My best guess rn is its an issue with apache -> nginx -> ONLYOFFICE. Is anyone else more familiar with this sort of reverse proxy issue?

                                                                                            Edit: Fixed it. Testing and pushing a new release.

                                                                                            Edit 2: I am tempted to leave updating to the app, similar to Wordpress Developer Edition. I auto install the Updater module. If @staff want to take a look at this let me know. Repo is here: https://git.atridad.dev/CTPR/cloudron-humhub-app. It was a sponsored app. If you need an instance to take a look at it let me know via a direct message and I can let you in @staff.

                                                                                            girish 1 Reply Last reply Reply Quote 4
                                                                                            • girish
                                                                                              girish Staff @Guest last edited by

                                                                                              @atrilahiji ah, great stuff! Ideally, the app shouldn't update itself and the code should be readonly. Is that possible? It's best to keep updates consistent i.e from Cloudron dashboard.

                                                                                              ? 1 Reply Last reply Reply Quote 0
                                                                                              • ?
                                                                                                A Former User @girish last edited by

                                                                                                @girish I can definitely try. Much like Moodle, it has a lot of plugins or "modules" people use. I think in this instance they are all in a single directory though. I'll take a look.

                                                                                                girish 1 Reply Last reply Reply Quote 0
                                                                                                • girish
                                                                                                  girish Staff @Guest last edited by

                                                                                                  @atrilahiji thanks! let me know if you hit any bumps and I can take a look as well.

                                                                                                  ? 2 Replies Last reply Reply Quote 1
                                                                                                  • ?
                                                                                                    A Former User @girish last edited by

                                                                                                    @girish Sure, thanks! I'll shuffle some things around in the package and see what I can do. My hope is I can just symlink everything that is needed in a migration to /app/data, which will also make updates a lot easier.

                                                                                                    1 Reply Last reply Reply Quote 1
                                                                                                    • ?
                                                                                                      A Former User @girish last edited by A Former User

                                                                                                      @girish Actually, I just thought of something. If the modules folder is symlinked and the app is expecting to write to the modules folder in /app/code, it will error right? I imagine it wouldn't just look at the actual folder in /app/data. The trouble here is there is a "module store" of sorts built right into the app.

                                                                                                      girish 1 Reply Last reply Reply Quote 0
                                                                                                      • girish
                                                                                                        girish Staff @Guest last edited by

                                                                                                        @atrilahiji maybe you can symlink /app/code/modules to /app/data/modules and that way it will become writable.

                                                                                                        To give a high level idea, let's say humhub app comes with some default modules. Then, in Dockerfile, you would move them to some other location like:

                                                                                                        RUN mv /app/code/modules /app/code/modules_orig && ln -s /app/data/modules /app/code/modules

                                                                                                        Then in start.sh:

                                                                                                        mkdir -p /app/code/modules
                                                                                                        cp -r /app/code/modules_orig/* /app/data/modules
                                                                                                        

                                                                                                        In many apps, instead of the blind copy above, we try to symlink each "module". So, there will be a symlink from /app/data/modules/x to /app/code/modules_orig/x . This sometimes works or not depending on the app. But hopefully you get the idea!

                                                                                                        ? 2 Replies Last reply Reply Quote 2
                                                                                                        • ?
                                                                                                          A Former User @girish last edited by

                                                                                                          @girish my confusion here is if the app still tries to write to /app/code/modules it would hit permissions issues no?

                                                                                                          fbartels 1 Reply Last reply Reply Quote 0
                                                                                                          • ?
                                                                                                            A Former User @girish last edited by A Former User

                                                                                                            @girish Running into issues here: https://docs.humhub.org/docs/admin/installation/#file-permissions

                                                                                                            There appears to be no way to configure where Hubhub looks for those files, so it will just keep trying to write to the symlink in /app/code and fail. In fact, you cant even get the site to load after installation without having the assets directory writable. This is something it has to do on startup. I can still make an update script for this, but I think it will have to sit in /app/data just based on how this was written. Unless I'm missing something?

                                                                                                            1 Reply Last reply Reply Quote 0
                                                                                                            • fbartels
                                                                                                              fbartels App Dev @Guest last edited by

                                                                                                              @atrilahiji said in HumHub - social network software:

                                                                                                              if the app still tries to write to /app/code/modules it would hit permissions issues no?

                                                                                                              no, that should not be the case (at least when the symlinked dir has proper permissions for this).

                                                                                                              ? 1 Reply Last reply Reply Quote 0
                                                                                                              • ?
                                                                                                                A Former User @fbartels last edited by

                                                                                                                @fbartels Weird... it seemed to think it didn't have permission to write...

                                                                                                                ? 1 Reply Last reply Reply Quote 0
                                                                                                                • ?
                                                                                                                  A Former User @Guest last edited by

                                                                                                                  319b926a-e20f-46d8-973d-27592726f97b-image.png

                                                                                                                  scooke fbartels 2 Replies Last reply Reply Quote 1
                                                                                                                  • scooke
                                                                                                                    scooke @Guest last edited by

                                                                                                                    @atrilahiji Never stop never stopping! You're doing great!

                                                                                                                    A life lived in fear is a life half-lived

                                                                                                                    1 Reply Last reply Reply Quote 1
                                                                                                                    • fbartels
                                                                                                                      fbartels App Dev @Guest last edited by

                                                                                                                      @atrilahiji can you push your current wip? I'd like to give the code a look.

                                                                                                                      ? 1 Reply Last reply Reply Quote 1
                                                                                                                      • ?
                                                                                                                        A Former User @fbartels last edited by A Former User

                                                                                                                        @fbartels Sure thing: https://git.atridad.dev/alt-ron/cloudron-humhub-app/-/tree/harden-app-code

                                                                                                                        Thanks! I'm convinced this is 1) impossible or 2) something so simple yet I have not noticed it somehow

                                                                                                                        fbartels 1 Reply Last reply Reply Quote 1
                                                                                                                        • fbartels
                                                                                                                          fbartels App Dev @Guest last edited by

                                                                                                                          @atrilahiji for me this works with

                                                                                                                          ➜  cloudron-humhub-app git:(harden-app-code) git rev-parse --short HEAD
                                                                                                                          0b5df1c
                                                                                                                          

                                                                                                                          Steps I tried:

                                                                                                                          • Install app (in debug mode, but only so that i could override and start the start.sh manually)
                                                                                                                          • finished Humhub installation
                                                                                                                          • went into admin and selected modules
                                                                                                                          • installed a module
                                                                                                                          • activated a module
                                                                                                                          • no php error can be seen
                                                                                                                          ? 1 Reply Last reply Reply Quote 1
                                                                                                                          • ?
                                                                                                                            A Former User @fbartels last edited by

                                                                                                                            @fbartels Huh so you manually started start.sh from the terminal in recovery mode? I get the exact same error doing that. Did you do something else to modify the permissions?

                                                                                                                            fbartels 1 Reply Last reply Reply Quote 0
                                                                                                                            • First post
                                                                                                                              Last post
                                                                                                                            Powered by NodeBB