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

Verification Email function failed

$
0
0

@DanielWang1 wrote:

Dear discourse team,

We are admin of a forum based on discourse(https://forum.ufactory.cc/). We encounter a problem, our cx failed to get the verification Email from Dec26th, 2017, the Email widget was provided by Mailgun. We would like to seek advise from you to solve this issue.
image

Posts: 1

Participants: 1

Read full topic


Report new slow query

$
0
0

@SimonWu wrote:

Hi,

I found a slow query during the test.

SELECT COUNT(topics.id) AS count_topics_id, tags.id, tags.name AS tags_id_tags_name FROM "tags" LEFT JOIN topic_tags ON tags.id = topic_tags.tag_id LEFT JOIN topics ON topics.id = topic_tags.topic_id AND topics.deleted_at IS NULL WHERE (topics.category_id in (3,5,12,11,9,6,8,1,7,10,2,4)) GROUP BY tags.id, tags.name ORDER BY count_topics_id DESC LIMIT 30

This query will be effective by enabling Show a dropdown a filter a topic list by tag. and disabling Show tags in alphabetical order. Configuration as below:
image

And the table topic_tags has more than 3 million records. The query will run 4 seconds.

Regards,

Posts: 1

Participants: 1

Read full topic

Docker error for image 'discourse/base'

Mobile homepage organized by categories doesn't respect "Suppress this category from the homepage"

$
0
0

@quimgil wrote:

Topics from categories set as “Suppress this category from the homepage” are shown in the mobile homepage when it is set to display categories. The expected behavior is not to show these posts.

For reference,

  • desktop homepage organized by categories behaves as expected, not showing these posts
  • mobile homepage organized by latest also behaves as expected, not showing these posts.

PS: somehow related Supressing a subcategory doesn't hide featured topics from homepage & Setting to include excluded categories in homepage on mobile

Posts: 1

Participants: 1

Read full topic

Backup only Site Settings

$
0
0

@Vaishak_Kallore wrote:

I would like to know the possibility of backing up Only Site Settings, just as opposite of what was asked here

The purpose is to replicate forums for different clients. If I can replicate settings, its easy to proceed with different categories, topics & users.

Please advise.

PS: I couldn’t understand by reading this

Posts: 5

Participants: 4

Read full topic

Problem with category style = box under firefox

Live Blogging plugin?

Copy marked text in URL format popup

$
0
0

@Matthias_Schuster wrote:

When I choose to add a link on a text, I simply mark the specific text (in Github), press the link button and I get a nice, preformatted syntax, which lets me simply copy in the URL.

In Discourse, a pop-up appears which lets me write the already written text again.

My proposal is: Let the pop-up automatically use the marked text as “displayed text” :slight_smile:

Posts: 1

Participants: 1

Read full topic


How secure is Discourse?

$
0
0

@xiasummer wrote:

I really like this system.

I’d like to build a system to add some of my and my friends‘ important important information into the system. But I’m afraid that our info will be stolen or hacked.

How to protect this system? Or should I just change into another system?

Posts: 5

Participants: 5

Read full topic

Unable to reset email templates

$
0
0

@Ivan_Rapekas wrote:

I edited User quoted, User replied, User posted, User mentioned email templates. I added at the top the following code (logo):

the code is:

<img alt="" src='//discourse-meta.s3-us-west-1.amazonaws.com/original/3X/8/d/8db227648821b4e86ab31057f1546625ef6fd213.png' style="max-width:607px; padding-bottom: 0; display: inline !important; vertical-align: bottom;" class="mcnImage" width="303.5" align="left">

Then I reverted my changes by clicking correspond buttons for each template, then clicked saved.

I expected that new email notification came without logo, but the last changes did not applied - I continue receiving emails with logo.

Tested on 2.0.0 beta1+123.

Posts: 1

Participants: 1

Read full topic

429 too many connections issue

$
0
0

@Pawel_Kosiorek wrote:

Hi!
I started having more and more issues with Error 429, Too many connections. Whole forum hangs. It’s starting when is more than 35 users online.
Server is really strong, 4 cores 2,3Ghz, 15Gb of RAM.
Can you please tell me what need to be tuned or fix for better performance? Nginx, or in yaml?

Discourse is on default installation, using docker.
Version - 2.0.0.beta1

Thanks!

Logs:

run-parts: executing /etc/runit/1.d/00-ensure-links
run-parts: executing /etc/runit/1.d/00-fix-var-logs
run-parts: executing /etc/runit/1.d/anacron
run-parts: executing /etc/runit/1.d/cleanup-pids
Cleaning stale PID files
run-parts: executing /etc/runit/1.d/copy-env
run-parts: executing /etc/runit/1.d/enable-brotli
run-parts: executing /etc/runit/1.d/letsencrypt
[Fri Jan 12 12:24:15 UTC 2018] Domains not changed.
[Fri Jan 12 12:24:15 UTC 2018] Skip, Next renewal time is: Sat Mar 10 00:30:21 UTC 2018
[Fri Jan 12 12:24:15 UTC 2018] Add '--force' to force to renew.
[Fri Jan 12 12:24:15 UTC 2018] Installing key to:/shared/ssl/motomirko.pl.key
[Fri Jan 12 12:24:15 UTC 2018] Installing full chain to:/shared/ssl/motomirko.pl.cer
[Fri Jan 12 12:24:15 UTC 2018] Run reload cmd: sv reload nginx
warning: nginx: unable to open supervise/ok: file does not exist
[Fri Jan 12 12:24:15 UTC 2018] Reload error for :
Started runsvdir, PID is 260
ok: run: redis: (pid 271) 0s
ok: run: postgres: (pid 276) 0s
rsyslogd: command 'KLogPermitNonKernelFacility' is currently not permitted - did you already set it via a RainerScript command (v6+ config)? [v8.16.0 try http://www.rsyslog.com/e/2222 ]
rsyslogd: imklog: cannot open kernel log (/proc/kmsg): Operation not permitted.
rsyslogd: activation of module imklog failed [v8.16.0 try http://www.rsyslog.com/e/2145 ]
rsyslogd: Could not open output pipe '/dev/xconsole':: No such file or directory [v8.16.0 try http://www.rsyslog.com/e/2039 ]
supervisor pid: 268 unicorn pid: 293
Shutting Down
run-parts: executing /etc/runit/3.d/01-nginx
ok: down: nginx: 0s, normally up
run-parts: executing /etc/runit/3.d/02-unicorn
exiting
ok: down: unicorn: 1s, normally up
run-parts: executing /etc/runit/3.d/10-redis
ok: down: redis: 0s, normally up
run-parts: executing /etc/runit/3.d/99-postgres
ok: down: postgres: 0s, normally up
When using programs that use GNU Parallel to process data for publication please cite:

  O. Tange (2011): GNU Parallel - The Command-Line Power Tool,
  ;login: The USENIX Magazine, February 2011:42-47.

This helps funding further development; and it won't cost you a cent.
Or you can get GNU Parallel without this requirement by paying 10000 EUR.

To silence this citation notice run 'parallel --bibtex' once or use '--no-notice'.

ok: down: nginx: 3s, normally up
ok: down: postgres: 0s, normally up
ok: down: redis: 2s, normally up
ok: down: unicorn: 3s, normally up
ok: down: cron: 0s, normally up
ok: down: rsyslog: 1s, normally up
run-parts: executing /etc/runit/1.d/00-ensure-links
run-parts: executing /etc/runit/1.d/00-fix-var-logs
run-parts: executing /etc/runit/1.d/anacron
run-parts: executing /etc/runit/1.d/cleanup-pids
Cleaning stale PID files
run-parts: executing /etc/runit/1.d/copy-env
run-parts: executing /etc/runit/1.d/enable-brotli
run-parts: executing /etc/runit/1.d/letsencrypt
[Fri Jan 12 12:51:45 UTC 2018] Domains not changed.
[Fri Jan 12 12:51:46 UTC 2018] Skip, Next renewal time is: Sat Mar 10 00:30:21 UTC 2018
[Fri Jan 12 12:51:46 UTC 2018] Add '--force' to force to renew.
[Fri Jan 12 12:51:46 UTC 2018] Installing key to:/shared/ssl/motomirko.pl.key
[Fri Jan 12 12:51:46 UTC 2018] Installing full chain to:/shared/ssl/motomirko.pl.cer
[Fri Jan 12 12:51:46 UTC 2018] Run reload cmd: sv reload nginx
fail: nginx: runsv not running
[Fri Jan 12 12:51:46 UTC 2018] Reload error for :
Started runsvdir, PID is 255
rsyslogd: command 'KLogPermitNonKernelFacility' is currently not permitted - did you already set it via a RainerScript command (v6+ config)? [v8.16.0 try http://www.rsyslog.com/e/2222 ]
rsyslogd: imklog: cannot open kernel log (/proc/kmsg): Operation not permitted.
rsyslogd: activation of module imklog failed [v8.16.0 try http://www.rsyslog.com/e/2145 ]
rsyslogd: Could not open output pipe '/dev/xconsole':: No such file or directory [v8.16.0 try http://www.rsyslog.com/e/2039 ]
ok: run: redis: (pid 266) 0s
ok: run: postgres: (pid 272) 0s
supervisor pid: 269 unicorn pid: 294
Reopening logs
Reopening logs
Shutting Down
run-parts: executing /etc/runit/3.d/01-nginx
ok: down: nginx: 0s, normally up
run-parts: executing /etc/runit/3.d/02-unicorn
exiting
ok: down: unicorn: 1s, normally up
run-parts: executing /etc/runit/3.d/10-redis
ok: down: redis: 0s, normally up
run-parts: executing /etc/runit/3.d/99-postgres
ok: down: postgres: 0s, normally up
When using programs that use GNU Parallel to process data for publication please cite:

  O. Tange (2011): GNU Parallel - The Command-Line Power Tool,
  ;login: The USENIX Magazine, February 2011:42-47.

This helps funding further development; and it won't cost you a cent.
Or you can get GNU Parallel without this requirement by paying 10000 EUR.

To silence this citation notice run 'parallel --bibtex' once or use '--no-notice'.

ok: down: nginx: 4s, normally up
ok: down: postgres: 0s, normally up
ok: down: redis: 3s, normally up
ok: down: unicorn: 4s, normally up
ok: down: cron: 0s, normally up
ok: down: rsyslog: 0s, normally up
run-parts: executing /etc/runit/1.d/00-ensure-links
run-parts: executing /etc/runit/1.d/00-fix-var-logs
run-parts: executing /etc/runit/1.d/anacron
run-parts: executing /etc/runit/1.d/cleanup-pids
Cleaning stale PID files
run-parts: executing /etc/runit/1.d/copy-env
run-parts: executing /etc/runit/1.d/enable-brotli
run-parts: executing /etc/runit/1.d/letsencrypt
[Sun Jan 14 20:59:12 UTC 2018] Domains not changed.
[Sun Jan 14 20:59:12 UTC 2018] Skip, Next renewal time is: Sat Mar 10 00:30:21 UTC 2018
[Sun Jan 14 20:59:12 UTC 2018] Add '--force' to force to renew.
[Sun Jan 14 20:59:12 UTC 2018] Installing key to:/shared/ssl/motomirko.pl.key
[Sun Jan 14 20:59:12 UTC 2018] Installing full chain to:/shared/ssl/motomirko.pl.cer
[Sun Jan 14 20:59:12 UTC 2018] Run reload cmd: sv reload nginx
fail: nginx: runsv not running
[Sun Jan 14 20:59:12 UTC 2018] Reload error for :
Started runsvdir, PID is 254
ok: run: redis: (pid 264) 0s
ok: run: postgres: (pid 266) 0s
rsyslogd: command 'KLogPermitNonKernelFacility' is currently not permitted - did you already set it via a RainerScript command (v6+ config)? [v8.16.0 try http://www.rsyslog.com/e/2222 ]
rsyslogd: imklog: cannot open kernel log (/proc/kmsg): Operation not permitted.
rsyslogd: activation of module imklog failed [v8.16.0 try http://www.rsyslog.com/e/2145 ]
rsyslogd: Could not open output pipe '/dev/xconsole':: No such file or directory [v8.16.0 try http://www.rsyslog.com/e/2039 ]
supervisor pid: 269 unicorn pid: 293
Reopening logs
Reopening logs

Posts: 9

Participants: 4

Read full topic

Can't download .php file

$
0
0

@carlokok wrote:

We seem to have gotten an extension with a .php extension (via email, allowed extensions didn’t contain php). And while it doesn’t seem to execute it (thankfully), it returns a 404 instead of the file content. What would be the best solution for this?

Posts: 4

Participants: 2

Read full topic

Words with apostrophes aren't searchable

Contributor Interviews – Matthew Wilkin @cpradio

$
0
0

@erlend_sh wrote:

Every week, we’ll be posting an interview with one of our many beloved contributors here on Meta. Find them all in #user-interviews. This week:

Matthew Wilkin @cpradio

Me and my wife

Of my workplace

Tell us a bit about yourself!

Location: Columbus, OH, USA

I’m an IT Lead Developer for Grange Insurance, headquartered in Columbus, OH. I primarily work in their Commercial Lines department developing C# applications, I lead 90% of the projects deemed “miscellaneous”, which means they are not the flagship product, but are outliers that have significant impact to the business bottom line.

Outside of a work, I’m a father to two kids, a daughter, age 7, and a son, age 5. I can also be found running a sound board at local venues in Columbus as a “hobby”. Sound Engineering is by far my second passion, nothing creates a pick-me-up after a long day of work, like sitting behind a sound board and listening to a band practice or play at an event. I originally started out on a 48 channel analog Allen and Heath, then to the Roland M-400 and M-480 and now am operating a Roland M-5000 Digital Sound Board with a total of 10 M-48 personal mixers out on the stage and an Engineering M-48 at the board.

Lastly, I spend most of my Wednesday nights and Sunday mornings at Cypress Church. I run the sound board (the Roland M-5000) there for their Sunday morning services.

How did you first find out about Discourse?

Through Sitepoint. I’ve been a member at Sitepoint for many years. I joined when in college, took a brief hiatus due to work getting in the way, and then came back after shifting to a new job opportunity that allotted me more freedom in my work week. Sitepoint at the time was running vBulletin 4 and were in the process of figuring out whether to upgrade to vBulletin 5 or go with something else. Sitepoint internally was not a PHP company, but rather a Ruby and Rails development set. As such, Discourse was high on their list of options to switch to and ultimately, it won out.

What are you using Discourse for?

Oh boy, now I feel guilty. I only use it for Sitepoint and Meta. :open_mouth:

How did you get so involved in the Meta community?

It started out as a way to help Sitepoint get converted onto Discourse. Finding bugs with the import, learning the system, re-writing our moderation guides, overall just needing to get a good understanding of the system we were switching to. However, it quickly transformed into a way for me to learn a new language (Ruby), two new frameworks (Ember and Rails), along with new toolkits (Docker, for one).

What compels you to contribute to Discourse?

It is a fun learning opportunity for me. Each time I get into it, I learn a bit more about Ruby, Rails, Ember, you name it. I also am a person who enjoys solving problems, so taking some of the topics found in #bug were a great starter for me to learn the architecture and how Discourse works. After that, several opportunities to revitalized plugins or create new plugins became a clear need for some of the communities running Discourse, so I jumped in where I could.

Tell us about a non-Discourse community that you’re involved in!

Well, almost all of the communities I hang out in, are face-to-face meetups. C# meetups, hanging out with the band members throughout the week (before and after rehearsal), both communities have been great for networking and getting to know other musicians and developers in the Columbus area. Sadly, I haven’t been to many of the C# meetups lately as we moved recently and it has turned the 20-25 minute drive into an hour+ drive. :frowning:

What kind of significance does the open source movement have to you?

I’m a huge fan of open source, but I’m also a fan of, if you utilize it, you should also find a way to contribute to it, as a way of showing thanks. That doesn’t mean you have to be a programmer, but be willing to answer support questions, be a QA and test whether the steps on a bug report, lead to the unexpected outcome defined, help write requirements/specifications for features, documentation, the opportunities are limitless. Open source is about collaboration. It is what makes it work. Don’t be afraid to try new things, learn new things.

What has been the greatest challenge in learning about Discourse and its community?

From a community side, the biggest challenge at the beginning for me was learning the dynamics of the community and its personality. Early on, and still somewhat relevant today, the community can be quite blunt. That isn’t necessarily a negative thing though, as the bluntness is very indicative on a community that knows their software and their process. However, being new and not really a part of the installation and learning the system as an end-user, the bluntness is a bit of a tall challenge as I was coming from it from a different perspective than, someone who had to work with the installation process and maybe touch a part of the settings to get the desired behavior. It wasn’t until I started learning Discourse, learning how it works, how it operates, that I was felt I could communicate well with the community over the problems we were trying to solve.

From a technical side, it was all of the same problems you’d have with any unfamiliar code. Learning Ember, Ruby, and Rails enough to be able to even understand how things fit together was critical. Once I had a foundation, there were still parts that I had to mentally work through or ask someone for an explanation. Then there was learning the pull request (PR) process. None of these are new challenges for a developer. We’ve all had to go through this before. The one thing I will note is that Discourse did a good job of ensuring it had tests for all of its critical code paths. That was extremely helpful for me.

Any ideas on how to improve the Meta community?

We encourage respondents to speak candidly on this topic. Even if no sensitive information was discussed, answers will always be presented in a short list.

  • Remember that all new visitors are potentially in a different walk-in-life when it comes to Discourse and the tooling Discourse utilizes.

  • Whenever we’re repeating ourselves a lot we should look for better ways to put that information in front of newcomers.

Any advice to future contributors?

Look to Meta for inspiration. There is a slew of topics in #feature, #bug, and #marketplace. They all are great places to start. I’d highly recommend starting with topics found in #bug, especially if it has good reproduction steps. It is a great way to learn a specific part of the system.

Posts: 3

Participants: 3

Read full topic

Redirect to original URL after SSO login

$
0
0

@Phil.Dexter wrote:

I believe this is a bug, apologies if it’s not - I’m new here.

We have the exact same issue as this bug report from 3 years ago: Redirect to requested URL after SSO
where when a user clicks on a link to a specific topic but is not logged in: he get’s redirected to the login page and after login in with Google SSO is redirected to the forum’s home page and not back to the original topic.

To reproduce:

  1. enable login required
  2. copy url of a topic
  3. log out
  4. paste url of a topic
  5. log in with Google SSO
  6. you are on the home page

Can it be that this is a regression and it broke again somehow?

Cheers
:phil

Posts: 1

Participants: 1

Read full topic


Alibaba and Microsoft AI beat humans in Stanford reading test (future of Q&A, customer support forums)

$
0
0

@jaevanryssel wrote:

It shouldn’t be to surprising to anybody following the AI scene but recently the AI of Alibaba and Microsoft have beaten humans in a reading test. Note: by a small margin, it scored 82.44 in the exact answer category beating the human score of 82.304.

Sources:
https://www.ft.com/content/8763219a-f9bc-11e7-9b32-d7d59aace167

Still a ways off, but it’s going come sooner than you think that Q&A style websites/forums such as Stack Exchange, Quora) could have an AI component to answer users questions. You should definitely factor this in your business plan if you’re planning to build a forum/q&a website or even maybe a community website.

What are your thoughts on this?

Posts: 2

Participants: 2

Read full topic

Discourse-no-bump: prevent users from bumping topics

$
0
0

@eviltrout wrote:

Here’s a new plugin that might be useful if you are running a large community:


discourse-no-bump

This plugin prevents users from bumping their own topics. On some higher traffic forums, if a user doesn’t receive replies to their topic they will reply to themselves (bumping) repeatedly to gain visibility.

  • When enabled, a user will need to wait for a different user to reply to their topic before they can reply again.

  • Staff members can always bump their own topics

Settings

  • no bump enabled - set to true to enable the plugin

  • no bump trust level - users at this trust level (and lower) will not be allowed to bump their topics

Posts: 5

Participants: 4

Read full topic

Posts with ##Headlines broken after 1.8->1.9 upgrade

$
0
0

@ljpp wrote:

The markdown interpreter seems to have changed a bit.

Previously (up to 1.8) lines starting with # were always treated as headlines.

##Headline

However, after 1.9 upgrade it requires an extra space between the # and the text

Headline

Therefore after the upgrade all posts that has the old markup of ###Headline are now showing hashmarks instead of the headline font. We have a lot of these. Is there way to clean these up once and for all?

Posts: 6

Participants: 6

Read full topic

Extend the content sharing functionality

$
0
0

@jerdog wrote:

Currently, you can share a post on your choice of posts and it will pop up a window with some options:

image

The tweet, for instance, looks pretty normal:

image

But what I would suggest is the following:

  • In Admin somewhere put a sharing section which has space to add your site’s/company’s social handles so that when information is shared it is included in the post, which is pretty common practice. For instance, it would say “via @discourse” at the end. This could/would apply for Facebook and potentially others.

Posts: 1

Participants: 1

Read full topic

SSO Loop - Help needed to find the problem

$
0
0

@ravor-org wrote:

Hey there,

I’ve just set up a discourse forum within our company. I’ve written our own SSO-login to register and login to discourse. Everything was fine until some point - I don’t know where and why - it all broke.

Discourses’ SSO seems to loop for now reason and I cannot find the underlying problem. Maybe you guys are able to help me.

Log of SSO:

Started GET “/session/sso_login?sso=[very long ssotext]” for 87.163.88.41 at 2018-01-16 20:08:42 +0000
Processing by SessionController#sso_login as HTML
Parameters: {“sso”=>"[very long ssotext]", “sig”=>“bc436ea4fb8c390d0f9d0e9d8858ca1f1ee22ca52e90140ccd80e0d9433606d5”}
Verbose SSO log: User was logged on --redacted–

nonce: 4a62ac720d1ed262db4e35e49d6e234a
name: --redacted–
username: --redacted–
email: --redacted–
avatar_url:
avatar_force_update:
require_activation:
bio: --redacted–
external_id: {1aaecfae9e4a0f409b1e8036727c130a}
return_sso_url:
admin:
moderator:
suppress_welcome_message:
title:
add_groups:
remove_groups:
groups:
Redirected to http://discourse.miccoe.cloud/
Completed 302 Found in 20ms (ActiveRecord: 5.8ms)
Started GET “/” for 87.163.88.41 at 2018-01-16 20:08:42 +0000
Processing by CategoriesController#index as HTML
Redirected to Mitel Login
Filter chain halted as :redirect_to_login_if_required rendered or redirected
Completed 302 Found in 10ms (ActiveRecord: 4.2ms)
Started GET “/session/sso” for 87.163.88.41 at 2018-01-16 20:08:42 +0000
Processing by SessionController#sso as HTML
Verbose SSO log: Started SSO process

nonce: 9fa3be16c015041e86ef76f0f494a983
[and so on and so on]

Which logs do you need, how can I increase verbosity? Anything else needed?

BR,
RaVoR

Posts: 1

Participants: 1

Read full topic

Viewing all 60721 articles
Browse latest View live




Latest Images