# Error starting Ghost

**URL:** <https://forum.ghost.org/t/error-starting-ghost/16594>\
**Category:** Developer help\
**Created:** [August 19, 2020, 3:05am UTC](https://forum.ghost.org/t/error-starting-ghost/16594 "2020-08-19T03:05:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![proson1](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/proson1/32/9346_2.png) [@proson1](https://forum.ghost.org/u/proson1)\
**Post date:** [August 19, 2020, 3:05am UTC](https://forum.ghost.org/t/error-starting-ghost/16594/1 "2020-08-19T03:05:31Z")

</div>

I’ve this error when installing ghost:

]: {  
Aug 19 02:05:12 instance-1 node[10480]: message: {  
Aug 19 02:05:12 instance-1 node[10480]: statusCode: 500,  
Aug 19 02:05:12 instance-1 node[10480]: errorType: ‘MigrationScriptError’,  
Aug 19 02:05:12 instance-1 node[10480]: level: ‘normal’,  
Aug 19 02:05:12 instance-1 node[10480]: message: ‘Field length of `customer_id` in `members_stripe_customers` is too long!’,  
Aug 19 02:05:12 instance-1 node[10480]: id: 300,  
Aug 19 02:05:12 instance-1 node[10480]: context: ‘This usually happens if your database encoding is utf8mb4.\n’ +  
Aug 19 02:05:12 instance-1 node[10480]: ‘All unique fields and indexes must be lower than 191 characters.\n’ +  
Aug 19 02:05:12 instance-1 node[10480]: ‘Please correct your field length and reset your database with knex-migrator reset.\n’,

how to fix this please?

OS: debian 10, Ver 15.1 Distrib 10.1.45-MariaDB

Thanks

---

<div class="post-metadata">

**Author:** ![proson1](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/proson1/32/9346_2.png) [@proson1](https://forum.ghost.org/u/proson1)\
**Post date:** [August 19, 2020, 3:28am UTC](https://forum.ghost.org/t/error-starting-ghost/16594/2 "2020-08-19T03:28:06Z")

</div>

It is solved. Just need to change the table column to varchar (191)

---

<div class="post-metadata">

**Author:** ![naz](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/naz/32/30666_2.png) [@naz](https://forum.ghost.org/u/naz)\
**Post date:** [August 19, 2020, 4:34am UTC](https://forum.ghost.org/t/error-starting-ghost/16594/3 "2020-08-19T04:34:26Z")

</div>

Hey @proson1 could you please add more details about how you got into this state? The designed field length for `members_stripe_customers.member_id` field is `varchar (255)`, so fair warning it’s not recommended to change it’s length.

I’m assuming the reason for the error is not officially supported `10.1.45-MariaDB`. Don’t know all the quirks of that version but would suggest looking into changing default encoding to same as MySQL 5.7 as the error message suggests above.
