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 - Status | 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 2.4k 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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        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