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

Name and Label parameter does not support spaces - too many arguments for 'listen'. Expected 0 arguments but got 1. #1065

Open
oxamafia opened this issue Jan 12, 2025 · 5 comments
Labels

Comments

@oxamafia
Copy link

Hello everyone

Firstly, thank you very much for all the work done!

Since the last update, i'm unable to start the container because of an error right on start : "too many arguments for listen".

See the logs here :

cont-init: info: /etc/cont-init.d/10-adduser exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
Starting
WARNING: No configurations found in configuration directory:/app/config
WARNING: To disable this warning set SUPPRESS_NO_CONFIG_WARNING in the environment.
Current commit ID: 4969a0a
error: too many arguments for 'listen'. Expected 0 arguments but got 1.
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

Am i missing a new configuration to do?

Thank you for your precious help :)

@oxamafia oxamafia added the bug label Jan 12, 2025
@manuc66
Copy link
Owner

manuc66 commented Jan 12, 2025

Hi @oxamafia

May I ask you to post your docker-compose or the paramer you are passing to start the container ?

Thanks

@oxamafia
Copy link
Author

Thanx for your answer
I don’t use docker compose but Container Manager on Synology
IMG_2052

@manuc66
Copy link
Owner

manuc66 commented Jan 12, 2025

Are by any bad luck the label and name in one single word without space and not starting with dash ?

I don't reproduce myself and since this PR #1058 that introduce a newer version of commander that have a breaking change when in excess command-arguments cause an error by default

@oxamafia
Copy link
Author

Yes! That’s it! There was spaces in both! Now it works like a charm! Thank you very much!!!
It was working before this version and I didn’t notice in the doc that they cannot contain space

@manuc66
Copy link
Owner

manuc66 commented Jan 13, 2025

@oxamafia Thank you for your feedback! I'm glad to hear it works again for you now

I will keep this issue open, as I believe there should be a proper way to handle spaces in those parameters.

@manuc66 manuc66 changed the title Impossible to start the container : too many arguments for listen Name and Label parameter does not support spaces - too many arguments for 'listen'. Expected 0 arguments but got 1. Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants