couchbaselabs / couchbaselabs/couchbase-docker-compose

Error while starting couchbase-server service: sh: 1: /opt/couchbase/init/init-cbserver.sh: not found

Open Beginner friendly
#6 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
6
Forks
11
PR merge metrics
No merged PRs in 30d

Description

Hi @pietergreyling ! I cloned your project and I found one issue when trying to run the couchbase-server service.

I followed the instructions on README.md file and when I checked the container logs I found this error: couchbase-server | sh: 1: /opt/couchbase/init/init-cbserver.sh: not found.

To fix this, I added a reference to the script available on `./couchbase-server/init-cbserver.sh` pointing to `/opt/couchbase/init/init-cbserver.sh`:

```ymal
services:
couchbase-server:
...
volumes:
- ./couchbase-server/init-cbserver.sh:/opt/couchbase/init/init-cbserver.sh
```

With this change I was able to run it on my local.

Thanks!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with README.md and the couchbase-server service configuration, then inspect couchbase-server/init-cbserver.sh and the container logs reproduced by the documented Docker Compose command. Ensure the init script is available at /opt/couchbase/init/init-cbserver.sh when the service starts, and verify that couchbase-server runs successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker-compose, shell
Domain
devops, infrastructure
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
76/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.