ghost-on-heroku icon indicating copy to clipboard operation
ghost-on-heroku copied to clipboard

ER_USER_LIMIT_REACHED: User 'xxxx' has exceeded the 'max_questions' resource (current value: 3600)

Open ashispavan opened this issue 3 years ago • 7 comments

Describe the bug With only a couple pages, I am getting this error on the deployed version of Ghost CMS on heroku: ER_USER_LIMIT_REACHED: User 'xxxx' has exceeded the 'max_questions' resource (current value: 3600)

To Reproduce Steps to reproduce the behavior:

Add/edit a couple of posts on the Ghost CMS instance. Read the instance APIs using a NextJS front-end stack deployed in Vercel.

Expected behavior No error should be thrown for seemingly light activities.

How are you deploying this? Clicked on 'Deploy to Heroku' and followed the setup steps.

ashispavan avatar Mar 14 '21 16:03 ashispavan

It seems to me that this is not an installation error, and it will exceed the database limit. Add migrate='safe' to your models. Otherwise mysql-adapter will spawn a new connection for every model/table it tries to alter (apparently ignoring the connection pool settings).

MeAtPros avatar Apr 15 '21 11:04 MeAtPros

Can confirm. Facing similar issue.

az0mb13 avatar Apr 25 '21 08:04 az0mb13

Add migrate='safe' to your models.

Sorry, care to elaborate on what you mean by this? I too am facing the same issue as OP.

seanng avatar Jun 17 '21 11:06 seanng

Bump

oliVRqin avatar Jun 22 '21 20:06 oliVRqin

Bump

matthewspear avatar Jul 29 '21 08:07 matthewspear

One more here, same issue. Site now down

codechair avatar Aug 11 '21 17:08 codechair

I'm experiencing the same issue. Thank you for your work on this module!

MarcManiez avatar Mar 11 '22 20:03 MarcManiez