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

Moderator Metrics

$
0
0

@Tang wrote:

Hi,

Is there a way to see a dashboard of our Moderator's work? Total posts, time to answer, etc?

Thanks!

Posts: 8

Participants: 4

Read full topic


Discouse used up to 94.7% of 39.25GB, will it cause any problem?

$
0
0

@trandatnh wrote:

My forum dies 2-3 times after the recent upgrade to 1.6 I guess. It down again today.

I have run laucher cleaup

Welcome to Ubuntu 14.04.4 LTS (GNU/Linux 3.13.0-32-generic x86_64)

 * Documentation:  https://help.ubuntu.com/

  System information as of Mon May  9 21:02:44 EDT 2016

  System load:  0.84               Processes:              118
  Usage of /:   94.7% of 39.25GB   Users logged in:        0
  Memory usage: 78%                IP address for eth0:    128.199.206.246
  Swap usage:   16%                IP address for docker0: 172.17.0.1

  => / is using 94.7% of 39.25GB

  Graph this data and manage this system at:
    https://landscape.canonical.com/

I think I have problem with space already. Trying to rebuild apps.

I, [2016-05-10T01:06:18.056825 #36]  INFO -- : Terminating async processes
I, [2016-05-10T01:06:18.056968 #36]  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.3/bin/postmaster -D /etc/postgresql/9.3/main pid: 65
I, [2016-05-10T01:06:18.057184 #36]  INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 194
194:signal-handler (1462842378) Received SIGTERM scheduling shutdown...
2016-05-10 01:06:18 UTC [65-2] LOG:  received fast shutdown request
2016-05-10 01:06:18 UTC [65-3] LOG:  aborting any active transactions
2016-05-10 01:06:18 UTC [361-1] FATAL:  terminating autovacuum process due to administrator command
2016-05-10 01:06:18 UTC [73-259] LOG:  could not close temporary statistics file "/var/run/postgresql/9.3-main.pg_stat_tmp/db_0.tmp": No space left on device
2016-05-10 01:06:18 UTC [73-260] LOG:  could not close temporary statistics file "/var/run/postgresql/9.3-main.pg_stat_tmp/global.tmp": No space left on device
194:M 10 May 01:06:18.122 # User requested shutdown...
194:M 10 May 01:06:18.123 * Saving the final RDB snapshot before exiting.
194:M 10 May 01:06:18.124 # Write error saving DB on disk: No space left on device
194:M 10 May 01:06:18.125 # Error trying to save the DB, can't exit.
194:M 10 May 01:06:18.125 # SIGTERM received but errors trying to shut down the server, check the logs for more information
2016-05-10 01:06:18 UTC [73-261] LOG:  could not close temporary statistics file "/var/run/postgresql/9.3-main.pg_stat_tmp/db_0.tmp": No space left on device
2016-05-10 01:06:18 UTC [73-262] LOG:  could not close temporary statistics file "/var/run/postgresql/9.3-main.pg_stat_tmp/global.tmp": No space left on device
2016-05-10 01:06:19 UTC [73-263] LOG:  could not close temporary statistics file "/var/run/postgresql/9.3-main.pg_stat_tmp/db_0.tmp": No space left on device
2016-05-10 01:06:19 UTC [73-264] LOG:  could not close temporary statistics file "/var/run/postgresql/9.3-main.pg_stat_tmp/global.tmp": No space left on device
2016-05-10 01:06:20 UTC [73-265] LOG:  could not close temporary statistics file "/var/run/postgresql/9.3-main.pg_stat_tmp/db_0.tmp": No space left on device
2016-05-10 01:06:20 UTC [73-266] LOG:  could not close temporary statistics file "/var/run/postgresql/9.3-main.pg_stat_tmp/global.tmp": No space left on device
2016-05-10 01:06:20 UTC [73-267] LOG:  could not close temporary statistics file "/var/run/postgresql/9.3-main.pg_stat_tmp/db_0.tmp": No space left on device
2016-05-10 01:06:20 UTC [73-268] LOG:  could not close temporary statistics file "/var/run/postgresql/9.3-main.pg_stat_tmp/global.tmp": No space left on device
2016-05-10 01:06:21 UTC [73-269] LOG:  could not close temporary statistics file "/var/run/postgresql/9.3-main.pg_stat_tmp/db_0.tmp": No space left on device
2016-05-10 01:06:21 UTC [73-270] LOG:  could not close temporary statistics file "/var/run/postgresql/9.3-main.pg_stat_tmp/global.tmp": No space left on device
2016-05-10 01:06:22 UTC [73-271] LOG:  could not close temporary statistics file "/var/run/postgresql/9.3-main.pg_stat_tmp/db_0.tmp": No space left on device
2016-05-10 01:06:22 UTC [73-272] LOG:  could not close temporary statistics file "/var/run/postgresql/9.3-main.pg_stat_tmp/global.tmp": No space left on device
2016-05-10 01:06:22 UTC [73-273] LOG:  could not close temporary statistics file "/var/run/postgresql/9.3-main.pg_stat_tmp/db_0.tmp": No space left on device
2016-05-10 01:06:22 UTC [73-274] LOG:  could not close temporary statistics file "/var/run/postgresql/9.3-main.pg_stat_tmp/global.tmp": No space left on device
2016-05-10 01:06:23 UTC [73-275] LOG:  could not close temporary statistics file "/var/run/postgresql/9.3-main.pg_stat_tmp/db_0.tmp": No space left on device
2016-05-10 01:06:23 UTC [73-276] LOG:  could not close temporary statistics file "/var/run/postgresql/9.3-main.pg_stat_tmp/global.tmp": No space left on device
2016-05-10 01:06:24 UTC [73-277] LOG:  could not close temporary statistics file "/var/run/postgresql/9.3-main.pg_stat_tmp/db_0.tmp": No space left on device
2016-05-10 01:06:24 UTC [73-278] LOG:  could not close temporary statistics file "/var/run/postgresql/9.3-main.pg_stat_tmp/global.tmp": No space left on device
2016-05-10 01:06:24 UTC [73-279] LOG:  could not close temporary statistics file "/var/run/postgresql/9.3-main.pg_stat_tmp/db_0.tmp": No space left on device
2016-05-10 01:06:24 UTC [73-280] LOG:  could not close temporary statistics file "/var/run/postgresql/9.3-main.pg_stat_tmp/global.tmp": No space left on device
2016-05-10 01:06:25 UTC [73-281] LOG:  could not close temporary statistics file "/var/run/postgresql/9.3-main.pg_stat_tmp/db_0.tmp": No space left on device
2016-05-10 01:06:25 UTC [73-282] LOG:  could not close temporary statistics file "/var/run/postgresql/9.3-main.pg_stat_tmp/global.tmp": No space left on device
2016-05-10 01:06:26 UTC [73-283] LOG:  could not close temporary statistics file "/var/run/postgresql/9.3-main.pg_stat_tmp/db_0.tmp": No space left on device
2016-05-10 01:06:26 UTC [73-284] LOG:  could not close temporary statistics file "/var/run/postgresql/9.3-main.pg_stat_tmp/global.tmp": No space left on device
2016-05-10 01:06:27 UTC [73-285] LOG:  could not close temporary statistics file "/var/run/postgresql/9.3-main.pg_stat_tmp/db_0.tmp": No space left on device
2016-05-10 01:06:27 UTC [73-286] LOG:  could not close temporary statistics file "/var/run/postgresql/9.3-main.pg_stat_tmp/global.tmp": No space left on device
2016-05-10 01:06:27 UTC [73-287] LOG:  could not close temporary statistics file "/var/run/postgresql/9.3-main.pg_stat_tmp/db_0.tmp": No space left on device
2016-05-10 01:06:27 UTC [73-288] LOG:  could not close temporary statistics file "/var/run/postgresql/9.3-main.pg_stat_tmp/global.tmp": No space left on device
2016-05-10 01:06:27 UTC [72-6] LOG:  using stale statistics instead of current ones because stats collector is not responding
2016-05-10 01:06:27 UTC [72-7] LOG:  autovacuum launcher shutting down
2016-05-10 01:06:27 UTC [69-1] LOG:  shutting down
2016-05-10 01:06:27 UTC [69-2] LOG:  database system is shut down
2016-05-10 01:06:27 UTC [73-289] LOG:  could not close temporary statistics file "pg_stat/db_12068.tmp": No space left on device
2016-05-10 01:06:27 UTC [73-290] LOG:  could not write temporary statistics file "pg_stat/db_16384.tmp": No space left on device
2016-05-10 01:06:27 UTC [73-291] LOG:  could not close temporary statistics file "pg_stat/db_1.tmp": No space left on device
2016-05-10 01:06:27 UTC [73-292] LOG:  could not close temporary statistics file "pg_stat/db_0.tmp": No space left on device
2016-05-10 01:06:27 UTC [73-293] LOG:  could not close temporary statistics file "pg_stat/global.tmp": No space left on device
I, [2016-05-10T01:06:28.094609 #36]  INFO -- : exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid:194 did not terminate cleanly, forcing termination!


FAILED
--------------------
RuntimeError: cd /var/www/discourse && su discourse -c 'bundle install --deployment --verbose --without test --without development' failed with return #<Process::Status: pid 362 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'"]}
da9c42ab8e087e2cac29b0046f19a440e188328c549f994dbdd627a4cd58b31b
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one

Posts: 7

Participants: 2

Read full topic

Looking for advice on how to create a different homepage

$
0
0

@pmusaraj wrote:

Hi folks,
I have looked into the several topics in this category for either a blog-like homepage or a curated homepage but nothing yet fits what I am really looking to build.

So, I came up with a mockup and I am wondering what the best way would be to go about achieving what's designed in the mockup.

What I am looking to do would have the following features:

Left column

  • A blog-like list of topics on the left column sorted by the post date of the initial topic (not replies). This would only apply to this page (not to any other topic lists on the site, i.e. I like the table display of topics for all other lists).
  • The topics in this list would show an excerpt and a photo, and the photo should ideally only be shown ifit is embedded before the second paragraph of the post. (This would allow for some posts to not have photos, or even to have photos later in the contents but not in this "homepage" display.) The Topic List Previews plugin seems like an excellent starting point for this part of what I am trying to build (although it modifies the reusable Discourse list item display, which isn't my goal here).

Right column

Three separate blocks here (or more), but essentially: 1) a list of recent comments (very much like classic blogs), a custom area for messages and 3) a quick snapshot of new replies, but organized by category (could the Categories page be pulled in here?).

(On mobile, the right column would drop either completely or below the left sidebar. Depending on whether the contents of the blog-like flow on the left can load on scrolling down the page.)

So, if I were to start building this as a plugin (or as a few plugins, maybe) how do I go about starting this?:

  1. How do I set up a "page" in a Discourse plugin? Or is this even doable? (By the way, I would prefer to have this homepage as another item in the menu, next to Latest, etc.)
  2. The query to display the topics from a particular tag on this page, should it be written in Rails or in Ember? I'm a frontend developer, so CSS/Ember are things I can work my way around, Rails less so.
  3. Are there any other plugins whose code would be good inspiration for me?

Posts: 1

Participants: 1

Read full topic

Embedding HTML inside posts by Admin

$
0
0

@envieme wrote:

While it is good security practise to prevent arbitary HTML embeds inside posts, it is also restricting me as an admin from embedding iframes and some videos which are not yet onebox supported. I would like the functionality to embed simple html like iframes as an admin user.

Can anyone help me on how to enable this functionality? And how many users here would like a similar setting to whitelist some html tags for the admin in settings?

Posts: 1

Participants: 1

Read full topic

cPanel Mail server + D.O Droplet Discourse 1 click install = No mail sent

$
0
0

@Optiroot wrote:

Hello everybody!

I have a dedicated server on a local hosting provider. This server is CentOS 6.7 with cPanel.
I created a Droplet with 1 click Discourse install in DigitalOcean too, and I managed domain setup. Discourse is in a subdomain.

Now the problem comes when I setup Discourse. I follow all passages and so on, I insert my SMTP accesses (from my other server) but nothing happens when I try to register as admin, no mail.

This is my app .yml file:

http://pastebin. com/k9x7mKz7
(Join . and com: Discourse wouldn't let me publish as it renders a part of the Paste and reads the link, and being a new user I can just paste two links in a Topic)

I replaced my website fields with example.com and so on, but apart of that everything is the same.
The SMTP port is right, and I've read all the possible posts here, but nothing. I can't find a solution and as I have a strong Dedicated server I wanted to use it to send emails, not something Mandrill and so on...

Please, help.

Best regards

Posts: 6

Participants: 2

Read full topic

PrimeTime WP Discourse SSO plugin - white screens during login process

$
0
0

@Nick_Putman wrote:

I am trying to get the PrimeTime WP Discourse SSO plugin by @etc working. I am confident that I have added all of the settings correctly, as per the instructions for the plugin, though I wasn't sure what to include for the sso url - I ended up just using the full url of my WP site, i.e. http://open-dialogue.net.

I am seeing the following issues when I try to login to discourse, having enabled sso:

If I am already logged in to the main WP site, and then try to login to discourse, I am redirected to the URL http://open-dialogue.net/?sso=bm9uY2U9N....... but it's just a white screen

If I am not logged in then I am redirected to the main WP login page, but after logging in I am once again directed to a URL in the format http://open-dialogue.net/?sso=bm9uY2U9N....... and another white screen.

Does anyone know what might be going on here, and how I can fix it? I urgently need to get a site online, and can't do so until I get the SSO working, so would be very grateful for any assistance!

Thanks

Nick

Posts: 6

Participants: 2

Read full topic

Accessing site assets via the API

$
0
0

@mcmcclur wrote:

Question

Is it possible to access site assets (such as the site-logo and favicon image) or other information on the site (like the site title) via the API? Preferably, I'd like to do this as a non-validated user without an API key, though that's not a deal breaker.

Usage case

A simple search on this site for 'archive' makes it clear that archiving Discourse sites is tricky. None other than @codinghorror himself refers to it as much harder than you'd think. In part, I think this is due to the complicated structure of the HTML returned by Discourse. Thus, I'm attempting to write my own archiving tool to generate very vanilla HTML that retrieves all the pertinent information via the API. Obtaining everything needed on categories, topics, posts, and users to reconstruct the discussion list is pretty easy. I don't see how to get information on the overall site itself, though.

Of course, one option is to scrape the HTML itself and doing so for this relatively small amount of information might not be too bad. Then, that's exactly what I'm trying to avoid by using the API in the first place. I suppose another option would be to access the information locally using a database dump. Not my preference at the moment.

Posts: 4

Participants: 2

Read full topic

Is regular achieved on the 100th day?

$
0
0

@Huggingfluffybear wrote:

Hey guys it's the fluffy bear but so today, I was wondering is regular achived on the 100th day if you meet all other requirements?

Or is it 50 days?

I am a little confused becuase on some meta forums it's 50 but not sure on this one!

Bye, from the fluffy bear.

Posts: 7

Participants: 7

Read full topic


Anyone interested in sieve rules?

$
0
0

@carlokok wrote:

I've started collecting custom sieve rules for imap for all the vacation email replies we get, here's my script if anyone is interested:

require ["copy","fileinto"];
# rule:[sa]
if header :contains "x-spam-level" "*****"
{
	fileinto "myspam";
	stop;
}
# rule:[postmastercrap]
if anyof (header :contains "from" "MAILER-DAEMON@", header :contains "from" "postmaster@")
{
	fileinto "pmcrap";
	stop;
}
# rule:[vacation]
if anyof (header :contains "x-qq-holidayreply" "true", header :contains "subject" "Automatic reply", header :contains "subject" "Automatische Antwort", header :contains "subject" "Vacation reply", header :contains "subject" "Réponse automatique", header :contains "subject" "Automatisch antwoord", header :contains "subject" "自动回复", header :contains "subject" "Delivery Failure", header :contains "subject" "Holiday Re", header :contains "subject" "Out of Office", header :contains "subject" "Abwesenheitsnachricht", header :contains "subject" "Respuesta automática", header :contains "subject" "Autosvar:", header :contains "X-MDAutoResponse" "1")
{
	fileinto "pmcrap";
	stop;
}

Posts: 1

Participants: 1

Read full topic

Discourse update seems stuck after resolving 502 bad gateway?

$
0
0

@larsiusprime wrote:

So last night I go ahead and update Discourse from the admin panel. It gets to the last step and I just leave the computer and go to bed (I mean the process is running on a remote server so it doesn't need me to babysit, right?)

I come back the next morning and my forum is down -- "502 bad gateway nginx" is all it says. Googling around and searching this forum, I eventually figure out I should try rebuilding. So I save a snapshot of the DO droplet, ssh into my droplet, and run ./launcher rebuild app. Luckily, the forum comes back online.

So I go to check in on the upgrade in the admin panel.

This is what I see:

Okay, so I click on "currently upgrading..."

Been like that for a while now.

So... should I just leave it and hope it resolves? Should I click "reset upgrade?" Will that brick my forum?

Just want to do a quick sanity check before I break anything else.

Posts: 4

Participants: 2

Read full topic

How to move topic-notifications-button and invite-reply-button from footer?

$
0
0

@stevenpslade wrote:

There are two special buttons in discourse/app/assets/javascripts/discourse/views/topic-footer-buttons.js.es6: topic-notifications-button and invite-reply-button.

I am exploring the possibility of moving these buttons to an area in the first post, probably a widget attached to the post or the post-menu. I am struggling though with how to do this.

One thought I had was to get extend or reopen the ContainerView in my plugin:

const ContainerView = api.container.lookupFactory('view:container');
  ContainerView.reopen({
  //code in here that would at least recreate putting these buttons on the page

However, I can't 1) Even recreate the logic in my plugin to show these buttons elsewhere and 2) think how to move the logic else where.

Does anyone have any suggestions?

Posts: 2

Participants: 1

Read full topic

How to manually configure zram on Ubuntu?

$
0
0

@ljpp wrote:

I've been thinking that zram could be useful on a VPS (or especially dedicated), in order to avoid swapping to the SSD. I've actually used it with success on a 1GB VPS and the basic installation is trivial on Ubuntu:

sudo apt-get install zram-config

The zram-config however always allocates 50% of RAM to a number of virtual swap volumes, based on the number of CPU cores. So on a 1GB single-core box it utilizes 1x512MB virtual swap partition for zram. But on a 4GB dual-core configuration the result is 2x1024MB - not ideal.

What I would like to try is to allocate 512mb (2x256) to zram. The compression ratio is typically around 1:3, so this would give about +1GB headroom, thus reducing the need for SSD swapping. This would also be beneficial on laptops or workstations to reduce SSD/HD wear and tear.

But the problem is that sane zram settings documentation is nowhere to be found! I've Googled a lot. Anyone familiar with it?

Posts: 3

Participants: 2

Read full topic

User visit stats are not correct?

$
0
0

@pdx wrote:

If I go into https://meta.discourse.org/users, and select "Today" in the dropdown, I expect to see stats for today in the list below.

If I then sort the list by Visits, I'll see some visitors with 1 visit and some with 2 (I assume that is because the query selects the past 24 hours, and not the last calendar date when finding visits)

If I click into the profile some of the users with 1 or 2 visits today, for example https://meta.discourse.org/users/rene/activity

According to the text at the top of the page, he was last seen "Apr 9th" - how is that possible if he has 1 visit in the last 24 hours? Are these timestamps only calculated every x hours?

Cheers!

Posts: 1

Participants: 1

Read full topic

I don't like the gap between the topic list header and the topnav

Visual map of users

$
0
0

@MikeTaber wrote:

Is there a way to create something like an embedded Google Map with the location of users embedded into it, either on a one-off basis (ie: manually created/updated 1x/month) or dynamically on the fly?

We run a private community website so the only people who could see it are the people who are logged in and have access. I looked around and while there is a Location field that appears on the user cards, I don't see anywhere it's surfaced in a way that allows us to either generate a map so that people can find & connect with one another individually or search for people within a geographic area if they happen to be visiting that region of the world.

Anyone have any thoughts here? I know that generally speaking, for a publicly available site there would be privacy concerns but these are generally not applicable to our community. Thanks!

Posts: 2

Participants: 2

Read full topic


From / Reply / bounce email issue

$
0
0

@lrossouw wrote:

I'm not sure where this issue arises but I think this commit is causing me some hassles:

What my site config has is an smtp account with noreply@mysite.com
My reply address in settings is forum@mysite.com

This was working correctly and people were able to reply to emails.

When I upgraded I get errors on mail being rejected as the from address is not being found in aliases, presumably because email is being sent by user noreply@mysite.com but with envelope from forum+verp{key}@mysite.com.

May 11 01:45:32 mail postfix/submission/smtpd[621]: NOQUEUE: reject: RCPT from unknown[x.x.x.x]: 451 4.3.0 <forum+verp-2b5431831091aec1bc4e1ba25b4c26cc@mysite.com>: Temporary lookup failure; from=<forum+verp-2b5431831091aec1bc4e1ba25b4c26cc@mysite.com> to=<some_user@gmail.com> proto=ESMTP helo=<localhost.localdomain>```

How do I resolve this?

Posts: 7

Participants: 3

Read full topic

User avatar missing from Latest View

Unable to change tagging text (Customize -> text)

Hide staff tags from non-staff users

$
0
0

@tomwrench wrote:

When logged in as a non-staff user, I can still see a staff-only tag in the dropdown when creating a topic.

Is this able to be hidden, so only staff members can see the staff tag in the dropdown?

Thanks

Posts: 3

Participants: 3

Read full topic

Restrict tags to specific categories

$
0
0

@tomwrench wrote:

Would it be possible to restrict tags to specific categories?

This would be applicable where a tag list is only relevant in certain categories.

For implementation I'm imagining an 'allow tags in category' flag in category settings.

Posts: 3

Participants: 3

Read full topic

Viewing all 60599 articles
Browse latest View live




Latest Images