-
Notifications
You must be signed in to change notification settings - Fork 9
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 fails and restore fails too with java.net.BindException: Address already in use #121
Comments
Hi! I might make a mistake, but from what I understand from the commit history, my fix is only available from Edit 1. I think I may not understand what is the difference between Edit 2. I tried to install jenkins |
Hi, Just asking because I got the exact same error again when trying to upgrade from 2.401.3~ynh2 to lastest version 2.414.1~ynh1. Here are my logs from today. Upgrade and restore failed. Here is the relevant log part
And here are the full logs: https://paste.yunohost.org/raw/bakamuzopi Does anybody have capacity to look into this? Every time I upgrade ynh Jenkins app I need to do a fresh install afterwards and restore everything. It's not really feasible in the long run. Wondering if anybody else encounters this issue. |
Thank you @csavelief for picking this up. Yes, I agree with you that a fix should be made in the upgrade script. Also, I believe that another fix should be made in the restore script around line 88. It's same logic and the current problem is that Jenkins app cannot be restored if another port than 8080 was used. Can you please apply your fix to the restore script too? |
@csavelief Any updates on the fix? There is a new update for the app, but I cannot do it because my Jenkins runs on another port than 8080. |
Describe the bug
I don't know why I have problems with Jenkins upgrades recently. Again I just wanted to upgrade Jenkins through webadmin and unfortunately it fails. The restore fails too. This time it's another error message as you can see in the logs.
Caused: java.io.IOException: Failed to bind to 0.0.0.0/0.0.0.0:8080
becauseCaused by: java.net.BindException: Address already in use
. Could this be related to changes made to fix #108 ?However, a fresh installation worked (with warnings). During fresh install Jenkins was set up on port 8095. Here are the logs for the fresh install as well as this might be useful info: https://paste.yunohost.org/raw/bigubakuxo
Context
Steps to reproduce
I just hit the upgrade button from the webadmin. I couldn't try again with CLI as the whole app was removed afterwards.
Expected behavior
The app should successfully upgrade.
Logs
https://paste.yunohost.org/raw/ihomenurod
The text was updated successfully, but these errors were encountered: