Comments (9)
No that double bundle exec
is not necessary :) It's simply a mistake in the README.
I'll fix that - thanks for pointing me to it 😁
I think there is another issue in the README which should be also the reason for the issue you're having here with the listen
gem:
The command shown is intended to run the app in production mode (that's why there is a bundle install --without development
there - but it's missing a very important part: The command should include the RAILS_ENV=production
setting.
Can you try this one please?:
RAILS_ENV=production SECRET_KEY_BASE=changeme DOCKER_REGISTRY_URL=https://example.com PORT=8080 bundle exec bundle exec puma -C config/puma.rb
from docker-registry-browser.
Sure. Will do that in this PR: #237
There is still stuff missing. You'll need to run this command once:
RAILS_ENV=production rails assets:precompile
And change the command to start the app to:
RAILS_SERVE_STATIC_FILES=true RAILS_ENV=production SECRET_KEY_BASE=changeme DOCKER_REGISTRY_URL=https://example.com PORT=8080 bundle exec bundle exec puma -C config/puma.rb
Will also add that to the PR.
from docker-registry-browser.
Oh yes, I can do that.
from docker-registry-browser.
Hi @hboetes,
that's interesting. I don't get this error in development mode and it looks like if the listen
gem should be there since it's a dependency of spring-watcher-listen
so I'm really wondering what is wrong.
Can you give me some details about your setup please?
- Which OS?
- How do you install ruby (rbenv / rvm or another way)?
- When do you get that error? During starting the dev server with
bundle exec rails s
?
Thanks, Klaus
from docker-registry-browser.
Hello @klausmeyer
Thanks for your time and effort
- Ubuntu bionic
- rvm
- RAILS_RELATIVE_URL_ROOT=/browser ENABLE_DELETE_IMAGES=true DOCKER_REGISTRY_URL=https://example.com PORT=8080 bundle exec bundle exec puma -C config/puma.rb
Another question is the double bundle exec bundle exec
necesarry? It seems to work without it as wel..
from docker-registry-browser.
That fixed that issue but results in We're sorry, but something went wrong.
and the below output in the production logfile.
I, [2019-10-10T18:44:42.591989 #21792] INFO -- : [9f45d8f0-d5bb-4a49-b4d6-efcd2b640019] Started GET "//" for 127.0.0.1 at 2019-10-10 18:44:42 +0200
I, [2019-10-10T18:44:42.592853 #21792] INFO -- : [9f45d8f0-d5bb-4a49-b4d6-efcd2b640019] Processing by RepositoriesController#index as HTML
I, [2019-10-10T18:44:42.783388 #21792] INFO -- : [9f45d8f0-d5bb-4a49-b4d6-efcd2b640019] Rendering repositories/index.html.erb within layouts/application
I, [2019-10-10T18:44:42.783787 #21792] INFO -- : [9f45d8f0-d5bb-4a49-b4d6-efcd2b640019] Rendered repositories/index.html.erb within layouts/application (Duration: 0.3ms | Allocations: 497)
I, [2019-10-10T18:44:42.783954 #21792] INFO -- : [9f45d8f0-d5bb-4a49-b4d6-efcd2b640019] Completed 500 Internal Server Error in 191ms (Allocations: 2219)
F, [2019-10-10T18:44:42.784656 #21792] FATAL -- : [9f45d8f0-d5bb-4a49-b4d6-efcd2b640019]
[9f45d8f0-d5bb-4a49-b4d6-efcd2b640019] ActionView::Template::Error (The asset "icons/namespace.png" is not present in the asset pipeline.):
[9f45d8f0-d5bb-4a49-b4d6-efcd2b640019] 5: <% Hash[@repositories.group_by(&:namespace).sort].each do |namespace, repos| %>
[9f45d8f0-d5bb-4a49-b4d6-efcd2b640019] 6: <div class="card border-docker mb-5">
[9f45d8f0-d5bb-4a49-b4d6-efcd2b640019] 7: <%= content_tag :div, class: "card-header", id: "namespace-#{namespace}" do %>
[9f45d8f0-d5bb-4a49-b4d6-efcd2b640019] 8: <%= image_tag "icons/namespace.png", size: "50x50", align: "right" %>
[9f45d8f0-d5bb-4a49-b4d6-efcd2b640019] 9:
[9f45d8f0-d5bb-4a49-b4d6-efcd2b640019] 10: <span class="text-muted small">Namespace</span>
[9f45d8f0-d5bb-4a49-b4d6-efcd2b640019] 11: <h5 class="card-title mb-0"><%= namespace.presence || "/" %></h5>
[9f45d8f0-d5bb-4a49-b4d6-efcd2b640019]
[9f45d8f0-d5bb-4a49-b4d6-efcd2b640019] app/views/repositories/index.html.erb:8
[9f45d8f0-d5bb-4a49-b4d6-efcd2b640019] app/views/repositories/index.html.erb:7
[9f45d8f0-d5bb-4a49-b4d6-efcd2b640019] app/views/repositories/index.html.erb:5:in `each'
[9f45d8f0-d5bb-4a49-b4d6-efcd2b640019] app/views/repositories/index.html.erb:5
from docker-registry-browser.
Now we're on it, perhaps you should also add those variables to the big table?
from docker-registry-browser.
Great, now it's ~working, on to the next problem. :-D
from docker-registry-browser.
Ok, but we can close this one then, right?
from docker-registry-browser.
Related Issues (20)
- Authenticate User Access HOT 4
- add a more compact "skin"
- Web UI Login HOT 2
- read/write support by nginx
- Can't browse OCI images HOT 6
- cannot delete tags with cesanta/docker_auth HOT 6
- No Java Script Runtime in Container HOT 12
- ExecJS can't find a runtime HOT 23
- Document using the app in a subPath HOT 1
- Version sorting HOT 1
- This crashes on my server HOT 3
- Tag list cannot be configured to sort by `version` HOT 1
- add sort by push date HOT 1
- Cannot read *.key file in 1.6.0 docker image HOT 4
- Error with multi-platform images HOT 10
- Token based auth with Keycloak as IDP HOT 6
- Third page is not loaded HOT 4
- Error Displaying Tag Info HOT 1
- no reply to browser when using token authentication via keycloak HOT 8
- Feature request - Policy to remove Old image HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-registry-browser.