Skip to content

Linux安装报错 #2800

@1552867145

Description

@1552867145

Qinglong version

最新版

Steps to reproduce

使用Linux方法安装青龙面板时,首次运行Linux提示cp: cannot stat '.env.example': No such file or directory
root@nm6b2-ydn-8C16G:~# qinglong

  • [[ ! -n /root/qinglong ]]
  • [[ ! -n /root/qinglong/data ]]
  • [[ /root/qinglong/data != */data ]]
  • command=
  • [[ '' != \r\e\l\o\a\d ]]
    ++ source /etc/os-release
    +++ NAME=Ubuntu
    +++ VERSION='20.04.6 LTS (Focal Fossa)'
    +++ ID=ubuntu
    +++ ID_LIKE=debian
    +++ PRETTY_NAME='Ubuntu 20.04.6 LTS'
    +++ VERSION_ID=20.04
    +++ HOME_URL=https://www.ubuntu.com/
    +++ SUPPORT_URL=https://help.ubuntu.com/
    +++ BUG_REPORT_URL=https://bugs.launchpad.net/ubuntu/
    +++ PRIVACY_POLICY_URL=https://www.ubuntu.com/legal/terms-and-policies/privacy-policy
    +++ VERSION_CODENAME=focal
    +++ UBUNTU_CODENAME=focal
    ++ echo ubuntu
  • os_name=ubuntu
  • [[ ubuntu == \a\l\p\i\n\e ]]
  • [[ ubuntu == \d\e\b\i\a\n ]]
  • [[ ubuntu == \u\b\u\n\t\u ]]
  • apt-get update
    Hit:1 http://security.ubuntu.com/ubuntu focal-security InRelease
    Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
    Hit:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease
    Hit:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease
    Hit:5 https://deb.nodesource.com/node_20.x nodistro InRelease
    Reading package lists... Done
  • apt-get install -y git curl wget tzdata perl openssl jq nginx procps netcat-openbsd openssh-client
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    netcat-openbsd is already the newest version (1.206-1ubuntu1).
    curl is already the newest version (7.68.0-1ubuntu2.25).
    git is already the newest version (1:2.25.1-1ubuntu3.14).
    jq is already the newest version (1.6-1ubuntu0.20.04.1).
    nginx is already the newest version (1.18.0-0ubuntu1.7).
    openssh-client is already the newest version (1:8.2p1-4ubuntu0.13).
    openssl is already the newest version (1.1.1f-1ubuntu2.24).
    perl is already the newest version (5.30.0-9ubuntu0.5).
    procps is already the newest version (2:3.3.16-1ubuntu2.4).
    tzdata is already the newest version (2025b-0ubuntu0.20.04.1).
    wget is already the newest version (1.20.3-1ubuntu2.1).
    The following packages were automatically installed and are no longer required:
    libfwupdplugin1 libxmlb1
    Use 'apt autoremove' to remove them.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  • npm install -g [email protected] pm2 ts-node

added 1 package, and changed 154 packages in 24s

14 packages are looking for funding
run npm fund for details
++ python3 -c 'import sys; print(f"{sys.version_info.major}.{sys.version_info.minor}")'

  • export PYTHON_SHORT_VERSION=3.8
  • PYTHON_SHORT_VERSION=3.8
  • export PNPM_HOME=/root/qinglong/data/dep_cache/node
  • PNPM_HOME=/root/qinglong/data/dep_cache/node
  • export PYTHON_HOME=/root/qinglong/data/dep_cache/python3
  • PYTHON_HOME=/root/qinglong/data/dep_cache/python3
  • export PYTHONUSERBASE=/root/qinglong/data/dep_cache/python3
  • PYTHONUSERBASE=/root/qinglong/data/dep_cache/python3
  • export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/qinglong/data/dep_cache/node:/root/qinglong/data/dep_cache/python3/bin
  • PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/qinglong/data/dep_cache/node:/root/qinglong/data/dep_cache/python3/bin
  • export NODE_PATH=/usr/local/bin:/usr/local/lib/node_modules:/root/qinglong/data/dep_cache/node/global/5/node_modules
  • NODE_PATH=/usr/local/bin:/usr/local/lib/node_modules:/root/qinglong/data/dep_cache/node/global/5/node_modules
  • export PIP_CACHE_DIR=/root/qinglong/data/dep_cache/python3/pip
  • PIP_CACHE_DIR=/root/qinglong/data/dep_cache/python3/pip
  • export PYTHONPATH=/root/qinglong/data/dep_cache/python3:/root/qinglong/data/dep_cache/python3/lib/python3.8:/root/qinglong/data/dep_cache/python3/lib/python3.8/site-packages
  • PYTHONPATH=/root/qinglong/data/dep_cache/python3:/root/qinglong/data/dep_cache/python3/lib/python3.8:/root/qinglong/data/dep_cache/python3/lib/python3.8/site-packages
  • [[ '' != \r\e\l\o\a\d ]]
  • pip3 install --prefix /root/qinglong/data/dep_cache/python3 requests
    Requirement already satisfied: requests in /usr/lib/python3/dist-packages (2.22.0)
  • cd /root/qinglong
  • cp -f .env.example .env
    cp: cannot stat '.env.example': No such file or directory

What is expected?

使用Linux方法安装青龙面板时,首次运行Linux提示cp: cannot stat '.env.example': No such file or directory

What is actually happening?

使用Linux方法安装青龙面板时,首次运行Linux提示cp: cannot stat '.env.example': No such file or directory

System Info

System:
    OS: Linux 4.4 Ubuntu 20.04.6 LTS (Focal Fossa)
    CPU: (8) x64 Intel Xeon Processor (Skylake, IBRS)
    Memory: 13.61 GB / 16.00 GB
    Shell: 5.0.17 - /bin/bash
  Binaries:
    Node: 20.19.5 - /usr/bin/node
    npm: 11.6.0 - /usr/bin/npm
    pnpm: 8.3.1 - /usr/bin/pnpm

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions