CyberPanel Installation Syntax Error - newline unexpected

Hi!

I am quite new at Ubuntu, but I am trying to install Cyberpanel to my VPS with Ubuntu 20.04 64bit.

I have tried to use the command from the documentation below:

sh <(curl https://cyberpanel.net/install.sh || wget -O - https://cyberpanel.net/install.sh)

And also other commands like curl -0 http://cyberpanel.net/install.sh | sudo sh, but it doesn’t matter wich command I use, I get the error below:

./cyberpanel.sh: 2: Syntax error: newline unexpected

or

sh: 2: Syntax error: newline unexpected

I am connected to my VPS as root, but I really don’t know what to do. Can anyone help please?

Thanks

I have the Same Problem Here!

image

Manolo do BR, veja meu topico: Error when updating CyberPanel - #10 by lucasromeiro

@lucasromeiro Valeu por compartilhar! Está dificil achar uma solução pra instalar esse painel nessa versão do ubuntu, se tiver algum sucesso me avisa. Eu segui o link que o cara te passou na sua pergunta e tive o mesmo problema que você, então estou instalando a versão do Ubuntu 18.04 64-bit com Plesk Onyx pra ver se ajuda também.

Hi,

I can confirm that I use Contabo and today I have 3 times re-install Ubuntu 20.04 (64-bit) and get the same error → ./cyberpanel.sh: 2: Syntax error: newline unexpected.

How to fix this issue?

1 Like

Rapaz, o melhor que tive até agora foi o pessoal da Hostinger falando que vai instalar por conta deles para resolver… Tente tb pelo chat! Se liga:
image

@lucasromeiro Nossa que bom que eles conseguiram instalar pra você, pra mim eles não fizeram. Tive que instalar outra versão com outro painel infelizmente!