fbpx

Have a Question?
< All Topics
Print

Upgrading CyberPanel

CyberPanel Cloud

Sign up for CyberPanel Cloud and let our experts upgrade CyberPanel for you.


Upgrading CyberPanel

The following command can be used to upgrade to the latest version.

sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh || wget -O - https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh)

Upgrading CyberPanel to a specific version

https://raw.githubusercontent.com/usmannasir/cyberpanel/<branch name>/cyberpanel_upgrade.sh

Replace <branch name> with actual branch name from Github, branching schemes are described in our contribution docs.

14 responses to “Upgrading CyberPanel”

  1. Steve says:

    I ran this update script on version 1.9 and after it said successful upgrade, the version still says 1.9 while the latest stable build is 2.0. What's going on?

  2. priyank patel says:

    hi, HI, i am using CyberPanel v1.8.9 on Google Cloud Platform,
    but i cant able to upgrade it to the latest version of cyberpanel.
    i had followed this command
    sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh || wget -O - https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh)

    but it gave me this error : /dev/fd/63: 11: /dev/fd/63: /usr/local/CyberPanel/bin/python2: not found

  3. priyank patel says:

    if [ ! -d "/usr/local/CyberPanel" ]; then
    virtualenv -p /usr/bin/python2 --system-site-packages /usr/local/CyberPanel
    source /usr/local/CyberPanel/bin/activate
    rm -rf requirments.txt
    wget https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/requirments.txt
    pip install --ignore-installed -r requirments.txt
    virtualenv -p /usr/bin/python2 --system-site-packages /usr/local/CyberPanel
    fi

    ////this gives me this
    OSError: [Errno 13] Permission denied: '/usr/local/CyberPanel'

  4. Khurram says:

    x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -flto -fuse-linker-plugin -ffat-lto-objects -O0 -g3 -I. -I/usr/include/python3.6m -I. -I/usr/include/python3.6m -c -o main.o main.c
    main.c: In function ‘main’:
    main.c:169:9: warning: implicit declaration of function ‘preload_module’ [-Wimplicit-function-declaration]
    preload_module(moduleName, appName, progName);
    ^~~~~~~~~~~~~~
    x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -flto -fuse-linker-plugin -ffat-lto-objects -O0 -g3 -I. -I/usr/include/python3.6m -I. -I/usr/include/python3.6m -c -o wsgi.o wsgi.c
    x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -flto -fuse-linker-plugin -ffat-lto-objects -O0 -g3 -I. -I/usr/include/python3.6m -I. -I/usr/include/python3.6m -c -o wsgiinput.o wsgiinput.c
    x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -flto -fuse-linker-plugin -ffat-lto-objects -O0 -g3 -I. -I/usr/include/python3.6m -I. -I/usr/include/python3.6m -c -o wsgiwrapper.o wsgiwrapper.c
    x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -flto -fuse-linker-plugin -ffat-lto-objects -O0 -g3 -I. -I/usr/include/python3.6m -I. -I/usr/include/python3.6m -c -o lsapilib.o lsapilib.c
    x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -flto -fuse-linker-plugin -ffat-lto-objects -O0 -g3 -I. -I/usr/include/python3.6m -I. -I/usr/include/python3.6m -c -o lsapi-glue.o lsapi-glue.c
    x86_64-linux-gnu-gcc -pthread -Wl,-Bsymbolic-functions -Wl,-z,relro -L/usr/lib -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -o lswsgi main.o wsgi.o wsgiinput.o wsgiwrapper.o lsapilib.o lsapi-glue.o -L/usr/lib/python3.6/config-3.6m-x86_64-linux-gnu -lpython3.6m -lpthread -ldl -lutil -lm
    ###################################################################
    CyberPanel Upgraded
    ###################################################################

  5. Jeff says:

    Using cached https://files.pythonhosted.org/packages/70/8f/2c81fa9d57ab632902aa1a48b4186c7f79d1e1f5004fe1b7254da08df83c/jsonpatch-1.2.tar.gz
    ERROR: Command errored out with exit status 1:
    command: /usr/local/CyberPanel/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ym4c8cwx/jsonpatch/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ym4c8cwx/jsonpatch/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-ym4c8cwx/jsonpatch/pip-egg-info
    cwd: /tmp/pip-install-ym4c8cwx/jsonpatch/
    Complete output (7 lines):
    Traceback (most recent call last):
    File "", line 1, in
    File "/tmp/pip-install-ym4c8cwx/jsonpatch/setup.py", line 13, in
    src = open('jsonpatch.py').read()
    File "/usr/local/CyberPanel/lib64/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 173: ordinal not in range(128)
    ----------------------------------------
    ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Table of Contents

chevron-down