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

Updating from 0.9.9 to 0.9.9.3

0
0

Victor Aprea wrote:

I've been keeping my Discourse installation up to date following the guide pointed to by @codinghorror in this thread a while back. Today I went to try do this maintenance activity and noted that guide is now deprecated and only Docker based installations are supported now. Is there some way to convert my current installation into a Docker based installation, and is there a guide to doing that? What's the recommended path forward for someone like me?

Posts: 4

Participants: 2

Read full topic


How to upload assets "the right way"?

0
0

Victor Aprea wrote:

From the current Admin Quick Start Guide

Look for the assets for the forum design topic; follow the instructions there to upload your logos to that topic, and then paste the uploaded image paths into the required logo settings.

The link to the assets for the forum design is broken. So what's the current recommended way to get your logo, favicon, etc into the site so they can be used in their respective admin settings?

Posts: 3

Participants: 2

Read full topic

Migrating an old Discourse install to Docker

0
0

Sam Saffron wrote:

Deploying Discourse on Docker is currently our recommended setup. It avoids many pitfalls installations have, such as misconfigured nginx, sub-optimal Ruby defaults and so on.

The Docker based setup ensures we are all on the same page when diagnosing installation issues and completely eradicates a class of support calls.

Today, all sites hosted by Discourse are on Docker.

This is a basic guide on how to move your current Discourse setup to a Docker based setup.

Getting started

First, get a blank site with working email installed. Follow the guide at https://github.com/discourse/discourse_docker and install a new, empty Discourse instance.

Tips:

  • Bind the web to a different port than port 80, if you are on the same box. Eg:

    expose:
      - "81:80"
  • Be sure to enter your email in the developer email section, so you get admin:

    env:
      # your email here
      DISCOURSE_DEVELOPER_EMAILS: 'my_email@email.com'
  • Make sure email is setup and working by visiting /admin/email and sending a test email.

  • Make sure you have ssh access to your container ./launcher ssh my_container must work.

If any of the above is skipped your migration will fail.

At the end of this process you will have a working website. Carry on.

Exporting and importing the old site

  • Ensure you are running the absolute latest version of Discourse. We had bugs in the export code in the past, make sure you are on latest before attempting an export.

  • On your current instance

    • go to /admin/backups and click on the button.
    • once the backup is done, you will be able to it.
  • On your newly installed docker instance

    • enable the allow_restore site setting
    • refresh your browser for the change to be taken into account
    • go to /admin/backups and your backup.
    • once your upload is done, click on the button
  • Destroy old container ./launcher destroy web

  • Change port binding so its on 80

  • Start a new container

Yay. You are done.

Posts: 15

Participants: 7

Read full topic

Linking a Discourse User db with a Mumble server (Murmur)

0
0

Travis Vocino wrote:

I absolutely love Discourse! My gaming community uses it and love it as well. We also use Mumble religiously.

My current setup is 2 servers, both hosted by Digital Ocean, one running Discourse and one running Mumble. Murmur can apparently use any db driver but defaults to SQLite. I've been a part of some other communities that use various php forums which do something similar to my goal.

What I would like is to share the user database and allow users for Discourse to authenticate on Mumble using their username/password. If they change their password on Discourse, it will sync, etc.

I've been looking around for clues or ideas but haven't turned up much. I was wondering if anyone has any hints or advice they might be able to share. Of course, if anyone has experience with this, I'd love to hear from you.

Thanks in advance!

Posts: 10

Participants: 5

Read full topic

What version do I get when I upgrade?

0
0

William Gross wrote:

When I upgrade Discourse using /admin/docker, is it updating me to the latest labeled version (e.g. 0.9.9.3) or to the absolute latest commit on the master branch? If it's the latter, is there a way to tell it to only update to the last labeled version? I'm a little nervous about pulling in commits that haven't been officially "blessed" with a version number.

Posts: 2

Participants: 2

Read full topic

WordPress SSO Page Template

0
0

Adam Capriola wrote:

Continuing the discussion from Single-Sign-On help class for PHP:

I am working on syncing up my WordPress install with Discourse, and many thanks to @ArmedGuy for his PHP SSO help class and template which were invaluable in helping me piece this together.

https://gist.github.com/adamcapriola/11300529

This is a WordPress page template file, so you will want to store it in the root of your theme's folder. Create a new page in WordPress (you will likely want to title it "SSO") and select "Discourse SSO" as the page template. Also be sure to customize the $sso_secret and $discourse_url.

You will need to include ArmedGuy's help class in some manner too and configure Discourse settings as described here.

Posts: 3

Participants: 3

Read full topic

WordPress Plugin: Posts incorrectly always publish to discourse

0
0

Anthony Giovannetti wrote:

This bug has been bothering me for a while and I am curious what is up.

Whenever I make a new post on my Wordpress site it will publish to Discourse regardless of whether I want it to or not.

For example, I just recently made a new post and the "Publish to Discourse" checkbox is unchecked.

Yet regardless of this the post is still posted to Discourse.

Making it so that I have to go in and delete the Discourse thread every time this happens. If this an error on our end or a bug in the wordpress discourse plugin?

Posts: 5

Participants: 3

Read full topic

Unreliable application of customizations

0
0

Zach Alexander wrote:

My new (Docker-based) Discourse install isn't consistently applying the custom styles I've added:

http://forum.cocos2d-iphone.org/

The header should be orange. Usually it does, but about 30% of the time it appears as white (unstyled), and without the correct font (which is included via a "header" customization).

Any idea why this might be? I could ssh into the container and try to hardcode the customizations there, but I'd really rather not.

