Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Tomcat to latest version #4155

Closed
SelimEmre opened this issue Apr 21, 2022 · 12 comments
Closed

Upgrade Tomcat to latest version #4155

SelimEmre opened this issue Apr 21, 2022 · 12 comments
Assignees

Comments

@SelimEmre
Copy link
Contributor

No description provided.

@quan612
Copy link

quan612 commented Apr 22, 2022

Is there anyway to manually upgrade the tomcat version by the end-user without waiting, and without affecting how Ant works?

Due to the version of Tomcat being flagged as security risk in one of the firewall scan from our client, we have to stop Ant server for almost a week since.

@SelimEmre
Copy link
Contributor Author

Hi @quan612,

Which version are you using(Community or Enterprise)? If you use Community Edition, you just need to switch update-tomcat-version branch and run mvn clean install -Dgpg.skip=true command in ant-media-server-parent project. You need to run redeploy.sh script for StreamApp and Ant-Media-Server projects as well.

If you are an Enterprise Edition user, I can provide you with the Enterprise Edition which is built with Tomcat 8.5.78 version. Please provide me with your email address. I can share it with you.
Disclaimer: I tested WebRTC Publish&Play scenario, it's working fine. But we are skipping CI/CD processes with this process. Just FYI.

Best Regards,
Selim

@quan612
Copy link

quan612 commented Apr 24, 2022

hi @SelimEmre ,
We are using Ant Media Enterprise version 2.4.1 20211124_1803, that is the version we grabbed within the account we bought the license.

My email is at: quan@transnomis.com

@SelimEmre
Copy link
Contributor Author

Hi @quan612,

I sent it via email. I will push to merge the latest Tomcat version as well. Just FYI. Thanks again.

@quan612
Copy link

quan612 commented Apr 26, 2022

hi @SelimEmre,

May I know the Ubuntu command to check the Tomcat version after upgrade to the new Ant. I tried a few common command to check but I think the tomcat is installed as a module, not a separated module so the normal checking command does not work

@quan612
Copy link

quan612 commented Apr 26, 2022 via email

@quan612
Copy link

quan612 commented Apr 26, 2022 via email

@SelimEmre
Copy link
Contributor Author

Hi @quan612,

You can understand Tomcat version with the beginning of the Ant Media Server logs. You will see Tomcat version as below:
Screenshot from 2022-04-27 17-44-53

You can also control it with browser as below:
Screenshot from 2022-04-27 17-48-09

I can recommend you use latest version of installation file as below:

wget https://raw.githubusercontent.com/ant-media/Scripts/master/install_ant-media-server.sh && chmod 755 install_ant-media-server.sh

After that you can upgrade your server with below:

sudo ./install_ant-media-server.sh -i [ANT_MEDIA_SERVER_INSTALLATION_FILE] -r true

Best Regards,
Selim

@quan612
Copy link

quan612 commented Apr 29, 2022

Hi @SelimEmre

I got issue when trying to install / upgrade from the snapshot file you sent me the day before.

Here is what I did:

  1. Fresh install of 2.4.1 Enterprise version, ensure everything works on 2.4.1, then run the upgrade command using the snapshot file
    sudo ./install_ant-media-server.sh -i [ANT_MEDIA_SERVER_INSTALLATION_FILE] -r true

  2. Fresh install of 2.4.4 using the snapshot file you sent
    sudo ./install_ant-media-server.sh -i [ANT_MEDIA_SERVER_INSTALLATION_FILE]

both using the latest version of installation file from wget.

I attached the logs

This is on Ubuntu 20.04.3 LTS
logs_new_install.txt
logs_old_upgrade_to_new.txt

@SelimEmre
Copy link
Contributor Author

Hi @quan612,

I contacted you by email. We can continue by email.

@mekya mekya closed this as completed May 10, 2022
@quan612
Copy link

quan612 commented Oct 11, 2022 via email

@SelimEmre
Copy link
Contributor Author

Hi @quan612,

You just need to upgrade to the latest version of Ant Media Server(v2.5.1). We are using Apache Tomcat/8.5.82 version in that version. Please check this guide for the upgrade process.

Let me know if there is anything I can help you with.

Best Regards,
Selim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants