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

Mail server + Discourse?

$
0
0

@Ninetailz wrote:

I am running a mailserver that uses nginx and the current vps has 1GB of memory (already setted up swap). Can i run discourse on this?

If so how do i make it have the discourse on domain.com instead on mail.domain.com. Since my FDQN is mail.domain.com i see discourse there and i cannot run the mail server since discourse binds to port 80. Is there a way to make this work together? Like the discourse on main domain and the mail server on mail.domain.com and using the host's nginx? I did try editing the host name on app.yml and didn't work.

Posts: 1

Participants: 1

Read full topic


Creating discourse account without email

Regarding installation of discourse without root access

How to point to specific path like domain.com/forum?

$
0
0

@Ricardonacif wrote:

Hey guys,

We have a Rails application running at domain.com and I'd like to serve the discourse at domain.com/forum. I've just got a paid installation version of Discourse and my idea is to use nginx proxy to point to my discourse URL. But how can I change the Discourse to link all paths to domain.com/forum? Would a rails scope on routes do that?

Thanks,

Posts: 2

Participants: 2

Read full topic

New category name with a number in it returns "slug is invalid" but category is created anyway

$
0
0

@erlend_sh wrote:

Try to create a category with a name like this:

group 1 category

It should return an error message:

Slug is invalid

However, the category was still created, with the slug group-1-category, so it must not have been invalid after all. Editing it and changing the name (not the slug) will also throw the error, but still apply the change.

Posts: 4

Participants: 3

Read full topic

Notification number not updated on new message

$
0
0

@MK2k wrote:

Hi,

The notification number (as seen in the little screenshot below) doesn't get updated when a new unread message has been sent. This wasn't always the case so I assume it's a bug and not by design. It seems to act this way since the balloon icon has been removed and messages have been merged into the avatar icon in one of the recent updates.

affected version: v1.5.0.beta6 +104

screenshot:

cheers

-- MK2k

Posts: 3

Participants: 2

Read full topic

Discourse Reply via Email NEVER works

$
0
0

@Tim_Robinson wrote:

I've setup and changed the admin - email settings dozens of ways - nothing works!
I've tried replying to posts via e-mail with outlook Office 365 & gmail accounts

The replies via e-mail to go to like replies+aaskdf92r89qfhaw92@gmail.com never make it anywhere.
Replies to address like cci.replies+20938973498430843@gmail.com fail too

However, replies sent to a specific email like xyz@gmail.com that are defined for specific categories DO create new posts in the appropriate category. What am I missing?

Posts: 5

Participants: 3

Read full topic

Idiomatic Docker usage?

$
0
0

@Redundancy wrote:

I've been asked to provide a production ready installation of Discourse on Amazon for my company.
I'd like to use AWS Elasicache to provide Redis, AWS ECS to manage containers, and RDS for the database (now that postgres is supported).

However, while I haven't looked at Docker extensively for a while, I'm hitting a bit of a "does not compute" moment looking at the web_only sample - it looks like this is something design to run docker from the docker host, and what I need to do is to provide a service definition to ECS with things linked up, environment variables set and ready for multiple containers to run.

It seems like any Docker setup for Discourse uses the discourse/discourse image that has everything installed on it, even if you want just the web server - this means that there's more to worry about in terms of image size, attack surface, and even the issue that your container is running multiple processes rather than just exiting if it crashes.

Perhaps I'm misunderstanding, but I was more expecting to see something like https://hub.docker.com/_/cassandra/ with documented environment variables, and maybe a Docker Compose file for bringing up all of the separate images together. Each Container should have one running "thing" in it, so that it can be managed from outside. It also seems like the bootstrap step bakes an Image that contains the email details, rather than leaving them outside of the image to make it reusable (pull and run). You really shouldn't be putting SSHD on a docker image either, to my understanding.

Are there any plans to change how Discourse uses Docker to be more idiomatic and use official images like https://hub.docker.com/_/postgres/, now that standardized tools are available in the Docker ecosystem for describing multi-layer services, and certain behaviour is expected by all docker cluster management systems (Swarm / Kubernetes / ECS)?

From a sysadmin point of view, the current way that Discourse is set up really concerns me. It's a snowflake that seems to be missing out on many of the advantages that Docker is supposed to provide.

Posts: 3

Participants: 2

Read full topic


Redis listening on *:6379

$
0
0

@kinabalu wrote:

hey guys, is there a simple way to ensure that redis is not listening outside of localhost?

whoopsie 24057  0.2  0.2  42444  2556 ?        Sl   Jan04   6:17 /usr/bin/redis-server *:6379

just got a security notice from DigitalOcean about redis being exposed to the outside world. Can we change that easily? I'm using the docker method of install

Posts: 9

Participants: 4

Read full topic

How to check for a users custom groups?

$
0
0

@stevenpslade wrote:

In Discourse/Admin/Groups there are automatic groups and custom groups. I am trying to identify users based off of their custom groups. In the same way you can do Discourse.User.current(), I am hoping there is something similar for querying the custom groups they have been added to.

Posts: 1

Participants: 1

Read full topic

Lastpass users can't log in

$
0
0

@mei wrote:

I have a few people in my forum who are using LastPass but cannot login.

Here's what one said:

No error, the fields just do not fill in at all. The "manual" way to do it (by right-clicking and selecting LastPass > Autofill) has no effect either, and the fields stay stubbornly blank.

I am using the latest LastPass Chrome extension (4.0 - though it was happening on 3.6 as well) both at home (Windows 10, latest 64bit Chrome version) and at work (OSX El Capitan 10.11.2, latest 64bit Chrome version).

Can this be fixed using this? https://github.com/discourse/discourse/commit/1b81f73325dc0a2001472a6b891f1adfd53c5e25

Posts: 5

Participants: 4

Read full topic

Please help: All custom translations lost

$
0
0

@Krischan wrote:

I used /admin/customize/site_texts to customize a lot of text. Then I updated a plugin and rebuilt the app, now all the customizations are gone and I don't know how to retrieve them. I backup the site daily. What would you do?

Posts: 7

Participants: 4

Read full topic

Using the api for user management (the 100 user limit)

$
0
0

@eriko wrote:

So I am trying to use the api for some management tasks and I can not find a way using the api to get all the users.

I am trying to do two things:

  • Using an external list + a white list suspend users that should no longer have active accounts.
  • Trigger a SSO log out to force everyone to have to re login (this is needed due to some upstream data issues that I do not control)

Two possible options:
* The api call of list_users(type) only returns 100 users. The underlying call of users = ::AdminUserIndexQuery.new(params).find_users has a default limit of 100 so in theory this could return everyone. Though performance would probably be horrible.
* The second way would be to use the export users functionality in the interface and while this would work it requires human intervention which is what I am trying to avoid.

Is there anything I am missing? Thanks.

Posts: 1

Participants: 1

Read full topic

Problem importing using mbox script

$
0
0

@ghutchis wrote:

I'm trying to import some mailing list archives in mbox format from SourceForge.

I used formail to split into individual e-mail messages - this was one snag, since it caused some minor corruption in certain messages (e.g., there was no real From: address).

Fine, now I have the JSON indexes created:

-rw-rw-r-- 1 discourse discourse 192003 Jan  7 00:00 replies-index.json
-rw-rw-r-- 1 discourse discourse  77279 Jan  7 00:00 topic-index.json
-rw-rw-r-- 1 discourse discourse  11363 Jan  7 00:00 user-index.json

But when it starts to actually do the work:

