Skip to content

CasaOS Gives ERROR ELIFECYCLE  Command failed with exit code 1 #7292

@defencedog

Description

@defencedog

Describe the bug
I am not able to properly launch container; though it installs with errors under CasaOS

To Reproduce

  1. Created following compose file
name: spectacular_zhuang
services:
  main_app:
    container_name: etherpad-lite
    image: etherpad/etherpad:latest
    restart: unless-stopped
    cpu_shares: 90
    deploy:
      resources:
        limits:
          memory: 256M
    environment:
      - TITLE=ukhan Etherpad
      - NODE_ENV=production
      - ADMIN_PASSWORD=klajee12
      - USER_PASSWORD=process
      - DB_TYPE=sqlite
      - DB_FILENAME=var/ukhanetherpad.sq3
      - REQUIRE_AUTHENTICATION=true
      - TRUST_PROXY=true
      - DISABLE_IP_LOGGING=false
    ports:
      - target: 9001
        published: "9001"
        protocol: tcp
    volumes:
      - type: bind
        source: /DATA/AppData/etherpad/etherpad-var
        target: /opt/etherpad-lite/var
      - type: bind
        source: /DATA/AppData/etherpad/plugins
        target: /opt/etherpad-lite/src/plugin_packages
    network_mode: bridge
x-casaos:
  author: self
  category: self
  icon: https://icon.casaos.io/main/all/etherpad.png
  index: /
  port_map: "9001"
  scheme: http
  title:
    custom: etherpad
  1. Used Custom Application add via CasaOS webUI
  2. Program installed but reported unhealthy

Expected behavior
Container should be reported healthy

Server (please complete the following information):
OS: Debian GNU/Linux 12 (bookworm) x86_64
Host: Ara BJ19 1.0
Kernel: 6.1.0-41-amd64
Uptime: 7 days, 4 hours, 24 mins
Packages: 827 (dpkg)
Shell: bash 5.2.15
Terminal: /dev/pts/0
CPU: Intel Celeron J1900 (4) @ 2.415GHz
GPU: Intel Atom Processor Z36xxx/Z37xxx Series Graphics & Display
Memory: 2823MiB / 7825MiB

Additional context

etherpad-lite  | �[91m[2026-01-16T04:50:42.698] [ERROR] server - �[39mEnable `dumpOnUncleanExit` setting to get a dump of objects preventing a clean exit
etherpad-lite  | �[91m[2026-01-16T04:50:42.698] [ERROR] server - �[39mForcing an unclean exit...
etherpad-lite  | /opt/etherpad-lite/src:
etherpad-lite  |  ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  ep_etherpad-lite@2.6.0 prod: `cross-env NODE_ENV=production node --require tsx/cjs node/server.ts`
etherpad-lite  | Exit status 1
etherpad-lite  |  ELIFECYCLE  Command failed with exit code 1.
etherpad-lite  | 
etherpad-lite  | > etherpad@2.6.0 prod /opt/etherpad-lite
etherpad-lite  | > pnpm --filter ep_etherpad-lite run prod
etherpad-lite  | 
etherpad-lite  | 
etherpad-lite  | > ep_etherpad-lite@2.6.0 prod /opt/etherpad-lite/src
etherpad-lite  | > cross-env NODE_ENV=production node --require tsx/cjs node/server.ts
etherpad-lite  | 
etherpad-lite  | �[32m[2026-01-16T04:50:48.932] [INFO] settings - �[39msettings loaded from: /opt/etherpad-lite/settings.json
etherpad-lite  | �[32m[2026-01-16T04:50:48.949] [INFO] settings - �[39mNo credentials file found in /opt/etherpad-lite/credentials.json. Ignoring.
etherpad-lite  | �[33m[2026-01-16T04:50:48.952] [WARN] settings - �[39mloglevel: INFO
etherpad-lite  | �[33m[2026-01-16T04:50:48.952] [WARN] settings - �[39mlogLayoutType: colored
etherpad-lite  | �[32m[2026-01-16T04:50:48.954] [INFO] settings - �[39mUsing skin "colibris" in dir: /opt/etherpad-lite/src/static/skins/colibris
etherpad-lite  | �[33m[2026-01-16T04:50:48.955] [WARN] settings - �[39mFile location: /opt/etherpad-lite/var/etherpad.sq3
etherpad-lite  | �[32m[2026-01-16T04:50:48.957] [INFO] settings - �[39mRandom string used for versioning assets: 05c0f56e

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions