Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OC NL table okapi_diagnostics not found #583

Open
following5 opened this issue Mar 5, 2019 · 3 comments
Open

OC NL table okapi_diagnostics not found #583

following5 opened this issue Mar 5, 2019 · 3 comments

Comments

@following5
Copy link
Contributor

===== ERROR MESSAGE =====
okapi\core\Exception\DbException:
SQL Error 1146: Table 'ocnl.okapi_diagnostics' doesn't exist

The query was:

            delete from okapi_diagnostics
            where expires < now()
=========================

--- Stack trace ---
#0 /serve/www/oc_nl/oc/okapi/core/Db.php(206): okapi\core\Db::throwProperDbException(Object(PDOException), '\n            de...')
#1 /serve/www/oc_nl/oc/okapi/core/CronJob/DiagnosticsCleanerJob.php(17): okapi\core\Db::execute('\n            de...')
#2 /serve/www/oc_nl/oc/okapi/core/CronJob/CronJobController.php(80): okapi\core\CronJob\DiagnosticsCleanerJob->execute()

The table exists. No idea why this delete throws an error.

@following5
Copy link
Contributor Author

@harrieklomp
Could you have a look onto the database and check if you can access the table okapi_diagnostics? OKAPI says that it does not exists, but MariaDB says it does (on the okapi/devel/dbstruct page).

@harrieklomp
Copy link
Member

On DEVEL.nl there is no table okapi_diagnostics

This error comes from DEVEL.nl site. For now Cronjobs are disabled. Andrixnet will install phpMyAdmin so i can update the DB.

@following5
Copy link
Contributor Author

Okay. OKAPI update should be run, that will create the table. (http://sitename/okapi/update)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants