<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[New CoD4x WebAdmin v4.0.0 Release]]></title><description><![CDATA[<p dir="auto"><strong>How to upgrade from v3.0.0 to v4.0.0</strong></p>
<p dir="auto">I have changed the way how our applications can be updated in future, for that to work in future we will need to make some changes manually.</p>
<p dir="auto"><strong>First thing first, we need to have git installed on our machine</strong></p>
<p dir="auto">Some examples for installation</p>
<p dir="auto">Ubuntu:</p>
<pre><code>sudo apt update

sudo apt install git
</code></pre>
<p dir="auto">Debian 9:</p>
<pre><code>sudo apt update

sudo apt install git
</code></pre>
<p dir="auto">Debian 8:</p>
<pre><code>sudo apt update

sudo apt-get install git-core
</code></pre>
<p dir="auto">Centos 7:</p>
<pre><code>sudo yum install git
</code></pre>
<p dir="auto">Now that we have installed git we can move on, this is the tricky part, stop the application (PM2 stop all or what ever you use) <img src="http://localhost:4567/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=6qhtqvv7rmh" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
<p dir="auto">Locate the directory where you have placed my application, lets say that my application is here</p>
<pre><code>/var/www/mywebsite.com/html
</code></pre>
<p dir="auto">Inside html I have my application with directories app, bin, locales ... etc</p>
<p dir="auto">cd to directory where inside you can find my application</p>
<pre><code>cd /var/www/mywebsite.com/
</code></pre>
<p dir="auto">You can see that I have not entered inside directory "html", I am 1 level up</p>
<p dir="auto">Rename html folder to html_old</p>
<pre><code>mv html html_old
</code></pre>
<p dir="auto">Now we will clone from GitHub my version 4 application in our new html directory, for that run the next command</p>
<pre><code>sudo git clone https://github.com/byNeHo/CoD4x-WebAdmin.git html
</code></pre>
<p dir="auto">Since we don't run websites as root users lets make sure we change the permissions so that our website user can use this files (if you use here the same user for cod4 servers then use that users username like this username:username)</p>
<pre><code>sudo chown -R username:group /var/www/mywebsite
</code></pre>
<p dir="auto">Now lets copy from our old application the public folder, we have our screenshots, binary files all there, so lets move them to our new html directory (this will take some time, just wait until it finishes)</p>
<pre><code>cp -r /var/www/mywebsite.com/html_old/public /var/www/mywebsite.com/html
</code></pre>
<p dir="auto">Now change inside "/var/www/mywebsite.com/html" config.json file, if you need all the tokens, usernames, passwords you can find them in your html_old config.json file</p>
<p dir="auto">There are some new lines on the new config.json file</p>
<p dir="auto">This part can be used if you use domain name instead IP when you add new servers, replace the country and country_short code to yours and set yes to 1</p>
<pre><code> "localmachine": {
    "yes": "0",
    "country": "Germany",
    "country_short": "de"
  },
</code></pre>
<p dir="auto">If you would like to have a link to your forum on the cod4xwebadmin change this lines, set yes to 1, change name and the url to your Forum (this will be visible on the main menu left side)</p>
<pre><code>"forumlink": {
    "yes": "0",
    "name": "Forum",
    "url": "https://www.myforumwebsite.com"
  }
</code></pre>
<p dir="auto">Since we made this changes manually we have to install new dependencies only once this time, to do so please run next commands</p>
<p dir="auto">cd to our application</p>
<pre><code>cd /var/www/mywebsite.com/html
</code></pre>
<p dir="auto">and</p>
<pre><code>npm install
</code></pre>
<p dir="auto">And finally lets run our new command, this is the reason why we switched to GitHub</p>
<pre><code>npm run update
</code></pre>
<p dir="auto">You can now start your application you should be up to date</p>
<p dir="auto"><strong>Updates in future</strong></p>
<p dir="auto">In future updates when there is a new version, stop your application, cd to your app directory</p>
<pre><code>cd /var/www/mywebsite.com/html
</code></pre>
<p dir="auto">Update application</p>
<pre><code>npm run update
</code></pre>
<p dir="auto">And that's it, you can start your application and you should be up to date</p>
<p dir="auto">The version v4.0.0 requires the new Julia plugin, I will attach the compiled version to GitHub release <a href="https://github.com/byNeHo/CoD4x-WebAdmin/releases" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/byNeHo/CoD4x-WebAdmin/releases</a></p>
<p dir="auto">Ofcorse if you run local servers you can compile it yourself on the application</p>
]]></description><link>http://localhost:4567/topic/147/new-cod4x-webadmin-v4-0-0-release</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Apr 2026 04:12:56 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/147.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 07 May 2020 19:13:24 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to New CoD4x WebAdmin v4.0.0 Release on Thu, 07 May 2020 20:12:29 GMT]]></title><description><![CDATA[<p dir="auto">What is new in v4.0.0</p>
<ul>
<li>Chat history for every Player on our Game Servers (can be found under players data menu)</li>
<li>Player Stats improved, there is a link under TOP 25 players GET ALL PLAYERS, this will navigate to all player stats for the given server, there is a search form for player name search</li>
<li>Fix for "can not ban admin_player", I have disabled steam account unlink for Admin users, users without linked steam account can not be added as server admins on the admin backend</li>
<li>Faster player list storing (sent by julia)</li>
<li>Future updates can be made from now on with 1 simple command "npm run update"</li>
<li>New plugin to remove older chat messages from application</li>
</ul>
]]></description><link>http://localhost:4567/post/714</link><guid isPermaLink="true">http://localhost:4567/post/714</guid><dc:creator><![CDATA[NeHo]]></dc:creator><pubDate>Thu, 07 May 2020 20:12:29 GMT</pubDate></item></channel></rss>