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

"Multiple migrations have the name CreateTaggerTags" ERROR when bundle exec rake db:migrate

$
0
0

@raul_pareja wrote:

Hi,

Please I have the next error when upgrading from 1.1.3 to 1.3.beta7 (latest release).

The wierd thing is that in testing I do not have such error, I did the database upgrade to postgresql-9.4 in order to have the json types ready and the db:migrate successfully, but now when executing rake db:migrate but in production I got this:

RUBY_GC_MALLOC_LIMIT=90000000 RAILS_ENV=production bundle exec rake db:migrate --trace
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Invoke db:load_config (first_time)
** Execute db:load_config
** Invoke set_locale (first_time)
** Execute set_locale
** Execute db:migrate
rake aborted!
ActiveRecord::DuplicateMigrationNameError:

Multiple migrations have the name CreateTaggerTags

/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.10/lib/active_record/migration.rb:1017:in `validate'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.10/lib/active_record/migration.rb:923:in `initialize'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.10/lib/active_record/migration.rb:814:in `new'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.10/lib/active_record/migration.rb:814:in `up'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.10/lib/active_record/migration.rb:792:in `migrate'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.10/lib/active_record/railties/databases.rake:34:in `block (2 levels) in <top (required)>'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/rake-10.4.2/lib/rake/task.rb:240:in `call'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/rake-10.4.2/lib/rake/task.rb:240:in `block in execute'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/rake-10.4.2/lib/rake/task.rb:235:in `each'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/rake-10.4.2/lib/rake/task.rb:235:in `execute'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/rake-10.4.2/lib/rake/task.rb:179:in `block in invoke_with_call_chain'
/home/kingadmin/.rvm/rubies/ruby-2.0.0-p451/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/rake-10.4.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/rake-10.4.2/lib/rake/task.rb:165:in `invoke'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:150:in `invoke_task'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:106:in `each'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:106:in `block in top_level'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:115:in `run_with_threads'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:100:in `top_level'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:78:in `block in run'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:176:in `standard_exception_handling'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:75:in `run'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/rake-10.4.2/bin/rake:33:in `<top (required)>'
/fjord/discourse/vendor/bundle/ruby/2.0.0/bin/rake:23:in `load'
/fjord/discourse/vendor/bundle/ruby/2.0.0/bin/rake:23:in `<main>'
Tasks: TOP => db:migrat

Please will appreciate a lot any kind of feedback because is urgent, many thanks in advance

Posts: 6

Participants: 3

Read full topic


Email domain blacklist with wildcards

$
0
0

@Alex_Harrington wrote:

Hi

I'm trying to block email addresses from a particular domain - from which we seem to receive multiple spam user accounts per hour sigining up.

They come from .jil.kr where can be one of some 20 or so names I've seen so far.

I tried adding jil.kr but that doesn't match, so then tried *.jil.kr instead but that gives an error in the log that the regex is invalid as there's no subject for the * character, so I then tried (.*).jil.kr and that doesn't match either - I think because the . character in the brackets is being escaped.

Is it possible to add an entry for *.jil.kr?

Posts: 2

Participants: 2

Read full topic

Spacing between avatar and colored background is too small

$
0
0

@Sander78 wrote:

You normally won't notice this unless you select a post (blueish background) or you see a post by a moderator (topic closed, etc.)

Anyway, might want to look at that spacing.

Posts: 8

Participants: 2

Read full topic

Changing the ajax loader image?

How to install discourse-tagging plugin manually for non docker instances

$
0
0

@raul_pareja wrote:

Hi all,

At a first glance I could not find info regarding how to install the discourse-tagging plugin for non docker instances , I mean some steps in how to proceed to manually install this plugin, (I remember the previous plugin called discourse-plugin-tagger had some README instructions for this), will appreciate a lot if someone can give some hints here, obviously I am not used to work with ruby ...

So far I guess should be something like:

cd path/discourse/plugins
git clone https://github.com/discourse/discourse-tagging.git   # clone the repo here
cd ..
export RAILS_ENV=production                 # set to productions
rake ??????????              # copy migrations
rake db:migrate SCOPE=????                # run migrations
rake assets:precompile                      # precompile assets

Thanks in advance, and looking forward to have some info

Regards!

Posts: 6

Participants: 3

Read full topic

Custom scrollbar with sticky sidebar (necessitates slight UX rethinkl)

$
0
0

@erlend_sh wrote:

This topic collects ideas from various topics and attempts to pull them all together into a redesign of some longstanding UX defaults in Discourse.

I've attempted to address the following problems or to-dos:

Custom Scrollbar Sidebar

esoTalk/Flarum is an obvious inspiration here.

Sidebar breakdown

Body breakdown

  • Incoming link has been de-emphasised again (smaller text size, grey color, lower opacity when not hovered over). I think the biggest value of incoming links is the notification you receive if you're tracking a topic that gets linked to.
  • I figure with more than one incoming link, which is very rare for a reply, a separate "3 more" link on the same line could be added.

Posts: 6

Participants: 3

Read full topic

Move "Reply as new topic" to Link pop-up

$
0
0

@erlend_sh wrote:

... most of all to make room for the custom scrollbar, but also because I think this might even make it more discoverable:

I don't think I've had a single user take advantage of the "Reply as new topic" feature yet, which is a bit sad because imo it's one of the coolest features of Discourse. My hypothesis is that by putting the "Reply as linked topic" action in the Link pop-up, users will become affiliated with this alternative way of replying to topics when they're grabbing a link for a similar (or even that exact-) purpose.

Posts: 6

Participants: 5

Read full topic

"Category Is Reserved" for "Off Topic" - users can't start new threads

$
0
0

@Adam_Nolan1 wrote:

Hi there;

I did a search on the forum for the answer to this and although there was a post, it wasn't much help unfortunately.

I run a forum over at www.MarketerChat.com using discourse and a user pointed out that they can't create a new topic in the "Off Topic" section. It worked fine for me as an admin, but when I log in as a test user, or "Impersonate" the user with the issues, I can't start a new topic.

I just get the message "Category Is Reserved".

How can I turn that off so that users can post about general "off topic" stuff in the forum?

Thanks
- Adam

Posts: 4

Participants: 3

Read full topic


Question about vagrant

SSO and invite tracking

$
0
0

@tobiaseigen wrote:

I just discovered that the invites tracking page is missing on user profiles, when SSO is enabled. I miss this even though it's only used now for inviting existing users to topics, because I'd like to be able to see whether the people I have invited to topics have actually gone to look at the topic. Would like to see this feature return, and also include a reference to the topic.

Also, and relatedly, there appears to be no way for moderators and admins to keep an eye on invitations to topics. It seems to me there should be some paper trail so there is accountability in case it turns out someone is abusing the invites system. Even assuming nobody is abusing it, it's still nice to know if it's being used, by whom, how often, and to which topics! smile

Posts: 1

Participants: 1

Read full topic

Injecting ssh keys into container

$
0
0

@pl3bs wrote:

I need to store keys in a docker container so it can login to remote hosts without prompts. This is proving difficult, and I'm not sure where I'm goofing.

In a sane envirnoment, keys are stored in the users ~/.ssh directory. This doesn't seem to fully apply to the discourse-docker environment. I've tried manually copying keys authorized_keys, but this isn't working. Additionally, I've run a:

ssh-copy-id

within the container for the host's IP, which succeeds. the issue is that when I remove the known_hosts file, it will prompt (yes/no) as usual; however when I remove the authorized_keys, rsa_id files, it will still login as if the key still exists.

this leads me to reason some hidden directory is at play which stores the keyfiles. is this correct? need a solution here.

Any suggestions?

Posts: 8

Participants: 3

Read full topic

Add a script in the Customize/Top zone

$
0
0

@Steven wrote:

Hi !

I come to seek help in a little problem.

I'd like to add an ad script in the Customize area, I have no problem to organize the structure but my script who looks like this :

<script type="text/javascript" src="http://tags.clickintext.net/00000" title="Classic (IAB)"></script>

does not appear, however it appears in the source code

PreloadStore.store("customHTML",{"top":"\n\n\n<div class=\"ajoutsheader\">\n<div class=\"cit468\"><script type=\"text/javascript\" src=\"http://tags.clickintext.net/000000\" title=\"Classic (IAB)\"><\/script><\/div>\n<div class=\"instantg\"><p><a href=\"other linke" title=\"blabla\"><img src=\"some image link\" width=\"452\" height=\"90\" alt=\"bla\" /><\/a><\/p>\n<div class=\"nomjeu\">The Witcher III : Wild Hunt<\/div>\n<div class=\"reduc\">-44%<\/div>\n<div class=\"prix\">33.50€<\/div><\/div>\n<\/div>\n\n","footer":"\n\n\n\n\n"});

My css class are ok, any simple images or text can be seen.

If I only put the script code, it appears partially on the left side of the page.

I wonder if script codes are tolerated on this area. If not, how can I correct this ?

I saw the adsense plugin but I don't have google adsense anymore (they banned me for some obscure reason ^^)

My plan is to have something like this :

Thanks !

PS : pardon my english i understand it pretty well but i write it and speak it like a French (maybe it's because I'm french) stuck_out_tongue_winking_eye

Posts: 15

Participants: 3

Read full topic

Cannot delete an empty topic

$
0
0

@meke wrote:

Hello, I have searched a bit and come up with a few posts, but what I am experiencing does not quite match those users reports.

So I am attempting to delete a category that has no posts except an unlocked about post. After clicking yes on the modal asking if i am sure about the deletion, I get a screen that looks like this:

With the category screen looking like:

The only thing I can think of effecting this may be that 1 topic was created there which was later moved. I imagine it is this topic creating the issue. Any suggestions on how to accomplish the removal of this category?

I should also mention that I was able to delete the subcategory that filled this category without an issue, as well as a different category which had never seen a post.

I am using v1.3.0.beta7 +35 and there are no log messages regarding this.

Thanks for any help : )

Posts: 11

Participants: 4

Read full topic

Connect Multiple WP Sites To 1 Discourse Installation?

$
0
0

@Adam_Nolan1 wrote:

Hi there;

I was wondering if it was possible to connect multiple Wordpress installations (SSO) with 1 Discourse install? The reason I'm asking is that there are a lot of smaller private groups in my community and I want to offer them the ability to have their own private Category that nobody else (except registered users from that WP site) can see. The majority of these people run wordpress installations so hopefully integrating with WP would be the easiest route. Has anyone done is? Is that possible? When users are added in WP, also add them in Discourse in x Group?

Cheers
- Adam

Posts: 2

Participants: 2

Read full topic

Showing user location/country when posting?

$
0
0

@rodrigofarcas wrote:

I have a big growing Pets community on which people from many different countries posts.

As lots of the posts are classifieds, I would like to be able to show from which country is the user, so they know if the classified post is eligible for them or not (IE: looking for a girlfriend for my dog)

Is there an easy way to do this? (ie: via user profile fields, etc)

Thank you!

Posts: 3

Participants: 3

Read full topic


Sign Up button w/ SSO integration... show & edit URL?

$
0
0

@scottpruett wrote:

Jeff, et al.,

Is there an easy way to get the Sign Up button to appear w/ SSO integration, and further to then edit the URL of the Sign Up button?

Thanks,
Scott

Posts: 5

Participants: 2

Read full topic

Hide 'Welcome to the forums' for admin user. Make reading it mandatory

$
0
0

@samnazarko wrote:

Hi

Tried to check for a PM the other day and noticed that my messages were filled with 'Welcome to the forums' which is a little annoying.

Perhaps this should not be shown as a listed sent item?

Another, potentially nice thing, would be to encourage them to read it before making a first post. A quick reminder of them to check the guidelines and read the original message too. This could be displayed in a dialog similar to the 'Your topic is similar to' with something like:

'You're new here'

  • You might want to read how to get the best out of this forum (link to PM if unread)
  • You might want to read our community guidelines (link to FAQ if unread)

S

Posts: 1

Participants: 1

Read full topic

Hide Anonymous Users from Users/Pending Review

$
0
0

@KazWolfe wrote:

A minor UI issue that is slightly bothering...

Anonymous users automatically show up in the "Pending Users" queue after being created, like so:

Is there a way to make it so anons don't appear here? There's no reason to approve anons and their accounts already work. It just seems excessive and untidy.

Posts: 2

Participants: 2

Read full topic

Upgrade failed due to AdSense plugin

$
0
0

@OmJmr wrote:

I have just received a mail that version 1.3.0 beta8 was available. My version was 1.3.0 beta7. So I just launched ./launcher rebuild app from my Docker ( Digital Ocean ) and upgrade FAILED twice.

Need help urgently : My website is DOWN now frowning

Find below errorlog messages

FAILED
--------------------
RuntimeError: cd /var/www/discourse && su discourse -c 'bundle exec rake assets:precompile' failed with return #<Process::Status: pid 328 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:105: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'"]}
d53a8452874b202e3dd4ca420aad9e532e0754474153184f4de3d8f0e3d538f0
FAILED TO BOOTSTRAP

Posts: 9

Participants: 5

Read full topic

Upgraded but admin page says out of date

$
0
0

@multicam wrote:

Hi there,

I just received the email for the upgrade to 1.3.0.beta8.

Followed the procedure, and now the admin panel still shows that an upgrade is available, but the upgrade page states that it's all OK. See attached screenshots:

Admin Page

Upgrade Page

Posts: 23

Participants: 12

Read full topic

Viewing all 60721 articles
Browse latest View live




Latest Images