[root@server1 ~]# sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade .sh || wget -O - https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh)
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 396 100 396 0 0 1115 0 --:–:-- --:–:-- --:–:-- 1118
Checking server…
Press Enter key to continue with latest version or Enter specific version such as: 1.9.4 , 1.9.5 …e tc
If nothing is input in 10 seconds , script will proceed with latest stable.
Please press Enter key , or specify a version number ,or wait for 10 seconds timeout:
Branch name set to v2.0.0
Checking root privileges…
You are runing as root…
Checking OS…
Detecting CentOS 7.X…
Loaded plugins: fastestmirror, priorities
Cleaning repos: OVH-metrics OVH-rtm base copr:copr.fedorainfracloud.org:copart:restic
: dovecot-2.3-latest epel extras gf gf-plus ius litespeed-mirror
: litespeed-update-mirror lux mariadb-mirror ovhkernel powerdns-auth-42 updates
Cleaning up list of fastest mirrors
Other repos take up 4.7 M of disk space (use --verbose for details)
Loaded plugins: fastestmirror, priorities
Determining fastest mirrors
epel/x86_64/metalink | 31 kB 00:00:00
- epel: mirror.wd6.net
OVH-metrics | 2.9 kB 00:00:00
OVH-rtm | 2.9 kB 00:00:00
base | 3.6 kB 00:00:00
copr:copr.fedorainfracloud.org:copart:restic | 3.3 kB 00:00:00
dovecot-2.3-latest | 2.9 kB 00:00:00
epel | 4.7 kB 00:00:00
extras | 2.9 kB 00:00:00
gf | 2.9 kB 00:00:00
gf-plus | 2.9 kB 00:00:00
ius | 1.3 kB 00:00:00
litespeed-mirror | 3.6 kB 00:00:00
litespeed-update-mirror | 3.6 kB 00:00:00
lux | 2.9 kB 00:00:00
mariadb-mirror | 2.9 kB 00:00:00
ovhkernel | 2.9 kB 00:00:00
powerdns-auth-42 | 2.9 kB 00:00:00
updates | 2.9 kB 00:00:00
(1/22): base/7/x86_64/group_gz | 165 kB 00:00:00
(2/22): dovecot-2.3-latest/7/x86_64/primary_db | 10 kB 00:00:00
(3/22): OVH-rtm/7/x86_64/primary_db | 8.0 kB 00:00:00
(4/22): OVH-metrics/7/x86_64/primary_db | 9.6 kB 00:00:00
(5/22): epel/x86_64/group_gz | 95 kB 00:00:00
(6/22): extras/7/x86_64/primary_db | 165 kB 00:00:00
(7/22): base/7/x86_64/primary_db | 6.0 MB 00:00:00
(8/22): epel/x86_64/updateinfo | 1.0 MB 00:00:00
(9/22): gf/x86_64/primary_db | 44 kB 00:00:00
(10/22): epel/x86_64/primary_db | 6.8 MB 00:00:01
(11/22): litespeed-mirror/group_gz | 855 B 00:00:00
(12/22): litespeed-update-mirror/group_gz | 855 B 00:00:00
(13/22): litespeed-update-mirror/primary_db | 99 kB 00:00:00
(14/22): gf-plus/x86_64/primary_db | 105 kB 00:00:00
(15/22): litespeed-mirror/primary_db | 160 kB 00:00:00
(16/22): ovhkernel/primary_db | 32 kB 00:00:00
(17/22): copr:copr.fedorainfracloud.org:copart:restic/x86_64/primary_db | 3.1 kB 00:00:01
(18/22): ius/x86_64/primary | 108 kB 00:00:00
(19/22): lux/7/primary_db | 1.1 MB 00:00:00
(20/22): powerdns-auth-42/7/x86_64/primary_db | 59 kB 00:00:00
(21/22): mariadb-mirror/primary_db | 18 kB 00:00:00
(22/22): updates/7/x86_64/primary_db | 7.6 MB 00:00:00
ius 458/458
12 packages excluded due to repository priority protections
Resolving Dependencies
→ Running transaction check
—> Package openlitespeed.x86_64 0:1.6.10-1.el7 will be updated
—> Package openlitespeed.x86_64 0:1.6.11-1.el7 will be an update
—> Package pdns.x86_64 0:4.2.1-1pdns.el7 will be updated
—> Package pdns.x86_64 0:4.2.2-1pdns.el7 will be an update
—> Package pdns-backend-mysql.x86_64 0:4.2.1-1pdns.el7 will be updated
—> Package pdns-backend-mysql.x86_64 0:4.2.2-1pdns.el7 will be an update
→ Finished Dependency Resolution
Dependencies Resolved
=====================================================================================================
Package Arch Version Repository Size
Updating:
openlitespeed x86_64 1.6.11-1.el7 litespeed-mirror 37 M
pdns x86_64 4.2.2-1pdns.el7 powerdns-auth-42 3.0 M
pdns-backend-mysql x86_64 4.2.2-1pdns.el7 powerdns-auth-42 43 k
Transaction Summary
Upgrade 3 Packages
Total download size: 40 M
Downloading packages:
No Presto metadata available for powerdns-auth-42
No Presto metadata available for litespeed-mirror
warning: /var/cache/yum/x86_64/7/powerdns-auth-42/packages/pdns-backend-mysql-4.2.2-1pdns.el7.x86_64. rpm: Header V4 RSA/SHA256 Signature, key ID fd380fbb: NOKEY
Public key for pdns-backend-mysql-4.2.2-1pdns.el7.x86_64.rpm is not installed
(1/3): pdns-backend-mysql-4.2.2-1pdns.el7.x86_64.rpm | 43 kB 00:00:00
(2/3): pdns-4.2.2-1pdns.el7.x86_64.rpm | 3.0 MB 00:00:00
(3/3): openlitespeed-1.6.11-1.el7.x86_64.rpm | 37 MB 00:00:04
Total 8.9 MB/s | 40 MB 00:00:04
Retrieving key from https://repo.powerdns.com/FD380FBB-pub.asc
Importing GPG key 0xFD380FBB:
Userid : “PowerDNS Release Signing Key [email protected]”
Fingerprint: 9faa a557 7e8f cf62 093d 036c 1b0c 6205 fd38 0fbb
From : https://repo.powerdns.com/FD380FBB-pub.asc
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : pdns-4.2.2-1pdns.el7.x86_64 1/6
Updating : pdns-backend-mysql-4.2.2-1pdns.el7.x86_64 2/6
Updating : openlitespeed-1.6.11-1.el7.x86_64 3/6
Cleanup : pdns-backend-mysql-4.2.1-1pdns.el7.x86_64 4/6
Cleanup : openlitespeed-1.6.10-1.el7.x86_64 5/6
Cleanup : pdns-4.2.1-1pdns.el7.x86_64 6/6
Verifying : pdns-backend-mysql-4.2.2-1pdns.el7.x86_64 1/6
Verifying : pdns-4.2.2-1pdns.el7.x86_64 2/6
Verifying : openlitespeed-1.6.11-1.el7.x86_64 3/6
Verifying : openlitespeed-1.6.10-1.el7.x86_64 4/6
Verifying : pdns-backend-mysql-4.2.1-1pdns.el7.x86_64 5/6
Verifying : pdns-4.2.1-1pdns.el7.x86_64 6/6
Updated:
openlitespeed.x86_64 0:1.6.11-1.el7 pdns.x86_64 0:4.2.2-1pdns.el7
pdns-backend-mysql.x86_64 0:4.2.2-1pdns.el7
Complete!
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
- epel: mirror.wd6.net
12 packages excluded due to repository priority protections
Package yum-utils-1.1.31-52.el7.noarch already installed and latest version
Nothing to do
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile - epel: mirror.wd6.net
12 packages excluded due to repository priority protections
Maybe run: yum groups mark install (see man yum)
No packages in any requested group available to install or update
Loaded plugins: fastestmirror, priorities
ius-release.rpm | 8.2 kB 00:00:00
Examining /var/tmp/yum-root-uXSmmJ/ius-release.rpm: ius-release-2-1.el7.ius.noarch
/var/tmp/yum-root-uXSmmJ/ius-release.rpm: does not update installed package.
Error: Nothing to do
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile - epel: mirror.wd6.net
12 packages excluded due to repository priority protections
Package python36u is obsoleted by python3, trying to install python3-3.6.8-10.el7.x86_64 instead
Package python3-3.6.8-10.el7.x86_64 already installed and latest version
Package python36u-pip is obsoleted by python3-pip, trying to install python3-pip-9.0.3-7.el7_7.noarch instead
Package python3-pip-9.0.3-7.el7_7.noarch already installed and latest version
Package python36u-devel is obsoleted by python3-devel, trying to install python3-devel-3.6.8-10.el7.x 86_64 instead
Package python3-devel-3.6.8-10.el7.x86_64 already installed and latest version
Nothing to do
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with ‘-m pip’ instead of running pip directly.
Requirement already satisfied: virtualenv==16.7.9 in /usr/local/lib/python3.6/site-packages (16.7.9)
Already using interpreter /usr/bin/python3
Using base prefix ‘/usr’
No LICENSE.txt / LICENSE found in source
New python executable in /usr/local/CyberPanel/bin/python3
Also creating executable in /usr/local/CyberPanel/bin/python
Installing setuptools, pip, wheel…
done.
–2020-04-09 13:29:41-- https://raw.githubusercontent.com/usmannasir/cyberpanel/v2.0.0/requirments.t xt
Resolving raw.githubusercontent.com (raw.githubusercontent.com)… 151.101.120.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.120.133|:443… connected .
HTTP request sent, awaiting response… 200 OK
Length: 1103 (1.1K) [text/plain]
Saving to: ‘requirements.txt’
100%[===========================================================>] 1,103 --.-K/s in 0s
2020-04-09 13:29:42 (30.3 MB/s) - ‘requirements.txt’ saved [1103/1103]
Collecting acme==0.21.1
Using cached acme-0.21.1-py2.py3-none-any.whl (68 kB)
Collecting asgiref==3.2.3
Using cached asgiref-3.2.3-py2.py3-none-any.whl (18 kB)
Collecting asn1crypto==0.24.0
Using cached asn1crypto-0.24.0-py2.py3-none-any.whl (101 kB)
Processing ./.cache/pip/wheels/e2/6d/c2/240c9e7812c4cdba98e3dab5376ff0c92b41b923d4f008a294/Babel-0.9. 6-cp36-none-any.whl
Processing ./.cache/pip/wheels/99/7e/f7/a88a9bcf7a3bd6b12cf6a74eee8c89746aaa02f71ab7b33939/backports. ssl_match_hostname-3.5.0.1-cp36-none-any.whl
Collecting bcrypt==3.1.7
Using cached bcrypt-3.1.7-cp34-abi3-manylinux1_x86_64.whl (56 kB)
Collecting boto3==1.9.64
Using cached boto3-1.9.64-py2.py3-none-any.whl (128 kB)
Collecting botocore==1.12.64
Using cached botocore-1.12.64-py2.py3-none-any.whl (5.1 MB)
Collecting certbot==0.21.1
Using cached certbot-0.21.1-py2.py3-none-any.whl (281 kB)
Collecting certifi==2018.4.16
Using cached certifi-2018.4.16-py2.py3-none-any.whl (150 kB)
Collecting cffi==1.11.5
Using cached cffi-1.11.5-cp36-cp36m-manylinux1_x86_64.whl (421 kB)
Collecting chardet==3.0.4
Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Processing ./.cache/pip/wheels/d6/32/27/61e45e8cbb2ade93ea4ee7a0267b5fbb2434a21a522ec81209/cloudflare -2.6.1-py3-none-any.whl
Processing ./.cache/pip/wheels/d7/4e/7c/9378653fb754e242dc8dd36d77ea9c3ba73a65dd99b7a36927/ConfigArgP arse-0.15.2-cp36-none-any.whl
Processing ./.cache/pip/wheels/f1/e4/16/4981ca97c2d65106b49861e0b35e2660695be7219a2d351ee0/configobj- 5.0.6-cp36-none-any.whl
Collecting cryptography==2.8
Using cached cryptography-2.8-cp34-abi3-manylinux2010_x86_64.whl (2.3 MB)
Processing ./.cache/pip/wheels/3e/fe/a5/855c94c43e307516205d85a417668be7484d7a2f05226d642a/decorator- 3.4.0-cp36-none-any.whl
Collecting Django==3.0.1
Using cached Django-3.0.1-py3-none-any.whl (7.4 MB)
Collecting docker==3.6.0
Using cached docker-3.6.0-py2.py3-none-any.whl (131 kB)
Collecting docker-pycreds==0.4.0
Using cached docker_pycreds-0.4.0-py2.py3-none-any.whl (9.0 kB)
Collecting docutils==0.14
Using cached docutils-0.14-py3-none-any.whl (543 kB)
Collecting enum34==1.1.6
Using cached enum34-1.1.6-py3-none-any.whl (12 kB)
Collecting funcsigs==1.0.2
Using cached funcsigs-1.0.2-py2.py3-none-any.whl (17 kB)
Processing ./.cache/pip/wheels/8b/99/a0/81daf51dcd359a9377b110a8a886b3895921802d2fc1b2397e/future-0.1 8.2-cp36-none-any.whl
Collecting idna==2.6
Using cached idna-2.6-py2.py3-none-any.whl (56 kB)
Processing ./.cache/pip/wheels/22/69/49/084bd4eedbee01628bb74ac8785d500e32c81f44e10584b01f/ipaddress- 1.0.16-cp36-none-any.whl
Processing ./.cache/pip/wheels/7f/2a/c8/9c0ca733925ad3eac7ce602bee0bd13d41a2255057b1b4ab22/IPy-0.75-c p36-none-any.whl
Processing ./.cache/pip/wheels/59/a3/6b/51924066cac6ac011024f40b5575b7a4a0a146836644d8b4cf/Jinja2-2.7 .2-cp36-none-any.whl
Collecting jmespath==0.9.3
Using cached jmespath-0.9.3-py2.py3-none-any.whl (23 kB)
Collecting josepy==1.1.0
Using cached josepy-1.1.0-py2.py3-none-any.whl (53 kB)
Processing ./.cache/pip/wheels/63/2d/6f/1eb718d7511f80218026f9d6db3aec8b356a7d1f4037a6b716/jsonpatch- 1.2-cp36-none-any.whl
Processing ./.cache/pip/wheels/f5/ee/c4/a497a504e1dcd8c5a39461346673485f346d9c1263fb951f64/jsonpointe r-1.9-cp36-none-any.whl
Processing ./.cache/pip/wheels/f6/d4/a9/0213fe11265107403c0779d785425682e8de0d9e1fe0b4b109/MarkupSafe -0.19-cp36-cp36m-linux_x86_64.whl
Collecting mock==2.0.0
Using cached mock-2.0.0-py2.py3-none-any.whl (56 kB)
Processing ./.cache/pip/wheels/37/3d/24/5327fa50817a65ed0ee4dc8809e5c39962b0dd5e078ebf4dc1/mysqlclien t-1.4.6-cp36-cp36m-linux_x86_64.whl
Collecting paramiko==2.6.0
Using cached paramiko-2.6.0-py2.py3-none-any.whl (199 kB)
Processing ./.cache/pip/wheels/e9/d0/db/aa6af26d9762852afc0c982d96f9b4f29a373205889453555b/parsedatet ime-2.4-cp36-none-any.whl
Collecting pbr==4.0.4
Using cached pbr-4.0.4-py2.py3-none-any.whl (98 kB)
Collecting pexpect==4.4.0
Using cached pexpect-4.4.0-py2.py3-none-any.whl (56 kB)
Processing ./.cache/pip/wheels/80/34/1c/3967380d9676d162cb59513bd9dc862d0584e045a162095606/prettytabl e-0.7.2-cp36-none-any.whl
Processing ./.cache/pip/wheels/fe/33/84/baea3d665de2d1af7e8f827f3883811bba5e4149443ccf8191/psutil-5.4 .3-cp36-cp36m-linux_x86_64.whl
Collecting ptyprocess==0.6.0
Using cached ptyprocess-0.6.0-py2.py3-none-any.whl (39 kB)
Processing ./.cache/pip/wheels/b5/ff/71/cff9392476c0a67a4c2979be98a798010bc5a0b6be37b7102e/py3dns-3.2 .1-cp36-none-any.whl
Processing ./.cache/pip/wheels/c0/a1/27/5ba234bd77ea5a290cbf6d675259ec52293193467a12ef1f46/pycparser- 2.18-py2.py3-none-any.whl
Processing ./.cache/pip/wheels/cb/d2/96/7aedaf9bf5201c18f823b5845e0c9551a73a3b4cebd880e394/pygpgme-0. 3-cp36-cp36m-linux_x86_64.whl
Collecting PyNaCl==1.3.0
Using cached PyNaCl-1.3.0-cp34-abi3-manylinux1_x86_64.whl (759 kB)
Collecting pyOpenSSL==17.5.0
Using cached pyOpenSSL-17.5.0-py2.py3-none-any.whl (53 kB)
Collecting pyRFC3339==1.1
Using cached pyRFC3339-1.1-py2.py3-none-any.whl (5.7 kB)
Collecting python-dateutil==2.7.5
Using cached python_dateutil-2.7.5-py2.py3-none-any.whl (225 kB)
Collecting pytz==2018.4
Using cached pytz-2018.4-py2.py3-none-any.whl (510 kB)
Processing ./.cache/pip/wheels/48/07/93/77ac09fe1d7164d9bb194b78cb98832aa7e104840c9cdecc0c/pyudev-0.1 5-cp36-none-any.whl
Processing ./.cache/pip/wheels/40/c3/84/7c9a5d1dc2d3dd3a43206a0f825254987d77a6c2bd02c0165f/pyxattr-0. 7.1-cp36-cp36m-linux_x86_64.whl
Processing ./.cache/pip/wheels/ab/da/46/2f3778bfc6d5ec360917e3eeff42bade7d0497ad6879b1c05c/PyYAML-3.1 0-cp36-cp36m-linux_x86_64.whl
Collecting requests==2.18.4
Using cached requests-2.18.4-py2.py3-none-any.whl (88 kB)
Collecting requests-file==1.4.3
Using cached requests_file-1.4.3-py2.py3-none-any.whl (4.0 kB)
Collecting s3transfer==0.1.13
Using cached s3transfer-0.1.13-py2.py3-none-any.whl (59 kB)
Processing ./.cache/pip/wheels/9f/d7/59/3026f39bd579bf6b18560faa960fd38957f31fe5ed845433e3/SimpleWebS ocketServer-0.1.1-cp36-none-any.whl
Collecting six==1.13.0
Using cached six-1.13.0-py2.py3-none-any.whl (10 kB)
Collecting sqlparse==0.3.0
Using cached sqlparse-0.3.0-py2.py3-none-any.whl (39 kB)
Collecting tldextract==2.2.0
Using cached tldextract-2.2.0-py2.py3-none-any.whl (52 kB)
Collecting urllib3==1.22
Using cached urllib3-1.22-py2.py3-none-any.whl (132 kB)
Collecting websocket-client==0.56.0
Using cached websocket_client-0.56.0-py2.py3-none-any.whl (200 kB)
Collecting zope.component==4.4.1
Using cached zope.component-4.4.1-py2.py3-none-any.whl (70 kB)
Collecting zope.event==4.3.0
Using cached zope.event-4.3.0-py2.py3-none-any.whl (7.6 kB)
Collecting zope.interface==4.5.0
Using cached zope.interface-4.5.0-cp36-cp36m-manylinux1_x86_64.whl (166 kB)
Processing ./.cache/pip/wheels/8b/85/b7/d66f043645abae3e0bbf70de7ad73b8045230fd26db2f2009e/validators -0.14.2-py3-none-any.whl
Collecting setuptools>=1.0
Using cached setuptools-46.1.3-py3-none-any.whl (582 kB)
Collecting jsonlines
Using cached jsonlines-1.2.0-py2.py3-none-any.whl (7.6 kB)
Installing collected packages: six, pycparser, cffi, cryptography, pyOpenSSL, setuptools, josepy, pyt z, pyRFC3339, pbr, mock, certifi, idna, urllib3, chardet, requests, acme, asgiref, asn1crypto, Babel, backports.ssl-match-hostname, bcrypt, docutils, jmespath, python-dateutil, botocore, s3transfer, bot o3, zope.event, zope.interface, zope.component, ConfigArgParse, future, parsedatetime, configobj, cer tbot, PyYAML, jsonlines, cloudflare, decorator, sqlparse, Django, docker-pycreds, websocket-client, d ocker, enum34, funcsigs, ipaddress, IPy, MarkupSafe, Jinja2, jsonpointer, jsonpatch, mysqlclient, PyN aCl, paramiko, ptyprocess, pexpect, prettytable, psutil, py3dns, pygpgme, pyudev, pyxattr, requests-f ile, SimpleWebSocketServer, tldextract, validators
Successfully installed Babel-0.9.6 ConfigArgParse-0.15.2 Django-3.0.1 IPy-0.75 Jinja2-2.7.2 MarkupSaf e-0.19 PyNaCl-1.3.0 PyYAML-3.10 SimpleWebSocketServer-0.1.1 acme-0.21.1 asgiref-3.2.3 asn1crypto-0.24 .0 backports.ssl-match-hostname-3.5.0.1 bcrypt-3.1.7 boto3-1.9.64 botocore-1.12.64 certbot-0.21.1 cer tifi-2018.4.16 cffi-1.11.5 chardet-3.0.4 cloudflare-2.6.1 configobj-5.0.6 cryptography-2.8 decorator- 3.4.0 docker-3.6.0 docker-pycreds-0.4.0 docutils-0.14 enum34-1.1.6 funcsigs-1.0.2 future-0.18.2 idna- 2.6 ipaddress-1.0.16 jmespath-0.9.3 josepy-1.1.0 jsonlines-1.2.0 jsonpatch-1.2 jsonpointer-1.9 mock-2 .0.0 mysqlclient-1.4.6 paramiko-2.6.0 parsedatetime-2.4 pbr-4.0.4 pexpect-4.4.0 prettytable-0.7.2 psu til-5.4.3 ptyprocess-0.6.0 py3dns-3.2.1 pyOpenSSL-17.5.0 pyRFC3339-1.1 pycparser-2.18 pygpgme-0.3 pyt hon-dateutil-2.7.5 pytz-2018.4 pyudev-0.15 pyxattr-0.7.1 requests-2.18.4 requests-file-1.4.3 s3transf er-0.1.13 setuptools-46.1.3 six-1.13.0 sqlparse-0.3.0 tldextract-2.2.0 urllib3-1.22 validators-0.14.2 websocket-client-0.56.0 zope.component-4.4.1 zope.event-4.3.0 zope.interface-4.5.0
Already using interpreter /usr/bin/python3
Using base prefix ‘/usr’
No LICENSE.txt / LICENSE found in source
New python executable in /usr/local/CyberPanel/bin/python3
Not overwriting existing python script /usr/local/CyberPanel/bin/python (you must use /usr/local/Cybe rPanel/bin/python3)
Installing setuptools, pip, wheel…
done.
–2020-04-09 13:30:19-- https://raw.githubusercontent.com/usmannasir/cyberpanel/v2.0.0/plogical/upgr ade.py
Resolving raw.githubusercontent.com (raw.githubusercontent.com)… 151.101.120.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.120.133|:443… connected .
HTTP request sent, awaiting response… 200 OK
Length: 81023 (79K) [text/plain]
Saving to: ‘upgrade.py’
100%[===========================================================>] 81,023 --.-K/s in 0.01s
2020-04-09 13:30:19 (6.33 MB/s) - ‘upgrade.py’ saved [81023/81023]
/usr/local/cyberpanel_upgrade.sh: line 225: 25190 Killed /usr/local/CyberPanel/bin/p ython upgrade.py $BRANCH_NAME
command failed, exiting…
[root@server1 ~]#