Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker installation error: returned a non-zero code: 1 #4463

Closed
omggga opened this issue Sep 5, 2024 · 3 comments
Closed

Docker installation error: returned a non-zero code: 1 #4463

omggga opened this issue Sep 5, 2024 · 3 comments
Labels

Comments

@omggga
Copy link

omggga commented Sep 5, 2024

Hey, has anyone encountered this problem when installing hiddify manager on private vps via docker?

I am using digital ocean server, during installing hiddify i am getting error in install.sh:

command '/bin/sh -c bash install.sh install-docker' returned a non-zero code: 1

Any possible workaround i found in issues like adding pip to Dockerfile does not help.

@omggga omggga changed the title Docker installation error: Docker installation error: returned a non-zero code: 1 Sep 5, 2024
@litoosh13
Copy link

please send more info about the problem which version ?
have you tried on other vps ?

@omggga
Copy link
Author

omggga commented Nov 1, 2024

Hey, im sorry for the long answer.
I have no option to try other VPS.

Making exactly like here:

git clone https://github.com/hiddify/hiddify-config
cd hiddify-config
touch hiddify-panel/hiddifypanel.db
docker-compose up -d

Installation fails on this step

Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libpython3.10-minimal libpython3.10-stdlib python3-distutils python3-lib2to3
  python3-pip-whl python3-setuptools-whl python3.10 python3.10-minimal
Suggested packages:
  python3.10-doc binutils binfmt-support
The following NEW packages will be installed:
  python3-distutils python3-lib2to3 python3-pip-whl python3-setuptools-whl
  python3.10-venv
The following packages will be upgraded:
  libpython3.10-minimal libpython3.10-stdlib python3.10 python3.10-minimal
4 upgraded, 5 newly installed, 0 to remove and 16 not upgraded.
Need to get 8120 kB of archives.
After this operation, 4067 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3.10 amd64 3.10.12-1~22.04.6 [509 kB]
Get:2 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libpython3.10-stdlib amd64 3.10.12-1~22.04.6 [1850 kB]
Get:3 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3.10-minimal amd64 3.10.12-1~22.04.6 [2258 kB]
Get:4 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libpython3.10-minimal amd64 3.10.12-1~22.04.6 [814 kB]
Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-lib2to3 all 3.10.8-1~22.04 [77.6 kB]
Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-distutils all 3.10.8-1~22.04 [139 kB]
Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 python3-pip-whl all 22.0.2+dfsg-1ubuntu0.5 [1680 kB]
Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 python3-setuptools-whl all 59.6.0-1.2ubuntu0.22.04.2 [788 kB]
Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 python3.10-venv amd64 3.10.12-1~22.04.6 [5722 B]
Fetched 8120 kB in 1s (7129 kB/s)
(Reading database ... 8035 files and directories currently installed.)
Preparing to unpack .../0-python3.10_3.10.12-1~22.04.6_amd64.deb ...
Unpacking python3.10 (3.10.12-1~22.04.6) over (3.10.12-1~22.04.5) ...
Preparing to unpack .../1-libpython3.10-stdlib_3.10.12-1~22.04.6_amd64.deb ...
Unpacking libpython3.10-stdlib:amd64 (3.10.12-1~22.04.6) over (3.10.12-1~22.04.5) ...
Preparing to unpack .../2-python3.10-minimal_3.10.12-1~22.04.6_amd64.deb ...
Unpacking python3.10-minimal (3.10.12-1~22.04.6) over (3.10.12-1~22.04.5) ...
Preparing to unpack .../3-libpython3.10-minimal_3.10.12-1~22.04.6_amd64.deb ...
Unpacking libpython3.10-minimal:amd64 (3.10.12-1~22.04.6) over (3.10.12-1~22.04.5) ...
Selecting previously unselected package python3-lib2to3.
Preparing to unpack .../4-python3-lib2to3_3.10.8-1~22.04_all.deb ...
Unpacking python3-lib2to3 (3.10.8-1~22.04) ...
Selecting previously unselected package python3-distutils.
Preparing to unpack .../5-python3-distutils_3.10.8-1~22.04_all.deb ...
Unpacking python3-distutils (3.10.8-1~22.04) ...
Selecting previously unselected package python3-pip-whl.
Preparing to unpack .../6-python3-pip-whl_22.0.2+dfsg-1ubuntu0.5_all.deb ...
Unpacking python3-pip-whl (22.0.2+dfsg-1ubuntu0.5) ...
Selecting previously unselected package python3-setuptools-whl.
Preparing to unpack .../7-python3-setuptools-whl_59.6.0-1.2ubuntu0.22.04.2_all.deb ...
Unpacking python3-setuptools-whl (59.6.0-1.2ubuntu0.22.04.2) ...
Selecting previously unselected package python3.10-venv.
Preparing to unpack .../8-python3.10-venv_3.10.12-1~22.04.6_amd64.deb ...
Unpacking python3.10-venv (3.10.12-1~22.04.6) ...
Setting up python3-setuptools-whl (59.6.0-1.2ubuntu0.22.04.2) ...
Setting up python3-pip-whl (22.0.2+dfsg-1ubuntu0.5) ...
Setting up libpython3.10-minimal:amd64 (3.10.12-1~22.04.6) ...
Setting up python3-lib2to3 (3.10.8-1~22.04) ...
Setting up python3-distutils (3.10.8-1~22.04) ...
Setting up python3.10-minimal (3.10.12-1~22.04.6) ...
Setting up libpython3.10-stdlib:amd64 (3.10.12-1~22.04.6) ...
Setting up python3.10 (3.10.12-1~22.04.6) ...
Setting up python3.10-venv (3.10.12-1~22.04.6) ...
Package cli_progress is not installed.
Collecting cli_progress
  Downloading cli_progress-2.0.0-py3-none-any.whl (9.3 kB)
Collecting asyncio
  Downloading asyncio-3.4.3-py3-none-any.whl (101 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 101.8/101.8 KB 2.1 MB/s eta 0:00:00
Collecting urwid==2.6.10
  Downloading urwid-2.6.10-py3-none-any.whl (296 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 296.6/296.6 KB 16.2 MB/s eta 0:00:00
Collecting argparse==1.4.0
  Downloading argparse-1.4.0-py2.py3-none-any.whl (23 kB)
Collecting typing-extensions
  Downloading typing_extensions-4.12.2-py3-none-any.whl (37 kB)
Collecting wcwidth
  Downloading wcwidth-0.2.13-py2.py3-none-any.whl (34 kB)
Installing collected packages: wcwidth, asyncio, argparse, typing-extensions, urwid, cli_progress
Successfully installed argparse-1.4.0 asyncio-3.4.3 cli_progress-2.0.0 typing-extensions-4.12.2 urwid-2.6.10 wcwidth-0.2.13
command '/bin/sh -c bash install.sh install-docker' returned a non-zero code: 1

Linux version: Ubuntu 22.04.2 LTS (GNU/Linux 5.15.0-124-generic x86_64)

@omggga
Copy link
Author

omggga commented Nov 1, 2024

Ok, sorry for mention, i already see the same topic #4458

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants