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

Upgrading to 2.4 #3572

Closed
alxlion opened this issue Aug 26, 2021 · 9 comments
Closed

Upgrading to 2.4 #3572

alxlion opened this issue Aug 26, 2021 · 9 comments
Assignees

Comments

@alxlion
Copy link

alxlion commented Aug 26, 2021

Short description

After 2.4 upgrade, webserver doesn't listen on 5080 anymore.

Environment

  • Operating system and version: Ubuntu 18.04.5 LTS
  • Java version: openjdk 11
  • Ant Media Server version: 2.3.3.1 EE
  • Browser name and version:

Steps to reproduce

  1. Get the latest installer
  2. Upgrade AMS EE 2.3.3 to 2.4
  3. Check the opened ports (5080 is not running anymore)

Expected behavior

Webserver should listen on 5080 after upgrade.

Actual behavior

Service is running well but nothing on port 5080.

Logs

https://zerobin.net/?0c133fd1561ae334#KhE5Lcz9YS0aUIyKZhrIASIXe2ZROTsKrL6SE+IWQ7w=

@mekya
Copy link
Contributor

mekya commented Aug 27, 2021

Thank you for the issue. We'll try to assign in next week meeting(Monday).

@alxlion
Copy link
Author

alxlion commented Aug 27, 2021

Hi,
I did a clean install and all is working good.

Thanks

@mekya
Copy link
Contributor

mekya commented Aug 30, 2021

Thank you for letting us know. Let us investigate the case on our end.

@harshald28
Copy link

Hi,

Yes, after the upgrade 5080 is not listening to any request. Finally, it worked with clean installation but due to that, we need to add our server config settings again.

@alxlion thanks for this ticket.

@mekya
Copy link
Contributor

mekya commented Sep 8, 2021

Yes, we've scheduled this issue for this week.

@donikatz
Copy link

Is this still open? I need to upgrade to 2.4.0.2, but not a clean installation.

@mekya
Copy link
Contributor

mekya commented Sep 24, 2021

Hi @donikatz ,

Sorry my colleague has some kind of personal stuff so that he could not complete this issue. Another of my colleague will take a look at this issue in a couple of days.

@mekya
Copy link
Contributor

mekya commented Sep 25, 2021

Hi Guys,

Here is a quick workaround for this problem. After you make the installation

  1. Open the jee-container.xml -> /usr/local/antmedia/conf/jee-container.xml
  2. Replace the Http11AprProtocol with Http11Nio2Protocol. There are two changes. If you don't find any Http11Nio2Protocol, no worries. There should be no problem in your installation.
  3. Save and exit the file.
  4. Restart the service sudo service antmedia restart

For permanent solution, I'm updating the install script to handle this case.

@mekya
Copy link
Contributor

mekya commented Sep 27, 2021

I'm closing this issue guys. We've merged the PR to the master in the installation script.
https://github.com/ant-media/Scripts/blob/master/install_ant-media-server.sh

Please feel free to re-open if it does not work for you

@mekya mekya closed this as completed Sep 27, 2021
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

5 participants