Crafty-controller error while installation #512

Closed
opened 2025-11-20 04:49:27 -05:00 by saavagebueno · 15 comments
Owner

Originally created by @The13east on GitHub (Feb 10, 2025).

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

Crafty controller

📂 What was the exact command used to execute the script?

bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/crafty-controller.sh)"

📝 Provide a clear and concise description of the issue.

Hi,
just a noob here that use the scripts and I was exited for crafty controller .
I tried to install it but it will give me this error :

⠴ Setting up TermurinJDK
[ERROR] in line 44: exit code 0: while executing command "$@" > /dev/null 2>&1
The silent function has suppressed the error, run the script with verbose mode enabled, which will provide more detailed output.

thanks for your time

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

🔄 Steps to reproduce the issue.

I tried both default and advanced option !
used 2 network since I live in Iran I thought it might be a network ban problem (I use pia with UK region)
I tested both SSD in my proxmox node .

Paste the full error output (if available).

⠴ Setting up TermurinJDK
[ERROR] in line 44: exit code 0: while executing command "$@" > /dev/null 2>&1
The silent function has suppressed the error, run the script with verbose mode enabled, which will provide more detailed output.

🖼️ Additional context (optional).

No response

Originally created by @The13east on GitHub (Feb 10, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Crafty controller ### 📂 What was the exact command used to execute the script? bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/crafty-controller.sh)" ### 📝 Provide a clear and concise description of the issue. Hi, just a noob here that use the scripts and I was exited for crafty controller . I tried to install it but it will give me this error : ⠴ Setting up TermurinJDK [ERROR] in line 44: exit code 0: while executing command "$@" > /dev/null 2>&1 The silent function has suppressed the error, run the script with verbose mode enabled, which will provide more detailed output. thanks for your time ### ⚙️ What settings are you using? - [x] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 🔄 Steps to reproduce the issue. I tried both default and advanced option ! used 2 network since I live in Iran I thought it might be a network ban problem (I use pia with UK region) I tested both SSD in my proxmox node . ### ❌ Paste the full error output (if available). ⠴ Setting up TermurinJDK [ERROR] in line 44: exit code 0: while executing command "$@" > /dev/null 2>&1 The silent function has suppressed the error, run the script with verbose mode enabled, which will provide more detailed output. ### 🖼️ Additional context (optional). _No response_
Author
Owner

@MickLesk commented on GitHub (Feb 10, 2025):

Try with verbose and Post this Output

@MickLesk commented on GitHub (Feb 10, 2025): Try with verbose and Post this Output
Author
Owner

@The13east commented on GitHub (Feb 10, 2025):

Try with verbose and Post this Output

It was installed with verbose mode .....
then I tried it without verbose again and same error came out ! something is wrong . I can give you access if you want to check anything !

@The13east commented on GitHub (Feb 10, 2025): > Try with verbose and Post this Output It was installed with verbose mode ..... then I tried it without verbose again and same error came out ! something is wrong . I can give you access if you want to check anything !
Author
Owner

@michelroegl-brunner commented on GitHub (Feb 11, 2025):

When using advanced mode you also have to set verbose mode. When you got the same error as above you did not run it in verbose mode.

@michelroegl-brunner commented on GitHub (Feb 11, 2025): When using advanced mode you also have to set verbose mode. When you got the same error as above you did not run it in verbose mode.
Author
Owner

@MickLesk commented on GitHub (Feb 11, 2025):

you doesnt need advanced since the 2nd choose in whiptail ^^

@MickLesk commented on GitHub (Feb 11, 2025): you doesnt need advanced since the 2nd choose in whiptail ^^
Author
Owner

@michelroegl-brunner commented on GitHub (Feb 11, 2025):

yeah, but if he chooses advanced you have to enable verbose mode at the end. it deafults to no in the whiptail

@michelroegl-brunner commented on GitHub (Feb 11, 2025): yeah, but if he chooses advanced you have to enable verbose mode at the end. it deafults to no in the whiptail
Author
Owner

@The13east commented on GitHub (Feb 11, 2025):

yeah, but if he chooses advanced you have to enable verbose mode at the end. it deafults to no in the whiptail

you doesnt need advanced since the 2nd choose in whiptail ^^

I tried to install in advance mode with exact same settings with verbose and without verbose ! while using verbose it'll install no problem but when verbose disabled it'll error. same thing will happen with full default setting

@The13east commented on GitHub (Feb 11, 2025): > yeah, but if he chooses advanced you have to enable verbose mode at the end. it deafults to no in the whiptail > you doesnt need advanced since the 2nd choose in whiptail ^^ I tried to install in advance mode with exact same settings with verbose and without verbose ! while using verbose it'll install no problem but when verbose disabled it'll error. same thing will happen with full default setting
Author
Owner

@michelroegl-brunner commented on GitHub (Feb 11, 2025):

It runs for me without verbose (@CrazyWolf13 you have a echo somewhere in there with the key)

Image

And also installs fine in verbose:

Image

@michelroegl-brunner commented on GitHub (Feb 11, 2025): It runs for me without verbose (@CrazyWolf13 you have a echo somewhere in there with the key) ![Image](https://github.com/user-attachments/assets/44a25358-a8c7-4a14-8d2f-714f041478e7) And also installs fine in verbose: ![Image](https://github.com/user-attachments/assets/44a9f6b0-b0be-4bbe-9183-35b7c4cee981)
Author
Owner

@CrazyWolf13 commented on GitHub (Feb 11, 2025):

@michelroegl-brunner Thanks!
Weirdly enough I experience the same as OP described, but as of testing with verbose, it ran through without issues, hence why I didn't look at it further.

Yeah right I remember that echo, though I though I had a redirect to either $STD or dev/null there.

Thanks @MickLesk for the quickfix :)

@CrazyWolf13 commented on GitHub (Feb 11, 2025): @michelroegl-brunner Thanks! Weirdly enough I experience the same as OP described, but as of testing with verbose, it ran through without issues, hence why I didn't look at it further. Yeah right I remember that `echo`, though I though I had a redirect to either $STD or dev/null there. Thanks @MickLesk for the quickfix :)
Author
Owner

@The13east commented on GitHub (Feb 11, 2025):

oh yeah the script is very fixed now ! thanks guys

@The13east commented on GitHub (Feb 11, 2025): oh yeah the script is very fixed now ! thanks guys
Author
Owner

@The13east commented on GitHub (Feb 11, 2025):

@michelroegl-brunner Thanks! Weirdly enough I experience the same as OP described, but as of testing with verbose, it ran through without issues, hence why I didn't look at it further.

Yeah right I remember that echo, though I though I had a redirect to either $STD or dev/null there.

Thanks @MickLesk for the quickfix :)

