Wa Gateway | Multi device BETA | MPWA MD

Wa Gateway | Multi device BETA | MPWA MD v8.0.0 ( Extended License )

No permission to download

acsoft

Member
May 4, 2022
53
17
8
I found something new with the app
If you send a test or mass message to an unknown number that has never been written, the first message does not arrive or if it arrives but with the word "hello" replacing original text sending
 
  • Like
Reactions: darshh88

Ezio Auditore

Member
Apr 19, 2019
53
49
18
New major modifications:
User Management system:
For admin :
1. Added "User" menu
2. Added "User list" page.
3. Add button to add new user.
4. Delete button to delete all user except admin.
5. Individual Edit and Delete button for user.
6. Added User and Devices statistics on admin dashboard.
7. Admin only can change server details in settings.

For User:
1. Added Devices statistics on dashboard
2. User cannot change server settings

Please refer screenshots.
PM me for more details and ideas.
user-managment-MPWA.jpg

where do you download this update?
 

kobainc

Member
May 2, 2022
44
52
18
Hi, Has anyone here installed MPWA Gateway on aaPanel and managed to make it work without having to keep restarting Node.js all the time for it to work again?
 

darshh88

New member
May 16, 2022
20
1
3
I found something new with the app
If you send a test or mass message to an unknown number that has never been written, the first message does not arrive or if it arrives but with the word "hello" replacing original text sending
+1
 

Ezio Auditore

Member
Apr 19, 2019
53
49
18
is it works with the newest version?
Immagine 2022-07-11 193200.png


Ultimate solution without restarting server.js every time.


Step 1: Install Nodejs and NPM in Linux​



1. To install most recent version of Node.js and NPM, first you need to enable official NodeSource repository under your Linux distribution and then install Node.js and NPM packages as shown.

On Debian/Ubuntu​

---------- Install Node.js v11.x ----------
$ curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash -
$ sudo apt-get install -y nodejs

---------- Install Node.js v10.x ----------
$ curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
$ sudo apt-get install -y nodejs


On CentOS/RHEL and Fedora​

---------- Install Node.js v11.x ----------
$ curl -sL https://rpm.nodesource.com/setup_11.x | bash -

---------- Install Node.js v10.x ----------
$ curl -sL https://rpm.nodesource.com/setup_10.x | bash -


Step 2: Install PM2 Product Process Manager in Linux​

3. The latest stable version of PM2 is available to install via NPM as shown.
$ sudo npm i -g pm2



Step 3: Start Node.js Applications/Processes​

Next, you want to start your Node.js applications using PM2 as follows. If you already have them up and running, started via PM2, you can skip this step:

# cd /patch/you/script/server.js
# pm2 start /patch/you/script/server.js -n server

later you will manage the name "server"
$ sudo pm2 start server
$ sudo pm2 restart server
$ sudo pm2 stop server

Step 4: How to Manage Node Apps Using PM2 in Linux​

9. The following is a list of some common process (single or all) management commands you should take note
$ sudo pm2 stop all ________________________________ #stop all apps
$ sudo pm2 stop 0________________________________ #stop process with ID 0
$ sudo pm2 restart all________________________________ #restart all apps
$ sudo pm2 reset 0________________________________ #reset all counters
$ sudo pm2 delete all ________________________________ #kill and remove all apps
$ sudo pm2 delete 1 ________________________________ #kill and delete app with ID 1

10. To manage application logs, use the following commands.

$ sudo pm2 logs ________________________________ #view logs for all processes
$ sudo pm2 logs 1________________________________ #view logs for app 1
$ sudo pm2 logs --json________________________________ #view logs for all processes in JSON format
$ sudo pm2 flush________________________________ #flush all logs

11. To manage the PM2 process, use the following commands.

$ sudo pm2 startup________________________________ #enable PM2 to start at system boot
$ sudo pm2 startup systemd __________________ #or explicitly specify systemd as startup system
$ sudo pm2 save________________________________ #save current process list on reboot
$ sudo pm2 unstartup________________________________ #disable PM2 from starting at system boot
$ sudo pm2 update________________________________ #update PM2 package

Step 6: Access Node Apps From Web Browser​

12. To access all your node application from a remote web browser, first you need to open following ports on your system firewall, to allow client connections to the apps as shown.

NB: the port 3000 must be opened according to the one you choose to open


-------- Debian and Ubuntu --------
$ sudo ufw allow 3000/tcp
$ sudo ufw reload

-------- RHEL and CentOS --------
# firewall-cmd --permanent --add-port=3000/tcp
# firewall-cmd --reload

Step 7: Enable cron for restart server.js every 5 minutes​


$ crontab -e

paste this code


5 * * * * /usr/local/bin/pm2 restart server >/dev/null 2>&1 >/dev/null 2>&1
 
Last edited:

tpetualang

Active member
Mar 30, 2019
448
210
43
Wakanda
temanpetualang.com
Immagine 2022-07-11 193200.png


Ultimate solution without restarting server.js every time.


Step 1: Install Nodejs and NPM in Linux​



1. To install most recent version of Node.js and NPM, first you need to enable official NodeSource repository under your Linux distribution and then install Node.js and NPM packages as shown.

On Debian/Ubuntu​

---------- Install Node.js v11.x ----------
$ curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash -
$ sudo apt-get install -y nodejs

---------- Install Node.js v10.x ----------
$ curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
$ sudo apt-get install -y nodejs


On CentOS/RHEL and Fedora​

---------- Install Node.js v11.x ----------
$ curl -sL https://rpm.nodesource.com/setup_11.x | bash -

---------- Install Node.js v10.x ----------
$ curl -sL https://rpm.nodesource.com/setup_10.x | bash -


Step 2: Install PM2 Product Process Manager in Linux​

3. The latest stable version of PM2 is available to install via NPM as shown.
$ sudo npm i -g pm2



Step 3: Start Node.js Applications/Processes​

Next, you want to start your Node.js applications using PM2 as follows. If you already have them up and running, started via PM2, you can skip this step:

# cd /patch/you/script/server.js
# pm2 start /patch/you/script/server.js -n server

later you will manage the name "server"
$ sudo pm2 start server
$ sudo pm2 restart server
$ sudo pm2 stop server

Step 4: How to Manage Node Apps Using PM2 in Linux​

9. The following is a list of some common process (single or all) management commands you should take note
$ sudo pm2 stop all ________________________________ #stop all apps
$ sudo pm2 stop 0________________________________ #stop process with ID 0
$ sudo pm2 restart all________________________________ #restart all apps
$ sudo pm2 reset 0________________________________ #reset all counters
$ sudo pm2 delete all ________________________________ #kill and remove all apps
$ sudo pm2 delete 1 ________________________________ #kill and delete app with ID 1

10. To manage application logs, use the following commands.

$ sudo pm2 logs ________________________________ #view logs for all processes
$ sudo pm2 logs 1________________________________ #view logs for app 1
$ sudo pm2 logs --json________________________________ #view logs for all processes in JSON format
$ sudo pm2 flush________________________________ #flush all logs

11. To manage the PM2 process, use the following commands.

$ sudo pm2 startup________________________________ #enable PM2 to start at system boot
$ sudo pm2 startup systemd __________________ #or explicitly specify systemd as startup system
$ sudo pm2 save________________________________ #save current process list on reboot
$ sudo pm2 unstartup________________________________ #disable PM2 from starting at system boot
$ sudo pm2 update________________________________ #update PM2 package

Step 6: Access Node Apps From Web Browser​

12. To access all your node application from a remote web browser, first you need to open following ports on your system firewall, to allow client connections to the apps as shown.

NB: the port 3000 must be opened according to the one you choose to open


-------- Debian and Ubuntu --------
$ sudo ufw allow 3000/tcp
$ sudo ufw reload

-------- RHEL and CentOS --------
# firewall-cmd --permanent --add-port=3000/tcp
# firewall-cmd --reload

Step 7: Enable cron for restart server.js every 5 minutes​


$ crontab -e

paste this code


5 * * * * /usr/local/bin/pm2 restart server >/dev/null 2>&1 >/dev/null 2>&1
I use aaPanel, I don't know it works or not
 

banaaf

Member
May 10, 2021
109
15
18
Hello Guys how are you going another BUG detected when I send an image the recipient receives 2 images or two text please how to fix
 

acsoft

Member
May 4, 2022
53
17
8
Hello Guys how are you going another BUG detected when I send an image the recipient receives 2 images or two text please how to fix
it´s happened this sending test message, it´s ok, in blast mode don´t sending 2 messages
 
  • Sad
Reactions: banaaf

banaaf

Member
May 10, 2021
109
15
18
it´s happened this sending test message, it´s ok, in blast mode don´t sending 2 messages
it happens when we make auto reply
example the person writes good evening the script sends back the answer 2 times especially when it is the images
 

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu