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. Kanboard
  3. Kanboard Unable to run SQL migrations

Kanboard Unable to run SQL migrations

Scheduled Pinned Locked Moved Solved Kanboard
kanboard
3 Posts 2 Posters 1.5k Views 2 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.
    • F Offline
      F Offline
      Fyerix
      wrote on last edited by girish
      #1

      Hi All,

      I've just recently installed Kanboard and tried to run it - however, I get the following error:
      Internal Error: Unable to run SQL migrations: Running migration \Schema\version_129, SQLSTATE[42000]: Syntax error or access violation: 1170 BLOB/TEXT column 'name' used in key specification without a key length (You may have to fix it manually)

      Can anyone help with what this means and what I need to do?

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

        @Fyerix This appears to be https://github.com/kanboard/kanboard/issues/3880 and https://github.com/kanboard/kanboard/issues/4138. Is this a new installation?

        From what I understand, they didn't name the constraints properly, so you have to figure the name and drop them. For Cloudron:

        • Take a snapshot of the app by clicking the Create backup button in the backup dialog of the app. This way if you do something wrong, you can restore it.
        • Open a web terminal and click the MySQL button. This gives you a connection to the database
        • show create table projects; This should give you name of the unique key contraints like name_3 and name_4.
        • Then:
          ALTER TABLE `projects` DROP INDEX `name_3`
          ALTER TABLE `projects` DROP INDEX `name_4`
        1 Reply Last reply
        0
        • F Offline
          F Offline
          Fyerix
          wrote on last edited by
          #3

          @girish Many thanks for that! That did the trick 🙂

          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