clpctl - printf: %q: invalid directive Error #416

Closed
opened 2026-04-05 20:27:46 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @tomattone on 4/15/2023

CloudPanel version(s) affected

2.2.2

Description

I have an error when I execute any clpctl command.

clpctl db:show:master-credentials

/usr/bin/clpctl: 5: printf: %q: invalid directive
bash: -c: line 1: unexpected EOF while looking for matching `"'
bash: -c: line 2: syntax error: unexpected end of file

The problem happens when I use zsh shell. When using bash shell, the command executes normally.

How to reproduce

sudo clpctl db:show:master-credentials

Possible Solution

No response

Additional Context

No response

*Originally created by @tomattone on 4/15/2023* ### CloudPanel version(s) affected 2.2.2 ### Description I have an error when I execute any clpctl command. clpctl db:show:master-credentials /usr/bin/clpctl: 5: printf: %q: invalid directive bash: -c: line 1: unexpected EOF while looking for matching `"' bash: -c: line 2: syntax error: unexpected end of file The problem happens when I use **zsh shell**. When using bash shell, the command executes normally. ### How to reproduce sudo clpctl db:show:master-credentials ### Possible Solution _No response_ ### Additional Context _No response_
Sign in to join this conversation.