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

Docker shim error on CentOS 7

$
0
0

@SouperC wrote:

At the moment I’m getting message
"no response from daemon: shim error; docker.runc not installed on system".
I tried a possible solution for that to no avail

Earlier today I installed telnet (which I guess updated yum?) to troubleshoot an email issue. Right now, I’m kinda hosed. I’m on Centos 7 I believe. Initially docker would not start, stated a problem with the network bridge. Removed and installed docker from yum to get that working again.

Here’s my docker.info at present:

Containers = 0 kinda concerns me, although I did make a backup of my docker directory before messing around. I did run docker rm app at one point (After the error about docker-runc occured)… maybe not such a good idea.

Attempt to rebuild results in same error message regarding docker-runc

Posts: 19

Participants: 4

Read full topic


Persistent sync - vBulletin 4 to Discourse

$
0
0

@spellbee2 wrote:

Greetings all!

I recently purchased an already-established vBulletin 4 forum after being part of the forum staff for a few years. But after reading up on some horror stories of vB security vulnerabilities, dealing with the horrible mobile UI, and having an absolute nightmare fixing out-dated plugins that were broken with the previous owners, we (the staff) decided to investigate migrating to other forum software.

I’ve looked at the vB4-to-Discourse import script, and though I haven’t tried it yet, it seems pretty straightforward, and I hope to modify it a bit for my own needs to import some data from our existing vB plugins and remake them in Discourse (although my knowledge in Ruby is admittedly sparse at the moment, though I plan on changing that soon).

Here’s my question though: I was hoping that during the transition, we could have an instance of vB and an instance of Discourse running at the same time, with their databases somehow in sync. That way, users can take some time to adjust to the new UI and controls, but can still feel comfortable going back to the old site if there’s features they haven’t figured out yet (primarily since some of our members are, in their own words, “curmudgeony”, and may not appreciate the change at first). Any changes (posts, likes, profile updates) on one site would be reflected on the other. Then, after some set amount of time, we switch solely to Discourse.

Is something like this theoretically feasible? I know vB runs on MySQL and Discourse on PostgreSQL, but I found a few programs that should allow periodic syncing between the two, provided I know which fields and tables map to each other. Or (and I suppose this is an opinion-based question) is it even worth it - should I just rip the band-aid off instead of hassling with the transition period?

Thanks in advance!

Posts: 5

Participants: 4

Read full topic

Amount of time spent reading by discourse groups

$
0
0

@tobiaseigen wrote:

One of my favorite new discourse 1.9 features is the “time spent (time spent recently)” stat on user cards. This is super helpful for understanding whether the person I am looking at is a truly active, participating member of the community who is curious and engaged.

36 AM

I’d be interested in getting this information about discourse groups. Specifically, how much time have members of a particular discourse group spent collectively reading discussions? It will help to monitor the health of different parts of the community, and also to generate some competitive energy between groups to get them reading.

As far as I know this data does not exist anywhere, though it likely can be arrived at by downloading user lists into excel or via the query explorer. Before I devote any time to it, please let me know if it does exist somewhere or if someone has already or would be willing to write a data explorer query. It would simply spit out a list of groups along with two numbers: collective time spent reading overall and time spent reading in the last 60 days. Maybe a column with the number of members in the group would also be interesting to look at in connection with the time spent numbers.

One possible use case: we’ve been talking about ways to encourage logging in and reading discussions by staff in my organization. We’re over 100 people spread around the globe, and the level of participation is mixed. Some log in every day and participate regularly by posting and liking and replying, some log in and read as lurkers without posting and liking much, and many (vast majority really) rely on email notifications and reply by email or don’t reply at all. All of them are in various discourse group by staff and by team. So would be neat to let them know once in a while how much time they are spending as a team on discourse as compared to other teams.

(On the path towards “full citizenship” for groups, it would be amazing to eventually display group stats including collective read time on group pages. Group “user card” may be overkill but potentially also a nice thing for some communities.)

Posts: 1

Participants: 1

Read full topic

Using the 'Discourse' javascript class in a hosted forum

$
0
0

@garrettboatman wrote:

Hi! Developer fairly new to Discourse here.
I have a hosted forum, so I’m trying to hook into the Discourse class via a <script> block in </body> Customization section of the admin.

I see examples in this forum of application views like Discourse.ApplicationView, Discourse.DiscoveryCategorysView, and Discourse.CloakedView.
However, none of these are available in the Discourse class I see.

The Discourse class I see:
23 PM

All I’m trying to do is doSomething() after a new view gets loaded. Like…

Discourse.ApplicationView.reopen({
    didInsertElement: function() {
        this._super();
        doSomething();
    },

    pathChanged: function() {
        Ember.run.scheduleOnce('afterRender', this, function() {
            doSomething();
        });
    }.observes('controller.currentPath', 'controller.model')
});

But I get Cannot read property 'reopen' of undefined because Discourse.ApplicationView doesn’t exist.

Any way to access the application view without writing a plugin?

Posts: 3

Participants: 2

Read full topic

New user auto-silenced with no option to approve?

$
0
0

@bts wrote:

Just had a user get blocked (“silenced”) by system while trying to make their first post, for reason = typing too fast. The user mentioned he was copying something written in another document so that makes sense. But a bit confusing trying to resolve this as an admin:

  1. I went in and manually un-silenced the user and told him to try posting again. But when he did, same thing happened. Maybe it would make sense to turn off the auto-block measures in the case an admin has manually overruled it?

  2. In this post from 2016 @codinghorror mentions that “blocked posts by new users always come into the approval queue” — but we didn’t get an admin notification here, it seems this user went straight to “silenced” with no way to approve or not. Only saw it happened at all b/c the user emailed us. If it were the case that this was flagged w/ option to approve, that would be :+1: too!

Posts: 7

Participants: 2

Read full topic

Cannot middle-click or control-click on embedded topics to open in new tab

$
0
0

@barryvan wrote:

This is happening to me in Firefox.

If you middle-click or control-click on the title of a topic embedded in another, it doesn’t open in a new tab – instead, it replaces the current tab. It also seems to do a full load, rather than the normal AJAXy Discourse load.

In this video, I’ve middle-clicked; control-clicking behaves the same way.

Posts: 3

Participants: 3

Read full topic

Cannot view voters on a closed topic

$
0
0

@barryvan wrote:

Once a topic has been closed, it’s no longer possible to view the list of people who voted for that topic: clicking on the count of votes does nothing. I’d expect this to behave the same as it always does; it can be very useful to get in touch with the people who voted on a particular item for their thoughts and feedback.

Posts: 2

Participants: 2

Read full topic

Newly-created groups don't show up in category permissions without refresh


Adding Russian to Darwinex

Error installing the discourse jwt plugin

$
0
0

@jospeato wrote:

Hi I tryied to install the plugin discourse-jwt and got this error:

Error:

