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.
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!
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.
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.
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.
When adding a Category Logo Image, the preview shows the image as tiled, but after Saving the Category, the image isn't tiled (which I believe is correct):
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.
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.
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
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.
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?
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.
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).
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:
Have one or more blue notifications waiting for you.
Log out of Discourse using the "Log Out" link under your profile photo menu.
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.
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: