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

ActiveStorage isn't configured for library-cms #539

Open
pgwillia opened this issue Feb 1, 2024 · 0 comments
Open

ActiveStorage isn't configured for library-cms #539

pgwillia opened this issue Feb 1, 2024 · 0 comments
Assignees

Comments

@pgwillia
Copy link
Member

pgwillia commented Feb 1, 2024

Someone visited https://library.ualberta.ca/admin/sites/1/pages/807/edit and attached a png. Library-cms hasn't been configured with a network filesystem (NFS) to handle assets and probably not the image processing dependencies either.

View details in Rollbar: https://app.rollbar.com/a/ualbertalib/fix/item/library-cms/21


ArgumentError: Active Storage's ImageProcessing transformer doesn't support :combine_options, as it always generates a single command.
  File "/var/www/sites/library-cms/vendor/ruby/3.1.0/gems/activestorage-7.1.2/lib/active_storage/transformers/image_processing_transformer.rb", line 39, in block in operations
  File "/var/www/sites/library-cms/vendor/ruby/3.1.0/gems/activestorage-7.1.2/lib/active_storage/transformers/image_processing_transformer.rb", line 33, in each
  File "/var/www/sites/library-cms/vendor/ruby/3.1.0/gems/activestorage-7.1.2/lib/active_storage/transformers/image_processing_transformer.rb", line 33, in each_with_object
  File "/var/www/sites/library-cms/vendor/ruby/3.1.0/gems/activestorage-7.1.2/lib/active_storage/transformers/image_processing_transformer.rb", line 33, in operations
  File "/var/www/sites/library-cms/vendor/ruby/3.1.0/gems/activestorage-7.1.2/lib/active_storage/transformers/image_processing_transformer.rb", line 24, in process
  File "/var/www/sites/library-cms/vendor/ruby/3.1.0/gems/activestorage-7.1.2/lib/active_storage/transformers/transformer.rb", line 24, in transform
  File "/var/www/sites/library-cms/vendor/ruby/3.1.0/gems/activestorage-7.1.2/app/models/active_storage/variation.rb", line 58, in block in transform
  File "/var/www/sites/library-cms/vendor/ruby/3.1.0/gems/activesupport-7.1.2/lib/active_support/notifications.rb", line 208, in instrument
  File "/var/www/sites/library-cms/vendor/ruby/3.1.0/gems/activestorage-7.1.2/app/models/active_storage/variation.rb", line 57, in transform
  File "/var/www/sites/library-cms/vendor/ruby/3.1.0/gems/activestorage-7.1.2/app/models/active_storage/variant_with_record.rb", line 47, in block in transform_blob
  File "/var/www/sites/library-cms/vendor/ruby/3.1.0/gems/activestorage-7.1.2/lib/active_storage/downloader.rb", line 15, in block in open
  File "/var/www/sites/library-cms/vendor/ruby/3.1.0/gems/activestorage-7.1.2/lib/active_storage/downloader.rb", line 24, in open_tempfile
  File "/var/www/sites/library-cms/vendor/ruby/3.1.0/gems/activestorage-7.1.2/lib/active_storage/downloader.rb", line 12, in open
  File "/var/www/sites/library-cms/vendor/ruby/3.1.0/gems/activestorage-7.1.2/lib/active_storage/service.rb", line 92, in open
  File "/var/www/sites/library-cms/vendor/ruby/3.1.0/gems/activestorage-7.1.2/app/models/active_storage/blob.rb", line 298, in open
  File "/var/www/sites/library-cms/vendor/ruby/3.1.0/gems/activestorage-7.1.2/app/models/active_storage/variant_with_record.rb", line 46, in transform_blob
  File "/var/www/sites/library-cms/vendor/ruby/3.1.0/gems/activestorage-7.1.2/app/models/active_storage/variant_with_record.rb", line 42, in process
  File "/var/www/sites/library-cms/vendor/ruby/3.1.0/gems/activestorage-7.1.2/app/models/active_storage/variant_with_record.rb", line 17, in processed
  File "/var/www/sites/library-cms/vendor/ruby/3.1.0/gems/activestorage-7.1.2/app/controllers/active_storage/representations/base_controller.rb", line 14, in set_representation
  File "/var/www/sites/library-cms/vendor/ruby/3.1.0/gems/activesupport-7.1.2/lib/active_support/callbacks.rb", line 403, in block in make_lambda
  File "/var/www/sites/library-cms/vendor/ruby/3.1.0/gems/activesupport-7.1.2/lib/active_support/callbacks.rb", line 202, in block (2 levels) in halting
  File "/var/www/sites/library-cms/vendor/ruby/3.1.0/gems/actionpack-7.1.2/lib/abstract_controller/callbacks.rb", line 34, in block (2 levels) in <module:Callbacks>
  File "/var/www/sites/library-cms/vendor/ruby/3.1.0/gems/activesupport-7.1.2/lib/active_support/callbacks.rb", line 203, in block in halting
  File "/var/www/sites/library-cms/vendor/ruby/3.1.0/gems/activesupport-7.1.2/lib/active_support/callbacks.rb", line 598, in block in invoke_before
  File "/var/www/sites/library-cms/vendor/ruby/3.1.0/gems/activesupport-7.1.2/lib/active_support/callbacks.rb", line 598, in each
  File "/var/www/sites/library-cms/vendor/ruby/3.1.0/gems/activesupport-7.1.2/lib/active_support/callbacks.rb", line 598, in invoke_before
  File "/var/www/sites/library-cms/vendor/ruby/3.1.0/gems/activesupport-7.1.2/lib/active_support/callbacks.rb", line 119, in block in run_callbacks
  File "/var/www/sites/library-cms/vendor/ruby/3.1.0/gems/actiontext-7.1.2/lib/action_text/rendering.rb", line 23, in with_renderer
  File "/var/www/sites/library-cms/vendor/ruby/3.1.0/gems/actiontext-7.1.2/lib/action_text/engine.rb", line 69, in block (4 levels) in <class:Engine>
  File "/var/www/sites/library-cms/vendor/ruby/3.1.0/gems/activesupport-7.1.2/lib/active_support/callbacks.rb", line 130, in instance_exec
  File "/var/www/sites/library-cms/vendor/ruby/3.1.0/gems/activesupport-7.1.2/lib/active_support/callbacks.rb", line 130, in block in run_callbacks
  File "/var/www/sites/library-cms/vendor/ruby/3.1.0/gems/activesupport-7.1.2/lib/active_support/callbacks.rb", line 141, in run_callbacks
  File "/var/www/sites/library-cms/vendor/ruby/3.1.0/gems/actionpack-7.1.2/lib/abstract_controller/callbacks.rb", line 258, in process_action
  File "/var/www/sites/library-cms/vendor/ruby/3.1.0/gems/actionpack-7.1.2/lib/action_controller/metal/rescue.rb", line 25, in process_action
  File "/var/www/sites/library-cms/vendor/ruby/3.1.0/gems/actionpack-7.1.2/lib/action_controller/metal/instrumentation.rb", line 74, in block in process_action
  File "/var/www/sites/library-cms/vendor/ruby/3.1.0/gems/activesupport-7.1.2/lib/active_support/notifications.rb", line 206, in block in instrument
  File "/var/www/sites/library-cms/vendor/ruby/3.1.0/gems/activesupport-7.1.2/lib/active_support/notifications/instrumenter.rb", line 58, in instrument
  File "/var/www/sites/library-cms/vendor/ruby/3.1.0/gems/activesupport-7.1.2/lib/active_support/notifications.rb", line 206, in instrument
  File "/var/www/sites/library-cms/vendor/ruby/3.1.0/gems/actionpack-7.1.2/lib/action_controller/metal/instrumentation.rb", line 73, in process_action
  File "/var/www/sites/library-cms/vendor/ruby/3.1.0/gems/actionpack-7.1.2/lib/action_controller/metal/params_wrapper.rb", line 261, in process_action
  File "/var/www/sites/library-cms/vendor/ruby/3.1.0/gems/activerecord-7.1.2/lib/active_record/railties/controller_runtime.rb", line 32, in process_action
  File "/var/www/sites/library-cms/vendor/ruby/3.1.0/gems/actionpack-7.1.2/lib/abstract_controller/base.rb", line 160, in process
  File "/var/www/sites/library-cms/vendor/ruby/3.1.0/gems/actionview-7.1.2/lib/action_view/rendering.rb", line 40, in process
  File "/var/www/sites/library-cms/vendor/ruby/3.1.0/gems/actionpack-7.1.2/lib/action_controller/metal.rb", line 227, in dispatch
  File "/var/www/sites/library-cms/vendor/ruby/3.1.0/gems/actionpack-7.1.2/lib/action_controller/metal.rb", line 309, in dispatch
  File "/var/www/sites/library-cms/vendor/ruby/3.1.0/gems/actionpack-7.1.2/lib/actio
@pgwillia pgwillia changed the title ArgumentError: Active Storage's ImageProcessing transformer doesn't support :combine_options, as it always generates a single command. ActiveStorage isn't configured for library-cms Feb 1, 2024
@pgwillia pgwillia assigned pgwillia and nmacgreg and unassigned pgwillia Oct 18, 2024
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