kartick

Unable to Upgrade to version 1.9.1

Oct 22nd, 2019
82
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [cyberpanel-gcp@cyberpanel-gcp ~]$ cd
  2. [cyberpanel-gcp@cyberpanel-gcp ~]$ rm preUpgrade.sh
  3. rm: cannot remove ‘preUpgrade.sh’: No such file or directory
  4. [cyberpanel-gcp@cyberpanel-gcp ~]$ wget https://raw.githubusercontent.com/usmannasir/cyberpanel/1.8.0/preUpgrade.sh --2019-10-22 22:58:07-- https://raw.githubusercontent.com/usmannasir/cyberpanel/1.8.0/preUpgrade.sh
  5. Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
  6. Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
  7. HTTP request sent, awaiting response... 200 OK
  8. Length: 516 [text/plain]
  9. Saving to: ‘preUpgrade.sh’
  10.  
  11. 100%[============================================================================================>] 516 --.-K/s in 0s
  12.  
  13. 2019-10-22 22:58:08 (71.7 MB/s) - ‘preUpgrade.sh’ saved [516/516]
  14.  
  15. [cyberpanel-gcp@cyberpanel-gcp ~]$ chmod +x preUpgrade.sh
  16. [cyberpanel-gcp@cyberpanel-gcp ~]$ ./preUpgrade.sh
  17. Traceback (most recent call last):
  18. File "/usr/bin/virtualenv", line 11, in <module>
  19. sys.exit(main())
  20. File "/usr/lib/python2.7/site-packages/virtualenv.py", line 870, in main
  21. symlink=options.symlink,
  22. File "/usr/lib/python2.7/site-packages/virtualenv.py", line 1156, in create_environment
  23. install_python(home_dir, lib_dir, inc_dir, bin_dir, site_packages=site_packages, clear=clear, symlink=symlink)
  24. File "/usr/lib/python2.7/site-packages/virtualenv.py", line 1428, in install_python
  25. mkdir(lib_dir)
  26. File "/usr/lib/python2.7/site-packages/virtualenv.py", line 394, in mkdir
  27. os.makedirs(at_path)
  28. File "/usr/lib64/python2.7/os.py", line 150, in makedirs
  29. makedirs(head, mode)
  30. File "/usr/lib64/python2.7/os.py", line 150, in makedirs
  31. makedirs(head, mode)
  32. File "/usr/lib64/python2.7/os.py", line 157, in makedirs
  33. mkdir(name, mode)
  34. OSError: [Errno 13] Permission denied: '/usr/local/CyberPanel'
  35. ./preUpgrade.sh: line 3: /usr/local/CyberPanel/bin/activate: No such file or directory
  36. --2019-10-22 22:58:32-- https://raw.githubusercontent.com/usmannasir/cyberpanel/1.8.0/requirments.txt
  37. Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
  38. Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
  39. HTTP request sent, awaiting response... 200 OK
  40. Length: 1020 [text/plain]
  41. Saving to: ‘requirments.txt’
  42.  
  43. 100%[============================================================================================>] 1,020 --.-K/s in 0s
  44.  
  45. 2019-10-22 22:58:33 (133 MB/s) - ‘requirments.txt’ saved [1020/1020]
  46.  
  47. Collecting acme==0.21.1 (from -r requirments.txt (line 1))
  48. Downloading https://files.pythonhosted.org/packages/d8/83/d37e3598e8aff2e52d6e1b49aaae6cab548ca62595a4634c459c808b4557/acme-0.21.1-py2.py3-none-any.whl (68kB)
  49. 100% |████████████████████████████████| 71kB 555kB/s
  50. Collecting asn1crypto==0.24.0 (from -r requirments.txt (line 2))
  51. Downloading https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl (101kB)
  52. 100% |████████████████████████████████| 102kB 1.4MB/s
  53. Collecting Babel==0.9.6 (from -r requirments.txt (line 3))
  54. Downloading https://files.pythonhosted.org/packages/47/d8/84943abdffcc0f910327a08651e857e682efcda80e6650b1aa93679d5f60/Babel-0.9.6.tar.gz (1.8MB)
  55. 100% |████████████████████████████████| 1.8MB 568kB/s
  56. Collecting bcrypt==3.1.7 (from -r requirments.txt (line 4))
  57. Downloading https://files.pythonhosted.org/packages/ad/36/9a0227d048e98409f012570f7bef8a8c2373b9c9c5dfbf82963cbae05ede/bcrypt-3.1.7-cp27-cp27mu-manylinux1_x86_64.whl (59kB)
  58. 100% |████████████████████████████████| 61kB 7.5MB/s
  59. Collecting backports.ssl-match-hostname==3.5.0.1 (from -r requirments.txt (line 5))
  60. Downloading https://files.pythonhosted.org/packages/76/21/2dc61178a2038a5cb35d14b61467c6ac632791ed05131dda72c20e7b9e23/backports.ssl_match_hostname-3.5.0.1.tar.gz
  61. Collecting boto3==1.9.64 (from -r requirments.txt (line 6))
  62. Downloading https://files.pythonhosted.org/packages/5c/3a/da62fd31ae6154fe32485f067c4ef9a3dc65880fee9d2b189a1d6c17def8/boto3-1.9.64-py2.py3-none-any.whl (128kB)
  63. 100% |████████████████████████████████| 133kB 6.9MB/s
  64. Collecting botocore==1.12.64 (from -r requirments.txt (line 7))
  65. Downloading https://files.pythonhosted.org/packages/98/8b/490e56b674f9a4cc750ae3588dcf300a57b84f7d1f80daf0b21b3e4f1d1f/botocore-1.12.64-py2.py3-none-any.whl (5.1MB)
  66. 100% |████████████████████████████████| 5.1MB 203kB/s
  67. Collecting certbot==0.21.1 (from -r requirments.txt (line 8))
  68. Downloading https://files.pythonhosted.org/packages/47/16/d49ff6ddd86ea57affa7e927797932bec1f9e5f2c9fa49a429ad2aac1b96/certbot-0.21.1-py2.py3-none-any.whl (281kB)
  69. 100% |████████████████████████████████| 286kB 2.7MB/s
  70. Collecting certifi==2018.4.16 (from -r requirments.txt (line 9))
  71. Downloading https://files.pythonhosted.org/packages/7c/e6/92ad559b7192d846975fc916b65f667c7b8c3a32bea7372340bfe9a15fa5/certifi-2018.4.16-py2.py3-none-any.whl (150kB)
  72. 100% |████████████████████████████████| 153kB 4.5MB/s
  73. Collecting cffi==1.11.5 (from -r requirments.txt (line 10))
  74. Downloading https://files.pythonhosted.org/packages/14/dd/3e7a1e1280e7d767bd3fa15791759c91ec19058ebe31217fe66f3e9a8c49/cffi-1.11.5-cp27-cp27mu-manylinux1_x86_64.whl (407kB)
  75. 100% |████████████████████████████████| 409kB 1.8MB/s
  76. Collecting chardet==3.0.4 (from -r requirments.txt (line 11))
  77. Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
  78. Collecting ConfigArgParse==0.13.0 (from -r requirments.txt (line 12))
  79. Downloading https://files.pythonhosted.org/packages/77/61/ae928ce6ab85d4479ea198488cf5ffa371bd4ece2030c0ee85ff668deac5/ConfigArgParse-0.13.0.tar.gz
  80. Collecting configobj==4.7.2 (from -r requirments.txt (line 13))
  81. Downloading https://files.pythonhosted.org/packages/49/9c/4a97c36ba82e60b390614f050cd1d3e8652f1b38d1e6fde6e1ff4f16bc3e/configobj-4.7.2.tar.gz
  82. Collecting cryptography==2.2.2 (from -r requirments.txt (line 14))
  83. Downloading https://files.pythonhosted.org/packages/dd/c2/3a5bfefb25690725824ade71e6b65449f0a9f4b29702cce10560f786ebf6/cryptography-2.2.2-cp27-cp27mu-manylinux1_x86_64.whl (2.2MB)
  84. 100% |████████████████████████████████| 2.2MB 412kB/s
  85. Collecting decorator==3.4.0 (from -r requirments.txt (line 15))
  86. Downloading https://files.pythonhosted.org/packages/f3/26/876d492f2394f29401eb652ddfa53dec2bc8721861c7fe0dce1b5d0d2b6a/decorator-3.4.0.tar.gz
  87. Collecting docker==3.6.0 (from -r requirments.txt (line 16))
  88. Downloading https://files.pythonhosted.org/packages/e1/58/938fbc7acd98302ca4872f5eab8ab811498e342ab5aec0c1609f22e0aeda/docker-3.6.0-py2.py3-none-any.whl (131kB)
  89. 100% |████████████████████████████████| 133kB 6.1MB/s
  90. Collecting docker-pycreds==0.4.0 (from -r requirments.txt (line 17))
  91. Downloading https://files.pythonhosted.org/packages/f5/e8/f6bd1eee09314e7e6dee49cbe2c5e22314ccdb38db16c9fc72d2fa80d054/docker_pycreds-0.4.0-py2.py3-none-any.whl
  92. Collecting Django==1.11 (from -r requirments.txt (line 18))
  93. Downloading https://files.pythonhosted.org/packages/47/a6/078ebcbd49b19e22fd560a2348cfc5cec9e5dcfe3c4fad8e64c9865135bb/Django-1.11-py2.py3-none-any.whl (6.9MB)
  94. 100% |████████████████████████████████| 6.9MB 139kB/s
  95. Collecting docutils==0.14 (from -r requirments.txt (line 19))
  96. Downloading https://files.pythonhosted.org/packages/50/09/c53398e0005b11f7ffb27b7aa720c617aba53be4fb4f4f3f06b9b5c60f28/docutils-0.14-py2-none-any.whl (543kB)
  97. 100% |████████████████████████████████| 552kB 2.1MB/s
  98. Collecting enum34==1.1.6 (from -r requirments.txt (line 20))
  99. Using cached https://files.pythonhosted.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl
  100. Collecting funcsigs==1.0.2 (from -r requirments.txt (line 21))
  101. Downloading https://files.pythonhosted.org/packages/69/cb/f5be453359271714c01b9bd06126eaf2e368f1fddfff30818754b5ac2328/funcsigs-1.0.2-py2.py3-none-any.whl
  102. Collecting future==0.16.0 (from -r requirments.txt (line 22))
  103. Downloading https://files.pythonhosted.org/packages/00/2b/8d082ddfed935f3608cc61140df6dcbf0edea1bc3ab52fb6c29ae3e81e85/future-0.16.0.tar.gz (824kB)
  104. 100% |████████████████████████████████| 829kB 1.3MB/s
  105. Collecting futures==3.2.0 (from -r requirments.txt (line 23))
  106. Downloading https://files.pythonhosted.org/packages/2d/99/b2c4e9d5a30f6471e410a146232b4118e697fa3ffc06d6a65efde84debd0/futures-3.2.0-py2-none-any.whl
  107. Collecting idna==2.6 (from -r requirments.txt (line 24))
  108. Downloading https://files.pythonhosted.org/packages/27/cc/6dd9a3869f15c2edfab863b992838277279ce92663d334df9ecf5106f5c6/idna-2.6-py2.py3-none-any.whl (56kB)
  109. 100% |████████████████████████████████| 61kB 7.7MB/s
  110. Collecting iniparse==0.4 (from -r requirments.txt (line 25))
  111. Downloading https://files.pythonhosted.org/packages/0f/d1/3090ef9be165da5ddb1b0cf2b332d3282588bdd2dd0967e94b547f10055f/iniparse-0.4.tar.gz
  112. Collecting ipaddress==1.0.16 (from -r requirments.txt (line 26))
  113. Downloading https://files.pythonhosted.org/packages/23/6a/813ac29a01e4c33c19c2bded98ac3d4266ebbf0bd2c0eb0020e1c969958d/ipaddress-1.0.16-py27-none-any.whl
  114. Collecting IPy==0.75 (from -r requirments.txt (line 27))
  115. Downloading https://files.pythonhosted.org/packages/1e/88/b5a29c13e55c71d2a133d0dd17f65565b9bc500fa61d8a49f47098c26bec/IPy-0.75.tar.gz
  116. Collecting Jinja2==2.7.2 (from -r requirments.txt (line 28))
  117. Downloading https://files.pythonhosted.org/packages/23/94/ca42176bf7a252ce1f5d165953013573dffdbe4b5dac07f57146146ea432/Jinja2-2.7.2.tar.gz (378kB)
  118. 100% |████████████████████████████████| 378kB 3.3MB/s
  119. Collecting jmespath==0.9.3 (from -r requirments.txt (line 29))
  120. Downloading https://files.pythonhosted.org/packages/b7/31/05c8d001f7f87f0f07289a5fc0fc3832e9a57f2dbd4d3b0fee70e0d51365/jmespath-0.9.3-py2.py3-none-any.whl
  121. Collecting josepy==1.1.0 (from -r requirments.txt (line 30))
  122. Downloading https://files.pythonhosted.org/packages/23/46/30ac29742b03be92e05d1fd9048df6f0902bb0b3b042a7ea76a2b3c30f7e/josepy-1.1.0-py2.py3-none-any.whl (53kB)
  123. 100% |████████████████████████████████| 61kB 8.6MB/s
  124. Collecting jsonpatch==1.2 (from -r requirments.txt (line 31))
  125. Downloading https://files.pythonhosted.org/packages/70/8f/2c81fa9d57ab632902aa1a48b4186c7f79d1e1f5004fe1b7254da08df83c/jsonpatch-1.2.tar.gz
  126. Collecting jsonpointer==1.9 (from -r requirments.txt (line 32))
  127. Downloading https://files.pythonhosted.org/packages/e9/79/683a3318610ad3d950d3fadd25c0b76923b749d0ba828a9466150ac641ac/jsonpointer-1.9-py2-none-any.whl
  128. Collecting kitchen==1.1.1 (from -r requirments.txt (line 33))
  129. Downloading https://files.pythonhosted.org/packages/3a/ed/49085dca34c6f4f8d23f19bd46ac3bae6391de4db7fc58d5dd0e0eb24008/kitchen-1.1.1.tar.gz (158kB)
  130. 100% |████████████████████████████████| 163kB 5.8MB/s
  131. Collecting MarkupSafe==0.11 (from -r requirments.txt (line 34))
  132. Downloading https://files.pythonhosted.org/packages/ee/51/df4a007a19f3de1b733adac77da11fa45f1ec5089549a7cc2d67195bb2c1/MarkupSafe-0.11.tar.gz
  133. Collecting mock==2.0.0 (from -r requirments.txt (line 35))
  134. Downloading https://files.pythonhosted.org/packages/e6/35/f187bdf23be87092bd0f1200d43d23076cee4d0dec109f195173fd3ebc79/mock-2.0.0-py2.py3-none-any.whl (56kB)
  135. 100% |████████████████████████████████| 61kB 7.6MB/s
  136. Collecting parsedatetime==2.4 (from -r requirments.txt (line 36))
  137. Downloading https://files.pythonhosted.org/packages/1d/48/ac8d4c6239437592852e951bcb9438dc585f80c29777c391aef69c67dc79/parsedatetime-2.4-py2-none-any.whl (40kB)
  138. 100% |████████████████████████████████| 40kB 7.4MB/s
  139. Collecting pbr==4.0.4 (from -r requirments.txt (line 37))
  140. Downloading https://files.pythonhosted.org/packages/b3/5d/c196041ffdf3e34ba206db6d61d1f893a75e1f3435699ade9bd65e089a3d/pbr-4.0.4-py2.py3-none-any.whl (98kB)
  141. 100% |████████████████████████████████| 102kB 8.5MB/s
  142. Collecting pexpect==4.4.0 (from -r requirments.txt (line 38))
  143. Downloading https://files.pythonhosted.org/packages/05/80/3a8f823aadc85a8ba3744d95ba591cbe999fbca5d97429a056fd82c4ea92/pexpect-4.4.0-py2.py3-none-any.whl (56kB)
  144. 100% |████████████████████████████████| 61kB 8.6MB/s
  145. Collecting prettytable==0.7.2 (from -r requirments.txt (line 39))
  146. Downloading https://files.pythonhosted.org/packages/ef/30/4b0746848746ed5941f052479e7c23d2b56d174b82f4fd34a25e389831f5/prettytable-0.7.2.tar.bz2
  147. Collecting psutil==5.4.3 (from -r requirments.txt (line 40))
  148. Downloading https://files.pythonhosted.org/packages/e2/e1/600326635f97fee89bf8426fef14c5c29f4849c79f68fd79f433d8c1bd96/psutil-5.4.3.tar.gz (412kB)
  149. 100% |████████████████████████████████| 419kB 2.6MB/s
  150. Collecting ptyprocess==0.6.0 (from -r requirments.txt (line 41))
  151. Downloading https://files.pythonhosted.org/packages/d1/29/605c2cc68a9992d18dada28206eeada56ea4bd07a239669da41674648b6f/ptyprocess-0.6.0-py2.py3-none-any.whl
  152. Collecting pycparser==2.18 (from -r requirments.txt (line 42))
  153. Downloading https://files.pythonhosted.org/packages/8c/2d/aad7f16146f4197a11f8e91fb81df177adcc2073d36a17b1491fd09df6ed/pycparser-2.18.tar.gz (245kB)
  154. 100% |████████████████████████████████| 256kB 4.0MB/s
  155. Collecting pycurl==7.19.0 (from -r requirments.txt (line 43))
  156. Downloading https://files.pythonhosted.org/packages/11/73/abcfbbb6e1dd7087fa53042c301c056c11264e8a737a4688f834162d731e/pycurl-7.19.0.tar.gz (70kB)
  157. 100% |████████████████████████████████| 71kB 7.9MB/s
  158. Collecting pydns==2.3.6 (from -r requirments.txt (line 44))
  159. Downloading https://files.pythonhosted.org/packages/4b/9e/be4f6bbe72c2a12bb83f8a91e027fe58507afe7325dcd08b914f2bf0f1f0/pydns-2.3.6.tar.gz
  160. Collecting pygpgme==0.3 (from -r requirments.txt (line 45))
  161. Downloading https://files.pythonhosted.org/packages/dc/96/b2bcbd3a216af313bb9045c2e573aa18653876a65db471b86be7598234dd/pygpgme-0.3.tar.gz (50kB)
  162. 100% |████████████████████████████████| 51kB 6.3MB/s
  163. Collecting pyliblzma==0.5.3 (from -r requirments.txt (line 46))
  164. Downloading https://files.pythonhosted.org/packages/17/48/5292ade507dafe573360560ba53783395587dc42eb32b347feb2ac70fc6b/pyliblzma-0.5.3.tar.bz2 (43kB)
  165. 100% |████████████████████████████████| 51kB 8.0MB/s
  166. Collecting pyOpenSSL==17.5.0 (from -r requirments.txt (line 47))
  167. Downloading https://files.pythonhosted.org/packages/79/db/7c0cfe4aa8341a5fab4638952520d8db6ab85ff84505e12c00ea311c3516/pyOpenSSL-17.5.0-py2.py3-none-any.whl (53kB)
  168. 100% |████████████████████████████████| 61kB 8.0MB/s
  169. Collecting pyRFC3339==1.1 (from -r requirments.txt (line 48))
  170. Downloading https://files.pythonhosted.org/packages/c1/7a/725f5c16756ec6211b1e7eeac09f469084595513917ea069bc023c40a5e2/pyRFC3339-1.1-py2.py3-none-any.whl
  171. Collecting pyserial==2.6 (from -r requirments.txt (line 49))
  172. Downloading https://files.pythonhosted.org/packages/fb/93/e350757db177234e77037dbbbf8551c0a6e43b634f375590399fef920fde/pyserial-2.6.tar.gz (116kB)
  173. 100% |████████████████████████████████| 122kB 6.4MB/s
  174. Collecting python-dateutil==2.7.5 (from -r requirments.txt (line 50))
  175. Downloading https://files.pythonhosted.org/packages/74/68/d87d9b36af36f44254a8d512cbfc48369103a3b9e474be9bdfe536abfc45/python_dateutil-2.7.5-py2.py3-none-any.whl (225kB)
  176. 100% |████████████████████████████████| 235kB 4.4MB/s
  177. Collecting pytz==2018.4 (from -r requirments.txt (line 51))
  178. Downloading https://files.pythonhosted.org/packages/dc/83/15f7833b70d3e067ca91467ca245bae0f6fe56ddc7451aa0dc5606b120f2/pytz-2018.4-py2.py3-none-any.whl (510kB)
  179. 100% |████████████████████████████████| 512kB 2.2MB/s
  180. Collecting pyudev==0.15 (from -r requirments.txt (line 52))
  181. Downloading https://files.pythonhosted.org/packages/13/8d/437e226f9c4518a821b141009142d24b11b0fe1acc92d135de95daa9953e/pyudev-0.15.tar.gz (72kB)
  182. 100% |████████████████████████████████| 81kB 9.3MB/s
  183. Collecting pyxattr==0.5.1 (from -r requirments.txt (line 53))
  184. Downloading https://files.pythonhosted.org/packages/20/7a/2ae2a5a13e550b88cf4aa71aa60e1c2d58d7f002d4a2ccb9b4920f8dc84b/pyxattr-0.5.1.tar.gz
  185. Collecting PyYAML==3.10 (from -r requirments.txt (line 54))
  186. Downloading https://files.pythonhosted.org/packages/00/17/3b822893a1789a025d3f676a381338516a8f65e686d915b0834ecc9b4979/PyYAML-3.10.tar.gz (241kB)
  187. 100% |████████████████████████████████| 245kB 4.0MB/s
  188. Collecting requests==2.18.4 (from -r requirments.txt (line 55))
  189. Downloading https://files.pythonhosted.org/packages/49/df/50aa1999ab9bde74656c2919d9c0c085fd2b3775fd3eca826012bef76d8c/requests-2.18.4-py2.py3-none-any.whl (88kB)
  190. 100% |████████████████████████████████| 92kB 8.2MB/s
  191. Collecting requests-file==1.4.3 (from -r requirments.txt (line 56))
  192. Downloading https://files.pythonhosted.org/packages/23/9c/6e63c23c39e53d3df41c77a3d05a49a42c4e1383a6d2a5e3233161b89dbf/requests_file-1.4.3-py2.py3-none-any.whl
  193. Collecting s3transfer==0.1.13 (from -r requirments.txt (line 57))
  194. Downloading https://files.pythonhosted.org/packages/d7/14/2a0004d487464d120c9fb85313a75cd3d71a7506955be458eebfe19a6b1d/s3transfer-0.1.13-py2.py3-none-any.whl (59kB)
  195. 100% |████████████████████████████████| 61kB 7.9MB/s
  196. Collecting six==1.9.0 (from -r requirments.txt (line 58))
  197. Downloading https://files.pythonhosted.org/packages/10/e3/a7f8eea80a9fa8358c1cd89ef489bc03675e69e54ed2982cd6f2a28d8295/six-1.9.0-py2.py3-none-any.whl
  198. Collecting tldextract==2.2.0 (from -r requirments.txt (line 59))
  199. Downloading https://files.pythonhosted.org/packages/0e/0c/1b7332684dfc2e6311d59cd00859a5318a7e0ba50334ad217ceb9555e213/tldextract-2.2.0-py2.py3-none-any.whl (52kB)
  200. 100% |████████████████████████████████| 61kB 9.1MB/s
  201. Collecting urllib3==1.22 (from -r requirments.txt (line 60))
  202. Downloading https://files.pythonhosted.org/packages/63/cb/6965947c13a94236f6d4b8223e21beb4d576dc72e8130bd7880f600839b8/urllib3-1.22-py2.py3-none-any.whl (132kB)
  203. 100% |████████████████████████████████| 133kB 7.2MB/s
  204. Collecting zope.component==4.4.1 (from -r requirments.txt (line 61))
  205. Downloading https://files.pythonhosted.org/packages/b6/e8/6eb8e2c6e856fb9bfe842afe01695da53d046fd5ddee358cde24d8aab31f/zope.component-4.4.1-py2.py3-none-any.whl (70kB)
  206. 100% |████████████████████████████████| 71kB 8.5MB/s
  207. Collecting zope.event==4.3.0 (from -r requirments.txt (line 62))
  208. Downloading https://files.pythonhosted.org/packages/03/62/bb2d843b59f62bac43d071e2d3543ffc63d35fcc515a5796c759b62de49b/zope.event-4.3.0-py2.py3-none-any.whl
  209. Collecting zope.interface==4.5.0 (from -r requirments.txt (line 63))
  210. Downloading https://files.pythonhosted.org/packages/cd/14/55694f6289425d1cd41c59cf0aaf0188686b5b544140cab64c6f9e508751/zope.interface-4.5.0-cp27-cp27mu-manylinux1_x86_64.whl (163kB)
  211. 100% |████████████████████████████████| 163kB 5.8MB/s
  212. Collecting setuptools>=1.0 (from acme==0.21.1->-r requirments.txt (line 1))
  213. Downloading https://files.pythonhosted.org/packages/6a/9a/50fadfd53ec909e4399b67c74cc7f4e883488035cfcdb90b685758fa8b34/setuptools-41.4.0-py2.py3-none-any.whl (580kB)
  214. 100% |████████████████████████████████| 583kB 1.8MB/s
  215. Collecting websocket-client>=0.32.0 (from docker==3.6.0->-r requirments.txt (line 16))
  216. Downloading https://files.pythonhosted.org/packages/29/19/44753eab1fdb50770ac69605527e8859468f3c0fd7dc5a76dd9c4dbd7906/websocket_client-0.56.0-py2.py3-none-any.whl (200kB)
  217. 100% |████████████████████████████████| 204kB 4.8MB/s
  218. Installing collected packages: six, idna, pycparser, cffi, enum34, asn1crypto, ipaddress, cryptography, pyOpenSSL, setuptools, urllib3, chardet, certifi, requests, josepy, pytz, funcsigs, pbr, mock, pyRFC3339, acme, Babel, bcrypt, backports.ssl-match-hostname, jmespath, futures, docutils, python-dateutil, botocore, s3transfer, boto3, ConfigArgParse, configobj, zope.interface, future, parsedatetime, zope.event, zope.component, certbot, decorator, websocket-client, docker-pycreds, docker, Django, iniparse, IPy, MarkupSafe, Jinja2, jsonpointer, jsonpatch, kitchen, ptyprocess, pexpect, prettytable, psutil, pycurl, pydns, pygpgme, pyliblzma, pyserial, pyudev, pyxattr, PyYAML, requests-file, tldextract
  219. Exception:
  220. Traceback (most recent call last):
  221. File "/usr/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main
  222. status = self.run(options, args)
  223. File "/usr/lib/python2.7/site-packages/pip/commands/install.py", line 326, in run
  224. strip_file_prefix=options.strip_file_prefix,
  225. File "/usr/lib/python2.7/site-packages/pip/req/req_set.py", line 742, in install
  226. **kwargs
  227. File "/usr/lib/python2.7/site-packages/pip/req/req_install.py", line 834, in install
  228. strip_file_prefix=strip_file_prefix
  229. File "/usr/lib/python2.7/site-packages/pip/req/req_install.py", line 1037, in move_wheel_files
  230. strip_file_prefix=strip_file_prefix,
  231. File "/usr/lib/python2.7/site-packages/pip/wheel.py", line 346, in move_wheel_files
  232. clobber(source, lib_dir, True)
  233. File "/usr/lib/python2.7/site-packages/pip/wheel.py", line 324, in clobber
  234. shutil.copyfile(srcfile, destfile)
  235. File "/usr/lib64/python2.7/shutil.py", line 83, in copyfile
  236. with open(dst, 'wb') as fdst:
  237. IOError: [Errno 13] Permission denied: '/usr/lib/python2.7/site-packages/six.py'
  238. You are using pip version 8.1.2, however version 19.3.1 is available.
  239. You should consider upgrading via the 'pip install --upgrade pip' command.
  240. Traceback (most recent call last):
  241. File "/usr/bin/virtualenv", line 11, in <module>
  242. sys.exit(main())
  243. File "/usr/lib/python2.7/site-packages/virtualenv.py", line 870, in main
  244. symlink=options.symlink,
  245. File "/usr/lib/python2.7/site-packages/virtualenv.py", line 1156, in create_environment
  246. install_python(home_dir, lib_dir, inc_dir, bin_dir, site_packages=site_packages, clear=clear, symlink=symlink)
  247. File "/usr/lib/python2.7/site-packages/virtualenv.py", line 1428, in install_python
  248. mkdir(lib_dir)
  249. File "/usr/lib/python2.7/site-packages/virtualenv.py", line 394, in mkdir
  250. os.makedirs(at_path)
  251. File "/usr/lib64/python2.7/os.py", line 150, in makedirs
  252. makedirs(head, mode)
  253. File "/usr/lib64/python2.7/os.py", line 150, in makedirs
  254. makedirs(head, mode)
  255. File "/usr/lib64/python2.7/os.py", line 157, in makedirs
  256. mkdir(name, mode)
  257. OSError: [Errno 13] Permission denied: '/usr/local/CyberPanel'
  258. --2019-10-22 22:59:13-- https://raw.githubusercontent.com/usmannasir/cyberpanel/1.8.0/plogical/upgrade.py
  259. Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
  260. Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
  261. HTTP request sent, awaiting response... 200 OK
  262. Length: 67965 (66K) [text/plain]
  263. Saving to: ‘upgrade.py’
  264.  
  265. 100%[============================================================================================>] 67,965 --.-K/s in 0.1s
  266.  
  267. 2019-10-22 22:59:14 (547 KB/s) - ‘upgrade.py’ saved [67965/67965]
  268.  
  269. ./preUpgrade.sh: line 11: /usr/local/CyberPanel/bin/python2: No such file or directory
  270. [cyberpanel-gcp@cyberpanel-gcp ~]$ python upgrade.py
  271. Traceback (most recent call last):
  272. File "upgrade.py", line 12, in <module>
  273. import requests
  274. File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 58, in <module>
  275. from . import utils
  276. File "/usr/lib/python2.7/site-packages/requests/utils.py", line 32, in <module>
  277. from .exceptions import InvalidURL
  278. File "/usr/lib/python2.7/site-packages/requests/exceptions.py", line 10, in <module>
  279. from .packages.urllib3.exceptions import HTTPError as BaseHTTPError
  280. File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 95, in load_module
  281. raise ImportError("No module named '%s'" % (name,))
  282. ImportError: No module named 'requests.packages.urllib3'
  283. [cyberpanel-gcp@cyberpanel-gcp ~]$ pip install requests urllib3 pyOpenSSL --upgrade
  284. Collecting requests
  285. Using cached https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl
  286. Collecting urllib3
  287. Using cached https://files.pythonhosted.org/packages/e0/da/55f51ea951e1b7c63a579c09dd7db825bb730ec1fe9c0180fc77bfb31448/urllib3-1.25.6-py2.py3-none-any.whl
  288. Collecting pyOpenSSL
  289. Using cached https://files.pythonhosted.org/packages/01/c8/ceb170d81bd3941cbeb9940fc6cc2ef2ca4288d0ca8929ea4db5905d904d/pyOpenSSL-19.0.0-py2.py3-none-any.whl
  290. Collecting chardet<3.1.0,>=3.0.2 (from requests)
  291. Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
  292. Collecting idna<2.9,>=2.5 (from requests)
  293. Using cached https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl
  294. Collecting certifi>=2017.4.17 (from requests)
  295. Using cached https://files.pythonhosted.org/packages/18/b0/8146a4f8dd402f60744fa380bc73ca47303cccf8b9190fd16a827281eac2/certifi-2019.9.11-py2.py3-none-any.whl
  296. Collecting cryptography>=2.3 (from pyOpenSSL)
  297. Using cached https://files.pythonhosted.org/packages/e2/67/4597fc5d5de01bb44887844647ab8e73239079dd478c35c52d58a9eb3d45/cryptography-2.8-cp27-cp27mu-manylinux1_x86_64.whl
  298. Collecting six>=1.5.2 (from pyOpenSSL)
  299. Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
  300. Collecting enum34; python_version < "3" (from cryptography>=2.3->pyOpenSSL)
  301. Using cached https://files.pythonhosted.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl
  302. Collecting cffi!=1.11.3,>=1.8 (from cryptography>=2.3->pyOpenSSL)
  303. Using cached https://files.pythonhosted.org/packages/bf/16/9d79400159c95b2f2d896ad22f3dd43898214eba1acbbd4439d29eee6e1e/cffi-1.13.1-cp27-cp27mu-manylinux1_x86_64.whl
  304. Collecting ipaddress; python_version < "3" (from cryptography>=2.3->pyOpenSSL)
  305. Using cached https://files.pythonhosted.org/packages/c2/f8/49697181b1651d8347d24c095ce46c7346c37335ddc7d255833e7cde674d/ipaddress-1.0.23-py2.py3-none-any.whl
  306. Requirement already up-to-date: pycparser in /usr/lib/python2.7/site-packages (from cffi!=1.11.3,>=1.8->cryptography>=2.3->pyOpenSSL)
  307. Installing collected packages: chardet, idna, urllib3, certifi, requests, enum34, cffi, six, ipaddress, cryptography, pyOpenSSL
  308. Found existing installation: chardet 2.2.1
  309. Uninstalling chardet-2.2.1:
  310. Exception:
  311. Traceback (most recent call last):
  312. File "/usr/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main
  313. status = self.run(options, args)
  314. File "/usr/lib/python2.7/site-packages/pip/commands/install.py", line 326, in run
  315. strip_file_prefix=options.strip_file_prefix,
  316. File "/usr/lib/python2.7/site-packages/pip/req/req_set.py", line 736, in install
  317. requirement.uninstall(auto_confirm=True)
  318. File "/usr/lib/python2.7/site-packages/pip/req/req_install.py", line 742, in uninstall
  319. paths_to_remove.remove(auto_confirm)
  320. File "/usr/lib/python2.7/site-packages/pip/req/req_uninstall.py", line 115, in remove
  321. renames(path, new_path)
  322. File "/usr/lib/python2.7/site-packages/pip/utils/__init__.py", line 267, in renames
  323. shutil.move(old, new)
  324. File "/usr/lib64/python2.7/shutil.py", line 302, in move
  325. os.unlink(src)
  326. OSError: [Errno 13] Permission denied: '/usr/bin/chardetect'
  327. You are using pip version 8.1.2, however version 19.3.1 is available.
  328. You should consider upgrading via the 'pip install --upgrade pip' command.
  329. [cyberpanel-gcp@cyberpanel-gcp ~]$
RAW Paste Data