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

SSO using WP-discourse plugin

0
0

@sebien wrote:

Hello,

I'm trying to integrate sso between Wordpress and Discourse using WP-discourse plugin.
It seems somewhat working but not sure if this is working correctly.
Sorry if this is the duplicated question. (I've searched but couldn't find so I'm asking here)

1.
Does users have to press "Login" button on Discourse in order to login to Discourse? In my case, I was logged in on Wordpress site when I went to my forum, I was not signed into the forum immediately, but signed in after pressing the "Login" button. Is this the right result? Or users should be logged in automatically when they come to the forum from wordpress?

2.
It seems like "Logout" doesn't sync between wordpress and discourse. Am I missing something or WP-discourse plugin doesn't offer this function?

Thanks for your help!

Posts: 2

Participants: 2

Read full topic


Tags for private messages

0
0

@tobiaseigen wrote:

I'd very much like to be able to use tags in private messages, and especially staff tasks, to help my team manage all the correspondence piling up in messages and use messaging as a way to directly provide support to members and track an issue all the way through resolution, like a task tracker.

The ability to add tags like new, inprogress, waitingonsomeone, completed would be a big help.

Posts: 1

Participants: 1

Read full topic

Can't get avatar overrides to work over SSO

0
0

@alehandrof wrote:

I can't get the avatar overrides to work over SSO.

My SSO procedure works fine in all other respects. I am able to override a user's full name, for example, but not the avatar.

Here are the parameters I'm passing (in addition to the nonce, user id and email):

array:4 [▼
  "username" => "aarmstrong"
  "name" => "Alex Armstrong"
  "avatar_force_update" => true
  "avatar_url" => "http://www.amicalnet.dev/assets/img/uploads/alehandrof-profile-pic.jpg"
]

I have sso overrides avatar enabled. I have automatically download gravatars, allow uploaded avatars and external system avatars enabled disabled.

I've read every the main topic about SSO as well as all topics about avatars and SSO that I could find, but I don't see what I might be doing wrong.

In case it matters, I'm doing this locally. So Discourse, using Vagrant, is at http://localhost:4000 and my site is at http://www.amicalnet.dev. I'm using cviebrock's PHP SSO helper.

I'm out of things to try. Any ideas?

Posts: 1

Participants: 1

Read full topic

Connection issue

0
0

@Cylae wrote:

Hello !

My Discourse was working well but now...

Error

root@PoweredCore - 11:38:06 - ~ # cd /var/discourse
root@PoweredCore - 11:38:57 - /var/discourse # git pull
Already up-to-date.
root@PoweredCore - 11:38:58 - /var/discourse # ./launcher rebuild app
Ensuring launcher is up to date
Fetching origin
Launcher is up-to-date
Stopping old container
+ /usr/bin/docker stop -t 10 app
app
cd /pups && git pull && /pups/bin/pups --stdin
Already up-to-date.
I, [2016-07-24T09:39:21.913145 #17] INFO -- : Loading --stdin
I, [2016-07-24T09:39:21.937519 #17] INFO -- : > mkdir -p /shared/postgres_run
I, [2016-07-24T09:39:21.944021 #17] INFO -- :
I, [2016-07-24T09:39:21.944428 #17] INFO -- : > chown postgres:postgres /shared/postgres_run
I, [2016-07-24T09:39:21.948014 #17] INFO -- :
I, [2016-07-24T09:39:21.948367 #17] INFO -- : > chmod 775 /shared/postgres_run
I, [2016-07-24T09:39:21.952997 #17] INFO -- :
I, [2016-07-24T09:39:21.953193 #17] INFO -- : > rm -fr /var/run/postgresql
I, [2016-07-24T09:39:21.976758 #17] INFO -- :
I, [2016-07-24T09:39:21.976957 #17] INFO -- : > ln -s /shared/postgres_run /var/run/postgresql
I, [2016-07-24T09:39:21.978057 #17] INFO -- :
I, [2016-07-24T09:39:21.978217 #17] INFO -- : > socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1
2016/07/24 09:39:22 socat[25] E connect(6, AF=1 "/shared/postgres_run/.s.PGSQL.5432", 36): No such file or directory
I, [2016-07-24T09:39:22.013526 #17] INFO -- :
I, [2016-07-24T09:39:22.013872 #17] INFO -- : > rm -fr /shared/postgres_run/.s*
I, [2016-07-24T09:39:22.015636 #17] INFO -- :
I, [2016-07-24T09:39:22.015993 #17] INFO -- : > rm -fr /shared/postgres_run/*.pid
I, [2016-07-24T09:39:22.017494 #17] INFO -- :
I, [2016-07-24T09:39:22.017667 #17] INFO -- : > mkdir -p /shared/postgres_run/9.5-main.pg_stat_tmp
I, [2016-07-24T09:39:22.018896 #17] INFO -- :
I, [2016-07-24T09:39:22.019150 #17] INFO -- : > chown postgres:postgres /shared/postgres_run/9.5-main.pg_stat_tmp
I, [2016-07-24T09:39:22.031635 #17] INFO -- :
I, [2016-07-24T09:39:22.036089 #17] INFO -- : File > /etc/service/postgres/run chmod: +x
I, [2016-07-24T09:39:22.042412 #17] INFO -- : File > /etc/runit/3.d/99-postgres chmod: +x
I, [2016-07-24T09:39:22.052435 #17] INFO -- : File > /root/upgrade_postgres chmod: +x
I, [2016-07-24T09:39:22.052927 #17] INFO -- : > chown -R root /var/lib/postgresql/9.5/main
I, [2016-07-24T09:39:22.157092 #17] INFO -- :
I, [2016-07-24T09:39:22.157350 #17] INFO -- : > [ ! -e /shared/postgres_data ] && install -d -m 0755 -o postgres -g postgres /shared/postgres_data && sudo -E -u postgres /usr/lib/postgresql/9.5/bin/initdb -D /shared/postgres_data || exit 0
I, [2016-07-24T09:39:22.158537 #17] INFO -- :
I, [2016-07-24T09:39:22.158620 #17] INFO -- : > chown -R postgres:postgres /shared/postgres_data
I, [2016-07-24T09:39:22.173780 #17] INFO -- :
I, [2016-07-24T09:39:22.174041 #17] INFO -- : > chown -R postgres:postgres /var/run/postgresql
I, [2016-07-24T09:39:22.175553 #17] INFO -- :
I, [2016-07-24T09:39:22.175846 #17] INFO -- : > /root/upgrade_postgres
I, [2016-07-24T09:39:22.178844 #17] INFO -- :
I, [2016-07-24T09:39:22.179136 #17] INFO -- : > rm /root/upgrade_postgres
I, [2016-07-24T09:39:22.180310 #17] INFO -- :
I, [2016-07-24T09:39:22.180628 #17] INFO -- : Replacing data_directory = '/var/lib/postgresql/9.5/main' with data_directory = '/shared/postgres_data' in /etc/postgresql/9.5/main/postgresql.conf
I, [2016-07-24T09:39:22.181241 #17] INFO -- : Replacing (?-mix:#?listen_addresses =.) with listen_addresses = '*' in /etc/postgresql/9.5/main/postgresql.conf
I, [2016-07-24T09:39:22.181590 #17] INFO -- : Replacing (?-mix:#?synchronous_commit =.) with synchronous_commit = $db_synchronous_commit in /etc/postgresql/9.5/main/postgresql.conf
I, [2016-07-24T09:39:22.181918 #17] INFO -- : Replacing (?-mix:#?shared_buffers =.) with shared_buffers = $db_shared_buffers in /etc/postgresql/9.5/main/postgresql.conf
I, [2016-07-24T09:39:22.182273 #17] INFO -- : Replacing (?-mix:#?work_mem =.) with work_mem = $db_work_mem in /etc/postgresql/9.5/main/postgresql.conf
I, [2016-07-24T09:39:22.182629 #17] INFO -- : Replacing (?-mix:#?default_text_search_config =.) with default_text_search_config = '$db_default_text_search_config' in /etc/postgresql/9.5/main/postgresql.conf
I, [2016-07-24T09:39:22.188090 #17] INFO -- : > install -d -m 0755 -o postgres -g postgres /shared/postgres_backup
I, [2016-07-24T09:39:22.190742 #17] INFO -- :
I, [2016-07-24T09:39:22.191106 #17] INFO -- : Replacing (?-mix:#?max_wal_senders =.) with max_wal_senders = $db_max_wal_senders in /etc/postgresql/9.5/main/postgresql.conf
I, [2016-07-24T09:39:22.191456 #17] INFO -- : Replacing (?-mix:#?wal_level =.) with wal_level = $db_wal_level in /etc/postgresql/9.5/main/postgresql.conf
I, [2016-07-24T09:39:22.191880 #17] INFO -- : Replacing (?-mix:#?checkpoint_segments =.) with checkpoint_segments = $db_checkpoint_segments in /etc/postgresql/9.5/main/postgresql.conf
I, [2016-07-24T09:39:22.192212 #17] INFO -- : Replacing (?-mix:#?logging_collector =.) with logging_collector = $db_logging_collector in /etc/postgresql/9.5/main/postgresql.conf
I, [2016-07-24T09:39:22.193311 #17] INFO -- : Replacing (?-mix:#?log_min_duration_statement =.) with log_min_duration_statement = $db_log_min_duration_statement in /etc/postgresql/9.5/main/postgresql.conf
I, [2016-07-24T09:39:22.193696 #17] INFO -- : Replacing (?-mix:^#local +replication +postgres +peer$) with local replication postgres peer in /etc/postgresql/9.5/main/pg_hba.conf
I, [2016-07-24T09:39:22.194086 #17] INFO -- : Replacing (?-mix:^host.all.all.127.$) with host all all 0.0.0.0/0 md5 in /etc/postgresql/9.5/main/pg_hba.conf
I, [2016-07-24T09:39:22.194392 #17] INFO -- : > 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
I, [2016-07-24T09:39:22.195478 #17] INFO -- : > sleep 5
2016-07-24 09:39:22 UTC [46-1] FATAL: could not write lock file "postmaster.pid": No space left on device
I, [2016-07-24T09:39:27.200481 #17] INFO -- :
I, [2016-07-24T09:39:27.200883 #17] INFO -- : > su postgres -c 'createdb discourse' || true
createdb: could not connect to database template1: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
I, [2016-07-24T09:39:27.314237 #17] INFO -- :
I, [2016-07-24T09:39:27.314517 #17] INFO -- : > su postgres -c 'psql discourse -c "create user discourse;"' || true
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
I, [2016-07-24T09:39:27.569309 #17] INFO -- :
I, [2016-07-24T09:39:27.569610 #17] INFO -- : > su postgres -c 'psql discourse -c "grant all privileges on database discourse to discourse;"' || true
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
I, [2016-07-24T09:39:27.723875 #17] INFO -- :
I, [2016-07-24T09:39:27.724099 #17] INFO -- : > su postgres -c 'psql discourse -c "alter schema public owner to discourse;"'
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
I, [2016-07-24T09:39:27.876665 #17] INFO -- :
I, [2016-07-24T09:39:27.876957 #17] INFO -- : Terminating async processes

FAILED

Pups::ExecError: su postgres -c 'psql discourse -c "alter schema public owner to discourse;"' failed with return #
Location of failure: /pups/lib/pups/exec_command.rb:108:in `spawn'
exec failed with the params "su postgres -c 'psql $db_name -c \"alter schema public owner to $db_user;\"'"
d28a17be1cd7ec41f22f917b3003e77ff6e98b140bdd317586c53e369921fd3b
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one
root@PoweredCore - 11:39:28 - /var/discourse # cd /var/discourse

What to do ? :confused:
Thank you so much for your help !

Posts: 3

Participants: 2

Read full topic

Installation on 512MB

0
0

@atul_sharma wrote:

I want to try discourse for my training forum.

Dont know how much users will come, but 1000 approx i am thinking as of now.

I checked digital ocean, 512mb,

What are the steps i have to follow.

Posts: 5

Participants: 3

Read full topic

Discourse has stopped opening

0
0

@itamerlanium wrote:

Hi dears,
unfortunately, my website http://specknz.me/ has stopped opening and I don't really know what has caused it. Also I've got an error:

502 Bad Gateway
nginx

How could be it sort out without touching the Snapshot on the Digitalocean?
Thank you.

Posts: 1

Participants: 1

Read full topic

Plain text part of "new first post" email has missing translation error

0
0

@carlokok wrote:

----==_mimepart_5793d2dfbd5c3_67253fa98177265c988f6
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: 7bit

translation missing: en.user_notifications.user_watching_first_post_pm.text_body_template
To unsubscribe from these emails, [click here](https://talk.remobjects.com/email/****).

Posts: 1

Participants: 1

Read full topic

Email polling error -- what to do about it?


Top user list public

504 Gateway Timeout ERROR During Post Editing

0
0

@Siraj_M wrote:

When I edit any existed or recent post as an administrator so I'm getting this error "504 Gateway Timeout" also getting time out message instead of save data.

Posts: 1

Participants: 1

Read full topic

Youtube embeds missing

0
0

@pfaffman wrote:

I have a client for whom embedded youtube videos are missing. They appear in composer's preview, but when the messages are saved, they disappear. They are working fine in try.discourse.org. I tried whitelisting youtu.be and changing the URL to a youtube.com url too. Neither solved the problem.

The site is running v1.6.0.beta11 +141

Posts: 2

Participants: 2

Read full topic

Broken picture after changing hostname

0
0

@andy1247008998 wrote:

Here's how to reproduce this bug:

  1. ./launcher bootstrap app with a.com as hostname in app.yml
  2. Upload a picture in a post. Let's say it is http://a.com/uploads/default/original/xxxx.png
  3. ./launcher rebuild app with b.com as hostname in app.yml
  4. Open the post in Step 2, you will see a broken picture.
  5. You will find that the picture is still refer to http://a.com/uploads/default/original/xxxx.png but not b.com
  6. If you edit the post, the preview on the right side shows the picture correctly

This bug remains even if you destroy and bootstrap again.

Another way to produce this bug:
1. Back up a.com
2. Upload and restore to b.com
3. Pictures are broken

Posts: 6

Participants: 4

Read full topic

I am getting error as 10,000s of emails failed (mostly digest emails)

Linking to posts within the same thread

0
0

@dlynch158 wrote:

Hi, I found a feature request for this:

But it's not clear to me this feature exists?

I have a thread with a first post, where I'll be linking certain posts within that thread, by editing the first post. Currently, all the links cause a page-reload. Is there a way for me to specify a link so that a page-reload won't be caused? Thank you!

Posts: 1

Participants: 1

Read full topic

Changing emoji set doesn't update old posts anymore


Avatars in an offline install

0
0

@alexrcs wrote:

I'm trying to deploy a Discourse instance on a fully offline environment. We have a community of about 8000 people (mainly developers) on a big "local area" network.

Getting internet access to the server is not an option (it's Cuba: mostly 56kbps dial-up modem at homes).

I've been juggling a little with the docker images/containers (luckily I'm not new to Rails), and I managed to get it up and running, by doing the bootstrap process on an online PC (and some more mumbo-jumbo that ain't important right now).

The thing is, I found the nginx to be configured to use avatars dot discourse dot org as the backend for letter avatars. On an offline environment, this address is of course unreachable.

Is there any way I can still use these letter avatars locally? Maybe I missed some configuration or something. Any help would be appreciated.

Posts: 3

Participants: 2

Read full topic

Accepted invitation notifications 404 if username is changed

0
0

@barryvan wrote:

Having just sent out a whole slew of invitations, I've seen this happen a few times now. People accept the invitation with one username, but then change their mind. If I then follow the notification link, I get a 404 page. Ideally, this would redirect to the appropriate user's page.

I've put this in as a bug because from a UX perspective, it feels buggy -- the notification is right there, telling me about this user, but doesn't work when I click on it. It was put in as a feature request before:

(I'm not 100% sure on the accepted etiquette here on meta. In composing this post, it suggested that as a possible duplicate, but when I went to reply to that post, it warned me that it was very old and perhaps not a good idea. Which is preferred?)

Posts: 3

Participants: 2

Read full topic

Migrating without getting seeds loaded?

0
0

@andrewroth wrote:

Hi all,

Is there a way to run migrations without getting the seeds also run? Actually, I suppose I should check -- is that normal behavior? As it is what I'm seeing. In any case I've tried rake -T seed/seeds/migrate to see if there are any tasks already defined and I don't see any.. and also tried googling it a bit but I haven't seen anything.

Thanks!

Posts: 2

Participants: 1

Read full topic

User_actions request which includes original poster

0
0

@adam_beers wrote:

I'm trying to determine if there is a way to get a list of the replies a user did, but to include the original poster information so that a page could include that poster's avatar and username. As it stands, if I do a user_actions with filter=5, I get the user's replies, but no information about the original poster. It would look better if it showed that information instead of just a long list where each avatar is the same: that of the requesting user.

If it doesn't exist, is there a way to request an API change or addition? Or, would I be on my own to create such an API?

Interesting though, is the fact that if I get a filter=1 (for posts I liked), I get information about the user whose post I liked.

Posts: 1

Participants: 1

Read full topic

Post selection count is inaccurate if mixing "Select" and "Select + replies"

0
0

@barryvan wrote:

Steps to reproduce:

  1. Start selection with a post which is a reply to another.
  2. Click the "select + replies" button for its parent.
  3. Note that although there are only two posts selected, the counter says (3).

It's not a major issue, but it can be a slight cause for concern -- it becomes a bit ambiguous whether there's another post that's selected but not visible.

Posts: 1

Participants: 1

Read full topic

Viewing all 60279 articles
Browse latest View live




Latest Images