Jump to content

Database Integrity check detected problem


Jeff

Recommended Posts

My OpenX that I've run for years on my site went wrong.  So we reinstalled it and now get this error:

- database integrity check detected problems with the database

- 1 tables to add

Any ideas?  Have run this for years and managed ads on my site.  Now, no dice.  I thought it was because of upgrading php but that wasn't it. When we went back to the old install, problem persists. Thanks for any suggestions.

  • Errors were found when detecing previous installations of OpenX
    We have detected integrity issues with your database. This means that the layout of your database differs from what we expect it to be. This could be due to customization of your database.
Check name Current value Status
application
  1. - database integrity check detected problems with the database
  2. - 1 tables to add
NOT OK
Link to comment
Share on other sites

Hi @Jeff,

Well, the first thing I would do would be to roll back to the original code and database from before you started trying to re-install it, and look at the original problem, and attempt to diagnose that. I'm not sure why you're trying to re-install the code base over an existing system.

If you can't do that, though - do the logs give you any indication of what the change to the database is?

Link to comment
Share on other sites

Okay, thanks.  Here is what my guy asked me to post to you:


When trying to update OpenX from 2.4 to 2.8 installer complains about this:
comparing database veggie08_openx with schema
/home/veggie10/public_html/openx/etc/changes/schema_tables_core_515.xml
table is missing: data_raw_ad_impression
table is not part of schema: database_action
table is not part of schema: upgrade_action
to version: 515
timing: constructive
target database: veggie08_openx
table prefix: ox_
successfully initialised DB Upgrade
verifying/creating constructive tasklist
task found: doAddTable__data_raw_ad_impression
#! database integrity check detected problems with the database
#! 1 tables to add

 

Link to comment
Share on other sites

Hi @Jeff,

Well, I'm not really sure how I can help. I feel your pain, but man, OpenX 2.4? It's so very, very old. 

I don't know why the data_raw_ad_impression table is missing, but you could try doing a clean install of OpenX 2.4 in a new database, and then dump the database schema, and use that to create the missing table in your real database, and try the upgrade again?

Link to comment
Share on other sites

Hi @Jeff,

Only by running the upgrade process. Revive Adserver supports upgrading from all 2.x versions of OpenX.

Unfortunately, though, if your OpenX 2.4 database doesn't match the expected specification, you're going to get the same error, though. It can only upgrade when the database it sees present matches what is expected.

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.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   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.



×
×
  • Create New...