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

PrettyText, Job Exception and 500 Errors

$
0
0

@Capacitron wrote:

After running server updates on the my Digital Ocean server I've been experiencing lots of these errors. Any suggestions?

Posts: 12

Participants: 2

Read full topic


Site Settings SQL Dump of Backup File

$
0
0

@ivanrlio wrote:

We are trying to port over our production database over to our staging site. We have downloaded the most recent backup file off production and unzipped it in order to change site specific settings before we use do the backup on staging. We have an inkling that the site specific settings that we would have to alter would be SSO passphrases and URLS, but there are thousands of instances of these.

Could anyone provide advice as to where in the changes would have to occur in the dump file?

Posts: 1

Participants: 1

Read full topic

Onebox text bug - -> becomes ->

A comma followed a space inside link text breaks it the link

$
0
0

@adrelanos wrote:

<a href="https://www.whonix.org/wiki/Comparison_Of_Tor_with_CGI_Proxies,_Proxy_Chains,_and_VPN_Services#Comparison_of_Tor_and_VPN_services">here</a>

results in:

here

https://www.whonix.org/wiki/Comparison_Of_Tor_with_CGI_Proxies,%3Cem%3EProxy%3C/em%3EChains,%3Cem%3Eand%3C/em%3EVPN_Services#Comparison_of_Tor_and_VPN_services

It adds extra <em> after the comma.

Not great to have , inside links indeed, but I perhaps this could be fixed anyhow?

Posts: 3

Participants: 3

Read full topic

Backup upload failing and I don't know why

$
0
0

@stevenpslade wrote:

I am trying to upload a backup from one Discourse site to another. Steps I have completed:

  1. Download backup from Discourse Site A
  2. Enable allow_restore on Discourse Site B
  3. Press upload and choosing zipped tar.gz backup file to upload
    *Site A and B are both on the same version of Discourse.

This is when it fails. It beings to upload about 2% of the file before it errors with this:

What this is showing is a modal of a particular wordpress page that Discourse Site A is connected to. This is confusing and difficult to troubleshoot. Any suggestions?

Edit: On Discourse Site C, the upload works fine, meaning that something on Discourse Site B is causing the uploading to fail.

Posts: 10

Participants: 2

Read full topic

SyntaxError: discourse/models/badge-grouping: Unexpected token

$
0
0

@ProSteveSmith wrote:

Hola all. :grinning:

I'm getting started with Discourse As Your First Rails App and have run into some problems.

I got to step 4 and am able to get to http://localhost:4000/, but I see the following error on the page:

ExecJS::RuntimeError in List#latest
Showing /vagrant/app/views/layouts/application.html.erb where line #24 raised:

