Jump to content
  • 0

Upgrade issue


Joseph H

Question

I'm running Blesta 4.8 trying to update to Blesta 4.9.0 but i keep getting an error

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'plugin_events.enabled' in 'field list' on line 196 in /home/admin/domains/domain.com/public_html/vendors/minphp/db/src/PdoConnection.php

PHP version 7.0

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0
45 minutes ago, Joseph H said:

I'm running Blesta 4.8 trying to update to Blesta 4.9.0 but i keep getting an error


SQLSTATE[42S22]: Column not found: 1054 Unknown column 'plugin_events.enabled' in 'field list' on line 196 in /home/admin/domains/domain.com/public_html/vendors/minphp/db/src/PdoConnection.php

PHP version 7.0

Did you already run /admin/upgrade after uploading 4.9.0? The plugin_events.enabled column is added in Blesta 4.9, but it looks like you don't have it.

Link to comment
Share on other sites

  • 0
3 hours ago, Joseph H said:

after uploading the files blesta goes blank. I got the above text by debugging blesta.

From the docs, after you upload a new version of Blesta you must run /admin/upgrade in order to run any database migrations. The error you received indicates that either this was not done, or it did not complete successfully. So, if you did not run /admin/upgrade, then the white screen you got is expected. Please run /admin/upgrade to upgrade your database to the new release.

Link to comment
Share on other sites

  • 0
On 4/23/2020 at 10:55 PM, Paul said:

From the docs, after you upload a new version of Blesta you must run /admin/upgrade in order to run any database migrations. The error you received indicates that either this was not done, or it did not complete successfully. So, if you did not run /admin/upgrade, then the white screen you got is expected. Please run /admin/upgrade to upgrade your database to the new release.

After managing to pass that part. I get this error

SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1-92-billing' for key 'PRIMARY' on line 196 in /home/admin/domains/domain.com/public_html/vendors/minphp/db/src/PdoConnection.php
 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...