Open qjhart opened 7 years ago
Trying to reindex the fedora database does not seem to work. The command will silently fail.
The solr index should rebuild.
Command seems to fail on solr initiialization. Other configurations (eg. UCD's single tenacy setup) show this error, but continue the process.
Import a bunch of records.
Try and reindex
quinn@quinn-dev:~/hyku$ time dc exec web bundle exec rails runner "ActiveFedora::Base.reindex_everything" WARNING: The JAVA_OPTS variable is not set. Defaulting to a blank string. D, [2017-06-19T17:02:30.749292 #56] DEBUG -- : Registering Local QA authority: rights_statements - Qa::Authorities::Local::FileBasedAuthority D, [2017-06-19T17:02:30.749375 #56] DEBUG -- : Registering Local QA authority: resource_types - Qa::Authorities::Local::FileBasedAuthority D, [2017-06-19T17:02:30.749401 #56] DEBUG -- : Registering Local QA authority: licenses - Qa::Authorities::Local::FileBasedAuthority D, [2017-06-19T17:02:30.749470 #56] DEBUG -- : Registering Local QA authority: subjects - Qa::Authorities::Local::TableBasedAuthority D, [2017-06-19T17:02:30.749497 #56] DEBUG -- : Registering Local QA authority: languages - Qa::Authorities::Local::TableBasedAuthority D, [2017-06-19T17:02:30.749556 #56] DEBUG -- : Registering Local QA authority: genres - Qa::Authorities::Local::TableBasedAuthority D, [2017-06-19T17:02:33.790753 #56] DEBUG -- : Sipity::Role Load (0.4ms) SELECT "sipity_roles".* FROM "sipity_roles" WHERE "sipity_roles"."name" = $1 LIMIT $2 [["name", "managing"], ["LIMIT", 1]] D, [2017-06-19T17:02:33.798970 #56] DEBUG -- : (0.2ms) BEGIN D, [2017-06-19T17:02:33.800028 #56] DEBUG -- : (0.1ms) COMMIT D, [2017-06-19T17:02:33.800986 #56] DEBUG -- : Sipity::Role Load (0.2ms) SELECT "sipity_roles".* FROM "sipity_roles" WHERE "sipity_roles"."name" = $1 LIMIT $2 [["name", "approving"], ["LIMIT", 1]] D, [2017-06-19T17:02:33.801381 #56] DEBUG -- : (0.1ms) BEGIN D, [2017-06-19T17:02:33.802065 #56] DEBUG -- : (0.2ms) COMMIT D, [2017-06-19T17:02:33.802916 #56] DEBUG -- : Sipity::Role Load (0.3ms) SELECT "sipity_roles".* FROM "sipity_roles" WHERE "sipity_roles"."name" = $1 LIMIT $2 [["name", "depositing"], ["LIMIT", 1]] D, [2017-06-19T17:02:33.803305 #56] DEBUG -- : (0.1ms) BEGIN D, [2017-06-19T17:02:33.803993 #56] DEBUG -- : (0.1ms) COMMIT I, [2017-06-19T17:02:33.804084 #56] INFO -- : Hyrax::Engine.after_initialize - persisting registered roles! I, [2017-06-19T17:02:33.817184 #56] INFO -- : ** [Honeybadger] Initializing Honeybadger Error Tracker for Ruby. Ship it! version=3.1.2 framework=rails level=1 pid=56 I, [2017-06-19T17:02:34.147113 #56] INFO -- : ActiveFedora: loading fedora config from /data/config/fedora.yml I, [2017-06-19T17:02:34.147746 #56] INFO -- : ActiveFedora: loading solr config from /data/config/solr.yml I, [2017-06-19T17:02:34.166462 #56] INFO -- : Attempted to init base path `prod`, but it already exists real 0m7.821s user 0m0.516s sys 0m0.060s
Link to related tickets or prior related work here.
Descriptive summary
Trying to reindex the fedora database does not seem to work. The command will silently fail.
Expected behavior
The solr index should rebuild.
Actual behavior
Command seems to fail on solr initiialization. Other configurations (eg. UCD's single tenacy setup) show this error, but continue the process.
Steps to reproduce the behavior
Import a bunch of records.
Try and reindex
Related work
Link to related tickets or prior related work here.