I, [2018-01-11T04:53:49.160065 #14]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate'
160:M 11 Jan 04:54:04.088 * 10 changes in 300 seconds. Saving...
160:M 11 Jan 04:54:04.089 * Background saving started by pid 765
765:C 11 Jan 04:54:04.178 * DB saved on disk
765:C 11 Jan 04:54:04.179 * RDB: 10 MB of memory used by copy-on-write
160:M 11 Jan 04:54:04.190 * Background saving terminated with success
rake aborted!
**NoMethodError: undefined method `jwt_secret' for GlobalSetting:Class**
/var/www/discourse/plugins/discourse-jwt/plugin.rb:18:in `register_middleware'
/var/www/discourse/config/initializers/009-omniauth.rb:10:in `block (2 levels) in <top (required)>'
/var/www/discourse/config/initializers/009-omniauth.rb:9:in `each'
/var/www/discourse/config/initializers/009-omniauth.rb:9:in `block in <top (required)>'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/rack-2.0.3/lib/rack/builder.rb:55:in `instance_eval'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/rack-2.0.3/lib/rack/builder.rb:55:in `initialize'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/omniauth-1.6.1/lib/omniauth/builder.rb:6:in `initialize'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/stack.rb:35:in `new'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/stack.rb:35:in `build'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/stack.rb:99:in `block in build'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/stack.rb:99:in `each'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/stack.rb:99:in `inject'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/stack.rb:99:in `build'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/railties-5.1.4/lib/rails/engine.rb:508:in `block in app'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/railties-5.1.4/lib/rails/engine.rb:504:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/railties-5.1.4/lib/rails/engine.rb:504:in `app'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/railties-5.1.4/lib/rails/application/finisher.rb:45:in `block in <module:Finisher>'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/railties-5.1.4/lib/rails/initializable.rb:30:in `instance_exec'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/railties-5.1.4/lib/rails/initializable.rb:30:in `run'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/railties-5.1.4/lib/rails/initializable.rb:59:in `block in run_initializers'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/railties-5.1.4/lib/rails/initializable.rb:58:in `run_initializers'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/railties-5.1.4/lib/rails/application.rb:353:in `initialize!'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/railties-5.1.4/lib/rails/railtie.rb:185:in `public_send'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/railties-5.1.4/lib/rails/railtie.rb:185:in `method_missing'
/var/www/discourse/config/environment.rb:5:in `<top (required)>'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `require'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `block in require'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:258:in `load_dependency'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `require'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/railties-5.1.4/lib/rails/application.rb:329:in `require_environment!'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/railties-5.1.4/lib/rails/application.rb:445:in `block in run_tasks_blocks'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/rake-12.1.0/exe/rake:27:in `<top (required)>'
/usr/local/bin/bundle:23:in `load'
/usr/local/bin/bundle:23:in `<main>'
Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)
I, [2018-01-11T04:54:06.221991 #14]  INFO -- : gem install discourse-omniauth-jwt -v 0.0.2 -i /var/www/discourse/plugins/discourse-jwt/gems/2.4.2 --no-document --ignore-dependencies
Successfully installed discourse-omniauth-jwt-0.0.2
1 gem installed

I, [2018-01-11T04:54:06.222460 #14]  INFO -- : Terminating async processes
I, [2018-01-11T04:54:06.222559 #14]  INFO -- : Sending INT to HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/9.5/bin/postmaster -D /etc/postgresql/9.5/main pid: 45
I, [2018-01-11T04:54:06.222658 #14]  INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 160
2018-01-11 04:54:06.223 UTC [45] LOG:  received fast shutdown request
2018-01-11 04:54:06.224 UTC [45] LOG:  aborting any active transactions
1602018-01-11 04:54:06.227 UTC [52] LOG:  autovacuum launcher shutting down
:signal-handler (1515646446) Received SIGTERM scheduling shutdown...
2018-01-11 04:54:06.232 UTC [49] LOG:  shutting down
160:M 11 Jan 04:54:06.294 # User requested shutdown...
160:M 11 Jan 04:54:06.294 * Saving the final RDB snapshot before exiting.
2018-01-11 04:54:06.330 UTC [49] LOG:  database system is shut down
160:M 11 Jan 04:54:06.404 * DB saved on disk
160:M 11 Jan 04:54:06.405 # Redis is now ready to exit, bye bye...


FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 732 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:108:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"bundle_exec", "cmd"=>["su discourse -c 'bundle install --deployment --verbose --without test --without development --retry 3 --jobs 4'", "su discourse -c 'bundle exec rake db:migrate'", "su discourse -c 'bundle exec rake assets:precompile'"]}
6fa0fa9adef9e90adaa4a505f0205de0a4a37ec8e60d37b62f54c4a0e2d36337
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one

Any ideas?

Posts: 4

Participants: 4

Read full topic

Wordpress push post image fail

Downgrade from v2.0.0.beta1 to v1.9.0

$
0
0

@chrisc wrote:

A large Discourse server I have been managing had not been great since upgrading it to v2.0.0.beta1 +18, every few days I’m having to ./launcher restart app as users are getting HTTP 500 errors so was thinking that downgrading it to the stable tag, v1.9.0 might solve this, in addition I’d rather the site be on stable versions rather than beta versions as less frequent updates would mean less work.

I’m afraid I haven’t found any documentation of a thread on this site that explains how to do this, sorry if I’m missing something obvious.

Posts: 9

Participants: 4

Read full topic

Did the send welcome email feature got removed?

$
0
0

@sebastien wrote:

Hi,

We configure Discourse to support SSO and we especifically set “suppress_welcome_message” to false.

Unfortunately we don’t receive welcome emails from discourse. In the “Sent” email tab, I can see that Discourse is not trying to send this welcome email.

I tried multiple things:

  • To send a test email to make sure users receive emails > It worked
  • To disable narrative bot, or to set “discourse narrative bot welcome post type” to “Send all new users a welcome message with a quick start guide”

I can see in various topics that narrative bot is now the recommended approach. Did you delete the “send welcome email” feature in v2.0.0 beta? If not what did I miss?

Thank you,
Seb

Posts: 1

Participants: 1

Read full topic

Changing forum locale via URL param

$
0
0

@Dorian_McFarland wrote:

Hi,
We’re trying to implement a flag in the header that would allow users from particular country to easily change the interface. I’m wondering if it’s possible to change the forum locale via a URL query parameter e.g. ?locale=ja-JP or similar.

I have seen the “set locale from accept language header” option, but this could behave unexpectedly for our established users, so I would rather have something obvious and visual to help non-english speakers.

thanks
Dorian

Posts: 4

Participants: 3

Read full topic

Rate limit problem

$
0
0

@Kaoff wrote:

Hey there :slight_smile:

I’m trying to develop a dashboard in which members of our team can see and validate tasks directly.

But I got a “Too Many Request” error while loading my topics.

Is there any way to bypass this limit ?

Cheers,
Bastien.

Posts: 4

Participants: 3

Read full topic


Continuing the discussion from [Prompt user to create a new thread when they search and gets 0 results]

Recovering from a paranoid community

$
0
0

@Drew_Warwick wrote:

The Discourse FAQ mentions that “This is a Civilized Place for Public Discussion”, “Be Agreeable, Even When You Disagree”, and “Always Be Civil”. We agree 100% and have the same values on our Discourse forum. Unfortunately, a sizable portion of our members don’t value that sort of community. They can’t fathom the concept of being constructive and its benefits.

Because of this lack of understanding, they misinterpret moderation action as disallowing any sort of criticism. If we take down a PA targeted at a company team, the community jumps to the conclusion that they’re not allowed to criticize the company. The actual answer is that instead of posting the below they should post the one that follows:

This update is awful. The responsible team obviously doesn’t care about their jobs.

This update is awful. Here is a list of past updates that have had the same problem – this is a reoccurring problem. Can we maybe look for more community feedback before pushing to production in the future?

but, again, since they can’t fathom a constructive community, this is all Greek to them. I tried to tell the user who made that post that it was a PA, but they kept insisting that it wasn’t – that it couldn’t be. They refused to believe anything other than “criticism of the company isn’t allowed”.

We could just to remove users from the community who can’t understand what it means to be constructive, but a mass exodus like that (there are a lot of users like this) would cause enormous tension within the community. I’m not sure what else we could do though. The longer this is a problem, the more it festers – it’s pretty critical we resolve this soon rather than letting it take its course.

Have any of you experienced similar problems in your own communities before? What did you do to resolve the problem?

Posts: 6

Participants: 5

Read full topic

Avatar badges don't show in list view

$
0
0

@Jean-Baptiste_Thieba wrote:

Hi there,

We’ve recently added badges to our avatars to distinguish admin and paying customers from free users of our products.

It shows like that:

36

However, the badge does not persist on the list view, so without going into a post, we have no way to know what type of user posted. See how my avatar looks in the list view (posted as a response).

Is there anyway to add the badge to the list view?

Thank you,
JB

Posts: 2

Participants: 1

Read full topic

Small Suggestion Regarding twitter configuration text

Group admin dashboard?

$
0
0

@outofthebox wrote:

Hi, I am constantly thinking about how to ‘give away’ my community to network/community leaders across our global organization. I want there to be dozens of leaders who own our community and see it as vital for their day-to-day operations. The richer, easier, and better their toolset is, the easier this would be to do.

I wonder if providing group owners with an easy to find group admin dashboard would help? Especially if they run multiple groups, to make it easy for them to see how their groups are doing. A combination of:

  • Individual or bulk add to groups area
  • Tobias’ suggestion for a group read time - Amount of time spent reading by discourse groups
  • Other stats related to your group: percentage logged in within past 7/30 days, posts created by group in past 7/30 days, is this growth/decline

Curious if this has any legs beyond my own perception!

Posts: 1

Participants: 1

Read full topic

Viewing all 60721 articles
Browse latest View live




Latest Images