yu210148 / gvm_install

A script to install GVM 20 or 21 on Ubuntu 20.04 or Debian 10.
GNU General Public License v3.0
143 stars 72 forks source link

something is broken recently, script no longer builds a working server #82

Closed itiligent closed 2 years ago

itiligent commented 2 years ago

I've used this script serveral times for various builds, and its been great, in the past few weeks it no longer acheives a succesful build.

After running the script over many tests on Ubuntu 20.04, the sever fails to ever update at least the GVM data and Port configs.

Forcing updates appears to work, but the when completed the database does not relfect the updates. The gui reports an aup to date config, but drill down and theres no GVM data or port lists there.

Netcat confirms network connectitiy is fine. I've also adapted the script to very latest GVM versions - stil exact same problem.

Even if leaving the server alone for a week or more, it never updates. I've even tried an LTE modem to isolate network issues - same problems. ( Neowork is fine, I can installing the GVM virtua appliance on the same network lab and it updates fine.

I've got two engineers in the field who have also experienced the exact issue in the past fortnight, and we are all scratching our heads as to what has changed.

Any ideas from the brains trust out there? Anyone else like to test?

thankyou!

yu210148 commented 2 years ago

Humm, not sure what would be causing this. There's one change that I made to the script a couple days ago but if you've been seeing this for more than a week it couldn't be that. So, that means something has either changed on Greenbone's side, or something has changed on Ubuntu's side. It's been a long time since I've tried to run the script on a Debian host but I'll give that a go when I get a chance. It could eliminate an Ubuntu update as being the cause of the trouble--assuming that the same update didn't come to Ubuntu from Debian.

I thought I'd read that Greenbone was going to be changing how they were handling the feed in their forums so I suspect that Ubuntu isn't the problem here but I'd like to eliminate it as a possibility.

Kev. On Sat, Jul 2, 2022, 1:33 AM itiligent @.***> wrote:

I've used this script serveral times for various builds, and its been great, in the past few weeks it no longer acheives a succesful build.

After running the script over many tests on Ubuntu 20.04, the sever fails to ever update at least the GVM data and Port configs.

Forcing updates appears to work, but the when completed the database does not relfect the updates. The gui reports an aup to date config, but drill down and theres no GVM data or port lists there.

Netcat confirms network connectitiy is fine. I've also adapted the script to very latest GVM versions - stil exact same problem.

Even if leaving the server alone for a week or more, it never updates. I've even tried an LTE modem to isolate network issues - same problems. ( Neowork is fine, I can installing the GVM virtua appliance on the same network lab and it updates fine.

I've got two engineers in the field who have also experienced the exact issue in the past fortnight, and we are all scratching our heads as to what has changed.

Any ideas from the brains trust out there? Anyone else like to test?

thankyou!

— Reply to this email directly, view it on GitHub https://github.com/yu210148/gvm_install/issues/82, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKFY4LNUR3PJI5XT3YHATLVR7ID5ANCNFSM52OQKXSQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

itiligent commented 2 years ago

This can be closed, my erros related to a simple account name change that screwed up the UUID registration task in scan.sh. I missed this in earlier testing. Note for others: If you change the preferred admin account name you must also adapt the grep command that populates scan.sh to search for the correct UUID.

yu210148 commented 1 year ago

Cool, thanks for the info.

Kev.

On Thu, Jul 7, 2022, 3:52 PM itiligent @.***> wrote:

This can be closed, my erros related to a simple account name change that screwed up the UUID registration task in scan.sh. I missed this in earlier testing. Note for others: If you change the preferred admin account name you must also adapt the grep command that populates scan.sh to search for the correct UUID.

— Reply to this email directly, view it on GitHub https://github.com/yu210148/gvm_install/issues/82#issuecomment-1178149689, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKFY4NE6W4EJCHAVWPFRKTVS4YQ5ANCNFSM52OQKXSQ . You are receiving this because you commented.Message ID: @.***>