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

Preview for looped video from Coub.com


Failed to bootstrap on AWS

0
0

@dnhynh wrote:

I'm trying to launch discourse on AWS but it's failing to bootstrap every time. I'm following this guide:

https://blog.nahtnam.com/how-to-setup-discourse-on-amazon-aws/

this is my app.yml configuration:

params:
  ## Which Git revision should this container use? (default: tests-passed)
  version: tests-passed

env:
  LANG: en_US.UTF-8
  ## TODO: How many concurrent web requests are supported?
  ## With 2GB we recommend 3-4 workers, with 1GB only 2
  UNICORN_WORKERS: 2

  ## TODO: configure connectivity to the databases
  DISCOURSE_DB_SOCKET: ''
  DISCOURSE_DB_USERNAME: [aws-username]
  DISCOURSE_DB_PASSWORD: [aws-db-password]
  DISCOURSE_DB_HOST: [aws-db-endpoint]
  ##
  ## TODO: List of comma delimited emails that will be made admin and developer
  ## on initial signup example 'user1@example.com,user2@example.com'
  DISCOURSE_DEVELOPER_EMAILS: [my-email]
  ##
  ## TODO: The domain name this Discourse instance will respond to
  DISCOURSE_DB_POOL: 15
  DISCOURSE_DB_NAME: discourse
  DISCOURSE_HOSTNAME: '54.148.48.60'  ##using ip address
  DISCOURSE_REDIS_HOST: [aws-elasticache-endpoint]
  ##
  ## TODO: The mailserver this Discourse instance will use
  DISCOURSE_SMTP_ADDRESS: smtp.mandrillapp.com         # (mandatory)
  DISCOURSE_SMTP_PORT: 587                        # (optional)
  DISCOURSE_SMTP_USER_NAME: [my-mandrill-username]      # (optional)
  DISCOURSE_SMTP_PASSWORD: [mandrill-password]               # (optional)
  ##
  ## The CDN address for this Discourse instance (configured to pull)
  #DISCOURSE_CDN_URL: //discourse-cdn.example.com

When I bootstrap I get this error

RuntimeError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 333 exit 1>
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'"]}

I also get this error earlier on but I did some research and it seems that it is merely cosmetic and unrelated to the issue I'm having:

Failed to report error: Name or service not known 3 PG::UndefinedTable: ERROR:  relation "users" does not exist
LINE 5:                WHERE a.attrelid = '"users"'::regclass

Posts: 1

Participants: 1

Read full topic

When Jobs::UserEmail fail the email that failed is not logged

0
0

@meglio wrote:

Just a fresh Discourse install and logs show a lof of this:

Job exception: Wrapped SocketError: getaddrinfo: Name or service not known

How would I fix it?

Posts: 4

Participants: 2

Read full topic

On-site backup frequency setting

0
0

@meglio wrote:

For the smallest DigitalOcean instance, backups are eating quite a lot - with 7 days backup, I give up 50% of the space just for backups.

Yet I'd still like to have old backups.

The proposition is to make backup frequency configurable. I'd set it to once every 2 days (instead of once every day by default) and save another few GBs - this would free more space for uploads and save me from upgrading my DO instance for another 3-5 months, so literally it would save some $$$.

Posts: 1

Participants: 1

Read full topic

Stream of all latest replies: Would it be useful?

0
0

@jspautsch wrote:

I run a fairly small Discourse community and I love it, great features for keeping tabs on conversations you're interested in and discovering new content.

Something I've found myself wanting, however, is a better way of reading up on all the latest replies across a myriad of topics. As someone who's active and invested in the community, I find myself wanting to check out most every reply, erring on the side of "this could be interesting" instead of not. Problem is, this involves a lot of clicking in and out of multiple threads, many times just to view a single reply that I then quickly scan and determine whether or not it's interesting to me. Or, I have a strong interest in a specific category, and want to read up on anything posted in that category.

One idea I had to solve this was to somehow display a list of ALL the latest replies to ANY thread, either across multiple categories or in a single category, and then of course the list would live-update and allow you to reply directly from that page. Like a continuous "stream of consciousness" that I can read and reply to without having to click through different topics repeatedly.

Just going off the basic concept, what are your guys thoughts on a feature like this? Does it sound useful, or is it impractical? Does it actually solve a user need? Would more than a handful of people actually use it? What kind of community would be interested in something like this? Is it within the scope of Discourse?

If it would be useful, how would it be implemented? Would it an optional feature admins could enable? A plugin? Would it be placed in the top bar, e.g. next to "latest", and take you to a new page, or a sidebar like in Facebook that's always on and filters to the category you're currently viewing?

I can throw together some mockups if people need more of a visual idea of what I'm talking about.

Posts: 7

Participants: 4

Read full topic

Liking and fast clicking on "Likes" has no effect

0
0

@uwe_keim wrote:

When I click the heart to like a post, it likes the post, as expected.

When I then immediately click the "n Likes" button, it flashes the button as if it was pressed, but it does not expand the list of likers

I have to wait for about a second and then click the "n Likes" button again.

Now it works correctly and opens the list of likers.

Posts: 3

Participants: 2

Read full topic

Proposal to remove /c and /t prefixes from URLs

0
0

@meglio wrote:

Categories

The number of categories is always limited in contrary to the number of topics.
Why not to put category name one level upper in the URL?

So, instead of /c/name we would have /name. I realize using the c prefix was intentional. But why? Would like to find out more about the reasoning behind this decision.

Topics

If the topic URL structure is always the same, and there are no other system pages that look like /something/<id>, why do we need the /t prefix for topics at all?

Existing top-level names

We have just a few top-level names like /admin and /logs, but would not it make sense to prefix them instead? With a dash or an underscrore or whatever:

/x/logs
/_/logs
/-/logs

The idea is just to make URLs even a bit shorter. I'm not sure I understand why do we need /t and /c in them. If you know why it is so, please share you knowledge.

Posts: 17

Participants: 9

Read full topic

Pinning / tracking buttons - make their width the same

0
0

@meglio wrote:

Just a small UX adjustments proposal - make the following 2 buttons be of the same width regardless of what option is selected. It would add to the great outlook by aligning both buttons and the texts that come next to them.

Posts: 2

Participants: 2

Read full topic


Some common badge queries idea

0
0

@techAPJ wrote:

Here are some common badge queries which you can use to create your own awesome badge!

  • Grant a badge if user has created at least one topic in the "foo" category

SELECT p.user_id, min(p.created_at) granted_at, MIN(p.id) post_id
FROM badge_posts p
JOIN topics t ON t.id = p.topic_id
WHERE category_id = (
  SELECT id FROM categories WHERE name ilike 'foo'
) AND p.post_number = 1
GROUP BY p.user_id
  • Grant a badge if user has created 5 topics in the "foo" category

SELECT p.user_id, min(p.created_at) granted_at, MIN(p.id) post_id
FROM badge_posts p
JOIN topics t ON t.id = p.topic_id
WHERE category_id = (
  SELECT id FROM categories WHERE name ilike 'foo'
) AND p.post_number = 1
GROUP BY p.user_id
HAVING count(*) > 4
  • Grant a badge if user has replied to at least one topic

SELECT
DISTINCT ON (p.user_id)
p.user_id, min(p.created_at) granted_at, MIN(p.id) post_id
FROM badge_posts p
JOIN topics t ON t.id = p.topic_id
GROUP BY p.user_id
  • Grant a badge if user has replied to 10 topics

SELECT
DISTINCT ON (p.user_id)
p.user_id, min(p.created_at) granted_at, MIN(p.id) post_id
FROM badge_posts p
JOIN topics t ON t.id = p.topic_id
GROUP BY p.user_id
HAVING count(*) > 9
  • Grant a badge if user has created 500 posts

SELECT user_id, 0 post_id, current_timestamp granted_at
FROM badge_posts
WHERE (:backfill OR user_id IN (:user_ids) OR 0 NOT IN (:post_ids) )
GROUP BY user_id
HAVING count(*) > 499
  • Grant a badge to all the members of the group "foobar"

SELECT user_id, created_at granted_at, NULL post_id
FROM group_users
WHERE group_id = (
  SELECT g.id FROM groups g WHERE g.name = 'foobar'
)

I have wiki'd this post, so feel free to add more awesome badge queries here!

Posts: 4

Participants: 4

Read full topic

How does "custom incoming email" work?

0
0

@meglio wrote:

I have a few questions regarding this feature.

Q1. I cannot set "email in trust" to 0, even though the value is there in the drop-down list. My intention is to allow for unregistered users to email to "support@..." and have it posted to a "support" category in Discourse, but appear there only after review. Is such a setup possible?

Q2. How does "email in min trust" work in conjunction with the per-category "Accept emails from anonymous users with no accounts" checkbox?

Q3. I'm not sure what type of emails should go to the "Custom incoming email address" per-category setting.

Posts: 4

Participants: 2

Read full topic

Cancelling "Edit Category" screen changes "Following" status

"Migrated from site text" empty customization in a fresh new installation

Duplicate customization created without me doing it

Failed to bootstrap on DO/Docker Fresh install

0
0

@cyborg wrote:

I've just started a new server following DO instructions step by step and once did "./launcher bootstrap app" I got the following

./launcher bootstrap app
cd /pups && git pull && /pups/bin/pups --stdin
Already up-to-date.
I, [2015-08-07T08:28:55.099744 #36]  INFO -- : Loading --stdin
/pups/lib/pups/cli.rb:15:in `split': invalid byte sequence in US-ASCII (ArgumentError)
	from /pups/lib/pups/cli.rb:15:in `run'
	from /pups/bin/pups:8:in `<main>'
0863bc0343acd6434412d672772acd2b69b6b565fce7aa9848fd12fc83a554ae
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one

Any hint on why and how to solve it?

Posts: 16

Participants: 4

Read full topic

When editing a post by @system, it showed up as a reply instead

0
0

@Webinsane wrote:

If I reply to my own topic there is no option to delete this reply?

I tried as admin/moderator and still no options to delete it.

Posts: 7

Participants: 4

Read full topic


Choice of Games and Discourse

Embedding Discourse in static sites does not work: Discourse Posts are not generated for blog entries

0
0

@Flow wrote:

I've switched to a docker based discourse installation and can't get the embedding to work. It has worked fine with the old installation following http://eviltrout.com/2014/01/22/embedding-discourse.html.

I did not change anything on the blog, where the discourse posts should be embedded for comments. I set

  • embeddable hosts
  • feed polling enabled
  • feed polling url
  • embed by username
  • embed category

But discourse just doesn't create the posts for the blog entries. The feed URL is correct. The logs and error logs are empty.

How can I diagnose the issue? Is there a way to forcefully re-trigger the blog post creation or something like that?

Posts: 6

Participants: 3

Read full topic

Isn't FAQ misleading?

Images paths are wrong in the welcome message

Limit categories appearing in main categories view

0
0

@eufunium wrote:

I'm working on a project in in which there will be a ton of categories, but I only want categories that users follow to show up in categories/latest view for them, while maintaining the ability of the users to view those categories when linked directly.

ie. User gets cat 1 and cat 2 in their latest/categories, but can only see cat 3 if they follow a direct link. User 2 sees cat 2, but can only see cat 1 and cat 3 if they follow a direct link. etc

The way I see it, I need to either modify the existing subscribe ability, or add a new one, and then modify the categories/latest

Just looking for general advice for the best approach to this problem via a plugin or dirty hacky antics before I dive in.

Thanks friends

Posts: 6

Participants: 2

Read full topic

Viewing all 60279 articles
Browse latest View live




Latest Images