sul-dlss-deprecated / archive-catalog Goto Github PK
View Code? Open in Web Editor NEWDatabase component of SDR PC Replication Services - unlikely this is functional or used
License: Other
Database component of SDR PC Replication Services - unlikely this is functional or used
License: Other
ActiveRecord::StatementInvalid in TapeReplicas#index
Add some form of authentication for application access, using an API key.
Bug details in log:
ActiveRecord::StatementInvalid (OCIError: ORA-01950: no privileges on tablespace 'ARCHIVE_CAT': INSERT INTO "DIGITAL_OBJECTS" ("DIGITAL_OBJECT_ID", "HOME_REPOSITORY") VALUES (:a1, :a2)):
Full log trace:
I, [2014-10-06T15:18:02.159287 #20472] INFO -- : Started POST "/archives/digital_objects.json" for 171.67.34.182 at 2014-10-06 15:18:02 -0700
I, [2014-10-06T15:18:02.161181 #20472] INFO -- : Processing by DigitalObjectsController#create as JSON
I, [2014-10-06T15:18:02.161266 #20472] INFO -- : Parameters: {"digital_object_id"=>"druid:bb957tg1613", "home_repository"=>"sdr", "digital_object"=>{"digital_object_id"=>"druid:bb957tg1613", "home_repository"=>"sdr"}}
W, [2014-10-06T15:18:02.161603 #20472] WARN -- : Can't verify CSRF token authenticity
D, [2014-10-06T15:18:02.163120 #20472] DEBUG -- : DigitalObject Load (0.6ms) SELECT * FROM (SELECT "DIGITAL_OBJECTS".* FROM "DIGITAL_OBJECTS" WHERE "DIGITAL_OBJECTS"."DIGITAL_OBJECT_ID" = 0 ORDER BY "DIGITAL_OBJECTS"."DIGITAL_OBJECT_ID" ASC) WHERE ROWNUM <= 1
D, [2014-10-06T15:18:02.167056 #20472] DEBUG -- : SQL (2.7ms) INSERT INTO "DIGITAL_OBJECTS" ("DIGITAL_OBJECT_ID", "HOME_REPOSITORY") VALUES (:a1, :a2) [["digital_object_id", 0], ["home_repository", "sdr"]]
E, [2014-10-06T15:18:02.167148 #20472] ERROR -- : OCIError: ORA-01950: no privileges on tablespace 'ARCHIVE_CAT': INSERT INTO "DIGITAL_OBJECTS" ("DIGITAL_OBJECT_ID", "HOME_REPOSITORY") VALUES (:a1, :a2)
I, [2014-10-06T15:18:02.167711 #20472] INFO -- : Completed 500 Internal Server Error in 6ms
F, [2014-10-06T15:18:02.170041 #20472] FATAL -- :
ActiveRecord::StatementInvalid (OCIError: ORA-01950: no privileges on tablespace 'ARCHIVE_CAT': INSERT INTO "DIGITAL_OBJECTS" ("DIGITAL_OBJECT_ID", "HOME_REPOSITORY") VALUES (:a1, :a2)):
app/controllers/crud_controller.rb:62:in `block in create'
app/controllers/dry_crud/render_callbacks.rb:31:in `block (2 levels) in with_callbacks'
app/controllers/dry_crud/render_callbacks.rb:31:in `block (2 levels) in with_callbacks'
app/controllers/dry_crud/render_callbacks.rb:32:in `call'
app/controllers/dry_crud/render_callbacks.rb:32:in `with_callbacks'
app/controllers/crud_controller.rb:62:in `create'
Resolve rails rake db:* functionality for -dev to -test init (and migrations).
The -dev system has been defined 'by hand' and this needs to be integrated correctly into rails rake db:* functionality.
Once the releaseboard is decomissioned, the lyberteam-capistrano-devel will no longer be able to publish to it. Upgrading to the latest version of the dlss-capistrano gem will cease the publication step. I tried to set up a PR for this, but am unable to bundle install versions of ruby-oci8 < 2.2.2, which the Gemfile.lock requires.
I, [2014-10-08T18:38:34.209476 #7615] INFO -- : Started POST "/archives/sdr_object_versions.json" for 171.67.34.182 at 2014-10-08 18:38:34 -0700
I, [2014-10-08T18:38:34.211435 #7615] INFO -- : Processing by SdrObjectVersionsController#create as JSON
I, [2014-10-08T18:38:34.211538 #7615] INFO -- : Parameters: {"sdr_object_id"=>"druid:bb508hj7967", "sdr_version_id"=>1, "replica_id"=>"druid:bb508hj7967-v0001", "ingest_date"=>"2014-10-09T01:36:22Z", "sdr_object_version"=>{"sdr_object_id"=>"druid:bb508hj7967", "sdr_version_id"=>1, "ingest_date"=>"2014-10-09T01:36:22Z", "replica_id"=>"druid:bb508hj7967-v0001"}}
W, [2014-10-08T18:38:34.211964 #7615] WARN -- : Can't verify CSRF token authenticity
D, [2014-10-08T18:38:34.213875 #7615] DEBUG -- : SdrObjectVersion Load (0.6ms) SELECT "SDR_OBJECT_VERSIONS".* FROM "SDR_OBJECT_VERSIONS" WHERE ("SDR_OBJECT_VERSIONS"."SDR_OBJECT_ID" = :a1 AND "SDR_OBJECT_VERSIONS"."SDR_VERSION_ID" = :a2) AND ROWNUM <= 1 [["sdr_object_id", "druid:bb508hj7967"], ["sdr_version_id", 1]]
D, [2014-10-08T18:38:34.216806 #7615] DEBUG -- : SdrObject Load (0.7ms) SELECT "SDR_OBJECTS".* FROM "SDR_OBJECTS" WHERE "SDR_OBJECTS"."SDR_OBJECT_ID" = 'druid:bb508hj7967' AND ROWNUM <= 1
I, [2014-10-08T18:38:34.218471 #7615] INFO -- : Completed 500 Internal Server Error in 7ms
F, [2014-10-08T18:38:34.221210 #7615] FATAL -- :
TypeError (["sdr_object_id", "sdr_version_id"] is not a symbol):
app/controllers/crud_controller.rb:62:in `block in create'
app/controllers/dry_crud/render_callbacks.rb:31:in `block (2 levels) in with_callbacks'
app/controllers/dry_crud/render_callbacks.rb:31:in `block (2 levels) in with_callbacks'
app/controllers/dry_crud/render_callbacks.rb:32:in `call'
app/controllers/dry_crud/render_callbacks.rb:32:in `with_callbacks'
app/controllers/crud_controller.rb:62:in `create'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.