Cannot login via FTP using FileZilla: 530 Login authentication failed

Yes, I restart the server, then crated another user account and now it shows me Access denied

Run the cyberpanel upgrade script

1 Like

the same, nothing changed
but upgrading ended with this error


Enjoy your accelerated Internet by CyberPanel.

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   396  100   396    0     0    507      0 --:--:-- --:--:-- --:--:--   507

Fetching latest data from CyberPanel server...

This may take few seconds...

Checking root privileges...

You are running as root...

Checking server location...

System: Ubuntu 20 detected...


Press the Enter key to continue with latest version, or enter specific version such as: 1.9.4 , 1.9.5 ...etc

If nothing is input in 10 seconds, script will proceed with the latest stable version.

Please press the Enter key or specify a version number, or wait for 10 seconds:
Branch name set to v2.3.4
Ign:1 http://rpms.litespeedtech.com/debian focal InRelease
Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:3 http://rpms.litespeedtech.com/debian focal Release
Get:4 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Hit:6 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:7 http://archive.ubuntu.com/ubuntu focal-security InRelease
Fetched 114 kB in 3s (43.9 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
Get more security updates through Ubuntu Pro with 'esm-apps' enabled:
  libmagickcore-6.q16-6-extra libopenexr-dev libmagickwand-6.q16-6
  libmagickwand-6-headers libmagickcore-6-headers libmagickcore-6-arch-config
  libmagickwand-6.q16-dev libopenexr24 libmagickcore-6.q16-6 libmagickwand-dev
  libmagickcore-6.q16-dev imagemagick-6-common
Learn more about Ubuntu Pro at https://ubuntu.com/pro
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
htop is already the newest version (2.2.0-2build1).
libattr1 is already the newest version (1:2.4.48-5).
libattr1-dev is already the newest version (1:2.4.48-5).
libidn2-0-dev is already the newest version (2.2.0-2).
libidn2-dev is already the newest version (2.2.0-2).
libpsl-dev is already the newest version (0.21.0-1ubuntu1).
librtmp-dev is already the newest version (2.4+20151223.gitfa8646d.1-2build1).
telnet is already the newest version (0.17-41.2build1).
idn2 is already the newest version (2.2.0-2).
git is already the newest version (1:2.25.1-1ubuntu3.11).
libcomerr2 is already the newest version (1.45.5-2ubuntu1.1).
libcurl4-gnutls-dev is already the newest version (7.68.0-1ubuntu2.21).
libgcrypt20-dev is already the newest version (1.8.5-5ubuntu1.1).
libgnutls28-dev is already the newest version (3.6.13-2ubuntu1.9).
libgpgme-dev is already the newest version (1.13.1-7ubuntu2.1).
libgssapi-krb5-2 is already the newest version (1.17-6ubuntu4.4).
libk5crypto3 is already the newest version (1.17-6ubuntu4.4).
libkrb5-dev is already the newest version (1.17-6ubuntu4.4).
libldap2-dev is already the newest version (2.4.49+dfsg-2ubuntu1.9).
liblzma-dev is already the newest version (5.2.4-1ubuntu1.1).
libnghttp2-dev is already the newest version (1.40.0-1ubuntu0.2).
libssl-dev is already the newest version (1.1.1f-1ubuntu2.20).
nettle-dev is already the newest version (3.5.1+really3.5.1-2ubuntu0.2).
dnsutils is already the newest version (1:9.16.1-0ubuntu2.16).
libmariadbclient-dev is already the newest version (1:10.3.38-0ubuntu0.20.04.1).
nghttp2 is already the newest version (1.40.0-1ubuntu0.2).
virtualenv is already the newest version (20.0.17-1ubuntu0.4).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-pip is already the newest version (20.0.2-5ubuntu1.10).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
libffi-dev is already the newest version (3.3-4).
python3-dev is already the newest version (3.8.2-0ubuntu2).
build-essential is already the newest version (12.8ubuntu1.1).
libssl-dev is already the newest version (1.1.1f-1ubuntu2.20).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-venv is already the newest version (3.8.2-0ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
Ign:2 http://rpms.litespeedtech.com/debian focal InRelease
Hit:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:4 http://rpms.litespeedtech.com/debian focal Release
Hit:5 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:6 http://archive.ubuntu.com/ubuntu focal-security InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
Get more security updates through Ubuntu Pro with 'esm-apps' enabled:
  libmagickcore-6.q16-6-extra libopenexr-dev libmagickwand-6.q16-6
  libmagickwand-6-headers libmagickcore-6-headers libmagickcore-6-arch-config
  libmagickwand-6.q16-dev libopenexr24 libmagickcore-6.q16-6 libmagickwand-dev
  libmagickcore-6.q16-dev imagemagick-6-common
Learn more about Ubuntu Pro at https://ubuntu.com/pro
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Requirement already satisfied: virtualenv==16.7.9 in /usr/local/lib/python3.8/dist-packages (16.7.9)

No need to re-setup virtualenv at /usr/local/CyberPanel...

--2023-12-20 22:45:15--  https://raw.githubusercontent.com/usmannasir/cyberpanel/v2.3.4/requirments.txt
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 69.197.146.180
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|69.197.146.180|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1461 (1.4K) [text/plain]
Saving to: β€˜/usr/local/requirments.txt’

/usr/local/requirments.txt               100%[==================================================================================>]   1.43K  --.-KB/s    in 0s

2023-12-20 22:45:16 (9.87 MB/s) - β€˜/usr/local/requirments.txt’ saved [1461/1461]

Traceback (most recent call last):
  File "/usr/local/CyberPanel/bin/pip3", line 8, in <module>
    sys.exit(main())
  File "/usr/local/CyberPanel/lib/python3.8/site-packages/pip/_internal/cli/main.py", line 68, in main
    command = create_command(cmd_name, isolated=("--isolated" in cmd_args))
  File "/usr/local/CyberPanel/lib/python3.8/site-packages/pip/_internal/commands/__init__.py", line 114, in create_command
    module = importlib.import_module(module_path)
  File "/usr/local/CyberPanel/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 848, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/usr/local/CyberPanel/lib/python3.8/site-packages/pip/_internal/commands/install.py", line 16, in <module>
    from pip._internal.cli.req_command import (
  File "/usr/local/CyberPanel/lib/python3.8/site-packages/pip/_internal/cli/req_command.py", line 20, in <module>
    from pip._internal.index.collector import LinkCollector
  File "/usr/local/CyberPanel/lib/python3.8/site-packages/pip/_internal/index/collector.py", line 37, in <module>
    from pip._internal.network.session import PipSession
  File "/usr/local/CyberPanel/lib/python3.8/site-packages/pip/_internal/network/session.py", line 44, in <module>
    from pip._internal.network.cache import SafeFileCache
  File "/usr/local/CyberPanel/lib/python3.8/site-packages/pip/_internal/network/cache.py", line 9, in <module>
    from pip._vendor.cachecontrol.caches import FileCache
  File "/usr/local/CyberPanel/lib/python3.8/site-packages/pip/_vendor/cachecontrol/caches/__init__.py", line 6, in <module>
    from .redis_cache import RedisCache
ModuleNotFoundError: No module named 'pip._vendor.cachecontrol.caches.redis_cache'
above command failed...

On the cyberpanel dashboard go to Manage Applications section, find the Redis option and click on Install

1 Like

I installed


but still the update not completing

What error do you see on SSH terminal

from .redis_cache import RedisCache
ModuleNotFoundError: No module named β€˜pip._vendor.cachecontrol.caches.redis_cache’
above command failed…

I was avoiding the installation of python modules since cyberpanel should handle this through its update scripts etc. Run this

pip3 install redis
1 Like

Thanks for helping me :heart_eyes: :kissing_heart: :smiling_face_with_three_hearts:

Install the redis with that command, restart the ubuntu and run update of cyberpanel agin but this is happen

ModuleNotFoundError: No module named 'pip._vendor.cachecontrol.caches.redis_cache'
above command failed...

Did you run pip3 install redis

1 Like

Yes

root@secondserverhpe:~# pip install redis
Collecting redis
  Downloading redis-5.0.1-py3-none-any.whl (250 kB)
     |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 250 kB 160 kB/s
Collecting async-timeout>=4.0.2; python_full_version <= "3.11.2"
  Downloading async_timeout-4.0.3-py3-none-any.whl (5.7 kB)
Installing collected packages: async-timeout, redis
Successfully installed async-timeout-4.0.3 redis-5.0.1

Then I used this

sudo apt update && sudo apt upgrade -y

then

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

That is not pip3

1 Like
root@secondserverhpe:~# pip3 install redis
Requirement already satisfied: redis in /usr/local/lib/python3.8/dist-packages (5.0.1)
Requirement already satisfied: async-timeout>=4.0.2; python_full_version <= "3.11.2" in /usr/local/lib/python3.8/dist-packages (from redis) (4.0.3)
root@secondserverhpe:~#

Is that right now?