Comments (5)
The right decision is to run WhaTicket without root. But there is a workaround, by editing a file in WWebJS lib:
Edit node_modules/whatsapp-web.js/src/util/Constants.js
, adding this args:
ps.: It's not recommended, since every update you will need to make this changes again.
from whaticket-community.
run the command with another account other than root
from whaticket-community.
This https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md#setting-up-chrome-linux-sandbox fixes the issue.
from whaticket-community.
When using:
sudo -u www-data bash
www-data@srv1:/root$ cd /var/www/whaticket/backend
www-data@srv1:~/whaticket/backend$ npm start
The error is now:
[nodemon] starting `node src/app.js`
Server started on port: 8080
(node:10078) UnhandledPromiseRejectionWarning: Error: Failed to launch the browser process!
[0829/030733.634647:FATAL:zygote_host_impl_linux.cc(116)] No usable sandbox! Update your kernel or see https://chromium.googlesource.com/chromium/src/+/master/docs/linux/suid_sandbox_development.md for more information on developing with the SUID sandbox. If you want to live dangerously and need an immediate workaround , you can try using --no-sandbox.
from whaticket-community.
I add "CHROME_ARGS=--no-sandbox --disable-setuid-sandbox" on ~/whaticket/backend/.env and fix my problem
from whaticket-community.
Related Issues (20)
- Rebuild the app HOT 2
- Update to NextJS HOT 18
- precisar de whaticket + typebot rodando com Baileys e livre de bugs, só chamar no zap!
- Ticket in a group HOT 1
- Criar fluxo antes de gerar a fila HOT 1
- Ticket retido na fila AGUARDANDO HOT 3
- Opção de chatbot HOT 1
- stopped displaying chat HOT 4
- Não consigo ver quais agentes (usuários) estão conectados
- Alterar os estilos, o titulom as cores, etc. HOT 2
- open graph no wbotlist...js HOT 1
- Como resgatar o token da api, para uso externo HOT 1
- Compiled with warnings.
- Erro no build do frontend HOT 3
- qr does not connect, it could be that whatsapp blocked the qr HOT 23
- Error Build Frontend HOT 2
- updated whatsapp-web.js - 1.23.0 after not working HOT 8
- Stickers não aparecem embaixo da mensagem - Reação por Emoji HOT 1
- send broadcast message HOT 1
- pending kernel upgrade HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whaticket-community.