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

500 Error after docker and discourse upgrade

$
0
0

@keith1 wrote:

A few days ago I attempted to use the front end to upgrade discourse. I walked away and let it sit over night, it hung in the mid percentages, and never finished (I'm pretty sure now it's due to lack of memory). I wasn't able to get back to it until today, when I saw that there is a new docker image to update as well. So I ran through that update, per the instructions (https://meta.discourse.org/t/discourse-docker-image-version-1-3-3-released/), and as far as I can tell, had no errors.

Unfortunately, when loading my url or IP, i get this error: (http://162.243.159.122/)

I didn't have a swap file setup when running any of the updates, but I have since run through these instructions:
https://meta.discourse.org/t/create-a-swapfile-for-your-linux-server/

and running free mem tells me that it's setup correctly:

I've tried destroying my image, and re-bootstrapping, according to this post:

as well as
./launcher rebuild app

But no luck. I'm still quite a noob to all of this, but I've stabbed in the dark in just about every direction I could think of, so I'll happily take any guidance you guys could provide.

Thanks!
Keith

Posts: 4

Participants: 2

Read full topic


How to run Discourse in production?

$
0
0

@Cyb3r wrote:

Hello everyone. It has been 3 days trail and error to setup discourse and i'm fairly good with servers, however I got it working since yesterday but there's one small issue. I can't get it to run on production mode.

I used this tutorial to get everything setup but I was unable to run it for some reason with the latest command:

RUBY_GC_MALLOC_LIMIT=90000000 RAILS_ROOT=/home/discourse/discourse RAILS_ENV=production NUM_WEBS=2 bluepill --no-privileged -c ~/.bluepill load /home/discourse/discourse/config/discourse.pill

so I had to deg deeper and I found this tutorial on the main site

Then I tried to run it with this command: bundle exec rails s -b 0.0.0.0 fortunately it worked and I was delighted but it turned to be in development mode. After another search I got my assets precompile and tried this command: bundle exec rails s -e production for the first sight it seems to work but when I access the server ip and port on :3000 it gives an error connection reset.

tl;dr
I'm here to ask for guidance on how to run discourse in production mode. I'm running it on CentOs without docker.

Thanks in advance.

Posts: 6

Participants: 4

Read full topic

Transition from v1.47 to v1.52

$
0
0

@will_io wrote:

I recently upgraded (by accident) from 1.47 to 1.52. But now that I'm at 1.52, I see no reason to rollback.

In this first post I want to look into the jsapp portion of discourse. I had an override for templates/post.hbs. But now, of course, there isn't a post.hbs and things are rendering a little weird at the moment but still functioning.

Can someone bring me up to speed on the change and rendering? Where is it coming from? What do I need to look into?

JSAPP/templates repo listings:

Posts: 3

Participants: 2

Read full topic

Migration strategy and "account created" mail

$
0
0

@francescomalatesta wrote:

Hi everyone,
first post here. I tried to search for something useful but I did not had any luck. I need an advice about my migration strategy.

I have a forum developed by myself. A very basic forum, no social logins, only email addresses, names and passwords. Soon, I will need to migrate it to Discourse.

What I want to do:

  • import users one by one, creating a new account for them automatically;
  • send them an email to let them choose a new password;

Now, I would like to use the API calls to do this, both for users and related posts. My only question is: if the signup mail is used for new users that sign up by themselves, what the "account created" email does?

I imagined that the "account created" email is sent when I manually create them. Am I wrong? What should I do to reach my objective?

Thank you so much for your help, in advance.

Really love this platform :grinning:

Posts: 1

Participants: 1

Read full topic

Help with SFTP for my Discourse

$
0
0

@Joseph_Iwok wrote:

Hello,
I have breezed through the 30 minutes install of Discourse with Digital Ocean but my domain name displays 'Hello Digital Ocean This nginx page was brought to you by Docker and Digital Ocean'

When I contacted Digital Ocean support, they said I need to use SFTP to upload my files to the droplet. My problem is I don't understand how this works.

Can I just get the commands I need to type for this upload from others and get my site running?
Thanks.

Posts: 12

Participants: 5

Read full topic

How indent lists when editing a post?

$
0
0

@MLModel wrote:

I would like to have an indented sublist (bullet or numbered) under a top-level list item. I know how to do this in various formatting languages — HTML, Markdown, etc. — but I don't see how to do it using the editing features of discourse. I realize I can use HTML, but. I probably could use MD too? What's the easiest way of doing this?

Posts: 2

Participants: 2

Read full topic

Topics and notifications won't open?

$
0
0

@Gilbert_189 wrote:

So, over the past few days, I've been experiencing a "glitch", I guess, on the Hopscotch forum.

When I try to enter a topic or notification, around 75% of the time, it won't open. I either have to tap "latest" again, or refresh the site. I've talked to a couple other users, and they aren't experiencing this, so it's specific to me and that forum.

Any help? I can provide more information if needed, I just wanted to quickly adress this.

Posts: 6

Participants: 4

Read full topic

Username filter is broken in personal messages (PMs)

$
0
0

@Stefan_Fairphone wrote:

Hi everybody,

we are running v1.6.0.beta7 +16 on the Fairphone forum and since a short time I cannot filter posts in a PM by a user anymore by clicking on the profile picture.

When I click on a user's profile picture, only the user card appears. Summarizing works as expected and I can also search posts in the PM using "user:username".

Do you experience the same? Do you need further information?

Cheers, Stefan

Posts: 4

Participants: 3

Read full topic


Help on changing the href of read filter

$
0
0

@Pad_Pors wrote:

I want to change the href of the "read" filter to a specific category, let's say /c/meta and have it in the top menu, with a changes "text".

This is something similar to this post, but more easy to handle in several ways:

  • i can change the order if it's one of the original filters, i can even set it as the main landing page,
  • when someone is in that menu, the upper menu will be highlighted correctly,
  • there's currently un-used filter menus such as read/unread in our forum, and it's better to use them rather than creating new links.

from the above post, what i though, was to add this code in the /admin/customize/header:

<script>
  Discourse.readNavItem = Discourse.NavItem.extend({
    href : function() {
      return this.get('href');
    }.property('href')
  });

  Discourse.NavItem.reopenClass({
    buildList : function(category, args) {
      var list = this._super(category, args);
      list.push(Discourse.readNavItem.create({href: '/c/meta', name: 'read'}));
      return list;
    }
  });
</script>

this change the link of the read filter, but the only problem is that it creates double read filters in the top-nav-menu! plus the fact that i don't know if this is a good way to handle it!

any suggestions?

Posts: 1

Participants: 1

Read full topic

After initial setup of DigitalOcean droplet, get Refused to Connect error

$
0
0

@bolemk wrote:

I have followed the tutorial found below to set up discourse on a DigitalOcean Droplet.
"https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md"

But when I go the the corresponding IP address, I get
"""This site can’t be reached
192.241.. refused to connect."""

I have tried all of the steps suggested in the forum here:

What are the possible reasons for a refused to connect error? Could this be related to SSL certificates?

Thanks!
Ben

Posts: 3

Participants: 2

Read full topic

Authenticating users in Android app

$
0
0

@alexanoid wrote:

I'm going to create small util Android application for Discourse project.

I need to authenticate/authorize users in Discourse via Android application.

Is it possible and if so could you please show an example.

Posts: 1

Participants: 1

Read full topic

Unexpected reply indicator when reply target was deleted

$
0
0

@DeanMarkTaylor wrote:

Currently viewing the following topic shows a reply indicator to @sam ... but no post in the topic by @sam.

Refreshing the page doesn't help.

Posts: 8

Participants: 3

Read full topic

Category Permissions

$
0
0

@BlueGuyARed wrote:

Is there a way I can enable more category permissions on discourse? What I would like to do is make a forum section where users can receive anonymous support from staff members. Basically, anyone can create a topic and view the topic they create in that section, but only moderators and/or admins can respond to it. Is there a setting I can enable that does this?

Thanks.

Posts: 6

Participants: 4

Read full topic

Cursor misalignment in the categories box (Firefox)

$
0
0

@Trash wrote:

A little misalignment here on Meta (and in my forum too) when I use Firefox (latest version).

When you create a topic and click to choose a category the cursor appears under the box :

Posts: 1

Participants: 1

Read full topic

Automatic authentication from many different URIs

$
0
0

@barryvan wrote:

In brief: I want users to come from one of our ~500 distinct application instances into a Discourse instance and be automatically authenticated.


We have a mixture of on-premise and cloud-hosted instances of our app. I'm keen on setting up a Discourse forum so that all users of our software can jump in and discuss things, and, to lower the barrier to entry and reduce friction, I want them to be able to do so without having to set up an account or reauthenticate.

I know that I can set up SSO for Discourse, but, understandably, there can only be one endpoint for this per Discourse instance. As we have around 500 instances of our software running -- each with its own URL, and its own internal authentication, what I need is some way of passing through a trusted authentication token to Discourse such that the user is automatically authenticated. My thinking is that we'd have a key installed on all of our application servers which is used to sign the request, and Discourse will then trust this.

My understanding is that this would introduce a security issue, in that if someone were to obtain this key, they could then log in as any user in the Discourse instance. I'm not sure if there's a way around this.

Is there a best-practice for this? Has anyone else done something similar? If so, how did you solve it?

Posts: 1

Participants: 1

Read full topic


--Digest mail-- How can I send pictures?

$
0
0

@saori wrote:

Hi everyone,

I would like to know how I can send pictures on digest mail.
Now, I can send only text, but I want to send pictures of my website.
If you know how to send pictures, please tell me :blush:

Thank you and best regards.

Posts: 1

Participants: 1

Read full topic

Archiving an inactive discourse forum

$
0
0

@dirkcuys wrote:

I need to archive a forum running discourse (not because discourse is not great, just because the forum isn't active anymore). I thought about going the wget / httrack route, but that won't work since the client side JavaScript will still try to fetch data via the APIs.

Is there a recommended way to archive a discourse forum?

Posts: 5

Participants: 3

Read full topic

How do you keep Discourse up to date? (self-hosted)

$
0
0

@erlend_sh wrote:

  1. Discourse itself should be updated about twice a month, by clicking the "Update to Latest Version" button in your admin dashboard. We do beta releases roughly once every week.

  2. Every two months we recommend SSH'ing in and doing

    cd /var/discourse
    git pull
    ./launcher rebuild app
  3. As for Ubuntu updates, make sure you have automatic security updates enabled for your Ubuntu! The command is:

    dpkg-reconfigure -plow unattended-upgrades

To summarize:

  • update Discourse twice a month via web updater
  • update the container every two months
  • update the OS every six months

You could double these numbers and still be fairly safe, e.g. update Discourse once a month, container every 4 months, OS once every 12 months, and so on.

But you really, really want automatic security updates enabled in Ubuntu, as listed above -- all our Digital Ocean "one-time installs" already have automatic security updates set up.

Posts: 3

Participants: 3

Read full topic

"Daily updates" option for mailing list mode

$
0
0

@erlend_sh wrote:

Continuing the discussion from "More granular mailing list mode":

Mailing list mode and some related features have received several updates recently. Minor tweaks include:

But most importantly, when mailing list mode is enabled, there is now a new default option called "Daily updates".

Enabling "Daily updates" will disable the Activity Summary to avoid redundant overlap of notifications. When enabled, you'll receive a daily update of all forum activity, except for topics or categories that you have muted.

It looks like this:

Massive updates, like ours, can be conveniently opened in a new window.

You can test it by turning it on here on Meta for the next few weeks/days. Do note however that we will eventually turn mailing list mode off again, since supporting mailing list behaviour (and the thousands of email sends that go with it) is not a priority for the Meta community.


A big thanks goes out to @gdpelican for developing this feature for us :clap: :100:

As our first MOSS collaborator he's been very patient with us trough our trials & errors while we've worked our way towards a smoother process for sponsored collaborations.

Posts: 2

Participants: 2

Read full topic

What is the easiest way to change user registration dates?

$
0
0

@steelmaiden wrote:

I switched from vBulletin to Discourse but i wasnt able to migrate the user registration dates. I would like to restore them for some users manually now. What would be the easiest way to do so?

I am noob with ruby and docker so i dont know how to edit the database via shell. I know how to use phppgadmin but i dont know how to install it on a configuration without LAMP.

Please help!

Posts: 1

Participants: 1

Read full topic

Viewing all 60642 articles
Browse latest View live




Latest Images