This is how!
apt-get autoclean apt-get autoremove cd /var/discourse ./launcher cleanup
!!
This is how!
apt-get autoclean apt-get autoremove cd /var/discourse ./launcher cleanup
!!
Well!,
Update it manually! It worked.
cd /var/discourse git pull ./launcher rebuild app
Yah! that’s it.
I’v performed a discourse update and now my client’s discourse it’s blank page.
Source it’s there…. browser just shows a blank page.
stable
instead of test-passed
on app.yml and rebuidYah! Shitty plugin was my issue.
I/we are using babble – small chat plugin, lowly maintained -.
After disabling it on app.xml and rebuilt the app, it worked.
So!,
One of my clients needs a plugin on his discourse installation!
First you need to update your discourse installation!
Then grab the GIT url from the plugin.
Let’s edit app.yml
nano /var/discourse/containers/app.yml
and add the url of plugin’s git (author recommends, for those with discourse running the latest version to use -b beta)
- git clone -b beta https://github.com/gdpelican/babble.git
Rebuild the container!
cd /var/discourse
./launcher rebuild app
https://meta.discourse.org/t/babble-a-chat-plugin/31753
Discourse has a recent (5month old?) template to handle with this.
Lets add – “templates/cloudflare.template.yml” to our templates scheme…
nano containers/app.yml
Save it and rebuild the app! 🙂
./launcher rebuild app
Et voilá!, my ISP (portuguese) IP! 🙂
For a Discourse instance to function properly Email must be set up. Use the
SMTP_URL
env var to set your SMTP address, see sample templates for an example. The Docker image does not contain postfix, exim or another MTA, it was omitted because it is very tricky to set up correctly.
Source: https://github.com/discourse/discourse_docker
Yah! Discourse doesn’t came with any MTA (mail transfer agent).
I had to install Postfix so that Discourse could send out emails.
My emails weren’t getting delivered…
I was getting the following error on discourse logs(/var/discourse/shared/standalone/log/rails/production.log)….
Job exception: Net::ReadTimeout
After a few tweaks… I got it working…
This is my /var/discourse/containers/app.yml excerpt….
## TODO: List of comma delimited emails that will be made admin and developer ## on initial signup example '[email protected],[email protected]' DISCOURSE_DEVELOPER_EMAILS: '[email protected]' ## TODO: The SMTP mail server used to validate new accounts and send notifications DISCOURSE_SMTP_ADDRESS: mail.domain.com DISCOURSE_SMTP_PORT: 25 DISCOURSE_SMTP_USER_NAME: [email protected] DISCOURSE_SMTP_PASSWORD: XXXXXXX DISCOURSE_SMTP_ENABLE_START_TLS: false
cd /var/discourse/ ./launcher rebuild app