How to stop the discourse?
Great Team - Great Software
Discourse: Install plugin from Gitlab private repository
@ShankarG wrote:
I need to install plugin from Gitlab private repository. I have tried steps here https://meta.discourse.org/t/install-a-plugin/19157/33, but can't succeed. Can anyone please explain each step like how to guide, that could be helpful for newbie users like me.
Posts: 2
Participants: 2
Make traffic stats available to non-admins?
@richb-hanover wrote:
We're starting up a new Discourse forum for a fairly sophisticated bunch of techies who want to measure lots of things.
We know about the admin page that has all sorts of stats. Is there a mechanism for making that info (some of that info) available to ordinary forum members? Many thanks.
Posts: 1
Participants: 1
Google Groups to Discourse Migrations
@pacharanero wrote:
I'm not sure if it's the done thing to advertise offered services here (as oppose to request a needed service) but here goes.
I have been working on an open source Google Group to Discourse migration script which I have now successfully used to migrate several Google Groups. Other people report they have successfully used the script too, and it's there for anyone to use.
If, however, you would like your Google Group exported to Discourse for you, I can provide this service. I can also set up and manage your Discourse instance, if you would like to 'outsource' that work. Rates are negotiable and depend on the size and complexity of the migration, and any specific requirements your destination Discourse instance.
PM me for more information
M
Posts: 2
Participants: 2
How to change the initial avatars?
@Pirat wrote:
I want to change the initial avatars on your picture
What would all the new users get the avatar that I have
Posts: 1
Participants: 1
Some official discourse plugins break after last update
@mr8 wrote:
Not sure what has changed, but it seems that the latest updates have broken some things:
The discourse-bbcode-color plugin.
I believe I've narrowed it down to the discourse-bbcode-color plugin spitting this error out:
TypeError: undefined is not an object (evaluating 'Discourse.Dialect.addPreProcessor')
/admin/backups is broken and gives:
Error: Something you did caused a view to re-render after it rendered but before it was inserted into the DOM
EDIT: this error seems to go away if I disable the discourse-bbcode-color plugin.
discourse-data-explorer plugin breaks /admin/plugins.
I believe this error is related to the discourse-data-explorer plugin:
Error: There is no route named adminPlugins.explorer
Posts: 1
Participants: 1
Help change the design
"I read it" button alongside "I like it" button?
@kuba-orlik wrote:
Is there an existing plugin or a built-in way to add an "I read it" button to posts? Our team is in a dire need to have the ability to publicly mark posts as read, without sharing semantics with "liking" something.
Posts: 2
Participants: 2
Staff localization bumped into uservalidation bug
@Silvanus wrote:
(Finnish locale). I got the following message today: "1 viesti ryhmän staff saapuneissa" (it was message to deal with the flags). Earlier I have only received messages like "2 viestiä ryhmän valvojat saapuneissa". I have two points here:
1) First, the staff is not localized it the notification, despite existing in groups.default_name.staff ("henkilökunta"). I spent a while trying to find the correct point in code, this was the closest I found, but have no idea on how to proceed, so can't produce a PR myself.
2) Why is this staff message sent to separate folder other than moderators (fi: valvojat)?
Posts: 3
Participants: 2
CSS + other customizations - setting up a new Discourse forum
@needhelp wrote:
Hi All,
Am new to Discourse, not sure what is the proper protocol for posting in the Marketplace category and how do developers normally get paid here.
Anyway, I am looking for someone to help with CSS and other customization or plugin requests in setting up a new Discourse forum.
I am hosting at Discoursehosting server.
If interested, please send me a private message to define the scope and details of the work and a cost estimate.
I am new to this, it is possible some of my requests are already available and I simply don't know where to go to enter the settings.
Thanks
Posts: 8
Participants: 4
Discourse failed to backup, how to debug?
@trandatnh wrote:
Hi,
My discourse keeps failing backup for the last 2 days
Here is the backup logs:
[2016-10-29 22:58:43] Making sure '/var/www/discourse/tmp/backups/default/2016-10-29-225843' exists...
[2016-10-29 22:58:43] Backup process was cancelled!
[2016-10-29 22:58:43] Notifying 'ltd' of the end of the backup...The directory
/var/www/discourse/tmp/backups/default/2016-10-29-225843
existsAt the parent directory, I found 5 empty directories. I guess 4 are created manually and 1 automatically created.
root@daynhauhoc-app:/var/www/discourse/tmp/backups/default# ls -lrth total 20K drwxr-xr-x 2 discourse www-data 4.0K Oct 29 07:17 2016-10-29-071717 drwxr-xr-x 2 discourse www-data 4.0K Oct 29 08:00 2016-10-29-080055 drwxr-xr-x 2 discourse www-data 4.0K Oct 29 08:14 2016-10-29-081441 drwxr-xr-x 2 discourse www-data 4.0K Oct 29 21:08 2016-10-29-210807 drwxr-xr-x 2 discourse www-data 4.0K Oct 29 22:58 2016-10-29-225843
I'm using 1.7.0.beta6, latest commit on 28 Oct 16.
I have done a successfully manual backup right before this issue.
Before that the automatically backup worked fine, but not now.I got no ideas how to debug this issue.
Thanks
Posts: 5
Participants: 4
Official Discourse Plugins List?
@UltimateMoniker wrote:
Is there a list of all plugins created by the Discourse team which are Official?
Not all Official plugins are listed as such in the title (i.e. Staff Notes Plugin), making it hard for me to know which ones are or aren't.
Maybe a sticky at the top of the plugins section which listed all Official plugins would help, or if something like this already exists, can someone direct me?
Thanks,
Matthew
Posts: 4
Participants: 3
Restore on stable: fail on mini_racer 0.1.3
@Lapinot wrote:
I have a backup that I need to restore on a fresh discourse instance but for some reason it's a discourse 1.6.0 (postgresql 9.3) backup (actually I'm not sure what the version was, the version tag is
20160405172827
). And the original instance doesn't exist anymore), so I am trying to restore it on a fresh one.
- If I go for the
tests-passed
branch (currently 1.7.0 beta), the restore fails: some tables are missing. This is unsurprising (but maybe there is some workaround here that I'm missing).- If I go for the
stable
branch (or actually any older revision) ... the bootstrap fails trying to install mini_racer 0.1.3 (missingv8.h
).Developing a bit on the last failure, here is the full output of
launcher bootstrap app
:And here is my
app.yml
:## ## After making changes to this file, you MUST rebuild for any changes ## to take effect in your live Discourse instance: ## ## /var/discourse/launcher rebuild app ## ## Make sure to obey YAML syntax! You can use this site to help check: ## http://www.yamllint.com/ ## this is the all-in-one, standalone Discourse Docker container template # You may add rate limiting by uncommenting the web.ratelimited template. # Out of the box it allows 12 reqs a second per ip, and 100 per minute per ip # This is configurable by amending the params in this file templates: - "templates/postgres.template.yml" - "templates/redis.template.yml" - "templates/web.template.yml" - "templates/web.ratelimited.template.yml" ## which TCP/IP ports should this container expose? expose: - "8002:80" # fwd host port 80 to container port 80 (http) params: db_default_text_search_config: "pg_catalog.french" ## Set db_shared_buffers to a max of 25% of the total memory. ## ## On 1GB installs set to 128MB (to leave room for other processes) ## on a 4GB instance you may raise to 1GB db_shared_buffers: "256MB" # ## Set higher on large instances it defaults to 10MB, for a 3GB install 40MB is a good default ## this improves sorting performance, but adds memory usage per-connection db_work_mem: "40MB" # ## Which Git revision should this container use? (default: tests-passed) version: stable env: LANG: en_US.UTF-8 DISCOURSE_DEFAULT_LOCALE: fr ## TODO: How many concurrent web requests are supported? ## With 2GB we recommend 3-4 workers, with 1GB only 2 UNICORN_WORKERS: 4 ## TODO: List of comma delimited emails that will be made admin and developer ## on initial signup example 'user1@example.com,user2@example.com' DISCOURSE_DEVELOPER_EMAILS: 'redacted' ## TODO: The domain name this Discourse instance will respond to DISCOURSE_HOSTNAME: 'redacted' ## TODO: The mailserver this Discourse instance will use DISCOURSE_SMTP_ADDRESS: redacted DISCOURSE_SMTP_PORT: 587 DISCOURSE_SMTP_USER_NAME: redacted DISCOURSE_SMTP_PASSWORD: redacted DISCOURSE_SMTP_ENABLE_START_TLS: true ## The CDN address for this Discourse instance (configured to pull) #DISCOURSE_CDN_URL: //discourse-cdn.example.com ## These containers are stateless, all data is stored in /shared volumes: - volume: host: /var/discourse/shared/app guest: /shared - volume: host: /var/discourse/shared/app/log/var-log guest: /var/log ## The docker manager plugin allows you to one-click upgrade Discourse ## http://discourse.example.com/admin/docker hooks: after_code: - exec: cd: $home/plugins cmd: - mkdir -p plugins - git clone https://github.com/discourse/docker_manager.git - git clone https://github.com/cpradio/discourse-plugin-checklist.git - git clone https://github.com/discourse/discourse-tagging.git #- git clone https://github.com/scossar/discourse-header-links.git ## Remember, this is YAML syntax - you can only have one block with a name run: - exec: echo "Beginning of custom commands" ## If you want to set the 'From' email address for your first registration, uncomment and change: #- exec: rails r "SiteSetting.notification_email='info@unconfigured.discourse.org'" ## After getting the first signup email, re-comment the line. It only needs to run once. ## If you want to configure password login for root, uncomment and change: ## Use only one of the following lines: #- exec: /usr/sbin/usermod -p 'PASSWORD_HASH' root #- exec: /usr/sbin/usermod -p "$(mkpasswd -m sha-256 'RAW_PASSWORD')" root ## If you want to authorized additional users, uncomment and change: #- exec: ssh-import-id username #- exec: ssh-import-id anotherusername - exec: echo "End of custom commands"
I read through some other topics with some related problems (postresql 9.3 template, ...) but I couldn't get anything to work. Any hint?
Posts: 2
Participants: 1
Problems with the last update
@gauthier wrote:
Hi,
Since i've updated my forum to 1.7.0,beta6+83, youtube video does'nt work anymore.
You can check here:
http://libertysim.net/t/music/19033/875You should see a youtube player in each post. When i edit the post, it's work: i see the player
I have a another problem with poll, like here:
Nobody can choose an option
Thanks a lot
Posts: 4
Participants: 2
It does not make a backup and hangs
@Pirat wrote:
Hangs on this, here is what the logs are constantly ship
[2016-10-30 11:25:57] 'Bitcoin' has started the backup! [2016-10-30 11:25:57] Marking backup as running... [2016-10-30 11:25:57] Making sure '/var/www/discourse/tmp/backups/default/2016-10-30-112557' exists... [2016-10-30 11:25:57] Making sure '/var/www/discourse/public/backups/default' exists... [2016-10-30 11:25:57] Backup process was cancelled! [2016-10-30 11:25:57] Notifying 'Bitcoin' of the end of the backup...
Posts: 1
Participants: 1
How to install import script gem dependencies?
@tobiasmuehl wrote:
Some import scripts are using external dependencies, and those seem to work just fine.
When trying to add my own Gemfiles, I'm always presented with
/usr/local/lib/ruby/gems/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in `require': cannot load such file -- redcarpet (LoadError) from /usr/local/lib/ruby/gems/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in `block in require' from /usr/local/lib/ruby/gems/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:240:in `load_dependency' from /usr/local/lib/ruby/gems/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in `require' from emed.rb:4:in `<main>'
I'm installing the gem using the root user inside the docker image since the discourse user isn't privileged enough, and the gem's can be run from the command line from the discourse user just fine. Just
require redcarpet
doesn't work.
Posts: 2
Participants: 2
Changes in the small letters post
@Pirat wrote:
Tell me please
When I write a post
The names I write in capital letters
And the engine is changing them into small
what should I do?
Posts: 2
Participants: 2
Mini_racer causing rebuild fail
@jesselperry wrote:
Hi there -
I tried to upgrade and it didn't work through the Admin interface, so I tried the ol' ./launcher rebuild app and that failed too
I get this message right before it fails. This happens after server reboot too. Any tips?
An error occurred while installing mini_racer (0.1.3), and Bundler cannot continue. Make sure that `gem install mini_racer -v '0.1.3'` succeeds before bundling.
Posts: 2
Participants: 1
Reinstate Staff Category
@lxk wrote:
Short and silly, our staff category was deleted a while ago, is there any (non backup) way to restore this or manually re-create? Can I squeeze the tables back in from a vanilla backup?
The automated nginx reports have nowhere to post now...
Posts: 1
Participants: 1