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

Docker images for Discourse

$
0
0

srid wrote:

Continuing the discussion from The Discourse Servers:

Hi everyone,

I am now successfully running a Discourse site using Docker. All the five processes involved -- redis, postgresql, rails, sidekiq and nginx -- are run as separate containers by docker. Anybody with a Ubuntu 13.04 VM right now can give this a try; should only require a few minutes.

https://github.com/srid/discourse-docker

Please let me know your feedback. In future, we should be able to use an orchestration layer like CoreOS to make the install process even easier.

Posts: 21

Participants: 9

Read full topic


Rake aborted error while setting up Discourse

$
0
0

Liping Yin wrote:

Command:

$ rake db:migrate

**Output:*

yinlipingmatoMacBook-Pro:discourse yinliping$ rake db:migrate
rake aborted!
Timed out connecting to Redis on localhost:6379
/Users/yinliping/.rvm/gems/ruby-2.0.0-p353/gems/redis-3.0.6/lib/redis/client.rb:276:in `rescue in establish_connection'
/Users/yinliping/.rvm/gems/ruby-2.0.0-p353/gems/redis-3.0.6/lib/redis/client.rb:273:in `establish_connection'
/Users/yinliping/.rvm/gems/ruby-2.0.0-p353/gems/redis-3.0.6/lib/redis/client.rb:69:in `connect'
/Users/yinliping/.rvm/gems/ruby-2.0.0-p353/gems/redis-3.0.6/lib/redis/client.rb:292:in `ensure_connected'
/Users/yinliping/.rvm/gems/ruby-2.0.0-p353/gems/redis-3.0.6/lib/redis/client.rb:179:in `block in process'
/Users/yinliping/.rvm/gems/ruby-2.0.0-p353/gems/redis-3.0.6/lib/redis/client.rb:258:in `logging'
/Users/yinliping/.rvm/gems/ruby-2.0.0-p353/gems/redis-3.0.6/lib/redis/client.rb:178:in `process'
/Users/yinliping/.rvm/gems/ruby-2.0.0-p353/gems/redis-3.0.6/lib/redis/client.rb:84:in `call'
/Users/yinliping/.rvm/gems/ruby-2.0.0-p353/gems/redis-3.0.6/lib/redis.rb:415:in `block in del'
/Users/yinliping/.rvm/gems/ruby-2.0.0-p353/gems/redis-3.0.6/lib/redis.rb:36:in `block in synchronize'
/Users/yinliping/.rvm/gems/ruby-2.0.0-p353/gems/redis-3.0.6/lib/redis.rb:36:in `synchronize'
/Users/yinliping/.rvm/gems/ruby-2.0.0-p353/gems/redis-3.0.6/lib/redis.rb:414:in `del'
/Users/yinliping/.rvm/gems/ruby-2.0.0-p353/gems/redis-activesupport-4.0.0/lib/active_support/cache/redis_store.rb:183:in `delete_entry'
/Users/yinliping/.rvm/gems/ruby-2.0.0-p353/gems/activesupport-4.0.2/lib/active_support/cache.rb:372:in `block in delete'
/Users/yinliping/.rvm/gems/ruby-2.0.0-p353/gems/activesupport-4.0.2/lib/active_support/cache.rb:519:in `instrument'
/Users/yinliping/.rvm/gems/ruby-2.0.0-p353/gems/activesupport-4.0.2/lib/active_support/cache.rb:371:in `delete'
/Users/yinliping/workspace/discourse/lib/site_setting_extension.rb:138:in `block in refresh!'
/Users/yinliping/workspace/discourse/lib/site_setting_extension.rb:117:in `synchronize'
/Users/yinliping/workspace/discourse/lib/site_setting_extension.rb:117:in `refresh!'
/Users/yinliping/workspace/discourse/config/initializers/05-site_settings.rb:3:in `block in <top (required)>'
/Users/yinliping/workspace/discourse/vendor/gems/rails_multisite/lib/rails_multisite/connection_management.rb:45:in `block in each_connection'
/Users/yinliping/workspace/discourse/vendor/gems/rails_multisite/lib/rails_multisite/connection_management.rb:43:in `each'
/Users/yinliping/workspace/discourse/vendor/gems/rails_multisite/lib/rails_multisite/connection_management.rb:43:in `each_connection'
/Users/yinliping/workspace/discourse/config/initializers/05-site_settings.rb:1:in `<top (required)>'
/Users/yinliping/.rvm/gems/ruby-2.0.0-p353/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:223:in `load'
/Users/yinliping/.rvm/gems/ruby-2.0.0-p353/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:223:in `block in load'
/Users/yinliping/.rvm/gems/ruby-2.0.0-p353/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:214:in `load_dependency'
/Users/yinliping/.rvm/gems/ruby-2.0.0-p353/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:223:in `load'
/Users/yinliping/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.2/lib/rails/engine.rb:609:in `block (2 levels) in <class:Engine>'
/Users/yinliping/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.2/lib/rails/engine.rb:608:in `each'
/Users/yinliping/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.2/lib/rails/engine.rb:608:in `block in <class:Engine>'
/Users/yinliping/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.2/lib/rails/initializable.rb:30:in `instance_exec'
/Users/yinliping/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.2/lib/rails/initializable.rb:30:in `run'
/Users/yinliping/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.2/lib/rails/initializable.rb:55:in `block in run_initializers'
/Users/yinliping/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.2/lib/rails/initializable.rb:44:in `each'
/Users/yinliping/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.2/lib/rails/initializable.rb:44:in `tsort_each_child'
/Users/yinliping/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.2/lib/rails/initializable.rb:54:in `run_initializers'
/Users/yinliping/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.2/lib/rails/application.rb:215:in `initialize!'
/Users/yinliping/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.2/lib/rails/railtie/configurable.rb:30:in `method_missing'
/Users/yinliping/workspace/discourse/config/environment.rb:5:in `<top (required)>'
/Users/yinliping/.rvm/gems/ruby-2.0.0-p353/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:229:in `require'
/Users/yinliping/.rvm/gems/ruby-2.0.0-p353/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:229:in `block in require'
/Users/yinliping/.rvm/gems/ruby-2.0.0-p353/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:214:in `load_dependency'
/Users/yinliping/.rvm/gems/ruby-2.0.0-p353/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:229:in `require'
/Users/yinliping/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.2/lib/rails/application.rb:189:in `require_environment!'
/Users/yinliping/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.2/lib/rails/application.rb:250:in `block in run_tasks_blocks'
Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)
yinlipingmatoMacBook-Pro:discourse yinliping$

thanks!

Posts: 5

Participants: 2

Read full topic

Can I assign an icon or change the color of a specific group?

$
0
0

Kenneth Lowrey wrote:

I have coaches that I want to highlight. I have already assigned titles and titles are good, but I want more...

Is there a way to assign a color or an icon to a coach so that these coaches stand out?

Thanks

Posts: 8

Participants: 4

Read full topic

Twitter Sign-up Bug

$
0
0

Nick Caldwell wrote:

Couldn't find a similar error, so here goes.

Steps:

  1. set up Twitter secret etc etc
  2. test by clicking sign-up button
  3. click "with Twitter"
  4. round-trip to Twitter OAuth
  5. Check Name/Email/Username on return
  6. Submit
  7. Huh?

So, yeah.

Addendum: running latest code on a DigitalOcean box using Sam's Docker image. Haven't checked logs yet, but willing to accept hints on which logs to look for.

Posts: 18

Participants: 4

Read full topic

Create Account dialog has an ambiguous layout

$
0
0

Ben Lubar wrote:

It's hard to tell at first glance whether the descriptions go with the input above or below them. Also, the first description references the third description but calls it "name", which is the label of the first input, not the third.

Posts: 15

Participants: 7

Read full topic

Is there any topic preview plugins or feature plan?

RSS support for categories/topics?

$
0
0

Simon wrote:

As there already is some discussion about NNTP support?, what about RSS feeds for categories or single topics? As far as I know it is currently not supported.

It would be nice to subscribe to some category, especially when categories are used like here on meta. So for example a dev could subscribe to the "bug" category and can use his/her own reader to get notified of any activity.

It could also be used to integrate forum discussions into other websites without needing a special Discourse integration "plugin" in the CMS/Blog/whatever (most platforms have an RSS plugin already available).

Posts: 70

Participants: 26

Read full topic

How to update my site after all sample files are removed?

$
0
0

raly wrote:

Today I did a update to my site as usual, but I failed in migrating and recompiling. After looking it up here, I realized it was because all the sample config files were removed, thus all my custom config files were gone.

I wonder how to update my site from now on? If I modify the config files, will they be gone after the next update? Thanks.

Posts: 5

Participants: 2

Read full topic


CAS sso auth plugin

$
0
0

eriko wrote:

Here you go @sam
https://github.com/eriko/cas_sso

This is a first pass at replacing the current implementation that is built into the core. It is not perfect as I will explain.

Good things

  • It uses the extra attributes that a CAS server can optionally supply.
  • The names of the attributes are configurable.
  • The attributes that it currently attempts to get are email address and (display) name.

Annoying things

  • After logging in for the first time you still need to hit login when you first create your account
  • If you set must_approve_users to false they will be left on the /login page but logged it. They should be redirected to the front page / .

Posts: 36

Participants: 5

Read full topic

Category featured topic error keeps getting hit when trying to o an import

$
0
0

Matthew Albone wrote:

Hello, I'm working on an NNTP -> Discourse importer and I keep encountering a strange error message.

The error is:

ActiveRecord::RecordNotUnique: PG::Error: ERROR: duplicate key value violates unique constraint "cat_featured_threads"
DETAIL: Key (category_id, topic_id)=(90, 2893) already exists.

