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
  • Brite
  • 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. Install errors

Install errors

Scheduled Pinned Locked Moved Humhub
22 Posts 3 Posters 84 Views 3 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.
  • S stoccafisso

    @james fantastic, thank you. I will try that.

    Just one question. Will this work well for later updates of the app?

    jamesJ Offline
    jamesJ Offline
    james
    Staff
    wrote last edited by
    #21

    @stoccafisso said in Install errors:

    Will this work well for later updates of the app?

    I am trying to fix this issue without this dirty hands-on fix.
    So, if I get this fixed, my quickfix guide is not needed.

    1 Reply Last reply
    3
    • jamesJ james

      ⚠ The following guide will delete all existing data

      If you want a quick fix right now - after the installation, put your app into recovery mode.

      Open the web terminal and delete all data in /app/data/*

      rm -r /app/data/*
      

      In the web terminal drop all tables from the database:

      mysql --user=${CLOUDRON_MYSQL_USERNAME} --password=${CLOUDRON_MYSQL_PASSWORD} --host=${CLOUDRON_MYSQL_HOST} ${CLOUDRON_MYSQL_DATABASE} -Nse 'show tables' | while read table; do mysql --user=${CLOUDRON_MYSQL_USERNAME} --password=${CLOUDRON_MYSQL_PASSWORD} --host=${CLOUDRON_MYSQL_HOST} ${CLOUDRON_MYSQL_DATABASE} -e "SET FOREIGN_KEY_CHECKS = 0; drop table \`$table\`"; done
      

      Edit the /app/pkg/start.sh and find this section:

          echo "==> Finish configuration"
          $curl http://localhost:8000/installer/config/finish
          $curl http://localhost:8000/installer/config/finished
      

      Comment out the two curl statements, it should look like this:

          echo "==> Finish configuration"
          # $curl http://localhost:8000/installer/config/finish
          # $curl http://localhost:8000/installer/config/finished
      

      Save and exit the file.

      Run the start.sh manually with:

      /app/pkg/start.sh
      

      It will run once and exit, after that, run the same command again.

      /app/pkg/start.sh
      

      Now that it is running, visit your Humhub url.
      You will see the manual setup process:

      ae13a3df-d71e-446a-a3bc-b9b029c1a6db-image.png

      After finishing this guided initial setup you can login with admin and changeme and will have all the demo data including the user profile fields.
      You can turn off the recovery mode now and the app will work as intended.
      0cc62263-e82d-42f5-944e-4fbe8ef5e70d-image.png

      S Offline
      S Offline
      stoccafisso
      wrote last edited by stoccafisso
      #22
      This post is deleted!
      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