Manual de instalação Chatwoot.
Está disponível chatwoot.com/help-center.
Atualização Manual (direta)
Acesse o terminal e execute os seguinte comandos:
cwctl --upgrade# Login as Chatwoot user
sudo -i -u chatwoot
# Navigate to the Chatwoot directory
cd chatwoot
# Pull the latest version of the master branch
git checkout master && git pull
# Ensure the ruby version is upto date
rvm install "ruby-3.1.3"
rvm use 3.1. --default
# Update dependencies
bundle
yarn
# Recompile the assets
rake assets:precompile RAILS_ENV=production
# Migrate the database schema
RAILS_ENV=production bundle exec rake db:migrate
# Switch back to root user
exit
# Reload systemd files
systemctl daemon-reload
# Restart the chatwoot server
systemctl restart chatwoot.target
Só use este abaixo se souber mexer como o git
cwctl --upgrade# Login as Chatwoot user
sudo -i -u chatwoot
# Navigate to the Chatwoot directory
cd chatwoot
# Pull the latest version of the master branch
git checkout develope && git pull
# Ensure the ruby version is upto date
rvm install "ruby-3.1.3"
rvm use 3.1. --default
# Update dependencies
bundle
yarn
# Recompile the assets
rake assets:precompile RAILS_ENV=production
# Migrate the database schema
RAILS_ENV=production bundle exec rake db:migrate
# Switch back to root user
exit
# Reload systemd files
systemctl daemon-reload
# Restart the chatwoot server
systemctl restart chatwoot.target
Como fazer downgrade versão do seu chatwoot | Extras
sudo -i -u chatwoot
cd chatwoot
# Pegeue o commit da versão desejada para o downgrade
git checkout 7bd4007
rvm reinstall ruby-3.1.3
rvm use 3.1.3 --default
bundle
yarn
rake assets:precompile RAILS_ENV=production
exit
systemctl daemon-reload
systemctl restart chatwoot.target
Instalação Manual (direta)
Obs: UBUNTU 22.04 RECOMENDADO!Acesse o terminal e execute os seguinte comandos:
sudo apt update && apt upgrade -y
wget https://get.chatwoot.app/linux/install.sh
chmod +x install.sh
./install.sh --install
Use as opções abaixo:
yes # Para Configurar Automaticamente Dominio!
chatwoot.dominio.com.br # seu dominio com o subdominio do chatwoot
[email protected] # seu email para gerar certificado SSL
yes para todos
Habilitando configurações ocultas do Chatwoot
Execute os comandos abaixo para se conectar ao PostgreSQL e fazer a liberação das configurações
sudo -u postgres psql
\c chatwoot_production
update installation_configs set locked = false;
Alteração de Idioma e Ativação de Tela de Cadastro
cd /home/chatwoot/chatwoot
nano .env
Altere a linha
DEFAULT_LOCALE=pt_BR
ENABLE_ACCOUNT_SIGNUP=true
sudo systemctl restart chatwoot.target
Acesse: seudominio.com.br
Faça seu cadastro
Remover o Chatwoot
Execute os comandos abaixo:
rm -rf /home/chatwoot
rm -rf /etc/nginx/sites-available/nginx_chatwoot.conf
rm -rf /etc/nginx/sites-enabled/nginx_chatwoot.conf
nginx -t
kill -9 $(lsof -i tcp:3000 -t)
Remover o Ruby Sidekiq
sudo apt-get remove --auto-remove ruby-sidekiq
sudo apt-get purge ruby-sidekiq
Remover o Ruby
aptitude purge ruby
Remover o usuário Chatwoot
userdel -r chatwoot
Reiniciar o nginx
service nginx restart
Dados do SuperAdmin | Extras
Acesse super Admin: https://seudominio.com.br/super_admin
Vá em Opção > installation_configs
LOGO
LOGO_THUMBNAIL
NOMES CHATWOOT
Alterando nomes na plataforma
INSTALLATION_NAME
BRAND_NAME
TERMOS E POLITICA DE PRIVACIDADE
TERMS_URL
PRIVACY_URL
BRAND_URL
WIDGET_BRAND_URL