<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>How To Install Chatwoot On Ubuntu 20.04 Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/how-to-install-chatwoot-on-ubuntu-20-04/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Mon, 07 Dec 2020 16:08:20 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How To Install Chatwoot On Ubuntu 20.04</title>
		<link>https://www.osradar.com/how-to-install-chatwoot-on-ubuntu-20-04/</link>
					<comments>https://www.osradar.com/how-to-install-chatwoot-on-ubuntu-20-04/#respond</comments>
		
		<dc:creator><![CDATA[sabi]]></dc:creator>
		<pubDate>Tue, 08 Dec 2020 00:51:00 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[chatwoot]]></category>
		<category><![CDATA[chatwoot installation ubuntu 20]]></category>
		<category><![CDATA[How To Install Chatwoot On Ubuntu 20.04]]></category>
		<category><![CDATA[how to tutorials]]></category>
		<category><![CDATA[Ubuntu 20.04 tutorials]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=25926</guid>

					<description><![CDATA[<p>In this tutorial, you&#8217;ll learn that how to install Chatwoot on Ubuntu 20.04 with Let&#8217;s Encrypt SSL. Chatwoot provides the facility of customer support for real-time messaging channels. It offers businesses to provide excellent customer support via their social media channels. You can integrate different social media channels like Facebook, Twitter, Email, whatsapp etc from [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-chatwoot-on-ubuntu-20-04/">How To Install Chatwoot On Ubuntu 20.04</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>In this tutorial, you&#8217;ll learn that how to install Chatwoot on Ubuntu 20.04 with Let&#8217;s Encrypt SSL. Chatwoot provides the facility of customer support for real-time messaging channels. It offers businesses to provide excellent customer support via their social media channels. You can integrate different social media channels like Facebook, Twitter, Email, whatsapp etc from a single platform. It is an alternative to commercial softwares like Intercorn &amp; Zendesk. Here we&#8217;ll see some features of Chatwoot &amp; then proceed towards the installation procedure.</p>



<h2>Some Features Of Chatwoot</h2>



<h5>Live Chat</h5>



<p>It provides the live chat feature that can be integrated on your website to provide excellent customer service.</p>



<h5>Integrations</h5>



<p>Chatwoot offers the flexibility of integration with collaboration tools like Slack. All your conversations will be delivered to slack so that you won&#8217;t need to leave slack workplace to reply to your messages.</p>



<h5>Shared Inbox</h5>



<p>It also provide the shared inbox feature for your team. This help you to handle multi tasks easily.</p>



<h4><strong>Shared box allows you to</strong></h4>



<ul><li>Easily collaborate with your teamworkers with the help of private notes</li><li>Uses slash commands to answer FAQ</li><li>Automatically assign tickets to teamworkers for faster response.</li></ul>



<p>Now, let&#8217;s move towards the installation procedure.</p>



<h3>Step 1: Update Your System</h3>



<p>First of all update your system to have the latest packages installed.</p>



<pre class="wp-block-preformatted">sudo apt update &amp;&amp; sudo apt upgrade -y</pre>



<h3>Step 2: Download Installation Script</h3>



<p>Once the update finished, reboot your system and download the installation script of Chatwoot on Ubuntu 20.04. You can use wget command to get the script.</p>



<pre class="wp-block-preformatted">wget https://raw.githubusercontent.com/chatwoot/chatwoot/develop/deployment/setup_20.04.sh -O setup.sh</pre>



<h3>Step 3: Install Chatwoot On Ubuntu 20.04</h3>



<p>Now, make the script executable and run it with sudo priviliges.</p>



<pre class="wp-block-preformatted">chmod 755 setup.sh<br>sudo ./setup.sh</pre>



<p>It will install the packages that are necessary for Chatwoot. On successfull installation, you&#8217;ll see the similar output.</p>



<pre class="wp-block-preformatted">….
Woot! Woot!! Chatwoot server installation is complete
The server will be accessible at http://:3000
To configure a domain and SSL certificate, follow the guide at https://www.chatwoot.com/docs/deployment/deploy-chatwoot-in-linux-vm</pre>



<p>You can access the service by typing<strong> http://:3000</strong> in your browser.</p>



<p>Don&#8217;t forget to allow the port <strong>3000</strong> in your firewall.</p>



<pre class="wp-block-preformatted">sudo ufw allow  3000</pre>



<h3>Step 4: Install Nginx On Ubutnu 20.04</h3>



<p>Install Nginx on Ubuntu 20.04 if you don&#8217;t have already installed. Fire the below command to install Nginx on Ubuntu 20.04.</p>



<pre class="wp-block-preformatted">sudo apt update<br>sudo apt install nginx</pre>



<p>Hit the below command to unlink the default nginx configuration file.</p>



<pre class="wp-block-preformatted">sudo unlink /etc/nginx/sites-enabled/default</pre>



<p>Then create the new virtualhost</p>



<pre class="wp-block-preformatted">cd /etc/nginx/sites-available<br>sudo nano chatwoot.conf</pre>



<p>And modify the below data according to your domain and paste in the above file.</p>



<pre class="wp-block-preformatted"># server {
server_name osradar.com;

# Point upstream to Chatwoot App Server
set $upstream 127.0.0.1:3000;

# Nginx strips out underscore in headers by default
# Chatwoot relies on underscore in headers for API
# Make sure that the config is turned on.
underscores_in_headers on;
location /.well-known {
alias /var/www/ssl-proof/chatwoot/.well-known;
}

location / {
proxy_pass_header Authorization;
proxy_pass http://$upstream;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Ssl on; # Optional

proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

proxy_http_version 1.1;
proxy_set_header Connection “”;
proxy_buffering off;

client_max_body_size 0;
proxy_read_timeout 36000s;
proxy_redirect off;
}
listen 80;
}
</pre>



<p>Now, save the file and link it to <code>/etc/nginx/sites-enabled</code></p>



<pre class="wp-block-preformatted">sudo ln -s /etc/nginx/sites-available/chatwoot.conf /etc/nginx/sites-enabled/chatwoot.conf</pre>



<p>Then verify the syntax and reload nginx services.</p>



<pre class="wp-block-preformatted">sudo nginx -t<br>sudo systemctl reload nginx</pre>



<h3>Step 5: Configure Let&#8217;s Encrypt SSL for Chatwoot</h3>



<p>To configure Let&#8217;s Encrypt SSL for chatwoot, install the certbot. You can install it by typing.</p>



<pre class="wp-block-preformatted">sudo add-apt-repository ppa:certbot/certbot<br>sudo apt update<br>sudo apt install python-certbot-nginx</pre>



<p>Now, run the let&#8217;s encrypt</p>



<pre class="wp-block-preformatted">sudo mkdir -p /var/www/ssl-proof/chatwoot/.well-known<br>sudo certbot --webroot -w /var/www/ssl-proof/chatwoot/ -d yourdomain.com -i nginx</pre>



<h3>Step 6: Access Chatwoot on Ubuntu 20.04</h3>



<p>You can access chatwoot by typing your domain address in browser along with port <strong>3000</strong>.</p>



<p>Create new account or use old one to login to the panel.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="528" height="647" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/11/image-69.png" alt="How To Install Chatwoot On Ubuntu 20.04" class="wp-image-26119" srcset="https://www.osradar.com/wp-content/uploads/2020/11/image-69.png 528w, https://www.osradar.com/wp-content/uploads/2020/11/image-69-245x300.png 245w" sizes="(max-width: 528px) 100vw, 528px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" width="948" height="466" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/11/image-70.jpg" alt="How To Install Chatwoot On Ubuntu 20.04" class="wp-image-26120" srcset="https://www.osradar.com/wp-content/uploads/2020/11/image-70.jpg 948w, https://www.osradar.com/wp-content/uploads/2020/11/image-70-300x147.jpg 300w, https://www.osradar.com/wp-content/uploads/2020/11/image-70-768x378.jpg 768w, https://www.osradar.com/wp-content/uploads/2020/11/image-70-696x342.jpg 696w" sizes="(max-width: 948px) 100vw, 948px" /></figure>



<h3>Step 7: Configure Chatwoot Environment On Ubuntu 20.04</h3>



<p>Now, it&#8217;s time to configure chatwoot environment to properly work it.</p>



<p>Login via CLI.</p>



<pre class="wp-block-preformatted">sudo -i -u chatwoot<br>cd chatwoot</pre>



<h4>Configure Facebook Channel</h4>



<p>To configure Facebook channel, you need to create a facebook app in chatwoot <a href="https://developers.facebook.com/docs/apps/#register" target="_blank" rel="noreferrer noopener nofollow">portal</a>.</p>



<p>And then provide the below details in .env file.</p>



<pre class="wp-block-preformatted">###edit the .env file

nano .env

FB_VERIFY_TOKEN=
FB_APP_SECRET=
FB_APP_ID=</pre>



<h4>Configure Email Channel</h4>



<p>Add SMTP details in the .env file to configure email channel.</p>



<pre class="wp-block-preformatted">MAILER_SENDER_EMAIL=<br>SMTP_ADDRESS=<br>SMTP_USERNAME=<br>SMTP_PASSWORD=</pre>



<h4>Configure Storage Channel</h4>



<p>You can also select any cloud storage. Edit the <strong>.env file</strong> and change the following fields.</p>



<pre class="wp-block-preformatted">ACTIVE_STORAGE_SERVICE='local'</pre>



<p>You&#8217;ve to restart chatwoot service once you made changes to .env file to take effect of the changes.</p>



<pre class="wp-block-preformatted">sudo systemctl restart chatwoot.target</pre>



<h3>Step 8: Upgrade Chatwoot On Ubuntu 20.04</h3>



<p>In order to upgrade to the latest version run the below commands.</p>



<pre class="wp-block-preformatted">sudo -i -u chatwoot<br>cd chatwoot<br>git checkout master &amp;&amp; git pull<br>bundle<br>yarn<br>rake assets:precompile RAILS_ENV=production<br>RAILS_ENV=production bundle exec rake db:migrate<br>systemctl restart chatwoot.target</pre>



<p>So, this is how you can install Chatwoot On Ubuntu 20.04</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-chatwoot-on-ubuntu-20-04/">How To Install Chatwoot On Ubuntu 20.04</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-chatwoot-on-ubuntu-20-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