there is another problem !
after installing I tried to run a server but it cant find the java ! it's installed and everything but it doesn't work . here's the error :

Server test1 failed to start with error code: [Errno 2] No such file or directory: 'java'

going to server in web ui - config you can set crafty to use a specific java version and then the server will run ! so in the middle of lxc installation path to java is not set correctly ! I'm gonna be ok using this already but I thought you should know

@The13east commented on GitHub (Feb 11, 2025): > [@michelroegl-brunner](https://github.com/michelroegl-brunner) Thanks! Weirdly enough I experience the same as OP described, but as of testing with verbose, it ran through without issues, hence why I didn't look at it further. > > Yeah right I remember that `echo`, though I though I had a redirect to either $STD or dev/null there. > > Thanks [@MickLesk](https://github.com/MickLesk) for the quickfix :) there is another problem ! after installing I tried to run a server but it cant find the java ! it's installed and everything but it doesn't work . here's the error : Server test1 failed to start with error code: [Errno 2] No such file or directory: 'java' going to server in web ui - config you can set crafty to use a specific java version and then the server will run ! so in the middle of lxc installation path to java is not set correctly ! I'm gonna be ok using this already but I thought you should know
Author
Owner

@CrazyWolf13 commented on GitHub (Feb 12, 2025):

@The13east PR already submitted yesterday :)

@CrazyWolf13 commented on GitHub (Feb 12, 2025): @The13east PR already submitted yesterday :)
Author
Owner

@The13east commented on GitHub (Feb 12, 2025):

@The13east PR already submitted yesterday :)

damn yout guys are fast :-)

@The13east commented on GitHub (Feb 12, 2025): > [@The13east](https://github.com/The13east) PR already submitted yesterday :) damn yout guys are fast :-)
Author
Owner

@Sarthak-Sidhant commented on GitHub (Mar 6, 2025):

sadly experienced the issue again, it installs fine - but the web wont open

@Sarthak-Sidhant commented on GitHub (Mar 6, 2025): sadly experienced the issue again, it installs fine - but the web wont open
Author
Owner

@Sarthak-Sidhant commented on GitHub (Mar 6, 2025):

will try it again with verbose after my exam

@Sarthak-Sidhant commented on GitHub (Mar 6, 2025): will try it again with verbose after my exam
Author
Owner

@MickLesk commented on GitHub (Mar 7, 2025):

and please create an new issue. Old / closed issues does not see everyone

@MickLesk commented on GitHub (Mar 7, 2025): and please create an new issue. Old / closed issues does not see everyone
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#512