update from 1.7.0 to 1.7.1 release candidate

have following error

[root@88e8a3 repo]# git clone –single-branch -b v1.7-dev github.com/usmannasir/cyberpanel
fatal: repository '–single-branch' does not exist

want to update with tha tutorial

https://cyberpanel.net/2018/08/02/rc-v1-7-1-features-summary/

Comments

  • git clone --single-branch -b v1.7-dev https://github.com/usmannasir/cyberpanel
  • thanks but

    [root@88e8a3 repo]# cp settings.py CyberCP/CyberCP
    cp: cannot stat ‘settings.py’: No such file or directory
  • does not really work^^ will make support ticket
    many commands does not work for me
  • szkuta said:

    have following error

    [root@88e8a3 repo]# git clone –single-branch -b v1.7-dev github.com/usmannasir/cyberpanel
    fatal: repository '–single-branch' does not exist

    want to update with tha tutorial

    https://cyberpanel.net/2018/08/02/rc-v1-7-1-features-summary/

    I have followed, but error in step 8 :
    source CyberCP/bin/activate
    -bash: CyberCP/bin/activate: No such file or directory
    [root@erp local]# virtualenv –system-site-packages /usr/local/CyberCP
    There must be only one argument: DEST_DIR (you gave –system-site-packages /usr/local/CyberCP)
    Usage: virtualenv [OPTIONS] DEST_DIR


    how fix it
  • szkuta said:

    have following error

    [root@88e8a3 repo]# git clone –single-branch -b v1.7-dev github.com/usmannasir/cyberpanel
    fatal: repository '–single-branch' does not exist

    want to update with tha tutorial

    https://cyberpanel.net/2018/08/02/rc-v1-7-1-features-summary/

    I have followed, but error in step 8 :
    source CyberCP/bin/activate
    -bash: CyberCP/bin/activate: No such file or directory
    [root@erp local]# virtualenv –system-site-packages /usr/local/CyberCP
    There must be only one argument: DEST_DIR (you gave –system-site-packages /usr/local/CyberCP)
    Usage: virtualenv [OPTIONS] DEST_DIR


    how fix it
    Try these
    cd /usr/local
    cp CyberCP/CyberCP/settings.py settings.py
    rm -rf CyberCP
    git clone --single-branch -b v1.7-dev https://github.com/usmannasir/cyberpanel
    mv cyberpanel CyberCP
    cp settings.py CyberCP/CyberCP
    virtualenv --system-site-packages /usr/local/CyberCP
    source CyberCP/bin/activate
    pip install --ignore-installed -r CyberCP/requirments.txt
    deactivate
    systemctl restart gunicorn.socket
    virtualenv –system-site-packages /usr/local/CyberCP
    systemctl restart gunicorn.socket
  • szkuta said:

    have following error

    [root@88e8a3 repo]# git clone –single-branch -b v1.7-dev github.com/usmannasir/cyberpanel
    fatal: repository '–single-branch' does not exist

    want to update with tha tutorial

    https://cyberpanel.net/2018/08/02/rc-v1-7-1-features-summary/

    I have followed, but error in step 8 :
    source CyberCP/bin/activate
    -bash: CyberCP/bin/activate: No such file or directory
    [root@erp local]# virtualenv –system-site-packages /usr/local/CyberCP
    There must be only one argument: DEST_DIR (you gave –system-site-packages /usr/local/CyberCP)
    Usage: virtualenv [OPTIONS] DEST_DIR


    how fix it
    Try these
    cd /usr/local
    cp CyberCP/CyberCP/settings.py settings.py
    rm -rf CyberCP
    git clone --single-branch -b v1.7-dev https://github.com/usmannasir/cyberpanel
    mv cyberpanel CyberCP
    cp settings.py CyberCP/CyberCP
    virtualenv --system-site-packages /usr/local/CyberCP
    source CyberCP/bin/activate
    pip install --ignore-installed -r CyberCP/requirments.txt
    deactivate
    systemctl restart gunicorn.socket
    virtualenv –system-site-packages /usr/local/CyberCP
    systemctl restart gunicorn.socket


    step 12 , found error :
    # systemctl restart gunicorn.socket
    # virtualenv –system-site-packages /usr/local/CyberCP
    There must be only one argument: DEST_DIR (you gave –system-site-packages /usr/local/CyberCP)
    Usage: virtualenv [OPTIONS] DEST_DIR
  • It's like
    virtualenv --system-site-packages /usr/local/CyberCP
  • It's like

    virtualenv --system-site-packages /usr/local/CyberCP

    virtualenv --system-site-packages /usr/local/CyberCP
    New python executable in /usr/local/CyberCP/bin/python2
    Traceback (most recent call last):
    File "/usr/bin/virtualenv", line 11, in
    sys.exit(main())
    File "/usr/lib/python2.7/site-packages/virtualenv.py", line 712, in main
    symlink=options.symlink)
    File "/usr/lib/python2.7/site-packages/virtualenv.py", line 927, in create_environment
    site_packages=site_packages, clear=clear, symlink=symlink))
    File "/usr/lib/python2.7/site-packages/virtualenv.py", line 1233, in install_python
    shutil.copyfile(executable, py_executable)
    File "/usr/lib64/python2.7/shutil.py", line 83, in copyfile
    with open(dst, 'wb') as fdst:
    IOError: [Errno 26] Text file busy: '/usr/local/CyberCP/bin/python2'
  • You need to run 'deactivate' before running this command.
  • same error :


    (CyberCP) [root@erp local]# deactivate
    [root@erp local]# systemctl restart gunicorn.socket
    [root@erp local]# deactivate
    -bash: deactivate: command not found
    [root@erp local]# virtualenv --system-site-packages /usr/local/CyberCP
    New python executable in /usr/local/CyberCP/bin/python2
    Traceback (most recent call last):
    File "/usr/bin/virtualenv", line 11, in
    sys.exit(main())
    File "/usr/lib/python2.7/site-packages/virtualenv.py", line 712, in main
    symlink=options.symlink)
    File "/usr/lib/python2.7/site-packages/virtualenv.py", line 927, in create_environment
    site_packages=site_packages, clear=clear, symlink=symlink))
    File "/usr/lib/python2.7/site-packages/virtualenv.py", line 1233, in install_python
    shutil.copyfile(executable, py_executable)
    File "/usr/lib64/python2.7/shutil.py", line 83, in copyfile
    with open(dst, 'wb') as fdst:
    IOError: [Errno 26] Text file busy: '/usr/local/CyberCP/bin/python2'
    [root@erp local]#
Sign In or Register to comment.
Support CyberPanel CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!