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

Problem with CPU limit latest version #78

Closed
dorel14 opened this issue Jan 19, 2024 · 4 comments
Closed

Problem with CPU limit latest version #78

dorel14 opened this issue Jan 19, 2024 · 4 comments
Labels
bug Something isn't working troubleshooting 🔧 Not a bug. Something went wrong for specific users, let's find a solution together

Comments

@dorel14
Copy link

dorel14 commented Jan 19, 2024

Describe the bug
Hello
I download the latest version , and i have this message when launchaing 5) start apps

parsing /opt/money4band-2.7.5/docker-compose.yaml: error while interpolating services.earnapp.cpus: failed to cast to expected type: strconv.ParseFloat: parsing "1,2": invalid syntax
Error starting Docker stack. Please check the configuration and try again.
Now press enter to go back to the menu

Device (please complete the following information):

  • Type: Raspberry Pi 3 B
  • OS details: Debian 12
  • Platform: arm64 (64bit)
  • Version bullseye

Docker

  • Docker Compose version: Docker Compose version v2.24.1
  • Docker version: 25.0.0

To Reproduce
Steps to reproduce the behavior:

  1. Download latest
  2. Set up .env file with auto set up
  3. Try to start apps

Expected behavior
I thought everything will start

For information when i test

locale -k LC_NUMERIC

i got

decimal_point=","
thousands_sep=" "
grouping=3
numeric-decimal-point-wc=44
numeric-thousands-sep-wc=8239
numeric-codeset="UTF-8"
@MRColorR
Copy link
Owner

Thank you, I'll look into it

@MRColorR MRColorR added bug Something isn't working troubleshooting 🔧 Not a bug. Something went wrong for specific users, let's find a solution together labels Jan 20, 2024
@MRColorR
Copy link
Owner

yes the error message you're encountering (parsing "1,2": invalid syntax) suggests a locale issue as the script expects a dot (.) as the decimal separator, but the system locale is using a comma (,).

Could you help me test a possible solution?: to enforce a consistent locale setting for number parsing set the LC_NUMERIC environment variable to C (which uses a dot as the decimal separator) at the start of the script after the shebang.
so please try to edit the first lines of the script so it looks like this:

#!/usr/bin/env bash
export LC_NUMERIC="C"

and report back if this solves your issue

@dorel14
Copy link
Author

dorel14 commented Jan 26, 2024

Hi , it seems to be OK , no more error message with this locale

@MRColorR
Copy link
Owner

Glad to hear that, the next release will contain this patch among other improvements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working troubleshooting 🔧 Not a bug. Something went wrong for specific users, let's find a solution together
Projects
None yet
Development

No branches or pull requests

2 participants