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

Temporary name resolution problem prevents emails from sending and they aren't queued?

$
0
0

@wesochuck wrote:

I posted a topic update and shortly after, there was a temporary problem with the network connection for our Discourse instance.

This morning we had reports that users didn’t get their email notifications. After checking their settings and the email logs in admin, I saw the following in /logs:

Recent
Message (25 copies reported)
Job exception: getaddrinfo: Temporary failure in name resolution
Backtrace

/usr/local/lib/ruby/2.4.0/net/smtp.rb:539:in `initialize'
/usr/local/lib/ruby/2.4.0/net/smtp.rb:539:in `open'
/usr/local/lib/ruby/2.4.0/net/smtp.rb:539:in `tcp_socket'
/usr/local/lib/ruby/2.4.0/net/smtp.rb:549:in `block in do_start'
/usr/local/lib/ruby/2.4.0/timeout.rb:93:in `block in timeout'
/usr/local/lib/ruby/2.4.0/timeout.rb:103:in `timeout'
/usr/local/lib/ruby/2.4.0/net/smtp.rb:548:in `do_start'
/usr/local/lib/ruby/2.4.0/net/smtp.rb:518:in `start'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/mail-2.6.6/lib/mail/network/delivery_methods/smtp.rb:111:in `deliver!'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/mail-2.6.6/lib/mail/message.rb:2149:in `do_delivery'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/mail-2.6.6/lib/mail/message.rb:237:in `block in deliver'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/actionmailer-4.2.8/lib/action_mailer/base.rb:543:in `block in deliver_mail'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-4.2.8/lib/active_support/notifications.rb:164:in `block in instrument'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-4.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-4.2.8/lib/active_support/notifications.rb:164:in `instrument'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/actionmailer-4.2.8/lib/action_mailer/base.rb:541:in `deliver_mail'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/mail-2.6.6/lib/mail/message.rb:237:in `deliver'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/actionmailer-4.2.8/lib/action_mailer/message_delivery.rb:85:in `deliver_now'
/var/www/discourse/lib/email/sender.rb:184:in `send'
/var/www/discourse/app/jobs/regular/notify_mailing_list_subscribers.rb:55:in `block (2 levels) in execute'
/var/www/discourse/app/models/email_log.rb:37:in `block in unique_email_per_post'
/var/www/discourse/lib/distributed_mutex.rb:21:in `synchronize'
/var/www/discourse/lib/distributed_mutex.rb:5:in `synchronize'
/var/www/discourse/app/models/email_log.rb:33:in `unique_email_per_post'
/var/www/discourse/app/jobs/regular/notify_mailing_list_subscribers.rb:54:in `block in execute'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-4.2.8/lib/active_record/relation/batches.rb:51:in `block (2 levels) in find_each'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-4.2.8/lib/active_record/relation/batches.rb:51:in `each'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-4.2.8/lib/active_record/relation/batches.rb:51:in `block in find_each'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-4.2.8/lib/active_record/relation/batches.rb:124:in `find_in_batches'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-4.2.8/lib/active_record/relation/batches.rb:50:in `find_each'
/var/www/discourse/app/jobs/regular/notify_mailing_list_subscribers.rb:35:in `execute'
/var/www/discourse/app/jobs/base.rb:154:in `block (2 levels) in perform'
Env

hostname	proddiscourse-app
process_id	112
application_version	c5401a0927c75d89a1f224b6616a514566aa5f74
current_db	default
current_hostname	discourse.clcohio.org
job	Jobs::NotifyMailingListSubscribers
message	Sending post to mailing list subscribers
user_id	[13, 17, 21, 24, 26, 30, 31, 34, 37, 42, 43, 56, 65, 79, 90, 102, 112, 114, 115, 124, 125, 127, 129, 138, 141]
user_email	[nnn@nnn.org]
opts
post_id	10927
current_site_id	default
Solve Protect Share

So if there is a network error when email notices are supposed to go out, those notifications aren’t queued for sending until the network connection returns?

Posts: 1

Participants: 1

Read full topic


Polls not working

Special onebox for hypothes.is

$
0
0

@tophee wrote:

Discourse supports hypothes.is oneboxing out of the box, but it is the default onebox:

It puts the annotated text as the title and the annotation as the content. It’s an ok solution but it’s not intuitive. Someone who sees that onebox has no clue that what it’s referring to is actually a web annotation, i.e. a piece of text on the net plus a comment on that piece of text.

It would be great to have a special onebox for this. Perhaps something that looks more like how the annotation is displayed by hypothes.is itself:

image

Posts: 1

Participants: 1

Read full topic

Strange behavior

$
0
0

@Stranik wrote:

v1.9.0.beta10 +109 1.9.0.beta10
In the logs there are no errors.

1. After clicking on the icon under the response, no change.
2. Strange behavior…

Summary

allow solved on all topics - Yes


But if you remove c: allow solved on all topics
The choice is in the category appears.

Perhaps such a scenario is so conceived. (just before it was not). But, there is no way to choose the best answer. The icon is there, but after clicking no reactions.

Posts: 4

Participants: 2

Read full topic

Find users by ID

$
0
0

@jomaxro wrote:

Certain Discourse logs use user ID to identify users instead of usernames. However, it is not currently possible to look up users via ID.

  • Attempting to navigate by user ID as admin fails: discourse.example.com/admin/users/12345, it appears as though the username must be included to be routed.
  • Searching by ID on the /admin/users also fails.

Given that all /admin routes are already staff only, allowing /admin/users/user_id to route without the username shouldn’t be a security risk.

Posts: 2

Participants: 2

Read full topic

Problem with date difference calculation

Description of categories auto unpins

Uploading video file returns "Sorry, there was an error uploading that file. Please try again."

$
0
0

@vaughajj wrote:

I set params: upload_size: 500m in app.yml. Tried uploading a 153MB mp4 video and got the error message “Sorry, there was an error uploading that file. Please try again.” A 26.5MB mp4 video file uploads fine.

Checking the nginx conf file inside the docker container it is properly set to 500m.

When uploading the larger file, after reaching 100% transferred the %cpu on the discourse process jumps to 100%. Site is currently running on a Digital Ocean 8GB droplet.

from production.log

Started POST "/" for 108.253.248.44 at 2017-09-28 16:39:20 +0000
ActionController::RoutingError (No route matches [POST] "/")
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'
Processing by ExceptionsController#not_found as HTML
  Parameters: {"RqRfk4mdN 9R2KtxVgGadDi0dwSNjAoyhViUJ07IhBlL74e8J6xNTDDONCo HBYPeVWcif9pCCcbgNjnaSN6QgVssKK1MlrIW9duc0rE0iVEc W2qi71kf6IBA7jGmTcszkhQuqBwIPVMzm6aK15K0apyjW/W/jyVndjZt3iagmPbYAPjCL L0Z0PhfXxBcfUDVsi3EQWlyfhO kHe8KqcGyXiy2O537tTTU8ZE1vFaDPgVPNRHqFyBZaIa1tgy571S 1x8Trha8xI8KEXEnNSniWIX1yLnVCN6kgPvr qDiaco2aWXUfTwaWSHX7GmCkoaKnNFDK8uPVmdJ7Ja9EZrckhI  gTCMYiP7TSXxR0Mf/TpuDxPFhByAiV "=>nil}
Can't verify CSRF token authenticity.
  Rendering text template
  Rendered text template (0.0ms)
Filter chain halted as :verify_authenticity_token rendered or redirected
Completed 403 Forbidden in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)

from nginx/error.log

2017/09/28 16:38:00 [error] 56#56: *1022 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 134.xx.xx.xx, server: _, request: "POST /uploads.json?client_id=b629035fddbd408685a5e3c6b20da7d5&authenticity_token=u8Ws4JUFBBixpknfPfwkq9YprQVIwjIPie4yrlfao9KgkAPLE2rpdxxnjm556OpW55XlBWHR%2B4OMEBuoyusPPA%3D%3D HTTP/1.1", upstream: "http://127.0.0.1:3000/uploads.json?client_id=b629035fddbd408685a5e3c6b20da7d5&authenticity_token=u8Ws4JUFBBixpknfPfwkq9YprQVIwjIPie4yrlfao9KgkAPLE2rpdxxnjm556OpW55XlBWHR%2B4OMEBuoyusPPA%3D%3D", host: "174.138.109.18", referrer: "http://174.138.109.18/t/put-some-test-videos-here/13/27"`

Suggestions? I am trying to setup a site where students can submit videos for review and other students can comment on those videos with video. Unfortunately the use case doesn’t lend itself well to uploading to dropbox or youtube as the student work needs to be kept private and the class frequently uploads the movies directly from iOS devices lended out to them by our college so setting up Dropbox each time the devices were checked out won’t work.

And if there is a better platform to handle this amount of video feel free to chime in. I’m open to anything.

Posts: 3

Participants: 3

Read full topic


Embedding the Forum into Wordpress

$
0
0

@George_Morris wrote:

I’m at a complete loss and I would love to move forward with Discourse but I can’t find documentation that’s up to date because so much that I’ve read is deprecated. Here is the gist.

Use Case: I have a member only site I’m creating. Users pay to access the content which is a blend of private videos, files and then access to the Discourse forum.

Setup: I’m running the main site at http://theonefifty.com where it’s powered by WordPress, I’m running Discourse at http://cohort.theonefifty.com

What I want: Users come to the WordPress site, fill out an application and once it’s reviewed and approved I manually create their Discourse account. (Ideally SSO would work here but right now that’s a secondary objective.) Once I approve the users I want them to login to their account and have access to both WordPress and Discourse content in a seamless way. Ideally I’d wrap Discourse with the WordPress theme by embedding Discourse into the Forum page I’ve created in WordPress… is this even possible?

Posts: 3

Participants: 2

Read full topic

Massive traffic drop from Google searches after migrating from myBB

$
0
0

@smaffulli wrote:

Almost 3 weeks ago we migrated an old forum from myBB to Discourse, bringing all the content and creating proper 301 redirects for all old threads, categories and topics. Since the move, our incoming traffic from search engine has dropped over 20%, so far inexplicably.

Our SEO consultant has highlighted that serving different content to the crawler may be one of the reasons that Google treats the new forums so poorly compared to the past. The version seen by Google of a topic page for example contains less content than what a browser sees (no indication of reply, login, search or suggested topics, among other things.)

Has anybody noticed similar traffic drops after a migration from ‘old-school’ html forums? Any suggestion on how to fix things on our forums?

Posts: 9

Participants: 4

Read full topic

Export all users (from all time)

$
0
0

@Ultim8 wrote:

Does anyone know of a way to export all users to csv?

We only seem to have the option to download the following:

image

Not ‘all users’

Trying to export a user list of 56067 names but only getting the first 27000 :frowning:

Posts: 8

Participants: 4

Read full topic

Creating a topic via email without write access to the category?

$
0
0

@ffhaddad wrote:

I followed Straightforward direct-delivery incoming mail for setting up reply by email and it’s working perfect.

However, what I would like to do now is enable creating a topic via email and having all incoming emails to that address go to a category that only admins can see. For example, I would like to create a category calling Incoming Email, have support@example.com emails post to that category, but only allow seeing those posts if you’re an admin.

The problem is if users send an email to support@example.com, the email bounces back because they don’t have permission to create topics in the Incoming Email category.

Is there a way to create a category where everyone has write but not read access?

Maybe there’s a better solution/suggestion?

Posts: 2

Participants: 2

Read full topic

Add crop feature for avatars

AboutMe not working

Building a client that embeds forums a la Slack or Franz

$
0
0

@schpn wrote:

So I’ve this kinda need…

Let’s say most dev communities are already build on discourse anyway, so it’s easy to envision as someone battling with upgrading from designer to fullstack dev, I would like to have the Discourse, Graph.Cool, Elixir, Atom, and various other dev minded communities I like in the same app, not browser dependant…

What’d ya think, If I make this Open Source should I have any problems with Discrouse Inc.

Not interested into lawyers getting on the way of a fun hackathon project.

Posts: 5

Participants: 2

Read full topic


[PAID-job] Three Modifications Requested (Newsletter Subscription, WordPress Disqus Transfer, added JS calls)

