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

Docker problem after machine restart

$
0
0

@clay wrote:

I had to reboot the machine I have Discourse running on to replace a bad graphics card. However, Discourse won't restart. When I try ./launcher restart app from within /var/discourse, I see:

clay@machine:/var/discourse$ ./launcher restart app
+ /usr/bin/docker stop -t 10 app
app

starting up existing container
+ /usr/bin/docker start app
Error response from daemon: Cannot start container app: Bind for 0.0.0.0:9999 failed: port is already allocated
Error: failed to start containers: [app]

When I docker ps -a it looks like:

clay@machine:/var/discourse$ docker ps -a
CONTAINER ID        IMAGE                 COMMAND             CREATED             STATUS                        PORTS                                        NAMES
1784278bfaa7        local_discourse/app   "/sbin/boot"        4 weeks ago         Exited (143) 18 minutes ago                                                app
fdfe02391dc0        local_discourse/app   "/sbin/runit"       12 months ago       Up 10 minutes                 0.0.0.0:2222->22/tcp, 0.0.0.0:9999->80/tcp   tender_mayer
72e1859eb261        hello-world           "/hello"            12 months ago       Exited (0) 12 months ago                                                   hopeful_kirch

That sort of makes it look like an old version of Discourse is running?

What's going on here? How can I get Discourse up and running again? All was fine before I shut down and rebooted.

Posts: 3

Participants: 2

Read full topic


Discourse to handle all user logins for my website

$
0
0

@arthp wrote:

I'm in the process of releasing my site with Discourse as the primary discussion area.
I currently manage and store all user/login info using LAMP as securely as I can.
My 2 questions are:
(1) Could I have Discourse handle all the user/login info instead? If so..
(2) Is it possible for me to create/store/modify custom user information in Discourse so that I can pass/handle that data back to my site?
The user data I'd like Discourse to store (and for me to retrieve) are my own things like user scores, gifts, virtual monies..etc, which I have special code in place and integrated to my site already.
The reason for this is that I feel Discourse adds a superior login layer of security than my own.
I'd also like to have just one user profile location instead of two.

Any information or advice to lead me to the right direction would be great
Thanks!

Posts: 3

Participants: 2

Read full topic

Access membership of non visible groups via API

$
0
0

@OnceWas wrote:

I am trying to use the API to determine if a user is a member of a group that has "Group is visible to all users" unchecked. Even when I use an admin API username and key when pulling in a user profile (via /users/username.json), the json that is returned only lists the groups that are visible to all users (i.e. where user->custom_groups->visible is true).

Is there any way to get the membership of custom groups that are visible:false from the user profile? It seems like an admin API user and key should have access to that information.

Posts: 3

Participants: 2

Read full topic

Discourse 1.4 Released!

Need Discourse Consultant's Help on some Database / CSS/ Plugin Work

$
0
0

@BCHK wrote:

Hi - I need some help on my Discourse install currently running on Digital Ocean. Here is a description (below). Please drop me a PM with details on your experience working with Discourse, and your estimate on the cost for each of the projects (some are minimal effort - so you can also split things up with Project 1 being one price, and all the others being another price.

Let me know if you have any questions:

Projects:

Project 1: Split of of Category to a new Forum

I need to split off one of my forum categories into its own new discussion forum (its too different from the other categories).

Specifically I want this entire category topics/posts copied to the new install of Discourse
I want the user database to be duplicated and added to the new discourse install
I want the copy of the category/topic and posts (that were moved) will then be removed from the old install of Discourse.

At the end I want two completely separate Discourse forums (installs) - or perhaps they are just two different forums on the same install, but separate from a management and interaction standpoint.

The two user databases for the two forums will initially be identical - but then they will diverge afterward (anyone can join either forum - but one group of people will tend to join one of the forums, and another group the other forums - so they will diverge over time).

Small Projects:

Project 2: Install Google DFP plugin - into Discourse (both installs/forums)

Project 3: Install Translator Plugin - in one forum to test it out:

Project 4: Configure Facebook Login for Discourse on both forums:

Project 5: Update Install of Discourse Wordpress Plugin:

Project 6: Add web site Header to Page - to help navigation back to front page of web site.

Project 7: Figure out how to "Onebox" my wordpress blog posts that get autocopied into forum at post time.

Posts: 1

Participants: 1

Read full topic

Can we allow new or basic users to Invite their friends option?

$
0
0

@Siraj_M wrote:

Is it possible, to grant invite friends option to new or basic users. Is there any kind of facility of option available in discourse interface where we can enable or grant this invitation option to all forum users.

Posts: 2

Participants: 2

Read full topic

Category logo image - tiled or not?

Batch processing to search and replace in all posts

$
0
0

@dandv wrote:

Is there a simple Ruby script somewhere that can be easily tweaked to do a search and replace in all posts?

I've migrated from MyBB and there are some tiny formatting tweaks that need to be made, e.g. replace [hr] with ----------, or convert the quote lines. I'm very new to Ruby (basically learned enough last night to submit that quoteline conversion PR), so I'm looking for a skeleton script that loops through existing posts.

Posts: 4

Participants: 3

Read full topic


Feasible to reverse proxy using qualifier in URL?

$
0
0

@ckamps wrote:

I've seen many references to configuring reverse proxies to map "/" to a backend Discourse site, but I haven't seen examples where something other than slash is mapped. For example, I would like to establish a reverse proxy to map multiple Discourse sites by qualifying the URL after the host/domain name.

ProxyPreserveHost On
ProxyRequests Off
ProxyPass /meta/ http://<IP address 1>/
ProxyPassReverse /meta/ http://<IP address 1>/
ProxyPass /foo/ http://<IP address 2>/
ProxyPassReverse /foo/ http://<IP address 2>/

When this approach is taken, the main page is loaded, but all references back to the site lack the "/meta/" qualifier and result in 404s.

Is it feasible to prefix Discourse sites addresses in this manner?

I'd prefer not to use different FQDNs to distinguish between sites.

Posts: 3

Participants: 3

Read full topic

Discourse was just upgraded to Rails 4.2

$
0
0

@sam wrote:

Now that our release is out the door I am taking the time to upgrade our dependencies in our Gemfile, first up is Rails.

This is rather delicate work, I need to make sure we do not regress significantly on performance. Rails 4.2 upgrade work all happened about a year ago, big thanks to @chancancode :heart:

Ever since I originally blogged about this: http://samsaffron.com/archive/2014/12/01/speeding-up-rails-4-2 a few more improvements have been made. Perf is way better memory wise and performance is closer.

Rails 4.1.10 Rails 4.2.4
Mem Usage (PSS) 207K 185K
Latest 59ms 60ms
Categories 77ms 86ms
Topic 22ms 23ms

Test was performed using Ruby 2.2.3 and Discourse bench

The biggest perf casualty is the categories page, we will continue to work with the rails team to improve perf here. Nonetheless, I wanted us upgraded since Rails 5 is around the corner and we can not be clinging to the past, now is the perfect time to be upgrading.

Posts: 1

Participants: 1

Read full topic

Double latest json requests

URL auto-linking doesn't hyperlink if open paren precedes the protocol

$
0
0

@dandv wrote:

Input:

The Discourse forum (http://discourse.org) rocks.

Expected output:

The Discourse forum (http://discourse.org) rocks.

Actual output:

The Discourse forum (http://discourse.org) rocks.

Posts: 3

Participants: 3

Read full topic

"Reply as linked Topic" - clickable link target is double the length

Installing a particular commit of a plugin?

$
0
0

@gdpelican wrote:

Hey Discourse!

So, I've got a shiny new version of Babble which I'd like to throw up onto my instance, but I don't want to merge it into master and make it available to anyone upgrading yet. Could someone point me towards the commands I can use to specify a particular branch / commit hash to apply the plugin with?

Posts: 2

Participants: 2

Read full topic

Move docker container to new host but can't upload backup

$
0
0

@nairolf wrote:

I'm trying to move my existing discourage docker container to a new docker host.

According your howto, I've downloaded my backup from the old docker host and try to upload this backup to the discourage container on my new docker host.

I get a success message after the upload:

discourse-2015-09-23-120423.tar.gz' has successfully been uploaded.

... but there is no entry in my backup list which I could restore.

My discourage Version is 1.5.0.beta1 on both docker hosts.

Posts: 7

Participants: 2

Read full topic


Rate limiting conversations for new users

$
0
0

@fbender wrote:

Continuing the discussion from Can Discourse ship frequent Docker images that do not need to be bootstrapped?:

Yeah I am aware of the rate limiting and it's one of the reasons I chose Discourse. However it broke the flow of this coversation with its pretty hefty 24h "ban". I need to think about my limits … and whether the rate limiting can be smarter (e.g. allow a higher number of replys in a conversation when you are not answering yourself). It's a bit confusing that I could create new topics but could not answer to someone else. Also, the error message was very non-decriptive and confusing for the "average Joe" (I knew what was happening, but the folks in my install would not).

Any idea how this could be improved?

Posts: 1

Participants: 1

Read full topic

Logging out dismisses notification count

$
0
0

@downey wrote:

Now that the "log out" button has been moved below the notifications, logging out of the site dismisses your blue notification count (not the green message count).

Reproduce:

  1. Have one or more blue notifications waiting for you.
  2. Log out of Discourse using the "Log Out" link under your profile photo menu.
  3. Log back in later.

Expected results:

  • Blue notification count is still there.

Actual results:

  • Notifications are dismissed from the counter, although they still appear in the menu.

Posts: 1

Participants: 1

Read full topic

Missing Gemfile entry for "sprockets"

Upgrade tanked and everything broke

$
0
0

@shadowhand wrote:

Today after several months of not upgrading, I upgraded docker manager successfully and then tried to upgrade docker, which failed during bundling. I tried to rebuild the container using ./launcher rebuild app but it failed on exactly the same place.

Now when I start the app, I get this error on the web console and a blank page:

Uncaught Error: There is no route named user

Posts: 7

Participants: 3

Read full topic

New icon and bullet

$
0
0

@vulkanino wrote:

In my instance I can't see the new icon anymore and I don't receive the little number next my avatar that signals new messages or answers to my posts.

Is this a configuration somewhere? I'm confused, I'm sure it was there before.

Posts: 1

Participants: 1

Read full topic

Viewing all 60581 articles
Browse latest View live




Latest Images