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

spotlight starts with an error on ec2 startup #3014

Open
cxu0421 opened this issue Mar 4, 2024 · 3 comments
Open

spotlight starts with an error on ec2 startup #3014

cxu0421 opened this issue Mar 4, 2024 · 3 comments
Labels

Comments

@cxu0421
Copy link

cxu0421 commented Mar 4, 2024

we followed the depolyment on aws ec2 instance running ruby 3.2.2 and Rails 7.1.3.2, the app does not start correctly, we are getting error similar to projectblacklight/blacklight#3031, after following their solution to adjust the manifest.js, we now get the following error on start up,

ActionView::Template::Error (Multiple files with the same output path cannot be linked ("application.js")
In "/opt/collections/spotlight/app/assets/config/manifest.js" these files were linked:

  • /opt/collections/spotlight/app/assets/javascripts/application.js
  • /opt/collections/spotlight/app/javascript/application.js
    ):
@jcoyne
Copy link
Member

jcoyne commented Mar 5, 2024

As far as I know, Spotlight does not support Rails 7.1.

@mephillips-durham
Copy link
Contributor

mephillips-durham commented Mar 15, 2024

Using Rails 7.1 is not the cause of this problem. I opened an issue #2995 not long ago, and we are using 7.0.x

The generated manifest.js is broken. We got past this error by hand-editing the file to remove the line for application.js and add the missing newline. I don't know whether some of the faults we are seeing in our application might be because of this file being incorrrect though. The fact the line for blacklight_gallery was wrong makes me wonder whether it's connected with the lack of results page type choices #2993 in our application.

@taylor-steve
Copy link
Contributor

A new version of blacklight-gallery was released that fixes the missing newline issue.

@corylown corylown added the bug label Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants