Quantcast
Channel: Discourse Meta - Latest topics
Viewing all 60739 articles
Browse latest View live

CDN 503 on user avatars and CSS files


Discourse render issue

$
0
0

@henick wrote:

Hi, I have configured discourse on centos 6 and after a bit of pain getting the thin clients to run on boot, everything seems to be running now. bluepill, redis, 2 thin clients (because crontab starts 2 webs) but the page will not render when requested. This is the error

Started GET "/" for MYIPADDRESS at 2015-05-05 05:26:07 -0400
Processing by ListController#latest as HTML
  Rendered list/list.erb within layouts/application (0.8ms)
  Rendered layouts/_head.html.erb (0.1ms)
  Rendered common/_special_font_face.html.erb (0.3ms)
  Rendered common/_discourse_stylesheet.html.erb (0.1ms)
  Rendered application/_header.html.erb (0.1ms)
  Rendered common/_discourse_javascript.html.erb (6.8ms)
Completed 500 Internal Server Error in 29ms (ActiveRecord: 3.6ms)

ActionView::Template::Error (undefined method `<<' for nil:NilClass):
    32:   Discourse.BaseUri = '<%= Discourse::base_uri "/" %>';
    33:   Discourse.Environment = '<%= Rails.env %>';
    34:   Discourse.SiteSettings = PreloadStore.get('siteSettings');
    35:   Discourse.LetterAvatarVersion = '<%= LetterAvatar.version %>';
    36:   PreloadStore.get("customEmoji").forEach(function(emoji) {
    37:     Discourse.Dialect.registerEmoji(emoji.name, emoji.url);
    38:   });
  lib/letter_avatar.rb:109:in `image_magick_version'
  lib/letter_avatar.rb:27:in `version'
  app/views/common/_discourse_javascript.html.erb:35:in `_app_views_common__discourse_javascript_html_erb__3988385731378613731_74805560'
  app/views/layouts/application.html.erb:92:in `_app_views_layouts_application_html_erb___2158391838327418091_74427680'
  lib/topic_list_responder.rb:15:in `block (2 levels) in respond_with_list'
  lib/topic_list_responder.rb:11:in `respond_with_list'
  app/controllers/list_controller.rb:82:in `block (2 levels) in <class:ListController>'
  lib/middleware/anonymous_cache.rb:121:in `call'
  config/initializers/quiet_logger.rb:10:in `call_with_quiet_assets'
  config/initializers/silence_logger.rb:26:in `call'
  lib/middleware/request_tracker.rb:70:in `call'

Any assistance would be great, thanks.

Ray

Posts: 3

Participants: 2

Read full topic

Pinning topics in set order

$
0
0

@Emily wrote:

I am using Discourse as an online forum and instruction center for a community of customers. One category is for installation of our product, and I would like the 11 steps to remain pinned, from 1-11 in the correct order. Problem is that when someone edits a comment, that post shoots to the top and disrupts the order.

Is there any way to keep the pinned topics static?

Posts: 6

Participants: 3

Read full topic

Wrong reply style for Group post page

Posts not loading

$
0
0

@SimonClavey wrote:

Hey,

So I've got a Discourse install over @ http://marketerchat.com and the site loads and you can go through the categories and then when it comes to loading the posts it just never loads with a console error of ...

Uncaught TypeError: Cannot read property 'proto' of undefined

Edit Looking through the error logs there are lots of errors all related to 't' and 'proto' ...

TypeError: t is undefined Url: http://marketerchat.com/assets/vendor-7b31b47dbfdd40ee4e525572b6ceb07e.js Line: 7 Column: 6430 Window Location: http://marketerchat.com/t/about-the-main-discussion-forum

TypeError: undefined is not an object (evaluating 't.proto') Url: http://marketerchat.com/assets/vendor-7b31b47dbfdd40ee4e525572b6ceb07e.js Line: 5 Column: 19955 Window Location: http://marketerchat.c

Posts: 1

Participants: 1

Read full topic

Error when installing the Docker container

$
0
0

@NinjaTurtle wrote:

I wanted to give Discourse a try, and I used the Github Wiki article to set up the Docker image.

Running the bootstrap command returns an error.

./launcher bootstrap app

RuntimeError: cd /var/www/discourse && su discourse -c 'bundle exec rake assets:precompile' failed with return #
Location of failure: /pups/lib/pups/exec_command.rb:105:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"bundle_exec", "cmd"=>["su discourse -c 'bundle install --deployment --verbose --without test --without development'", "su discourse -c 'bundle exec rake db:migrate'", "su discourse -c 'bundle exec rake assets:precompile'"]}
d72b5a13500f316185d2c4a698851bff941ecc701453f476e47e542b734fa75f
FAILED TO BOOTSTRAP

