Unicode Posted September 13 Share Posted September 13 30 minutes ago, Magd Almuntaser said: This command stops nodejs and starts it again.. The command only works in cloudlinux PM2 can also be used.. And for those who use VPS, they can put a command similar to this to restart nodejs.. But these solutions are not final.. Yes no problem sir. using cpanel with cloudlinux also simple and most of indonesian hosting provider use cloudlinux Quote Link to comment Share on other sites More sharing options...
Pebrian Posted September 13 Share Posted September 13 On 9/13/2024 at 5:21 PM, chaitanya_bharat said: hi there. since you're also using aapanel. could you please help me I have unzipped, proceeded with installation, database linked using the pm2 manager, I have started nodeJS, but the QR code never loads (waiting for node server) Check your server. Use http, if you install https, edit .env to https Quote Link to comment Share on other sites More sharing options...
agus amin Posted September 14 Share Posted September 14 21 hours ago, Pebrian said: 16 jam live + auto detect disconnect tanpa cronjob auto restart pm2 or server.js ngetes dulu kalo 24 jam aman nanti via pm aja Gimana status om aman? Kalau aman share donk Quote Link to comment Share on other sites More sharing options...
Unicode Posted September 14 Share Posted September 14 @agus amin pake metode restart node js di cpanel aman om Quote Link to comment Share on other sites More sharing options...
agus amin Posted September 14 Share Posted September 14 Just now, Unicode said: @agus amin pake metode restart node js di cpanel aman om Pakai VPS saya ini bukan Cpanel Quote Link to comment Share on other sites More sharing options...
Dammah Sifla Posted September 14 Share Posted September 14 Just now, agus amin said: Pakai VPS saya ini bukan Cpanel Pake PM2 kalau VPS bg biar bisa autostart klw error, crash dan idle.. Quote Link to comment Share on other sites More sharing options...
agus amin Posted September 14 Share Posted September 14 1 minute ago, Dammah Sifla said: Pake PM2 kalau VPS bg biar bisa autostart klw error, crash dan idle.. Lah saya pakai pm2, masalahnya masih sama beberapa jam Disconnect wa nya di mpwa Quote Link to comment Share on other sites More sharing options...
Dammah Sifla Posted September 14 Share Posted September 14 On 9/11/2024 at 3:41 PM, Dammah Sifla said: Maybe I have a little solution for VPS using PM2, PM2 ensures that Application continues to run without stopping, even if Aapplication has problems, if Application fails or crashes, PM2 will automatically restart.. Stop your Nodejs, then run this command in terminal to run nodejs with PM2. Customize where your logs file are stored.. pm2 start server.js --name mpwa --log /home/users/logs/mpwa.log --output /home/users/logs/mpwa-output.log "I use this on aaPanel and cPanel shared hosting running PM2 on nodejs virtual environments and so far nodejs has never crashed." Coba pakai beginian bg.. @agus amin 1 Quote Link to comment Share on other sites More sharing options...
Unicode Posted September 14 Share Posted September 14 @Dammah Sifla Vangke ini fotonya bikin sange wkwkwk 1 Quote Link to comment Share on other sites More sharing options...
Dammah Sifla Posted September 14 Share Posted September 14 1 minute ago, Unicode said: @Dammah Sifla Vangke ini fotonya bikin sange wkwkwk Siapa tau ada yang mau topupin 1 Quote Link to comment Share on other sites More sharing options...
suryadewa Posted September 14 Share Posted September 14 On 9/13/2024 at 6:37 AM, Enno The Explorer said: Klo logout di hp memang masih keliatan connect bang, kecuali logoutnya di mpwa Mohon bantuannya di perbaiki mr @Magd Almuntaser Saya abis kebanned nih ga kliatan di server, tulisan tetep connected asem. Saya kira server node saya bermasalah ternyata eh ternyata ke banned baru saya cek di hp 16 hours ago, Gusik Prasetyo said: Is it possible run this job in cpanel cepat cloud mas? How? Hi, bisa di tes sendiri mas Whoever using cpanel just test cloudlinunx command on terminal cpanel if its respon timer so you can use this methode to restart. Btw the restart cloudlinunx command not working, you need use stop and start, well its on my case. Quote Link to comment Share on other sites More sharing options...
Unicode Posted September 14 Share Posted September 14 2 minutes ago, Dammah Sifla said: Siapa tau ada yang mau topupin najis bro wwkwkwkwk. situ berbiji 1 1 Quote Link to comment Share on other sites More sharing options...
Fud Posted September 14 Share Posted September 14 (edited) Pakai restart pm2 aman ni kalau yg mau no DC² Cronjob kalau dari aapanel pilih Shell script untuk type nya /bin/sh /www/wwwroot/domainmu.com atu folder/pm2restart.sh sesuaikan folder kalian bebas di mana aja Jalankan cronjob 2 menit sekali CATATAN: khusus untuk yg udah start server.js pakai pm2 karena ini untuk restart aja bukan untuk start pm2restart.sh Edited September 14 by Fud Quote Link to comment Share on other sites More sharing options...
Ade Prastia Posted September 14 Share Posted September 14 59 minutes ago, Fud said: Pakai restart pm2 aman ni kalau yg mau no DC² Cronjob kalau dari aapanel pilih Shell script untuk type nya /bin/sh /www/wwwroot/domainmu.com atu folder/pm2restart.sh sesuaikan folder kalian bebas di mana aja Jalankan cronjob 2 menit sekali CATATAN: khusus untuk yg udah start server.js pakai pm2 karena ini untuk restart aja bukan untuk start pm2restart.sh 108 B · 2 downloads per berapa menit ini atau 1 hari sekali Quote Link to comment Share on other sites More sharing options...
Gusik Prasetyo Posted September 14 Share Posted September 14 4 hours ago, Unicode said: @agus amin pake metode restart node js di cpanel aman om Kalo d cepat cloud bagaimana mas? Tidak ada terminal nya. Quote Link to comment Share on other sites More sharing options...
Fud Posted September 14 Share Posted September 14 1 hour ago, Ade Prastia said: per berapa menit ini atau 1 hari sekali Punya ku 2 menit sekali Quote Link to comment Share on other sites More sharing options...
Unicode Posted September 14 Share Posted September 14 6 minutes ago, Gusik Prasetyo said: Kalo d cepat cloud bagaimana mas? Tidak ada terminal nya. Kan udah ada kmrn. Buat file aja sesuai instruksi lalu dipanggil pake cron job Quote Link to comment Share on other sites More sharing options...
Gusik Prasetyo Posted September 14 Share Posted September 14 3 minutes ago, Unicode said: Kan udah ada kmrn. Buat file aja sesuai instruksi lalu dipanggil pake cron job Oo kirain harus pake terminal. Makasih infonya mas Quote Link to comment Share on other sites More sharing options...
Pebrian Posted September 14 Share Posted September 14 On 9/14/2024 at 9:36 AM, agus amin said: Gimana status om aman? Kalau aman share donk masih dc di aapanel. di vps aman sentosa Quote Link to comment Share on other sites More sharing options...
JangE Posted September 14 Share Posted September 14 Sallam Ada yang bisa berikan tutorial lengkap untuk hostinger shared hosting please, ga ada cpanel, node ga tau gimana jalanin sama cronjob, beda banget ini hostinger Terima kasih Quote Link to comment Share on other sites More sharing options...
Gusik Prasetyo Posted September 14 Share Posted September 14 27 minutes ago, JangE said: Sallam Ada yang bisa berikan tutorial lengkap untuk hostinger shared hosting please, ga ada cpanel, node ga tau gimana jalanin sama cronjob, beda banget ini hostinger Terima kasih Saya pake niaga hoster yg juga reseller hostinger, biasanya nodejs hanya ada untuk paket menengah k atas. Ato coba hubungi cs nya Quote Link to comment Share on other sites More sharing options...
Unicode Posted September 14 Share Posted September 14 3 hours ago, JangE said: Sallam Ada yang bisa berikan tutorial lengkap untuk hostinger shared hosting please, ga ada cpanel, node ga tau gimana jalanin sama cronjob, beda banget ini hostinger Terima kasih Berarti gk support nodejs. Coba tanya csnya Quote Link to comment Share on other sites More sharing options...
Enno The Explorer Posted September 14 Share Posted September 14 3 hours ago, JangE said: Sallam Ada yang bisa berikan tutorial lengkap untuk hostinger shared hosting please, ga ada cpanel, node ga tau gimana jalanin sama cronjob, beda banget ini hostinger Terima kasih Beli yg support node js mas Quote Link to comment Share on other sites More sharing options...
Unicode Posted September 14 Share Posted September 14 3 hours ago, JangE said: Sallam Ada yang bisa berikan tutorial lengkap untuk hostinger shared hosting please, ga ada cpanel, node ga tau gimana jalanin sama cronjob, beda banget ini hostinger Terima kasih Ini recommendasi hosting murah: cepat.cloud paket archer arenhost hypercloudhost Banyak kok diluaran sana Quote Link to comment Share on other sites More sharing options...
JangE Posted September 14 Share Posted September 14 Terima kasih semua untuk responnya Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.