As i understand it, the featured topics for each category are the ones that appear under that category when it's viewed. I've looked into the database and I can see that the 'category_featured_topic' table only contains category id, topic id, creation/update dates and a ranking. Bearing in mind that the importer is creating a new post from each of the NNTP entries, it seemed impossible that it would give any two posts the same ID, and therefore it shouldn't be conflicting in this table.

Saying this, I have noticed that this error tends to occur when the topic title is similar to that of one that has already been given this 'featured' status. I can understand that topic title's being too similar can cause conflict, but when the 'category_featured_topics' table only relies on IDs, it doesn't seem so obvious as to wh this is happening.

Any light you can shed would be appeciated.

Matt

Posts: 3

Participants: 3

Read full topic

Plugin to make signup modal pop up at a route

$
0
0

will wrote:

So I'm trying to figure out how to make the signup modal pop up if I use a special url.

I.e. discouse.example.com/#signup

but I'm having trouble wrapping my head around Discourse's Ember implementation.

I tried doing something like

Discourse.showCreateAccount();

or

Discourse.CreateAccountView.open()

on the js console but no dice.

Any ideas?

Posts: 3

Participants: 3

Read full topic

Environment variables

$
0
0

Pablo Corral wrote:

Hi all,

I understand now that we use a lot of environment variables, is there a place to know the whole list?

Tks!
Pablo

Posts: 1

Participants: 1

Read full topic

Some onebox images broken?

Error uploading files (max attachment size)

$
0
0

David García-Navas wrote:

We have edited the max_attachment_size_kb on admin dashboard to 13024 kB. In addition, we have configured the limit in nginx (client_max_body_size) and the same in apache.
But when we try to upload a file, if that file is bigger than 2 MB, the system doesn't complete the upload. The progress in percentage stops at certain number and restarts.

After two tries, it shows this error: Sorry, there was an error uploading that file. Please try again.

Any idea to solve this problem?

Posts: 2

Participants: 2

Read full topic

Un-clearable private message notifications

$
0
0

illspirit wrote:

A user on my forum pointed out a possible bug with group pms.

So, the private message that Person A started about the *****. I have 2 new notifications for it One from Person B. the next from @illspirit but I cant clear them. It says I don't have access to the topic. And because of that I can't clear it.

I removed this user from a group private message and he could not clear his notifications.

Posts: 2

Participants: 2

Read full topic


Undoing a custom-reason flag

$
0
0

Kane York wrote:




Why is there no undo for the custom-reason flags? (For the record, I got these screenshots on Try.)

I ask because I just accidentally did one for mistaken reasons over at BBS.

It makes sense to not be able to undo the "Send a PM" flag, but that's because I can go into the PM and say "Whoops! I'm sorry, that's wrong, I didn't mean to do that.", but I can't for the flag for moderation reason.

Posts: 4

Participants: 2

Read full topic

Disable "create account" screen for CAS logins

$
0
0

Aaron Parecki wrote:

I love the CAS login feature, which allowed me to quickly tie Discourse logins into an existing site.

The forum I'm setting up is for an existing community who already has logins on a site. When a user new to the Discourse install visits the site and clicks "Log In" they authenticate with CAS. Then they see this "Create Account" screen on Discourse: http://farm3.staticflickr.com/2810/11278133123_2f55c48bae_o.png

The experience would be better for these users if they did not see this screen, and instead their forum account was silently created behind the scenes. They shouldn't need to have the concept of a separate forum account in this case.

I would like to see a config option that prevents the create account screen from appearing.

Posts: 4

Participants: 4

Read full topic

Avatars taking long time to load / unexpected large images

$
0
0

Dean Taylor wrote:

Steps to Reproduce

  1. Load http://meta.discourse.org/ main page
  2. Notice that some of the avatars take a long time to load

Expected

Avatars to load pretty quickly within 3 seconds on 20Mbps connection.
Avatar files to be 25x25 pixel images when downloaded.

Actual

Some avatars loading over 2-8 second period, slowing drawing from top to bottom.
Some avatars are a lot larger than 25x25 pixels
Specific example for user http://meta.discourse.org/users/lvnick - a 500x500 pixel image is loaded

Posts: 2

Participants: 2

Read full topic

Another markdown parser error, this time with [link]

$
0
0

Kane York wrote:

[[Article](http://boingboing.net/2013/12/18/moon.html)] [[Forum](http://bbs.boingboing.net/t/the-moon-is-terrifying-and-thats-why-i-love-it/16969/)]

Intended result (using HTML):
[Article] [Forum]

Actual:
[[Article](http://boingboing.net/2013/12/18/moon.html)] [[Forum](http://bbs.boingboing.net/t/the-moon-is-terrifying-and-thats-why-i-love-it/16969/)]

Adding another [, it works:
[Article] [[Forum]

Posts: 5

Participants: 4

Read full topic

How to delete a user?

$
0
0

Nowindlee wrote:

How to delete a user completely? There are some testing users who registered, and I want to remove them.

Posts: 25

Participants: 16

Read full topic

Viewing all 60642 articles
Browse latest View live




Latest Images