I did exactly what the article suggests, and I haven't skipped any steps. What would you advise?

Posts: 4

Participants: 3

Read full topic

[edit] Redis connection issue

$
0
0

@henick wrote:

Hi, I am having a redis connection issue. I had discourse fully configured and running for about 30m and when making changes (adding users and giving them moderator) in the admin panel, I suddenly began getting 404s.

In the log, I see all 200s then 404s... about the same time in the production.log I see the server complaining about being unable to connect to redis.

> Error connecting to Redis on localhost:6379 (Errno::ECONNREFUSED) subscribe failed, reconnecting in 1 second. Call stack ["/home/discourse/.rvm/gems/ruby-2.0.0-p643/gems/redis-3.2.1/lib/redis/client.rb:331:in `rescue in establish_connection'", "/home/discourse/.rvm/gems/ruby-2.0.0-p643/gems/redis-3.2.1/lib/redis/client.rb:317:in `establish_connection'", "/home/discourse/.rvm/gems/ruby-2.0.0-p643/gems/redis-3.2.1/lib/redis/client.rb:94:in `block in connect'", "/home/discourse/.rvm/gems/ruby-2.0.0-p643/gems/redis-3.2.1/lib/redis/client.rb:279:in `with_reconnect'", "/home/discourse/.rvm/gems/ruby-2.0.0-p643/gems/redis-3.2.1/lib/redis/client.rb:93:in `connect'", "/home/discourse/.rvm/gems/ruby-2.0.0-p643/gems/redis-3.2.1/lib/redis/client.rb:350:in `ensure_connected'", "/home/discourse/.rvm/gems/ruby-2.0.0-p643/gems/redis-3.2.1/lib/redis/client.rb:207:in `block in process'", "/home/discourse/.rvm/gems/ruby-2.0.0-p643/gems/redis-3.2.1/lib/redis/client.rb:292:in `logging'", "/home/discourse/.rvm/gems/ruby-2.0.0-p643/gems/redis-3.2.1/lib/redis/client.rb:206:in `process'", "/home/discourse/.rvm/gems/ruby-2.0.0-p643/gems/redis-3.2.1/lib/redis/client.rb:112:in `call'", "/home/discourse/.rvm/gems/ruby-2.0.0-p643/gems/redis-3.2.1/lib/redis.rb:789:in `block in get'", "/home/discourse/.rvm/gems/ruby-2.0.0-p643/gems/redis-3.2.1/lib/redis.rb:37:in `block in synchronize'", "/home/discourse/.rvm/rubies/ruby-2.0.0-p643/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'", "/home/discourse/.rvm/gems/ruby-2.0.0-p643/gems/redis-3.2.1/lib/redis.rb:37:in `synchronize'", "/home/discourse/.rvm/gems/ruby-2.0.0-p643/gems/redis-3.2.1/lib/redis.rb:788:in `get'", "/home/discourse/.rvm/gems/ruby-2.0.0-p643/gems/message_bus-1.0.10/lib/message_bus/reliable_pub_sub.rb:241:in `process_global_backlog'", "/home/discourse/.rvm/gems/ruby-2.0.0-p643/gems/message_bus-1.0.10/lib/message_bus/reliable_pub_sub.rb:276:in `block in global_subscribe'", "/home/discourse/.rvm/gems/ruby-2.0.0-p643/gems/message_bus-1.0.10/lib/message_bus/reliable_pub_sub.rb:290:in `call'", "/home/discourse/.rvm/gems/ruby-2.0.0-p643/gems/message_bus-1.0.10/lib/message_bus/reliable_pub_sub.rb:290:in `global_subscribe'", "/home/discourse/.rvm/gems/ruby-2.0.0-p643/gems/message_bus-1.0.10/lib/message_bus.rb:375:in `global_subscribe_thread'", "/home/discourse/.rvm/gems/ruby-2.0.0-p643/gems/message_bus-1.0.10/lib/message_bus.rb:367:in `block in new_subscriber_thread'"]

When looking in /var/log/redis/redis.log I can see the redis server is fully functional, has 18 active connections confirmed with lsof to be coming from discourse user. I am also able to telnet to the redis port and get a connection. There is nothing else in any log I can find that may indicate an issue. all processes seem to be running as expected.

The logs above give very little to follow here... Any help is always appreciated. Even an idea how to proceed with a troubleshoot would be great.

[2nd edit]
i also get a proper return from redis-cli ping command PONG. confirms redis is working to me...

Thanks,
Ray

Posts: 5

Participants: 2

Read full topic

Setting up sub-domain in cPanel

$
0
0

@Erik_Manger wrote:

Hi,

I have a dedicated server from Namecheap and am trying to pair the forum.domain.com within cPanel.

How would I do this through DNS editor? I have a Digital Hosting plan hosting the forum itself.

Posts: 4

Participants: 2

Read full topic


Redundant Discourse Hosting on AWS

$
0
0

@bboyle1234 wrote:

I initially intended to host my forum in a way that is protected against server hardware failure by having it hosted in AWS in the following way:

RDS for PostGres,
Elasticache for Redis,
S3 for user uploads
2 docker installations in different data centers
Load balancer

With S3 support deprecated, how can I achieve hardware failure-proof hosting now?

Posts: 3

Participants: 2

Read full topic

Default File Upload Types

$
0
0

@strager wrote:

So it came to my attention today that by default (or at least here on Meta) there are a few major file types missing from the upload option. It would be great if the default (and Meta) allowed users to upload file types such as Word Docs, Excel Sheets, PDFs, etc. as these are the most likely files users would want to upload.

Below are the options on our own instance which I am fairly confident have not been changed - this is extremely restrictive.

Posts: 1

Participants: 1

Read full topic

/users.json is return 500 error

HTML Horizontal rules prevent successful oneboxing

$
0
0

@RaceProUK wrote:

There's some really odd behaviours with horizontal rules and oneboxing; I'm going to list a few examples:

<hr/>
http://sonic.wikia.com/wiki/Amy_Rose

Some text
<hr>
http://sonic.wikia.com/wiki/Amy_Rose

These result in errors, yet work in the preview:

<hr>
http://sonic.wikia.com/wiki/Amy_Rose

This stops the onebox working, both in preview and cooked:



http://sonic.wikia.com/wiki/Amy_Rose

However, Markdown-type hrs work:


Posts: 1

Participants: 1

Read full topic

Removal of navigation drop shadow?

$
0
0

@Erik_Manger wrote:

Hi,

Is it possible to remove the drop shadow of the navigation bar easily? I have a parent theme that matches perfectly without the drop shadow.

Thanks in advance!

Posts: 5

Participants: 2

Read full topic

Uploading background image for latest page

Image preview while posting through mobile?

$
0
0

@Fabio_Boscolo wrote:

it would be great to have the image preview while posting from smartphone or maybe a switch to toggle between image preview and link-code.

do Tou think this would be a nice feature?

Posts: 4

Participants: 3

Read full topic


Resizing of header navigation

Showing rules when posting to specific categories

$
0
0

@limeblast wrote:

Our community has a Jobs category which has a set of specific rules which needs to be followed by anyone posting to it. These rules are currently held in a pinned topic within the Jobs category, but because our main page uses the Latest view, it's rarely seen.

With all of this in mind, I was hoping there might be an easy way for the aforementioned rules to display in the browser any time someone tried to create a new topic in this Category.

I figured the trigger for this could be the category selected when making a new post, with the rules appearing in a modal if the Jobs category is selected.

Does this sound like something that's possible? Or maybe you have another idea that would achieve the same aim.

Thank you.

Posts: 2

Participants: 2

Read full topic

SSO login suddenly broke

$
0
0

@Himanshu_Chhangani wrote:

When I try to login into my discourse setup using SSO, i get the following error : -
Error updating information, contact site admin discourse

This is what I am getting in error logs,

Job exception: undefined method `length' for nil:NilClass

What could have possibly caused this ?
am on v1.3.0.beta6 +223

Posts: 9

Participants: 5

Read full topic

Did someone migrate a Woltlab forum to Discourse?

$
0
0

@uwe_keim wrote:

Having a larger Woltlab Burning Board 4 forum (WBB for short), I am thinking about migrating it some day in the future to Discourse.

Since I virtually found zero (meaningful) hits on Google about a migration from WBB to Discourse, I wonder whether someone already did it in the past and either failed or succeeded.

Anyone?

Posts: 3

Participants: 2

Read full topic

Structured data error

Viewing all 60739 articles
Browse latest View live




Latest Images