WebAdmin Install: A lot further than before but not quite there!
-
@NeHo said in WebAdmin Install: A lot further than before but not quite there!:
pm2 delete 1
Hi,
pm2 side of life is sorted.
Regarding noip, that does not matter. That for me it is a back up just in case my IP changes and no one can then find the servers. I don't have static IP at home because it costs too much money. The servers are found using the domain name, which the IP resolves through. IP has never changed anyway for at least two years. I have a linux machine at home with game servers on, website on and I access it through my windows machine. When i look at my website I use the local IP address (no problem) anything i access on the machine i do locally. I do not see the 'outside world'
I have an IP address so I don't know what you mean regarding NOIP. That's really nothing to do with it I would say. If it changed (it wont) tomorrow we should still be able to set up today? Port 3000 is open on my public IP address. 85.134.2.83 Making no sense to me. But as i said many times, its above my 'payscale'
I really have followed everything that's been given to me support wise. Time to go back to old fashioned echelon and b3 ?
-
NodeJS defaults to IPv6 when listening for connections is what I have come up with. Needs to be on IPv4 but how to change that and try (if that is the problem at all) I have no idea. The ideas other than forget it are dry..haha
-
No further answers anywhere.
So to get rid of all this simply delete the folder ?
Need to remove any installed packages ? Mongodb etc etc?
I’ve tried with 16.04, 18.04, My local server and a rented one all with errors.
-
@FMJ-Smiley hello bro how did you fix it? I get the same error.
-
I helped you to manage and start my application, the application runs, mongoDB runs everything works, you have to figure out how you can access your own machine, I can't help you with that part.
The problem is not with the application, your problem is that you don't know how to access your local machine, you are using noip solutions, workarounds and I can't help you in router settings, port forwards etc ...
-
Like i said before thank you for the help. It really is appreciated.
I don't see how it can be noip. That is a back up in case IP address changes. Today and everyday for the last 2 years my IP address is the same. My local addresses are the same. I can access everything on my machine locally but not your application. Look at all the problems people have with node.js defaulting to ipv6. I don't see or find a solution to that and I know nothing about it.
@ravindu2500 My problem is not solved. Sorry I cannot help.
-
@FMJ-Smiley okay bro it's solved Thanks
-
I have also solved the issue and can now see the application. Nothing to do with NOIP.
sudo iptables -I INPUT -p tcp --dport 3000 -j ACCEPT did the trick.
-
@FMJ-Smiley said in WebAdmin Install: A lot further than before but not quite there!:
I have also solved the issue and can now see the application. Nothing to do with NOIP.
sudo iptables -I INPUT -p tcp --dport 3000 -j ACCEPT did the trick.
Well sudo iptables has nothing to do with my application, glad you solved it
-
Thank you.
No idea but I was reading why node applications would not open up on localhost:3000 and it led me to that. It worked
-
I'm having the same problem as ravindu with v2 recaptcha. Waited over the 30 mins that Google say for them to 'save' Also made new keys and still no good. I can login with default admin from seed 'first install'
My admin page looks like this!
-
@FMJ-Smiley This probably is seed issue. You need to fill up mongoDB with default details.
-
@darkie19 said in WebAdmin Install: A lot further than before but not quite there!:
@FMJ-Smiley This probably is seed issue. You need to fill up mongoDB with default details.
Thanks for the reply but I think you need to explain a bit more please. ravindu500 has exact same error.
I still cant get past google recaptcha error either.
-
@FMJ-Smiley said in WebAdmin Install: A lot further than before but not quite there!:
@darkie19 said in WebAdmin Install: A lot further than before but not quite there!:
@FMJ-Smiley This probably is seed issue. You need to fill up mongoDB with default details.
Thanks for the reply but I think you need to explain a bit more please. ravindu500 has exact same error.
I still cant get past google recaptcha error either.
You might want to have a look into this thread : https://forum.cirkus-serveri.com/topic/108/can-some-one-help-me-with-this/3
And for seed guide:
Check out Step6 on this tutorial thread
https://forum.cirkus-serveri.com/topic/37/install-cod4xwebadmin-on-ubuntu-16-04-17-04-18-04/2Regarding google recaptcha (although i don't know what your issue) but you can check these out:
- reCAPTCHA type:v2 required (not sure if v3 works)
- In domains you need to provide your IP and also a custom URL if you have.
-
Thanks again darkie19
Captcha we have managed to sort out now.
I looked at that thread but unfortunately the link for the file that NeHo asks to upload is no longer available.
Tried nodejs update.js whilst CD in app/seed also but no luck.
-
@FMJ-Smiley said in WebAdmin Install: A lot further than before but not quite there!:
Thanks again darkie19
Captcha we have managed to sort out now.
I looked at that thread but unfortunately the link for the file that NeHo asks to upload is no longer available.
Yeah, there was an easy way unfortunately i don't have that one saved either.
Re-populate the database with the updated files.- Close the npm/pm2
- Visit https://github.com/byNeHo/CoD4x-WebAdmin/tree/master/app/seed
- Download these 2 files and replace them manually in your vm's directory.
- Then navigate through console: cd /var/www/html/app/seed or whatever directory you have installed the server
- type : nodejs dbseed.js
- Start back npm/pm2 and give it a try.
This issue i believe is mainly for no existing admin in the database (the default ones)