TransformerOptimus / SuperAGI

<⚡️> SuperAGI - A dev-first open source autonomous AI agent framework. Enabling developers to build, manage & run useful autonomous agents quickly and reliably.
https://superagi.com/
MIT License
15.51k stars 1.87k forks source link

NEW INSTALLATION ERROR; runc create failed: unable to start container process: exec: "/app/wait-for-it.sh": permission denied: unknown #1394

Open seyi33 opened 10 months ago

seyi33 commented 10 months ago

My first time installing superAGI, kind of love the setup on youtube but i can't get past this no matter what i do; my set is on windows wsl ubuntu 18.04.

[+] Building 32.4s (35/43) docker:default => [celery internal] load .dockerignore 3.3s => => transferring context: 298B 0.0s => [celery internal] load build definition from Dockerfile 2.6s => => transferring dockerfile: 1.14kB 0.0s => [backend internal] load .dockerignore 5.2s => => transferring context: 298B 0.0s => [backend internal] load build definition from Dockerfile 4.7s => => transferring dockerfile: 1.14kB 0.0s => [gui internal] load .dockerignore 3.3s => => transferring context: 202B 0.0s => [gui internal] load build definition from Dockerfile 3.8s => => transferring dockerfile: 539B 0.0s => [backend internal] load metadata for docker.io/library/python:3.10-slim-bullseye 0.0s => [celery internal] load build context 2.0s => => transferring context: 24.18kB 0.0s => [backend compile-image 1/9] FROM docker.io/library/python:3.10-slim-bullseye 0.0s => [gui internal] load metadata for docker.io/library/node:18-alpine 20.1s => [backend internal] load build context 1.9s => => transferring context: 24.18kB 0.1s => CACHED [celery compile-image 2/9] WORKDIR /app 0.0s => CACHED [celery build-image 3/6] RUN apt-get update && apt-get install --no-install-recommends -y libpq-d 0.0s => CACHED [celery compile-image 3/9] RUN apt-get update && apt-get install --no-install-recommends -y wget 0.0s => CACHED [celery compile-image 4/9] RUN python -m venv /opt/venv 0.0s => CACHED [celery compile-image 5/9] COPY requirements.txt . 0.0s => CACHED [celery compile-image 6/9] RUN pip install --upgrade pip && pip install --no-cache-dir -r require 0.0s => CACHED [celery compile-image 7/9] RUN python3.10 -c "import nltk; nltk.download('punkt')" && python3.10 -c 0.0s => CACHED [celery compile-image 8/9] COPY . . 0.0s => CACHED [celery compile-image 9/9] RUN chmod +x ./entrypoint.sh ./wait-for-it.sh ./install_tool_dependencies. 0.0s => CACHED [celery build-image 4/6] COPY --from=compile-image /opt/venv /opt/venv 0.0s => CACHED [celery build-image 5/6] COPY --from=compile-image /app /app 0.0s => CACHED [celery build-image 6/6] COPY --from=compile-image /root/nltk_data /root/nltk_data 0.0s => [backend] exporting to image 0.4s => => exporting layers 0.0s => => writing image sha256:4ef60ffbf28297520cc9ae615345358c913321849f131e221339c568b8af41f0 0.1s => => naming to docker.io/library/superagi-backend 0.3s => [celery] exporting to image 0.7s => => exporting layers 0.0s => => writing image sha256:1f222fda018691793238e95919fce8110ba76db57718a86eb89afb25d15affdf 0.2s => => naming to docker.io/library/superagi-celery 0.4s => [gui deps 1/5] FROM docker.io/library/node:18-alpine@sha256:b1a0356f7d6b86c958a06949d3db3f7fb27f95f627aa6157 0.0s => [gui internal] load build context 1.1s => => transferring context: 10.79kB 0.0s => CACHED [gui builder 2/4] WORKDIR /app 0.0s => CACHED [gui deps 2/5] RUN apk add --no-cache libc6-compat 0.0s => CACHED [gui deps 3/5] WORKDIR /app 0.0s => CACHED [gui deps 4/5] COPY package.json package-lock.json ./ 0.0s => CACHED [gui deps 5/5] RUN npm ci 0.0s => CACHED [gui builder 3/4] COPY --from=deps /app/node_modules ./node_modules 0.0s => CACHED [gui builder 4/4] COPY . . 0.0s => [gui] exporting to image 0.5s => => exporting layers 0.0s => => writing image sha256:ef713384e6df86336fd4f6391a34d56f79875188f5f24dcdcd806d6d2036dbf5 0.3s => => naming to docker.io/library/superagi-gui 0.2s [+] Running 4/4 ✔ Container superagi-gui-1 Recreated 7.5s ✔ Container superagi-superredis-1 Created 0.0s ✔ Container superagi-superpostgres-1 Created 0.0s ✔ Container superagi-proxy-1 Recreated 5.4s Attaching to backend-1, celery-1, gui-1, proxy-1, superpostgres-1, superredis-1 superredis-1 | 8:C 19 Jan 2024 08:57:54.384 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect. superredis-1 | 8:C 19 Jan 2024 08:57:54.384 oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo super__redis-1 | 8:C 19 Jan 2024 08:57:54.384 Redis version=7.2.4, bits=64, commit=00000000, modified=0, pid=8, just started superredis-1 | 8:C 19 Jan 2024 08:57:54.384 * Configuration loaded superredis-1 | 8:M 19 Jan 2024 08:57:54.385 monotonic clock: POSIX clock_gettime super__redis-1 | 8:M 19 Jan 2024 08:57:54.387 Running mode=standalone, port=6379. superredis-1 | 8:M 19 Jan 2024 08:57:54.387 * Module 'RedisCompat' loaded from /opt/redis-stack/lib/rediscompat.so superredis-1 | 8:M 19 Jan 2024 08:57:54.390 Redis version found by RedisSearch : 7.2.4 - oss super__redis-1 | 8:M 19 Jan 2024 08:57:54.390 RediSearch version 2.8.11 (Git=2.8-7368bb3) superredis-1 | 8:M 19 Jan 2024 08:57:54.390 * Low level api version 1 initialized successfully superredis-1 | 8:M 19 Jan 2024 08:57:54.390 concurrent writes: OFF, gc: ON, prefix min length: 2, prefix max expansions: 200, query timeout (ms): 500, timeout policy: return, cursor read size: 1000, cursor max idle (ms): 300000, max doctable size: 1000000, max number of search results: 10000, search pool size: 20, index pool size: 8, super__redis-1 | 8:M 19 Jan 2024 08:57:54.391 Initialized thread pools! superredis-1 | 8:M 19 Jan 2024 08:57:54.391 * Enabled role change notification superredis-1 | 8:M 19 Jan 2024 08:57:54.391 Module 'search' loaded from /opt/redis-stack/lib/redisearch.so super__redis-1 | 8:M 19 Jan 2024 08:57:54.394 RedisTimeSeries version 11011, git_sha=0299ac12a6bf298028859c41ba0f4d8dc842726b superredis-1 | 8:M 19 Jan 2024 08:57:54.394 * Redis version found by RedisTimeSeries : 7.2.4 - oss superredis-1 | 8:M 19 Jan 2024 08:57:54.394 loaded default CHUNK_SIZE_BYTES policy: 4096 super__redis-1 | 8:M 19 Jan 2024 08:57:54.394 loaded server DUPLICATE_POLICY: block superredis-1 | 8:M 19 Jan 2024 08:57:54.394 * Setting default series ENCODING to: compressed superredis-1 | 8:M 19 Jan 2024 08:57:54.394 Detected redis oss super__redis-1 | 8:M 19 Jan 2024 08:57:54.395 Module 'timeseries' loaded from /opt/redis-stack/lib/redistimeseries.so superredis-1 | 8:M 19 Jan 2024 08:57:54.606 * Created new data type 'ReJSON-RL' superredis-1 | 8:M 19 Jan 2024 08:57:54.606 version: 20607 git sha: unknown branch: unknown super__redis-1 | 8:M 19 Jan 2024 08:57:54.606 Exported RedisJSON_V1 API superredis-1 | 8:M 19 Jan 2024 08:57:54.606 Exported RedisJSON_V2 API super__redis-1 | 8:M 19 Jan 2024 08:57:54.606 Exported RedisJSON_V3 API superredis-1 | 8:M 19 Jan 2024 08:57:54.606 Exported RedisJSON_V4 API super__redis-1 | 8:M 19 Jan 2024 08:57:54.606 Exported RedisJSON_V5 API superredis-1 | 8:M 19 Jan 2024 08:57:54.606 * Enabled diskless replication superredis-1 | 8:M 19 Jan 2024 08:57:54.606 Module 'ReJSON' loaded from /opt/redis-stack/lib/rejson.so super__redis-1 | 8:M 19 Jan 2024 08:57:54.606 Acquired RedisJSON_V5 API superredis-1 | 8:M 19 Jan 2024 08:57:54.607 * RedisBloom version 2.6.10 (Git=unknown) superredis-1 | 8:M 19 Jan 2024 08:57:54.607 Module 'bf' loaded from /opt/redis-stack/lib/redisbloom.so super__redis-1 | 8:M 19 Jan 2024 08:57:54.608 Created new data type 'GearsType' superredis-1 | 8:M 19 Jan 2024 08:57:54.608 Detected redis oss superredis-1 | 8:M 19 Jan 2024 08:57:54.609 # could not initialize RedisAI_InitError superredis-1 | super__redis-1 | 8:M 19 Jan 2024 08:57:54.609 Failed loading RedisAI API. superredis-1 | 8:M 19 Jan 2024 08:57:54.609 RedisGears v2.0.17, sha='d9e75a2b8c2842b87d0619e2a99b83bae708a38d', build_type='release', built_for='Linux-ubuntu22.04.x86_64'. gui-1 | gui-1 | > super-agi@0.1.0 dev gui-1 | > next dev gui-1 | super__redis-1 | 8:M 19 Jan 2024 08:57:54.957 Registered backend: js. superredis-1 | 8:M 19 Jan 2024 08:57:54.957 Module 'redisgears_2' loaded from /opt/redis-stack/lib/redisgears.so super__redis-1 | 8:M 19 Jan 2024 08:57:54.958 Server initialized superredis-1 | 8:M 19 Jan 2024 08:57:54.958 * Ready to accept connections tcp gui-1 | - ready started server on 0.0.0.0:3000, url: http://localhost:3000 superpostgres-1 | superpostgres-1 | PostgreSQL Database directory appears to contain a database; Skipping initialization superpostgres-1 | gui-1 | Attention: Next.js now collects completely anonymous telemetry regarding usage. gui-1 | This information is used to shape Next.js' roadmap and prioritize features. gui-1 | You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL: gui-1 | https://nextjs.org/telemetry gui-1 | super__postgres-1 | 2024-01-19 08:58:22.589 UTC [1] LOG: starting PostgreSQL 15.5 (Debian 15.5-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit superpostgres-1 | 2024-01-19 08:58:22.589 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 superpostgres-1 | 2024-01-19 08:58:22.589 UTC [1] LOG: listening on IPv6 address "::", port 5432 superpostgres-1 | 2024-01-19 08:58:24.089 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" super__postgres-1 | 2024-01-19 08:58:25.889 UTC [30] LOG: database system was shut down at 2024-01-19 08:35:07 UTC Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/app/wait-for-it.sh": permission denied: unknown