$
0
0

@Berto wrote:

Hi all, I have seven different tasks that I’d like to get done on my upcoming forum – the first three here are critical to our forum launch though.

My budget is open and I’d like to get quotations for these three tasks.

The sooner the better, and myself and another programmer can work alongside, although we are not Discourse experts.

Tasks

  1. Account Creation Additions: Two Subscription Checkbox Options

    Add checkboxes to the initial signup page in order to (a) Subscribe to our Newsletter and (b) Sign up for our “Hot Deal Alerts”.

    • Upon submitting, this can go through our main API with a post request.

    • These two checkboxes would be checked by default.

    • Must also work with third-party logins (ie Facebook/Google/Twitter, if emails are provided by those services)

    This may work as a webhook to our main API?

  2. Move WordPress blog comments from Disqus to our Discourse

    a.) First, create a Discourse topic created for every post on our WordPress blog that has Disqus comments – we will provide logic so that it is placed in the proper Discourse category (depending on the blog’s category).

    b.) Next, any comments we have in our old Disqus system can be turned into comments on the corresponding Topic. Any comments made by me should be attributed to my user, if possible.

    c.) After that, the WordPress plugin should cover us most of the way there, but additional assistance may be requested.

    d.) Finally, we’d like a path to allowing a user to merge with their old Disqus comments (lower priority).

  3. Plugin: Call a JS file on our www server and embed a few empty divs

    I need each page to run a simple one-liner call to a JS file hosted our main server, passing it this forum page’s current category and current tags, if they exist.

    Then in select areas on the forum page, I want the plugin to place empty divs (and the JS our main server runs will populate them).

    Note: There is a possibility that we choose to have the Discourse plugin generate the HTML based upon what’s returned. I can show examples of how our tech works.

Thank you, please contact me here and let’s talk. If things go well, I have additional requests with regards to Teams, Flagging, Stealthbanning, etc.

Also, a ping to @pfaffman who helped me with my separate container setup and did a wonderful job and should see this. Jay can vouch that I pay, and I’m happy to contract work via UpWork if necessary.

Thanks!
Berto

Posts: 1

Participants: 1

Read full topic

Link to upgrade shows error

$
0
0

@eldy wrote:

I got an upgrade notification in my email I click on the link below

Upgrade using our easy one-click browser upgrade

it bring me to mydomain.com/admin/upgrade

I got error of

This page isn’t working

mydomain.com is currently unable to handle this request.
HTTP ERROR 500

Posts: 1

Participants: 1

Read full topic

Display Discourse In Wordpress Sidebar

Cannot load avatar images from particular sites

$
0
0

@Konstantin wrote:

Hello.

Sory for bad english, it’s not native for me )
I’ve installed discourse for my project - it’s incredible!!!
All works fine, except load avatars by SSO from IIS server - yes it is sound strange, but fact!

For examle http://f6.s.qip.ru/YtZ2dJIW.png - works well! (not IIS server)
But from my IIS (and another IIS) - avatar doesn’t change, and there is no error in logs.
http://f6.s.qip.ru/YtZ2dJIX.png 2 different servers.(second url in next post, i cannot post more 2 links - i’m new)

SSO work’s fine, except avatars from IIS.
Can you suggest me something to cure this strange things.

wget from discourse-forum server download all images.

Posts: 3

Participants: 1

Read full topic

User profile watch/track/mute options not persisted

$
0
0

@schungx wrote:

I believe it is the latest beta that has this problem.

AFAIK all user profile options can be saved and persisted, EXCEPT for:

  • Watched Categories

  • Tracked Categories

  • Watching First Post Categories

  • Muted Categories

  • Watched Tags

  • Tracked Tags

  • Watching First Post Tags

  • Muted Tags

Muted Users work fine.

Pressing Save Changes will send the correct REST PUT command. Came back with 200 and “Saved!” right next to the button.

Thus, to the web app, the settings have been changed. However, the database has not been changed.

I tried this on Meta and it doesn’t persist to database also.

Posts: 12

Participants: 4

Read full topic

Viewing all 60721 articles
Browse latest View live




Latest Images