Skip to content

Enabling or Disabling host doesn't work. #18

@abiding9072

Description

@abiding9072

Describe the bug

Running the script with the following command:

./npm-api.sh --host-disable 5

It will show the host is disabled successfully in script output, and the webui of NPM as well. However the website is still reachable.

Similarly with the enable command:

./npm-api.sh --host-enable 5

The script shows as success and webui reflects the host as enabled, however the site stays unreachable.

To Reproduce

Run the following with your relevant host id

./npm-api.sh --host-disable host_id

Confirm that script was successful and web ui shows host as disabled.

Now try reaching the host via web browser, it should still be reachable.

Expected behavior

Host should be disabled and enabled properly.

Operating System:

  • OS: Ubuntu 22.04

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions