Skip to content

Docker - make start failed #145

Description

@RobinMoretti

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing issues and didn't find any that were similar
  • I have considered creating a pull request with fixes instead of a bug report and want to proceed

Current Behavior

After a successful installation on my server and with my desktop and mobile Anytype clients, the sync stopped working suddenly. I rebooted the Docker image, but it failed to start, even after reinstalling the Git repository from scratch.

Expected Behavior

The Docker image should start normally.

Steps To Reproduce

  1. Clone the repository.
  2. Modify the file .env.override with MONGO_VERSION=4.4.29 REDIS_PORT=6380.
  3. Execute make start in the folder.

Environment

Distributor ID: Debian
Description:    Debian GNU/Linux 12 (bookworm)
Release:        12
Codename:       bookworm

Anything else?

The log from the terminal

docker buildx build --load --tag generateconfig-env --file Dockerfile-generateconfig-env .
[+] Building 4.9s (11/11) FINISHED                                                                       docker:default
 => [internal] load build definition from Dockerfile-generateconfig-env                                            0.2s
 => => transferring dockerfile: 286B                                                                               0.0s
 => resolve image config for docker-image://docker.io/docker/dockerfile:1                                          0.9s
 => CACHED docker-image://docker.io/docker/dockerfile:1@sha256:9857836c9ee4268391bb5b09f9f157f3c91bb15821bb779696  0.0s
 => [internal] load metadata for docker.io/library/python:3.11-alpine                                              0.8s
 => [internal] load .dockerignore                                                                                  0.2s
 => => transferring context: 2B                                                                                    0.0s
 => [1/4] FROM docker.io/library/python:3.11-alpine@sha256:8068890a42d68ece5b62455ef327253249b5f094dcdee57f492635  0.0s
 => [internal] load build context                                                                                  0.2s
 => => transferring context: 131B                                                                                  0.0s
 => CACHED [2/4] WORKDIR /code                                                                                     0.0s
 => CACHED [3/4] COPY docker-generateconfig/env-requirements.txt requirements.txt                                  0.0s
 => CACHED [4/4] RUN pip install -r requirements.txt                                                               0.0s
 => exporting to image                                                                                             0.1s
 => => exporting layers                                                                                            0.0s
 => => writing image sha256:4d8e3f45b5a65aedf2e82a53cbe33c270edb06b2185b6a445945b5ca7cf0eb70                       0.0s
 => => naming to docker.io/library/generateconfig-env                                                              0.1s
docker run --rm \
        --volume /home/rob/anytype/any-sync-dockercompose/:/code/:Z \
        generateconfig-env
failed response url=https://puppetdoc.anytype.io/api/v1/prod-any-sync-compatible-versions/, error=HTTPSConnectionPool(host='puppetdoc.anytype.io', port=443): Max retries exceeded with url: /api/v1/prod-any-sync-compatible-versions/ (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7fe764fba090>: Failed to resolve 'puppetdoc.anytype.io' ([Errno -3] Try again)"))
make: *** [Makefile:18: generate_env] Error 1

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