creating forum topics
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-mini-profiler-0.9.7/lib/patches/db/pg.rb:50:in `exec': ERROR:  duplicate key value violates unique constraint "import_ids_pkey" (PG::UniqueViolation)
DETAIL:  Key (val)=(<165008.83966.qm@web23405.mail.ird.yahoo.com>) already exists.
	from /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-mini-profiler-0.9.7/lib/patches/db/pg.rb:50:in `exec'
	from /var/www/discourse/lib/freedom_patches/active_record_base.rb:7:in `exec_sql'
	from /var/www/discourse/script/import_scripts/base.rb:203:in `all_records_exist?'
	from script/import_scripts/mbox.rb:147:in `block in create_forum_topics'

Posts: 2

Participants: 1

Read full topic

How do I get a list of which users use which login methods?

$
0
0

@unknowndomain wrote:

I was wondering if there was a way to get a list of which users use which login methods, i.e.GitHub, Facebook etc...

Posts: 2

Participants: 2

Read full topic


Why? It's very inconvenient to locate right sub-categories when posting

$
0
0

@M_c_Tau wrote:

Hi
I think it is so cool and logical when reader feels so clear and logical to find topic in targeted categories because the main categories and sub-categories are classified in 2 different fields.

But when member want to post a new thread, it's like a mess if the forums contains many main categories and corresponding sub-categories. I just suppose it is so much better if we classified them in different fields like when readers are able to select them clearly and conveniently from the homepage.

Posts: 8

Participants: 4

Read full topic

Does discourse support docker on windows?

No images on Facebook: fb:app_id missing

$
0
0

@Krischan wrote:

If you debug a topic on meta on https://developers.facebook.com/tools/debug/og/object/, you get the message

fb:app_id hasn't been included in the meta tags. Specify the app ID so that stories shared to Facebook will be properly attributed to the app. (...)

I did this for my site manually in the /head-section and now images show up on Facebook which were missing before.

Posts: 2

Participants: 2

Read full topic

How to add notification bar on the top of the site?

Failed upgrade with errors "Side effects in initialization of unused variable"

$
0
0

@axp wrote:

I get failed upgrades since the beginning of January. Here is the log:

WARN: Side effects in initialization of unused variable $ [_application-43e4dc1d10515d73857e1097bc6567d9.js:15801,4]
WARN: Side effects in initialization of unused variable $ [_application-43e4dc1d10515d73857e1097bc6567d9.js:15890,4]
WARN: Side effects in initialization of unused variable $ [_application-43e4dc1d10515d73857e1097bc6567d9.js:15923,4]
WARN: Side effects in initialization of unused variable $ [_application-43e4dc1d10515d73857e1097bc6567d9.js:15935,4]
WARN: Side effects in initialization of unused variable $ [_application-43e4dc1d10515d73857e1097bc6567d9.js:16026,4]
WARN: Side effects in initialization of unused variable $ [_application-43e4dc1d10515d73857e1097bc6567d9.js:16087,4]
WARN: Side effects in initialization of unused variable $ [_application-43e4dc1d10515d73857e1097bc6567d9.js:16142,4]
WARN: Side effects in initialization of unused variable $ [_application-43e4dc1d10515d73857e1097bc6567d9.js:16172,4]
WARN: Side effects in initialization of unused variable $ [_application-43e4dc1d10515d73857e1097bc6567d9.js:16214,4]
WARN: Side effects in initialization of unused variable $ [_application-43e4dc1d10515d73857e1097bc6567d9.js:16303,4]
WARN: Side effects in initialization of unused variable $ [_application-43e4dc1d10515d73857e1097bc6567d9.js:16373,4]
WARN: Side effects in initialization of unused variable $ [_application-43e4dc1d10515d73857e1097bc6567d9.js:23830,4]
WARN: Side effects in initialization of unused variable $ [_application-43e4dc1d10515d73857e1097bc6567d9.js:24108,4]
WARN: Side effects in initialization of unused variable $ [_application-43e4dc1d10515d73857e1097bc6567d9.js:24144,4]
WARN: Condition left of || always true [_application-43e4dc1d10515d73857e1097bc6567d9.js:93091,20]
WARN: Condition always true [_application-43e4dc1d10515d73857e1097bc6567d9.js:93091,20]
WARN: Side effects in initialization of unused variable computed [_application-43e4dc1d10515d73857e1097bc6567d9.js:94343,8]
WARN: Side effects in initialization of unused variable get [_application-43e4dc1d10515d73857e1097bc6567d9.js:94732,8]
Killed

Starting upgrade right after it was failed works fine though.

Posts: 1

Participants: 1

Read full topic

Viewing all 60690 articles
Browse latest View live




Latest Images