(BTW, DNS was only propagated yesterday, if that matters, though I don't see why it would.)

Posts: 9

Participants: 4

Read full topic


Restart Discourse on server reboot

0
0

Jacob wrote:

I'm on latest Docker install and when I reboot the server I have to manually start the app. It's not often that I reboot, but is there a way to make Discourse start back up automatically?

Posts: 6

Participants: 4

Read full topic

'Operation not permitted' messages when updating Discourse

0
0

Stephen Reinert wrote:

When I try to update discourse from the admin/docker URL, the log shows the following messages:

$ cd /var/www/discourse && git fetch && git reset --hard HEAD@{upstream}warning: unable to unlink app/assets/javascripts/admin/controllers/admin_customize_controller.js: Operation not permitted
warning: unable to unlink app/assets/javascripts/admin/routes/admin_groups_routes.js: Operation not permitted
warning: unable to unlink app/assets/javascripts/discourse/models/sort_order.js: Operation not permitted

This continues for every change it tries to perform. The result is failure to update. If I ssh to the server and then do the launcher { stop, destroy, bootstrap, start } sequence, then the update succeeds. I'm on v0.9.9.3 as of the last update.

Posts: 10

Participants: 4

Read full topic

Unexpected "redirect new users to top page"

0
0

Adam Capriola wrote:

If a new user clicks a category badge anywhere on a topic page, they get redirected to the "top page" rather than being taken to the category. That's not supposed to happen, right?

Posts: 1

Participants: 1

Read full topic

Trigger Digest-Emails manually

0
0

Michael wrote:

Is it possible to trigger the Digest-Mails manually?
I have a really important post that my visitors should read asap. I could not find an information about that.

Thanks,
Michael

Posts: 8

Participants: 4

Read full topic

Search Results in their own page

0
0

Diego Barros wrote:

When doing a search, I think it would be better to show a complete list of results, instead of in a small popup list, just underneath the entered search terms.

In other words, I click on the magnifying glass icon, enter a search term and hit enter, then the search results are shown in the same format as normal topic lists are (like it is in the Discourse home page). Like Google and Stack Overflow search results.

That way I get to see more information about the search results.

Posts: 8

Participants: 6

Read full topic

A 1-year gratis one-click hosted solution for Discourse!

Please visit our Discourse Forum! (Directory)

0
0

F. Randall Farmer wrote:

I know I'd like to visit various new Discourse servers once in awhile as they come up. As you'd like a visitor or two, please post your URL here and a description of the purpose of your site and any other notes...

Posts: 94

Participants: 74

Read full topic


Is there a guide on how to run Discourse on Centos 64?

0
0

Katie Hunter wrote:

I only found a guide for Ubuntu but what if we are running Centos on our dedicated server and we want our server admin to install discourse on Centos.

Posts: 3

Participants: 2

Read full topic

Custom styling doesn't apply to admin pages

0
0

Adam Capriola wrote:

I added this to my stylesheet:

.d-header {
    background: #333;
}

But it doesn't apply on admin pages. (I've tried refreshing a lot but no dice.)

Posts: 6

Participants: 5

Read full topic

What about an easier styling/theming system?

0
0

Jeff Atwood wrote:

This would really just be a "CSS generator".

How about a page that has nice color selectors and then nicely named coloring categories, like:

  • Primary background color
  • Secondary background color
  • Tertiary background color
  • Primary text color
  • Secondary text color
  • Primary link color
  • Secondary link color
  • Button background
  • Button background hover
  • Button text
  • Button text hover
  • Last poster highlight color

It doesn't need to be super detailed or advanced or able to do everything. Let people choose the colors on that page, and then click "Generate Style" which outputs a CSS page on the pre-existing Style page which they can then apply.

Most of the hours of work in theming Discourse are "replace #fff with #333, replace link colors with orange, replace #333/other dark with #ccc/other light". Having a simple styling CSS generator would get us 80% of the way there, and then we would be able to just fine-tune the colors of things.

(this text belongs to @DanYouhon but I really wanted it here for discussion and could not wait, sorry Dan!)

Posts: 44

Participants: 19

Read full topic

Feed of new "posts" (topics + replies)

0
0

Dan Fabulich wrote:

I have a weird requirement. I'm willing to write some code to satisfy my requirement, but I'm not sure if that's necessary, or where to start.

For forums I own and control, I like to have a feed of all new "posts," i.e. not just new topics, but also new replies to all topics. Typically I can get this kind of view from a mailing list, where my email reader will show me the subject + snippet of all posts in chronological order. I'll skim them all, mark them as read, and move on. I can usually also accomplish the same thing with an RSS reader.

I can't seem to find a way to get a view like that on Discourse, either via the web UI or an API. For example, Discourse has an RSS feed, https://meta.discourse.org/latest.rss but it's an RSS feed of top-level topics, not including the actual replies. And Discourse has email notifications, but I can't see any way to sign up for email notifications for all posts in all topics, like a mailing list.

Is there even a way to get a JSON list of new posts via the API? If I could find that, I could translate it to RSS pretty trivially. (Maybe I'd even contribute some code back, to provide an alternate RSS feed for those who want it.)

How can I get a view like this of a Discourse forum?

Posts: 4

Participants: 2

Read full topic

How to display topic creator's name/avatar/etc in topic list?

0
0

Aja Bogdanoff wrote:

Apologies for the super beginner question, but I'm stumped... I'm experimenting with some frontend changes, and I'd like to display a "Started by: " in the topic listings.

How can I get at the username/avatar/custom fields/etc for each topic's creator from the topic_list_item template? Does Handlebars already have access to those fields and I just need the right call, or do I need to extend the Ember model somehow? I see that a topic's 'category' and 'posters' are accessible, I'm guessing from models/topic_list.js, but I'm just feeling around in the dark at this point.

Posts: 4

Participants: 3

Read full topic

Viewing all 60309 articles
Browse latest View live




Latest Images