Modifying Chatwoot Instance Code and Compiling in Linux VM
TLDR lopes.emanuel.link modifies Chatwoot instance code and asks if compilation is necessary. v_shnu explains for a linux vm installation, a restart is needed without need to rebuild the image.
Mar 29, 2023 (8 months ago)
lopes.emanuel.link
02:40 PMruby
def sync_templates
response = HTTParty.get("#{business_account_path}/message_templates?access_token=#{whatsapp_channel.provider_config['api_key']}")
whatsapp_channel.update(message_templates: response['data'], message_templates_last_updated: Time.now.utc) if response.success?
end
To:
ruby
def sync_templates
response = HTTParty.get("#{business_account_path}/message_templates?access_token=#{whatsapp_channel.provider_config['api_key']}&limit=200")
whatsapp_channel.update(message_templates: response['data'], message_templates_last_updated: Time.now.utc) if response.success?
end
After I make this change do I need to compile? Can I compile via cwctl console?
Mar 30, 2023 (8 months ago)
v_shnu
05:51 AMv_shnu
05:51 AMv_shnu
05:52 AM
cwctl --restart
lopes.emanuel.link
08:17 PMChatwoot
Indexed 2221 threads (46% resolved)
Similar Threads
Troubleshooting Error during 3.0.0 Update
patrickvandenhoek experienced an error while upgrading software to 3.0.0. ziekbaboon advised a backup and shared a guide to resolve git problems. After applying the solution, patrickvandenhoek reported successful update.
Troubleshooting Chatwoot Compilation Errors
Chungus experienced compilation issues with Chatwoot. sojan_official guided them through steps to rectify the problem, which ended up being a lack of sufficient RAM.
Troubleshooting WhatsApp Channel Connection with Chatwoot Installation
dantnad struggled with incoming messages not showing up on their WhatsApp channel on Chatwoot. sojan_official suggested checking the phone number configuration, solving the issue. However, importing custom templates from Meta's WhatsApp manager to Chatwoot is limited.