Skip to content

Couchdb service not starting with docker-compose under Raspberry4 #16148

@mantielero

Description

@mantielero

Checklist

Hosting

  • Self
    • Method: docker compose
    • Budibase Version: latest
    • App Version: latest

Describe the bug
CouchDb service won't start

To Reproduce
In the RPi4:

  1. docker compose up -d

Expected behavior
Deployment working.

Screenshots
N/A

App Export
N/A

Desktop (please complete the following information):

  • OS: Archlinux 6.9.3-1-aarch64-ARCH
  • Browser chrome
  • Version Versión 135.0.7049.114 (Build oficial) (64 bits)

Additional context
When I start docker compose and I try to connect from another computer, I get the message Houston we have a problem!.

After looking into the logs, it looks like the source of the problem is the couchdb service:

Waiting for CouchDB to start...
Waiting for CouchDB to start...
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
{"level":40,"time":1747293553952,"pid":20,"hostname":"15cfd1eab4b5","msg":"the requested number of threads is larger than the number of available CPU cores (4) and will be ignored"}
{"level":30,"time":1747293555287,"pid":20,"hostname":"15cfd1eab4b5","module":"server","created":1747293554402,"started":1747293555139,"host":"0.0.0.0","port":4984,"protocol":"http","id":"15cfd1eab4b5:20:map1gv6q","uri":"http://0.0.0.0:4984","address":"0.0.0.0","msg":"server started"}
/bbcouch-runner.sh: line 82:    19 Killed                  /docker-entrypoint.sh /opt/couchdb/bin/couchdb > /dev/stdout 2>&1
Waiting for CouchDB to start...
Waiting for CouchDB to start...
Waiting for CouchDB to start...
Waiting for CouchDB to start...

The line:

/bbcouch-runner.sh: line 82:    19 Killed                  /docker-entrypoint.sh /opt/couchdb/bin/couchdb > /dev/stdout 2>&1

is the same that appears in this discussion.

In my docker file it appears:

image: budibase/couchdb:v3.3.3-sqs-v2.1.1

I also tried with:

image: budibase/couchdb:v3.2.1

with similar results.

Is there any workaround?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions