tracks looking bad, no graphics shown etc

45 views
Skip to first unread message

Mario Ganz

unread,
Jul 25, 2017, 3:10:40 PM7/25/17
to TracksApp
I just installed tracks on a shared host (uberspace) and it is working.
But it seems no css, js or whatever there is, is loading. so the site actually looks like plain text.

What can I do? And what can I provide to get help?


Matt Rogers

unread,
Jul 25, 2017, 3:21:18 PM7/25/17
to TracksApp
Are you able to run the asset precompilation steps? Basically, you need to run `bundle exec rake assets:precompile` from a shell on your shared host in order for the assets to work correctly.

Hope this helps!
--
Matt

--
You received this message because you are subscribed to the Google Groups "TracksApp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tracksapp+...@googlegroups.com.
To post to this group, send email to trac...@googlegroups.com.
Visit this group at https://groups.google.com/group/tracksapp.
For more options, visit https://groups.google.com/d/optout.

Mario Ganz

unread,
Jul 25, 2017, 3:29:13 PM7/25/17
to TracksApp
That is actually what I was doing already. But it did not help anything.

Mario Ganz

unread,
Jul 25, 2017, 3:31:33 PM7/25/17
to TracksApp
I am finding this message while running your precompile command

rake aborted!
Sprockets::FileNotFound: couldn't find file 'jquery-ui/autocomplete' with type 'application/javascript'


Am Dienstag, 25. Juli 2017 21:10:40 UTC+2 schrieb Mario Ganz:

Matt Rogers

unread,
Jul 25, 2017, 11:40:05 PM7/25/17
to TracksApp
Hmm. I don't recall seeing that before. Which version of Tracks are you running?

Mario

unread,
Jul 26, 2017, 3:41:07 AM7/26/17
to TracksApp

Oh it is 2.4 devel.


You received this message because you are subscribed to a topic in the Google Groups "TracksApp" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tracksapp/58EVwfl8zbY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tracksapp+...@googlegroups.com.

Mario

unread,
Jul 26, 2017, 10:51:47 AM7/26/17
to TracksApp
Allright, I switched to 2.3 and everything went through smoothly. Though, it still looks like no graphics are working. I did the assets precompile and have set this option: config.serve_static_assets = true.

its still like this:
image.png

Matt Rogers

unread,
Jul 29, 2017, 11:03:27 PM7/29/17
to TracksApp
hmm. do you have the ability to post your apache or nginx config (whichever one your shared hoster uses)? Also, what sort of errors do you get in your browser's devtools since all the CSS, javascript, and images are missing?

Thanks!
--
Matt

Craig Anderson

unread,
Oct 14, 2017, 12:04:02 PM10/14/17
to TracksApp
I'm also seeing a text only site. Particulars on the install. Running local with WEBrick.

Using https://github.com/TracksApp/tracks/archive/v2.3.0.zip, Ruby 2.3.5,sqlite3.

bundle install

bundle exec rake db:migrate RAILS_ENV=production

bundle exec rake assets:precompile RAILS_ENV=production

bundle exec rails server -e production


Craig Anderson

unread,
Oct 14, 2017, 12:14:38 PM10/14/17
to TracksApp
 Firebug net log shows:

 GET accept-3638c60b8c77e5736364fd6ef6a7e01f.png
404 Not Found
    
GET application-50dc2afd7f76c40d1d7f6735e6a3cc6d.css
404 Not Found

GET application-923474fb4e493f109ed67ad5f44c852c.js
404 Not Found

GET blank-73b0ec9d5a52094b2856db8ee3840a4e.png
404 Not Found
    
GET blank-73b0ec9d5a52094b2856db8ee3840a4e.png
404 Not Found

GET print-68e7bd23c2feb9302b4ea7f247057af8.css
404 Not Found
    
GET system-search-3e441ee3f211c4c582e7591b5f73fd36.png
404 Not Found
    
GET system-search-3e441ee3f211c4c582e7591b5f73fd36.png
404 Not Found

Matt Rogers

unread,
Oct 14, 2017, 12:47:13 PM10/14/17
to TracksApp
Please make sure the serve static assets value in config/environment/production.rb is set to true if you’re using webrick locally

Thanks!

Matt

Craig Anderson

unread,
Oct 14, 2017, 1:11:15 PM10/14/17
to TracksApp


On Saturday, October 14, 2017 at 10:47:13 AM UTC-6, Matt Rogers wrote:
Please make sure the serve static assets value in config/environment/production.rb is set to true if you’re using webrick locally

Thanks!

Matt


Made the change and the site looks fine. Thank you.

Craig Anderson

unread,
Oct 15, 2017, 5:29:12 PM10/15/17
to TracksApp

On Saturday, October 14, 2017 at 10:47:13 AM UTC-6, Matt Rogers wrote:
Please make sure the serve static assets value in config/environment/production.rb is set to true if you’re using webrick locally

Thanks!

Matt


Careless reading on my part. This is documented in the installation guide.
Reply all
Reply to author
Forward
0 new messages