SyntaxError: discourse/models/badge-grouping: Unexpected token (6:2)
  4 | export default RestModel.extend({
  5 |
> 6 |   @computed('name')
    |   ^
  7 |   i18nNameKey() {
  8 |     return this.get('name').toLowerCase().replace(/\s/g, '_');
  9 |   },
  (in /vagrant/app/assets/javascripts/discourse/models/badge-grouping.js.es6)

This makes me thing that ES6 isn't transpiling but I'm not sure.

Also, whenever I run bundle, I get the error: You are running an old version of bundler, please upgrade bundler ASAP, if you are using Discourse docker, rebuild your container.

I did go through the troubleshooting guide:

checking for hstore gets me this:

[vagrant@precise32:/vagrant (master)]$ psql
psql (9.4.1)
Type "help" for help.

vagrant=> \dx
                 List of installed extensions
  Name   | Version |   Schema   |         Description
---------+---------+------------+------------------------------
 plpgsql | 1.0     | pg_catalog | PL/pgSQL procedural language
(1 row)

How do I install hstore?

I ran bundle update, then discovered that I wasn't supposed to run bundle update! I then ran bundle clean then bundle install. I'm still getting the same error.

rake db:migrate didn't change things

I ran rake db:test:prepare and then rake spec, which got me a few errors. The most important of these is probably:

/var/lib/gems/2.2.0/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/postgresql_adapter.rb:661:in `rescue in connect': FATAL:  database "discourse_test" does not exist (ActiveRecord::NoDatabaseError)

How do I update host_names in my database.yml (i.e. what do I put there)?

edit:
When I run redis-server I get the following:

[vagrant@precise32:/vagrant (master)]$ redis-server
1062:C 16 Feb 18:47:39.377 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
1062:M 16 Feb 18:47:39.378 # You requested maxclients of 10000 requiring at least 10032 max file descriptors.
1062:M 16 Feb 18:47:39.379 # Redis can't set maximum open files to 10032 because of OS error: Operation not permitted.
1062:M 16 Feb 18:47:39.379 # Current maximum open files is 4096. maxclients has been reduced to 4064 to compensate for low ulimit. If you need higher maxclients increase 'ulimit -n'.
1062:M 16 Feb 18:47:39.379 # Creating Server TCP listening socket *:6379: bind: Address already in use

Not sure what to try next. Maybe there's something in the docs or this forum about ES6 transpilation...

Posts: 1

Participants: 1

Read full topic

Unable to Add Edit Reason on Mobile

$
0
0

@Carson wrote:

After I edit someone's post on desktop I always have the "Add Edit Reason" if I want to add a reason for my edit. I usually do so, but I usually moderate on mobile and don't have that option.

Repro:
Make sure you are on the mobile version and, as a moderator, just click on the edit pencil to edit someone's post. You will not have the option to add an edit reason.


^Mobile


^Desktop

Posts: 4

Participants: 2

Read full topic

All Users page bug and suggestion

$
0
0

@Ossama wrote:

Some communities like to reward and give special badges to active users on a monthly or a weekly basis. Discourse have this nice page to show all users.

Problem: When you browse this well designed page, you find everything you need. However, for some communities who would like to compare users in a certain time frame might feel a bit limited. As the options are set to the ones shown in the image. All of them use "today" as a reference.

Expectations: Month would show This Month (Starting from Feb 1st), Quarter to start from Jan 1st, same as for year and week. Which is different than last 7 days, last 30 days and so on. Solving this might be a bit complicated.

Quick Fix: Add custom field, to choose the period you want to review users interactions during that period.

Suggested solution: I think Google Analytics could be a good example, not sure how complicated is it.

Bug 2: Cannot sort users by Time Read.

Posts: 1

Participants: 1

Read full topic


How to disable certain fields of user's profile?

$
0
0

@mansoorix wrote:

Is there a way to disable certain fields of user's profile such as "Website", "Location" and etc which are present by default in the profile of users?

Posts: 2

Participants: 2

Read full topic

Can I change the term "User" to "Member" in the whole website?

$
0
0

@mansoorix wrote:

Hi folks,

Discourse has used the term “Users”. Is there any way to change the term "User" to "Member"? In whole the website for instance?

Posts: 4

Participants: 2

Read full topic

Custom nameserver in Docker container

$
0
0

@andybalholm wrote:

I want my Discourse installation to use my local nameserver. (So that it resolves the hostnames of the other computers in the same data center to their LAN addresses instead of the external IP.) The /etc/resolv.conf file in the container does include that nameserver, but it puts Google's nameservers first. Is there any way to customize the content of resolv.conf?

Posts: 3

Participants: 2

Read full topic

"Following" posts

$
0
0

@jesselperry wrote:

I've been seeing this phenomenon recently on Facebook and I've seen it a number of times (by the same people) on my Discourse installation.

That is - someone commenting with just a post of:
Following

That's all. The idea being of course that they'll now receive notifications of new posts because they commented.

The average person doesn't realize that Facebook has a "Turn Notifications On" feature and Discourse has the "Watching" feature. Nor do they care. They just know that when they post something in the thread, they'll get notifications from then on about the discussion.

Obviously to geeks like us :sunglasses: this is annoying. It clutters up the discussion.

What if Discourse had just a simple check that if someone posted "Following" as the post it turned on "Watching" for the user and didn't show the post to everyone.

Perhaps a case of over-engineering, but something to consider. I'm curious if anyone else has seen this in your non-geek online circles?

P.S. I understand too that most people have a per-post character limit. Since my Discourse is paid-membership only, I remove that limitation. And it could be frustrating anyway if all someone knew was to just post "Following" but they couldn't.

Posts: 4

Participants: 4

Read full topic

Admin approval of profile changes prior to updated profile becomes live

$
0
0

@mansoorix wrote:

Hi folks,

Is there any way by which admin approve of profile changes prior to updated profile becomes live? (it is not just about username and.or email, but all profile info)

Posts: 7

Participants: 3

Read full topic

Replies accepted on the front are being rejected by the api

$
0
0

@Aarskin wrote:

TL;DR

  • What does Discourse require from it's replies for them to be accepted from the API?

  • Can I post the same message as the same user to different topics from the API?

Context

I'm developing a simple application that listens for emojis added to a slack message. If the emoji additions follow a simple pattern, it triggers a series of api calls to an internal Discourse site.

For a while it worked perfectly, but recently replies are being (as far as I can tell) sporadically rejected for being an Unprocessable Entity. I noticed this when I was tagging the same message as a comment and solution, only the first reply would show up, but this seemed kinda normal - why accept the same exact reply from the same user within milliseconds of each other?

The Weird Part

I've written some logic that I would think would make any particular Unprocessable Entity processable

replyResponse = PostReply(topicId, reply);
if(!replyResponse.IsSuccessStatusCode)
{
    string editNote = "\n\nThis comment was initially rejected. Please consider expanding or deleting it.";
    string lengthenedReply = reply + editNote;
    PostReply(topicId, lengthenedReply);
    Vert.Aesthetics.Display("Screw it, no reply: " + lengthenedReply);
}`

What's weird is that I've seen these lengthened replies rejected even when it's the only reply on that topic that says what it says - and has plenty of distinct words in it. What more does Discourse want?

I'm testing my functionality with smoke tests currently and just manually tagging messages with emoji. So i end up with what looks like this:

The topic and at a least 1 reply are always there behind the link. It's right about 50/50 if two make it though. Why is this happening? Am I breaking some api rule I'm unaware of by posting as the same - or unidentified - user?

Posts: 4

Participants: 2

Read full topic

Where is the log of mail sending

$
0
0

@javenfang wrote:

I am installing discourse according to the official doc.

When setting the email, I failed, and tried the trouble-shooting doc and some other threads. I have no idea.

With email configured, I go to /admin/email page to try to send out a email. It always pop-up to tell something wrong.

In fact, I want to have a look the background log, to check which error code my server response to me.

But I cannot find where to check the logs. I tried following:

  • the log files of rails - /var/discourse/shared/standalone/log/rails
    • no any log about mail sending
  • the online log - /logs
    • no one line log output

Any other idea?

Posts: 5

Participants: 3

Read full topic


Moving posts to a new topic

$
0
0

@Ossama wrote:

This might be a rare case, but creating a new thread out of some comments doesn't display the space for tags.

Another minor bug: When you choose the reply of a comment, then the original comment + it's replies. It counts 3 instead of 2. But it works fine. Which is the most important thing.

Posts: 1

Participants: 1

Read full topic

Set topic as menu item in top menu

Count new private messages instead of the total number

$
0
0

@Sander78 wrote:

Now that we can send mail to groups, I noticed that every time a new message appears, I get a notice. That's good. But the notice counts the total number of messages, in stead of just the new ones.

I'd rather have it say: 2 new messages in your contact inbox

Posts: 5

Participants: 4

Read full topic

Installation on v-server not working (binding to adress fails)

$
0
0

@JohnDoe1 wrote:

Hi there,

before posing configs and logs, just a basic question: I am understanding, that it should be possible to host discourse on any server that provides docker? I did not use docker before, but after installing I was able to get the sample app running, which serves a simple test website.

Is it a problem to have an apache server running on the same machine? At the end of building the app I get an error "Error response from daemon: Cannot start container [...]: failed to create endpoint app on network bridge: Error starting userland proxy: listen tcp 0.0.0.0:443: bind: address already in use" so I thought fine, no ssl for now. But when trying to start the app it also gives the error "Error response from daemon: Cannot start container app: failed to create endpoint app on network bridge: Error starting userland proxy: listen tcp 0.0.0.0:443: bind: address already in use Error: failed to start containers: [app]" - so I guess I failed.

But where ist the problem? Apache config? Discourse config? Should there be an IP instead of "0.0.0.0" (in the output quoted above)? What about the other ports, why is there no error, but no function as well?

I would appreciate if someone could point me in the right direction. Sorry for maybe stupid question, just learning by doing and sometimes confused by documentations (especially by the apache documentation)...

Cheers!

Posts: 3

Participants: 3

Read full topic

Approved email no picutres inside

$
0
0

@adopilot wrote:

Sorry if this is not bug
I did fressh install on 1.5.0.beta10 ,
My forum is pravte but it is on public domain
When I get approved e mail it has a few missing pictures inside.
Is this bug or I did miss smething in instalation

Posts: 1

Participants: 1

Read full topic

Viewing all 60613 articles
Browse latest View live




Latest Images