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. HumHub - social network software

HumHub - social network software

Scheduled Pinned Locked Moved Solved App Wishlist
126 Posts 17 Posters 53.0k Views 16 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.
  • ? A Former User

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

    scookeS Offline
    scookeS Offline
    scooke
    wrote on last edited by
    #56

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

    A life lived in fear is a life half-lived

    1 Reply Last reply
    1
    • ? A Former User

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

      fbartelsF Offline
      fbartelsF Offline
      fbartels
      App Dev
      wrote on last edited by
      #57

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

      ? 1 Reply Last reply
      1
      • fbartelsF fbartels

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

        ? Offline
        ? Offline
        A Former User
        wrote on last edited by A Former User
        #58

        @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

        fbartelsF 1 Reply Last reply
        1
        • ? 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

          fbartelsF Offline
          fbartelsF Offline
          fbartels
          App Dev
          wrote on last edited by
          #59

          @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
          1
          • fbartelsF fbartels

            @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
            ? Offline
            ? Offline
            A Former User
            wrote on last edited by
            #60

            @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?

            fbartelsF 1 Reply Last reply
            0
            • ? A Former User

              @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?

              fbartelsF Offline
              fbartelsF Offline
              fbartels
              App Dev
              wrote on last edited by
              #61

              @atrilahiji no, no changes at all. maybe some leftovers from a previous installation of yours?

              Yes, you can run cloudron install --debug where then the init script is not run. you then need to exec into the app and run it manually.

              ? 2 Replies Last reply
              1
              • fbartelsF fbartels

                @atrilahiji no, no changes at all. maybe some leftovers from a previous installation of yours?

                Yes, you can run cloudron install --debug where then the init script is not run. you then need to exec into the app and run it manually.

                ? Offline
                ? Offline
                A Former User
                wrote on last edited by
                #62

                @fbartels ahhh I see what you mean. I'll try that.

                1 Reply Last reply
                0
                • fbartelsF fbartels

                  @atrilahiji no, no changes at all. maybe some leftovers from a previous installation of yours?

                  Yes, you can run cloudron install --debug where then the init script is not run. you then need to exec into the app and run it manually.

                  ? Offline
                  ? Offline
                  A Former User
                  wrote on last edited by A Former User
                  #63

                  @fbartels Oh weird yeah that works... no clue why it wouldn't work if the start.sh is run normally during an install...

                  IDK if you saw the same error but if I don't start in debug mode and switch to Recovery Mode, running start.sh results in a permission error for PHP again.

                  EDIT: Nvm I think I figured it out...

                  fbartelsF 2 Replies Last reply
                  0
                  • ? A Former User

                    @fbartels Oh weird yeah that works... no clue why it wouldn't work if the start.sh is run normally during an install...

                    IDK if you saw the same error but if I don't start in debug mode and switch to Recovery Mode, running start.sh results in a permission error for PHP again.

                    EDIT: Nvm I think I figured it out...

                    fbartelsF Offline
                    fbartelsF Offline
                    fbartels
                    App Dev
                    wrote on last edited by
                    #64

                    @atrilahiji ah nevermind, i forgot that part of debug is that the container is not read-only. Looking at the code now a bit closer.

                    1 Reply Last reply
                    1
                    • ? A Former User

                      @fbartels Oh weird yeah that works... no clue why it wouldn't work if the start.sh is run normally during an install...

                      IDK if you saw the same error but if I don't start in debug mode and switch to Recovery Mode, running start.sh results in a permission error for PHP again.

                      EDIT: Nvm I think I figured it out...

                      fbartelsF Offline
                      fbartelsF Offline
                      fbartels
                      App Dev
                      wrote on last edited by
                      #65

                      @atrilahiji the modules directory does not exist at all in /app/code and then it fails at creating it in the first place. You have to prepare this in a similar way to https://git.atridad.dev/alt-ron/cloudron-humhub-app/-/blob/harden-app-code/Dockerfile#L78-80 where the folder symlink needs to already be created during docker build and then in start.sh you need to make sure that the folder and its default contents exist.

                      ? 1 Reply Last reply
                      1
                      • fbartelsF fbartels

                        @atrilahiji the modules directory does not exist at all in /app/code and then it fails at creating it in the first place. You have to prepare this in a similar way to https://git.atridad.dev/alt-ron/cloudron-humhub-app/-/blob/harden-app-code/Dockerfile#L78-80 where the folder symlink needs to already be created during docker build and then in start.sh you need to make sure that the folder and its default contents exist.

                        ? Offline
                        ? Offline
                        A Former User
                        wrote on last edited by
                        #66

                        @fbartels I think I got it working finally. I'll test it one more time and then push the code up.

                        1 Reply Last reply
                        1
                        • ? Offline
                          ? Offline
                          A Former User
                          wrote on last edited by A Former User
                          #67

                          This should work now: https://git.atridad.dev/alt-ron/cloudron-humhub-app/-/releases/0.8.0

                          Now to tackle updates. With everything we need in /app/data now it should be a piece of cake. Thanks for the help @fbartels !

                          fbartelsF 1 Reply Last reply
                          1
                          • ? A Former User

                            This should work now: https://git.atridad.dev/alt-ron/cloudron-humhub-app/-/releases/0.8.0

                            Now to tackle updates. With everything we need in /app/data now it should be a piece of cake. Thanks for the help @fbartels !

                            fbartelsF Offline
                            fbartelsF Offline
                            fbartels
                            App Dev
                            wrote on last edited by
                            #68

                            @atrilahiji yes, now it also starts in normal (non debug) mode. A nice addition would be auto configuration of ldap.

                            ? 2 Replies Last reply
                            1
                            • fbartelsF fbartels

                              @atrilahiji yes, now it also starts in normal (non debug) mode. A nice addition would be auto configuration of ldap.

                              ? Offline
                              ? Offline
                              A Former User
                              wrote on last edited by
                              #69

                              @fbartels I thought I had that set up, but I might have broken it. I'll look into it.

                              1 Reply Last reply
                              1
                              • fbartelsF fbartels

                                @atrilahiji yes, now it also starts in normal (non debug) mode. A nice addition would be auto configuration of ldap.

                                ? Offline
                                ? Offline
                                A Former User
                                wrote on last edited by A Former User
                                #70

                                @fbartels AH so it does, but on restart. The reason being is it does not let me configure LDAP until the app is installed in the ui on first boot.

                                Testing both new installs and updates right now for a 1.0.0 release.

                                1 Reply Last reply
                                3
                                • ? Offline
                                  ? Offline
                                  A Former User
                                  wrote on last edited by
                                  #71

                                  Had a few dumb bugs, and here we are at 1.0.3. But hey it works. Now I know never to work on windows. The line endings being wrong fucked the package.

                                  1 Reply Last reply
                                  3
                                  • ? A Former User

                                    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.
                                    Sam_ukS Offline
                                    Sam_ukS Offline
                                    Sam_uk
                                    wrote on last edited by
                                    #72

                                    @atridad I'm getting a cert error on your repo.

                                    girishG ? 2 Replies Last reply
                                    0
                                    • Sam_ukS Sam_uk

                                      @atridad I'm getting a cert error on your repo.

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

                                      @sam_uk I think https://git.atridad.dev/CTPR/cloudron-humhub-app is the new location

                                      Sam_ukS 1 Reply Last reply
                                      2
                                      • Sam_ukS Sam_uk

                                        @atridad I'm getting a cert error on your repo.

                                        ? Offline
                                        ? Offline
                                        A Former User
                                        wrote on last edited by
                                        #74

                                        @sam_uk Whoops yeah, I had not mentioned in an email that I moved things to a new org on my gitlab. Mostly because I didn't like how Altron just sounded like the marvel villain 😛

                                        1 Reply Last reply
                                        1
                                        • ? Offline
                                          ? Offline
                                          A Former User
                                          wrote on last edited by
                                          #75

                                          I've also been getting in the habit of storing my containers I built over on my gitlab registry. So that project should now have an image built for 1.1.0 of the package.

                                          1 Reply Last reply
                                          2
                                          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