Giter Club home page Giter Club logo

Comments (4)

jSML4ThWwBID69YC avatar jSML4ThWwBID69YC commented on May 24, 2024

I am seeing a similar error on installation. Due to this, Koel can not be installed.

[ERROR] Slave SQL: Error 'Cannot change column 'id': used in a foreign key constraint '<CENSORED>/interactions_song_id_foreign' of table '<CENSORED>/interactions'' on query. Default database: '<CENSORED>'. Query: 'ALTER TABLE songs CHANGE id id VARCHAR(36) CHARACTER SET utf8mb4 NOT NULL COLLATE `utf8mb4_unicode_ci`', Internal MariaDB error code: 1833

Environment

  • FreeBSD 13.2
  • Koel version: 6.11.2 and 6.11.3
  • Database: MariaDB 10.16.16 using Galera

from koel.

phanan avatar phanan commented on May 24, 2024

Hmm, I'm using MariaDB 10.11.12 and this problem doesn't exist at all:

❯ php artisan koel:init
************************************
*     KOEL INSTALLATION WIZARD     *
************************************

As a reminder, you can always install/upgrade manually following the guide at https://docs.koel.dev

  Clearing caches ............................................... 124ms DONE
   INFO  .env file exists -- skipping.

  Retrieving app key .............................................. 0ms DONE

   INFO  Using app key: base64:8sA+Mibai...

  Migrating database .......................................... 7,768ms DONE
  Creating default admin account ................................ 113ms DONE
  Seeding data ................................................... 61ms DONE

How viable is it if I ask you to try this specific DB version?

from koel.

jSML4ThWwBID69YC avatar jSML4ThWwBID69YC commented on May 24, 2024

Hello,

I setup MariaDB 10.11.6 with Galera. Unfortunately, it fails with the same error.

2023-12-28 0:11:16 2177 [Warning] WSREP: Ignoring error 'Cannot change column 'id': used in a foreign key constraint 'CENSORED/interactions_song_id_foreign' of table 'CENSORED/interactions'' on query. Default database: 'CENSORED'. Query: 'ALTER TABLE songs CHANGE id id VARCHAR(36) CHARACTER SET utf8mb4 NOT NULL COLLATEutf8mb4_unicode_ci', Error_code: 1833

from koel.

phanan avatar phanan commented on May 24, 2024

Weird, I'll take a look.

from koel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.