zpanel / zpanelx

ZPanel is a web hosting control panel written in PHP for Windows and *NIX host OS's.
http://www.zpanelcp.com
Other
415 stars 296 forks source link

Upgrade error: no such file or directory #126

Open CyberSparkNL opened 10 years ago

CyberSparkNL commented 10 years ago

When I try to upgrade my zPanel on ubuntu 12.04 I get the error

bash: /dev/fd/63: No such file or directory

dansanti commented 10 years ago

open a root promt sudo -s , and then run bash <(curl -Ss https://raw.github.com/zpanel/installers/master/upgrade/Ubuntu-12_04/10_1_1.sh)

stokes84 commented 10 years ago

If dansanti's answer doesn't do the trick try this...

bash < <(curl -Ss https://raw.github.com/zpanel/installers/master/upgrade/Ubuntu-12_04/10_1_1.sh)

or possibly the symlink is missing in which case this should fix it..

ln -s /proc/self/fd /dev/fd

allebb commented 10 years ago

I think the issue may actually be that either the server you are trying to run it on either does not have bash installed OR curl is missing, if either of the other replies don't help try a combination of these commands:-

sh < <(curl -Ss https://raw.github.com/zpanel/installers/master/upgrade/Ubuntu-12_04/10_1_1.sh )

sh < <(wget https://raw.github.com/zpanel/installers/master/upgrade/Ubuntu-12_04/10_1_1.sh )

bash < <(curl -Ss https://raw.github.com/zpanel/installers/master/upgrade/Ubuntu-12_04/10_1_1.sh )

bash < <(wget https://raw.github.com/zpanel/installers/master/upgrade/Ubuntu-12_04/10_1_1.sh )

Cheers, Bobby

On 5 March 2014 02:03, Chris Stokes notifications@github.com wrote:

If dansanti's answer doesn't do the trick try this...

bash < <(curl -Ss https://raw.github.com/zpanel/installers/master/upgrade/Ubuntu-12_04/10_1_1.sh )

Reply to this email directly or view it on GitHubhttps://github.com/zpanel/zpanelx/issues/126#issuecomment-36702732 .

CyberSparkNL commented 10 years ago

Thanks for the reply's, the reply of stokes84 is working a little bit. It starts up the updater but now it's stuck at the message thats telling me I need to make a backup.

Could somebody help me out further?

Lucacker

trojanspike commented 10 years ago

yea , this is a problem that needs to be fixed : has this method of installing been tried on the VM's? I have the same issues. @bobsta63

trojanspike commented 10 years ago

@Lucacker

curl -Ss https://raw.github.com/zpanel/installers/master/upgrade/Ubuntu-12_04/10_1_1.sh -o zpanel-upgrade.sh
curl -Ss https://raw.github.com/zpanel/installers/master/install/Ubuntu-12_04/10_1_1.sh -o zpanel.sh

Or You can use an installer I have that use to be on the website https://s3-eu-west-1.amazonaws.com/bucket-hy87/installer-ubuntu-32.sh

CyberSparkNL commented 10 years ago

@trojanspike But that's the installer, and I need to upgrade.

5050 commented 10 years ago

@trojanspike, about the installer from s3-eu-west-1.amazonaws.com/bucket-hy87 Warning : this installer is compiled and from an unofficial source. Since a few months, the installers are open source on github and in visible text.

You should not use or give link to such compiled installers that may have some chance to be obsolete, but also that may have (bad) chance to contains unwanted feature like worm or virus.

trojanspike commented 10 years ago

@5050 You giving me a slap on the wrists? ;)

5050 commented 10 years ago

@trojanspike Not sure about the meaning of "slap on the wrist" (sorry, my english is a too much limited !). I did not wanted to be aggressive, only warning to be carefull : the internet is not so safe than I would expect.

We (at ZP team) have already enough users complaining about problems caused by use of obsolete (or inappropriate) infos, docs and installers from blogs, youtube, etc...

trojanspike commented 10 years ago

I like to keep what works until the solid next version come : so I kept the initial installer.

ghost commented 10 years ago

Updated announcement:

What about this centos install request: http://forums.zpanelcp.com/Thread-ZPanelX-10-1-1-has-been-released

yum install wget -y && wget https://raw.githubusercontent.com/zpanel/installers/master/install/CentOS-6_4/10_1_1.sh --no-check-certificate && bash 10_1_1.sh

for ubuntu sudo apt-get install wget -y && sudo wget https://raw.github.com/zpanel/installers/master/install/Ubuntu-12_04/10_1_1.sh --no-check-certificate && sudo bash 10_1_1.sh

Wget got less issues than curl pipping to bash. I even added the yum install so it will work even for those without wget. Require root, I can change it to have SU?

I Think that we will close this "issue" as we got a clean solution here. Waiting for feedback to confirm.

M B