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. Internal Server Error: profile.firstname / profile.lastname / profile.birthday

Internal Server Error: profile.firstname / profile.lastname / profile.birthday

Scheduled Pinned Locked Moved Humhub
24 Posts 4 Posters 3.3k Views 4 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.
  • randyjcR Offline
    randyjcR Offline
    randyjc
    wrote on last edited by
    #8

    I'm trying to exclude cloudron, but I don't have another cloudron instance anymore to test humhub on another server.

    If someone could possibly deploy a temporary humhub as well and see if the same errors happens?
    I could report upstream if it is

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

      hm from your support ticket with more logs, it kinda looks like the initial app startup didn't even succeed, as the errors indicate, that basic db columns don't exist.

      On a fresh installation, can you ensure that in the app logs you see echo "==> Setup complete" at some point?

      1 Reply Last reply
      0
      • randyjcR Offline
        randyjcR Offline
        randyjc
        wrote on last edited by randyjc
        #10

        Got that line on the root.dev (test humhub)
        2023-07-13T14:20:44.000Z ==> Create admin user
        2023-07-13T14:20:44.000Z ==> Finish configuration
        2023-07-13T14:20:44.000Z ==> Running upgrade
        2023-07-13T14:20:44.000Z ==> Setup complete

        But I added these tables manually:
        ALTER TABLE profile ADD COLUMN lastname VARCHAR(255);
        ALTER TABLE profile ADD COLUMN firstname VARCHAR(255);
        ALTER TABLE profile ADD COLUMN birthdayVARCHAR(255);

        And after that I could open the members table. Need to test the rest if that fixes the rest of the problem as well.

        Can anyone possibly show their database profiles table?

        Mines got firstname, lastname, birthday in it.
        But I’m not sure if there’s more or not.

        EDIT:
        Tried to find it in their github repo:
        This could possibly all of the colomns?
        https://paste.cloudbasis.nl/?e458eab20259eb41#EhytDcgtGdio68qJ7BNLpzqyJEtpLce5BMLimBoDgPJK

        1 Reply Last reply
        0
        • randyjcR Offline
          randyjcR Offline
          randyjc
          wrote on last edited by
          #11

          @nebulon I've tested again a new install on a Digital Ocean Droplet (cloudron)
          I can reproduce this error, same problem with the missing colomns.

          When I install it manually without cloudron on a test Digital Ocean vm it works out of the box.
          When I install Humhub via a droplet, it also works out of the box.

          I think there must be something wrong with package humhub inside cloudron?

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

            I have seen this happen before when HumHub installation did not complete properly. I will investigate on a fresh install.

            1 Reply Last reply
            0
            • imc67I Offline
              imc67I Offline
              imc67
              translator
              wrote on last edited by
              #13

              Same issue here, I was surprised that such software was so buggy but hopefully it’s a package bug?

              girishG 1 Reply Last reply
              0
              • imc67I imc67

                Same issue here, I was surprised that such software was so buggy but hopefully it’s a package bug?

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

                @imc67 is yours a fresh install too?

                How can I reproduce this?

                • Install HumHub
                • Login as admin
                • Visit /admin/user-profile and observe crash?
                imc67I 1 Reply Last reply
                0
                • randyjcR Offline
                  randyjcR Offline
                  randyjc
                  wrote on last edited by randyjc
                  #15

                  I've reproduced it over here:
                  https://files.cloudbasis.nl/yAhu8/TImiNulo31.gif

                  https://files.cloudbasis.nl/yAhu8/VayuVuDe71.gif

                  1 Reply Last reply
                  2
                  • girishG girish

                    @imc67 is yours a fresh install too?

                    How can I reproduce this?

                    • Install HumHub
                    • Login as admin
                    • Visit /admin/user-profile and observe crash?
                    imc67I Offline
                    imc67I Offline
                    imc67
                    translator
                    wrote on last edited by
                    #16

                    @girish yes it was @randyjc thanks for your excellent reproducing! (en goed te zien dat ik niet de enige Nederlander ben :-))

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

                      @imc67 @randyjc thanks, I can reproduce this one. It's a regression in the package.

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

                        @imc67 @randyjc Can you please do a fresh installation and check? I have also updated our tests now to check if the migrations completed properly.

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

                          Unfortunately, I couldn't find an obvious way to update from previous broken installations to a working one.

                          1 Reply Last reply
                          0
                          • randyjcR Offline
                            randyjcR Offline
                            randyjc
                            wrote on last edited by
                            #20

                            Thanks! Will do a fresh install. Just from my understanding, what exactly was causing this?

                            Again, thanks!

                            girishG 1 Reply Last reply
                            0
                            • imc67I Offline
                              imc67I Offline
                              imc67
                              translator
                              wrote on last edited by
                              #21

                              No issue for me, I was just exploring and testing to decide if I bring it to production.

                              girishG 1 Reply Last reply
                              0
                              • randyjcR randyjc

                                Thanks! Will do a fresh install. Just from my understanding, what exactly was causing this?

                                Again, thanks!

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

                                @randyjc https://git.cloudron.io/cloudron/humhub-app/-/commit/aec1ea94b82b8ba26ab6504aefecfe0198478a23 was the fix. My understanding $yii migrate/up --includeModuleMigrations=1 is supposed to run the db migrations of modules but it doesn't. I haven't investigated why. I instead went with whatever the web installer is doing.

                                In HumHub, profile fields etc are implemented as "modules". The user module has the first name, last name, bday fields etc. Since the module db migration never ran, those db fields were never created.

                                1 Reply Last reply
                                1
                                • imc67I imc67

                                  No issue for me, I was just exploring and testing to decide if I bring it to production.

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

                                  @imc67 It's a solid app 🙂 Any bug is probably is in the package. We use it heavily internally to keep track of everyday progress and general chit chat.

                                  1 Reply Last reply
                                  1
                                  • randyjcR Offline
                                    randyjcR Offline
                                    randyjc
                                    wrote on last edited by randyjc
                                    #24

                                    Confirmed fix btw I’ll close the upstream ticket.

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