Skip to content

Error when running RAILS_ENV=test bundle exec rails hyrax:default_admin_set:create #3831

Description

@misilot

Hello,

I am trying to setup a demo site to for our staff to test out to see if Heliotrope / Fulcrum would meet our needs and when I run

RAILS_ENV=test bundle exec rails hyrax:default_admin_set:create I get the following error:

[DEPRECATION] PCDM is deprecating 'Valkyrie::Vocab::PCDMUse#PreservationMasterFile'. Use 'Valkyrie::Vocab::PCDMUse#PreservationFile' instead. This warning does *not* indicate that usage of the deprecated term has been detected.
Loading configuration from /klib/app/heliotrope/.solr_wrapper
rails aborted!
Errno::ENOENT: No such file or directory @ rb_sysopen - http://www.apache.org/dyn/closer.lua/lucene/solr/6.5.1/solr-6.5.1.zip?asjson=true (Errno::ENOENT)
<internal:/root/.local/share/mise/installs/ruby/3.3.5/lib/ruby/site_ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
<internal:/root/.local/share/mise/installs/ruby/3.3.5/lib/ruby/site_ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
/klib/app/heliotrope/bin/rails:10:in `<top (required)>'
<internal:/root/.local/share/mise/installs/ruby/3.3.5/lib/ruby/site_ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
<internal:/root/.local/share/mise/installs/ruby/3.3.5/lib/ruby/site_ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
/klib/app/heliotrope/bin/spring:15:in `<top (required)>'
bin/rails:4:in `load'
bin/rails:4:in `<main>'

Caused by:
Errno::ENOENT: No such file or directory @ rb_sysopen - http://www.apache.org/dyn/closer.lua/lucene/solr/6.5.1/solr-6.5.1.zip?asjson=true (Errno::ENOENT)
<internal:/root/.local/share/mise/installs/ruby/3.3.5/lib/ruby/site_ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
<internal:/root/.local/share/mise/installs/ruby/3.3.5/lib/ruby/site_ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
/klib/app/heliotrope/bin/rails:10:in `<top (required)>'
<internal:/root/.local/share/mise/installs/ruby/3.3.5/lib/ruby/site_ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
<internal:/root/.local/share/mise/installs/ruby/3.3.5/lib/ruby/site_ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
/klib/app/heliotrope/bin/spring:15:in `<top (required)>'
bin/rails:4:in `load'
bin/rails:4:in `<main>'
Tasks: TOP => hydra:server
(See full trace by running task with --trace)

Also when I tried doing this under production, I kept getting asked about differnt variables, like setting scratch space and riiif_network_files_path (I stopped after the second one). Are these documented anywhere?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions