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

NODE_RED_INSTANCE_NUMBER out of range with 1 #373

Closed
dkastl opened this issue May 27, 2024 · 1 comment
Closed

NODE_RED_INSTANCE_NUMBER out of range with 1 #373

dkastl opened this issue May 27, 2024 · 1 comment

Comments

@dkastl
Copy link
Contributor

dkastl commented May 27, 2024

Checklist
Put an x in the boxes that apply

  • I have run the latest release.
  • I have inspeced the status of docker containers.
  • I have run the sanity check described in after-installation.md.
  • I have inspected all error messages.
  • I have inspected the log files in the /var/log/fiware directory.
  • I have run the make collect command.
  • I have provided a Github Star to this repository.

Describe the bug

When I specify

NODE_RED_INSTANCE_NUMBER=1

an error is thrown like

error: NODE_RED_INSTANCE_NUMBER out of range (2-20)

However, if the setting is without explicit value

NODE_RED_INSTANCE_NUMBER=

Then 1 instance is created as the default value claims: https://github.com/lets-fiware/FIWARE-Big-Bang/blob/main/config.sh#L314

Your system environment

This is independent from the system environment.

To Reproduce

See above.

Expected behavior

Probably specifying 1 for NODE_RED_INSTANCE_NUMBER should not produce an error and create a single Nodered instance as the default does.

Screenshots
If applicable, add screenshots to help explain your problem.

Server (please complete the following information):

  • OS and OS version:
  • Docker version:
  • Docker Compose version:

Additional context
Add any other context about the problem here.
To resolve this issue, you need to provide complete information about your scenario.

dkastl added a commit to dkastl/FIWARE-Big-Bang that referenced this issue May 27, 2024
fisuda added a commit to fisuda/FIWARE-Big-Bang that referenced this issue May 28, 2024
fisuda added a commit to fisuda/FIWARE-Big-Bang that referenced this issue May 28, 2024
fisuda added a commit that referenced this issue May 28, 2024
Fix NODE_RED_INSTANCE_NUMBER value checking (#373)
@fisuda
Copy link
Contributor

fisuda commented May 28, 2024

Fixed by the PR #375.

@fisuda fisuda closed this as completed May 28, 2024
fisuda pushed a commit to fisuda/FIWARE-Big-Bang that referenced this issue Jun 2, 2024
fisuda added a commit to fisuda/FIWARE-Big-Bang that referenced this issue Jun 8, 2024
fisuda pushed a commit to fisuda/FIWARE-Big-Bang that referenced this issue Jun 8, 2024
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

2 participants