Comments (4)
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.
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.
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 COLLATE
utf8mb4_unicode_ci', Error_code: 1833
from koel.
Weird, I'll take a look.
from koel.
Related Issues (20)
- /api/me error 500 HOT 4
- Add custom FFmpeg transcoding arguments HOT 1
- Scanning my Library with docker exec...php artisan koel:sync -v throws on some files errors like Atom at offset... HOT 2
- manifest.json 404 HOT 1
- Music import fails with bad ID3 metadata HOT 4
- Log invalid files from sync HOT 1
- Artist art not loading / showing up HOT 7
- Interface not loading since 6.11.4 upgrade HOT 2
- Can't install - SQL errors HOT 2
- Unable to update profile / password information though web interface HOT 1
- Bulk editing song metadata clears track numbers
- PWA support for webUI HOT 3
- Init struggle
- Playlist sorting not being saved
- Visual bug: Green playlist buttons have lower height HOT 1
- General UX improvement ideas HOT 3
- Not Found: The requested content cannot be found. after using shareable URLs HOT 1
- Automatically scroll to the current playing song HOT 1
- Site not rendering after install HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from koel.