[WIP] Node UTStats Beta 12C (FTP) Nexgen Stats Viewer

Discussions about UT99
User avatar
Hitman
Skilled
Posts: 176
Joined: Mon Aug 16, 2010 11:01 am
Location: Sweden

Re: [WIP] Node UTStats Beta 12C (FTP) Nexgen Stats Viewer

Post by Hitman » Wed May 12, 2021 10:04 pm

Still struggling to get it to work, now we get this error
You do not have the required permissions to view the files attached to this post.

User avatar
UT Sniper (SJA94)
Masterful
Posts: 666
Joined: Thu Jun 24, 2010 10:35 pm
Personal rank: noob programmer
Location: England

Re: [WIP] Node UTStats Beta 12C (FTP) Nexgen Stats Viewer

Post by UT Sniper (SJA94) » Thu May 13, 2021 1:45 am

For the commands with node.js you either have to put node or npm before the file name or command, like the readme says . I know the install process is stupid for node utstats, but it will be much simpler when node utstats 2 comes out.

Examples:
npm install
node install

Image

User avatar
StalkS
Novice
Posts: 10
Joined: Fri May 07, 2021 3:26 pm
Personal rank: =-5t4lk3rZ=-

Re: [WIP] Node UTStats Beta 12C (FTP) Nexgen Stats Viewer

Post by StalkS » Fri Jun 04, 2021 1:01 pm

Ok, This looks to be a great update to the original - thank you

Has anyone had any joy integrating this into an existing website hosted on Linux? I have a website running Apache2 and for the life of me, I cannot get it to play nicely! It installs, but I have no idea how to configure the Virtual hosts to display the site as a subsection of the main site (if that makes sense)

I was hoping that I could do the following 'https://www.existingsite.com/UTSTATS' as I can with the original UTStatS but with my limited JS knowledge, I'm left banging my head.

Any pointer would be appreciated!

User avatar
UT Sniper (SJA94)
Masterful
Posts: 666
Joined: Thu Jun 24, 2010 10:35 pm
Personal rank: noob programmer
Location: England

Re: [WIP] Node UTStats Beta 12C (FTP) Nexgen Stats Viewer

Post by UT Sniper (SJA94) » Fri Jun 04, 2021 5:15 pm

I'm not sure how to do that, I've never done that before. You might have to use a sub domain or something like that and point to node utstats.

User avatar
StalkS
Novice
Posts: 10
Joined: Fri May 07, 2021 3:26 pm
Personal rank: =-5t4lk3rZ=-

Re: [WIP] Node UTStats Beta 12C (FTP) Nexgen Stats Viewer

Post by StalkS » Fri Jun 04, 2021 5:19 pm

I did try that, but the requirement for the port '1337' or whichever one you setup in the config causes an issue. I'll do some digging!

CPan
Novice
Posts: 15
Joined: Sat Mar 10, 2012 5:28 am

Re: [WIP] Node UTStats Beta 12C (FTP) Nexgen Stats Viewer

Post by CPan » Fri Jun 04, 2021 5:31 pm

StalkS wrote:
Fri Jun 04, 2021 5:19 pm
I did try that, but the requirement for the port '1337' or whichever one you setup in the config causes an issue. I'll do some digging!
It looks like Apache2 works like NGINX which is what I'm using. You'll want to do a ProxyPass to the internal_IP:1337.
CPan

User avatar
UT Sniper (SJA94)
Masterful
Posts: 666
Joined: Thu Jun 24, 2010 10:35 pm
Personal rank: noob programmer
Location: England

Re: [WIP] Node UTStats Beta 12C (FTP) Nexgen Stats Viewer

Post by UT Sniper (SJA94) » Wed Jun 16, 2021 12:34 am

Thought this would be a much more user friendly way of managing ftp servers access, instead of the current, find both config files, edit both config files, restart importer, restart website. You can also see other admin tool categories that have been added:

Image