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

Discourse_docker: discourse-setup incorrectly relies on "addr:" in ipconfig output

$
0
0

@tomreyn wrote:

I previously posted this on the GitHub issue tracker which has now been removed (including my post), so I’m posting it here again.

On a Debian GNU/Linux 9.0 “stretch” VM runing in a KVM environment, the output of the ipconfig command does not return a string containing a pattern such as

inet addr:123.123.123.123

but just

inet 123.123.123.123

As a result, discourse-setup sets the IP variable to an empty string and the installation fails with

mydomain.net does not appear to resolve to .

A better approach would be to use something similar to

ip -f inet addr show $IFACE | grep -Po 'inet \K[\d.]+' | head -n1

Posts: 7

Participants: 2

Read full topic


Discourse_docker: discourse-setup makes sed parse SMTP password

$
0
0

@tomreyn wrote:

I previously posted this on the GitHub issue tracker which has now been removed (including my post), so I’m posting it here again.

discourse-setup uses sed to place the user provided SMTP password in the configuration file. The user input is used as a regular expression by sed (-e) there, while it is really just a plain text string.

This works as long as the password does not contain any characters which sed would interpret as an expression / command.

When it fails to work, the user may get to see a sed error message in the discourse-setup output, and installation may fail.

This is potentially a security issue, since sed might end up executing the input string (///e).

Posts: 6

Participants: 4

Read full topic

Upgrading broke CSS | v1.9.0.beta14 +75

SMTP User name does not save

Cannot check "Allow members to leave group freely" when group is configured to "Allow users to send membership requests to group owners"

$
0
0

@mcwumbly wrote:

There’s a little bug in the edit group dialog.

I can do the following:

  1. check “Allow members to leave group freely”
  2. check “Allow users to send membership requests to group owners”

This creates a group that someone can request to join, and then leave freely.

But if I instead try to do do the steps in reverse:

  1. check “Allow users to send membership requests to group owners”
  2. check “Allow members to leave group freely”

…I am unable to do step 2.

As a workaround, I can uncheck “Allow users to send membership requests to group owners” and then check them in the order that works.

Posts: 3

Participants: 2

Read full topic

Deleted my github issue report at discourse/discourse_docker

$
0
0

@terchris wrote:

Hi
Yesterday I spent a lot of time writing a issue and documenting how to move the docker container between ubuntu, mac and google cloud.

Today I see that you have deleted it with a note “
We don’t use the GitHub Issue tracker for discussion about Discourse. Please visit meta.discourse.org to discuss the Discourse Docker base image.”

Can you please send me the text I wrote so that I can post it in meta.discourse.org ?

Regards
Terje

Posts: 2

Participants: 2

Read full topic

Docker version not supported after the later update

$
0
0

@Idan wrote:

Everything worked fine until today. I Upgrade the docker via the admin page, after it finished, the forum loads fine. I went to upgrade the discourse version but I then get to a page that tell me this:

<html><head></head><body>
<h2>You are running an old version of the Discourse image.</h2>
<p>
Upgrades via the web UI are disabled until you run the latest image.
</p>
<p>
To do so log in to your server using SSH and run:
</p>

<pre>
cd /var/discourse
git pull
./launcher rebuild app
</pre>

I never had this page before. I logged in to the server via SSH and try to run those commands and I get:

Error: Docker version 1.11.2 not supported, please upgrade to at least 17.03.1, or recommended 17.06.2.

What to do? Thanks.

Posts: 3

Participants: 2

Read full topic

'Categories & Latest posts' for visitors and only 'Latest posts' for users

$
0
0

@italophile wrote:

I feel that the ‘Latest posts’ homepage is perfect for conversations just as Discourse itself encourages.

But for the first time visitor (not-logged-in users), a ‘Categories & Latest posts’ gives a better idea of what the forum is about, as the ‘Categories’ section can define really well what you can expect there, while also having a peek at the ‘Latest posts’ on the forum.

This could also have some SEO implications as the search engines will crawl the ‘Categories & Latest posts’ homepage, which you can control a bit better in terms of keywords, text on page through the ‘Categories’ section. Also, the categories/sub-categories are linked directly from the homepage (better link flowing).

This could be the best of both worlds.

Posts: 6

Participants: 2

Read full topic


Unwanted follow link on profile page of users

$
0
0

@Jeroen_Van_Der_Mark wrote:

Hi found out that the profile page text of users can be stuffed with follow links. This is something that you don’t want for you SEO. The outbound links are not automatically no-followed with the same rules that apply for the content generated on the forum.

So is it possible to include the same rules (no-follow the urls) on the profile page description/bio? :slight_smile:

Posts: 3

Participants: 2

Read full topic

Transferring old migrated forum accounts

$
0
0

@sebastianh wrote:

I think this should be an UI feature. Wordpress has always offered this: When deleting a user, I am being asked what to do with his/her posts (i.e. who these should be assigned to). An auto-complete dialog could just ask for the username, and then there could be a task in the background, assigning all deleted user’s activity and content to the new user.

Scenario: Old legacy forums with lots of baggage sometimes have old user accounts with massive amounts of content that should be carried over to newer user accounts. It can’t be done by hand and for those of us on hosted Discourse installations there is no access to the command line.

Posts: 4

Participants: 2

Read full topic

Last updated timestamp in app

$
0
0

@outofthebox wrote:

I think it would surface valuable information if the app had a line of text that said last updated [updatetime]. Like The NY Times or WSJ. Whenever the app updates it would change the timestamp. It takes away the anxiety of, “Am I viewing the latest info?”

Posts: 2

Participants: 2

Read full topic

Vbulletin import - Trust Levels

$
0
0

@cashable wrote:

I recently imported my old vbulletin site over to Discourse. One problem I seem to have had during the import is that everyone (12K+) got stuck into both level 0 and level 1 trust levels. How do I get them all into level 0?

Once everyone is in 0 I can then use my old custom groups to get everyone into the right trust level.

Thanks!

trust

Posts: 4

Participants: 2

Read full topic

Multiple recipients PM's sent

$
0
0

@dimu001 wrote:

Hi all,

since I will have more PM sent to my users , doing manually is lot’s of time consuming , so I want to have multiple recipients PM’s sent , already compose the massage with canned replies, but sending more than one will be starting as chat, looking for help ?

looked several plugins, but not working multiple PM’s

anyone having success with this ?

Posts: 1

Participants: 1

Read full topic

WP Discourse publishing entire post

$
0
0

@dylanb wrote:

My install of WP Discourse seems to insist on publishing the entire post to Discourse instead of my post excerpt. Any idea why? Here’s the setting in WP Discourse:

The result is a post like this on the forum that has this button to show the full text.

image

What I would like to do is post the excerpt and then link back to my main site for the full article.

Something like this, for example: Cleaning the Glass

Posts: 4

Participants: 2

Read full topic

How to use HTML in the site title and logo located in the header?

$
0
0

@mhwebee wrote:

I would like to use HTML to create a site logo with CSS and to style the site title. How can I accomplish this?
Thanks,

Posts: 1

Participants: 1

Read full topic


Error rebuilding app, Input/output error

$
0
0

@babyfooter wrote:

Hi guys,

That’s a long time ago we didn’t came back to open an issue :slight_smile:

We actually encored an error with rebuild, error log is :

`2017-11-04 22:20:44.180 UTC [10796] discourse@discourse ERROR:  could not read block 0 in file "base/16384/2666": Input/output error
2017-11-04 22:20:44.180 UTC [10796] discourse@discourse STATEMENT:  SELECT 1
	FROM INFORMATION_SCHEMA.COLUMNS
	WHERE table_schema = 'public' AND
	  table_name = 'categories' AND
	  column_name IN ('logo_url','background_url') AND
	  EXISTS (
	    SELECT 1
	    FROM schema_migration_details
	    WHERE name = 'AddUploadsToCategories' AND
	          created_at <= (current_timestamp at time zone 'UTC' - interval '60 seconds')
	  )
	LIMIT 1

rake aborted!
PG::IoError: ERROR:  could not read block 0 in file "base/16384/2666": Input/output error
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/seed-fu-2.3.6/lib/seed-fu/runner.rb:46:in `eval'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/rack-mini-profiler-0.10.5/lib/patches/db/pg.rb:50:in `exec'
/var/www/discourse/lib/freedom_patches/active_record_base.rb:7:in `exec_sql'
/var/www/discourse/lib/column_dropper.rb:26:in `drop'
(eval):29:in `block (2 levels) in run_file'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/seed-fu-2.3.6/lib/seed-fu/runner.rb:46:in `eval'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/seed-fu-2.3.6/lib/seed-fu/runner.rb:46:in `block (2 levels) in run_file'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/seed-fu-2.3.6/lib/seed-fu/runner.rb:58:in `block in open'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/seed-fu-2.3.6/lib/seed-fu/runner.rb:57:in `open'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/seed-fu-2.3.6/lib/seed-fu/runner.rb:57:in `open'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/seed-fu-2.3.6/lib/seed-fu/runner.rb:36:in `block in run_file'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/database_statements.rb:235:in `block in transaction'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/transaction.rb:194:in `block in within_new_transaction'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/transaction.rb:191:in `within_new_transaction'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/database_statements.rb:235:in `transaction'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activerecord-5.1.4/lib/active_record/transactions.rb:210:in `transaction'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/seed-fu-2.3.6/lib/seed-fu/runner.rb:35:in `run_file'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/seed-fu-2.3.6/lib/seed-fu/runner.rb:26:in `block in run'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/seed-fu-2.3.6/lib/seed-fu/runner.rb:25:in `each'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/seed-fu-2.3.6/lib/seed-fu/runner.rb:25:in `run'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/seed-fu-2.3.6/lib/seed-fu.rb:29:in `seed'
/var/www/discourse/lib/tasks/db.rake:26:in `block in <top (required)>'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/exe/rake:27:in `<top (required)>'
/usr/local/bin/bundle:22:in `load'
/usr/local/bin/bundle:22:in `<main>'
Tasks: TOP => db:migrate
(See full trace by running task with --trace)
I, [2017-11-04T22:20:44.287275 #15]  INFO -- :
== Seed from /var/www/discourse/db/fixtures/001_categories.rb

I, [2017-11-04T22:20:44.288466 #15]  INFO -- : Terminating async processes
I, [2017-11-04T22:20:44.288784 #15]  INFO -- : Sending INT to HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/9.5/bin/postmaster -D /etc/postgresql/9.5/main pid: 44
I, [2017-11-04T22:20:44.289526 #15]  INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 157
157:signal-handler (1509834044) Received SIGTERM scheduling shutdown...
2017-11-04 22:20:44.291 UTC [44] LOG:  received fast shutdown request
2017-11-04 22:20:44.291 UTC [44] LOG:  aborting any active transactions
2017-11-04 22:20:44.292 UTC [51] LOG:  autovacuum launcher shutting down
2017-11-04 22:20:44.301 UTC [48] LOG:  shutting down
157:M 04 Nov 22:20:44.381 # User requested shutdown...
157:M 04 Nov 22:20:44.381 * Saving the final RDB snapshot before exiting.
2017-11-04 22:20:44.409 UTC [48] LOG:  database system is shut down
157:M 04 Nov 22:20:44.518 * DB saved on disk
157:M 04 Nov 22:20:44.518 # Redis is now ready to exit, bye bye...


FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 10775 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:108:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"bundle_exec", "cmd"=>["su discourse -c 'bundle install --deployment --verbose --without test --without development'", "su discourse -c 'bundle exec rake db:migrate'", "su discourse -c 'bundle exec rake assets:precompile'"]}
8ce642b1f933742f3c8cad4f30a32236867763f25ad7045a8f28c652a91a6407
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one`

An other error like could not read block 0 in file "base/xxxxx/xxxx": Input/output error is throwed trying to access Backups page (it give a 500 error.

Thank you for your help! Rellay don't know what to do and didn't find anything on forum...

Posts: 2

Participants: 2

Read full topic

Latest upgrade messed up the site design. How do I fix this?

Facebook gets no title, description or image

$
0
0

@sebastianh wrote:

When I paste the main URL to my forum into a Facebook sharing box (share the link in my news feed or on a Facebook page), it doesn’t pull any information. Even though a default opengraph image is specified, a site description and title is set, and so on… what am I missing here?

58

Posts: 1

Participants: 1

Read full topic

Opinion: Kids, Would You Please Start Fighting?

$
0
0

@mcwumbly wrote:

I thought this article was interesting and related to the notion of “Civilized Discourse”

What if we taught kids that silence is bad manners. It disrespects the other person’s ability to have a civil argument — and it disrespects the value of your own viewpoint and your own voice. It’s a sign of respect to care enough about someone’s opinion that you’re willing to challenge it.

Instead of trying to prevent arguments, we should be modeling courteous conflict and teaching kids how to have healthy disagreements. We can start with four rules:

Posts: 3

Participants: 3

Read full topic

Multiple selection fail on load

Viewing all 60613 articles
Browse latest View live


Latest Images