Skip to content

codecli create error #1

@dashcappitain

Description

@dashcappitain

halo bang,

saya create docker dengan error seperti ini:

root@vmi1776592:~# sudo codecli create docker
Username : xxxx
Password :
Port : 7777
no configuration file provided: not found
WARN! Workspace directory not found - Ignore this message if you are not adding default bundling files

kalo pake systemd errornya seperti ini:

root@vmi1776592:~# sudo codecli create systemd
Username : akas
Password :
Port : 7777
Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
Hit:2 http://asi-fs-n.contabo.net/ubuntu jammy InRelease
Get:3 http://asi-fs-n.contabo.net/ubuntu jammy-updates InRelease [128 kB]
Hit:4 http://asi-fs-n.contabo.net/ubuntu jammy-backports InRelease
Hit:5 https://download.docker.com/linux/ubuntu jammy InRelease
Get:6 http://asi-fs-n.contabo.net/ubuntu jammy-updates/main amd64 Packages [1,791 kB]
Get:7 http://asi-fs-n.contabo.net/ubuntu jammy-updates/main i386 Packages [654 kB]
Get:8 http://asi-fs-n.contabo.net/ubuntu jammy-updates/universe i386 Packages [715 kB]
Get:9 http://asi-fs-n.contabo.net/ubuntu jammy-updates/universe amd64 Packages [1,100 kB]
Fetched 4,517 kB in 1min 1s (73.6 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
linux-headers-5.15.0-107 linux-headers-5.15.0-107-generic linux-image-5.15.0-107-generic
linux-image-5.4.0-105-generic linux-modules-5.15.0-107-generic linux-modules-5.4.0-105-generic
linux-modules-extra-5.15.0-107-generic
Use 'sudo apt autoremove' to remove them.
The following packages have been kept back:
python3-update-manager update-manager-core
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Adding user akas' ... Adding new group akas' (1000) ...
Adding new user akas' (1000) with group akas' ...
Creating home directory /home/akas' ... Copying files from /etc/skel' ...
New password: Retype new password: passwd: password updated successfully
Ubuntu 22.04.4 LTS
Installing v4.90.3 of the amd64 deb package from GitHub.

  • mkdir -p ~/.cache/code-server
  • curl -#fL -o ~/.cache/code-server/code-server_4.90.3_amd64.deb.incomplete -C - https://github.com/coder/code-server/releases/download/v4.90.3/code-server_4.90.3_amd64.deb
    ######################################################################## 100.0%
  • mv ~/.cache/code-server/code-server_4.90.3_amd64.deb.incomplete ~/.cache/code-server/code-server_4.90.3_amd64.deb
  • sudo dpkg -i ~/.cache/code-server/code-server_4.90.3_amd64.deb
    [sudo] password for akas:
    akas is not in the sudoers file. This incident will be reported.
    × code-akas.service - code-server for akas
    Loaded: loaded (/lib/systemd/system/code-akas.service; enabled; vendor preset: enabled)
    Active: failed (Result: exit-code) since Sun 2024-07-07 06:07:17 CEST; 8s ago
    Process: 2355284 ExecStart=/usr/bin/code-server --bind-addr 0.0.0.0:7777 --user-data-dir /var/lib/cod>
    Main PID: 2355284 (code=exited, status=200/CHDIR)
    CPU: 94ms

Jul 07 06:07:17 vmi1776592.contaboserver.net systemd[1]: code-akas.service: Scheduled restart job, restar>
Jul 07 06:07:17 vmi1776592.contaboserver.net systemd[1]: Stopped code-server for akas.
Jul 07 06:07:17 vmi1776592.contaboserver.net systemd[1]: code-akas.service: Start request repeated too qu>
Jul 07 06:07:17 vmi1776592.contaboserver.net systemd[1]: code-akas.service: Failed with result 'exit-code>
Jul 07 06:07:17 vmi1776592.contaboserver.net systemd[1]: Failed to start code-server for akas.

help bang

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