Coder Social home page Coder Social logo

Comments (6)

alextran1502 avatar alextran1502 commented on May 12, 2024

Can you try docker-compose up --build -V from the docker directory.

Did you change anything from the docker-compose file? Can you also share your .env file?

from immich.

ffidan61 avatar ffidan61 commented on May 12, 2024

docker-compose up --build -V gave me this (same?) error:

Building immich_server
Sending build context to Docker daemon 921.1kB
Step 1/8 : FROM node:16-alpine3.14 AS development
---> 61b24385412d
Step 2/8 : ARG DEBIAN_FRONTEND=noninteractive
---> Using cache
---> 7e4c97e5be92
Step 3/8 : WORKDIR /usr/src/app
---> Using cache
---> 0d12dcab5684
Step 4/8 : COPY package.json package-lock.json ./
---> Using cache
---> 48eee65e6cc3
Step 5/8 : RUN apk add --update-cache build-base python3 libheif vips-dev vips ffmpeg
---> Using cache
---> 193e80027251
Step 6/8 : RUN npm install
---> Using cache
---> 0af961d58b89
Step 7/8 : COPY . .
---> Using cache
---> 83dc6a049be7
Step 8/8 : RUN npm run build
---> Using cache
---> a1459b1289b3
Successfully built a1459b1289b3
Successfully tagged immich-server-dev:1.0.0
Traceback (most recent call last):
File "docker-compose", line 3, in
File "compose/cli/main.py", line 81, in main
File "compose/cli/main.py", line 203, in perform_command
File "compose/metrics/decorator.py", line 18, in wrapper
File "compose/cli/main.py", line 1186, in up
File "compose/cli/main.py", line 1182, in up
File "compose/project.py", line 664, in up
File "compose/service.py", line 348, in ensure_image_exists
File "compose/service.py", line 1133, in build
File "compose/service.py", line 1948, in build
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpql6mps1b'
[728260] Failed to execute script docker-compose

No I didn't touch the docker-compose file.
Here is my .env file

STAGE

NODE_ENV=development

Database

DB_USERNAME=postgres
DB_PASSWORD=postgres
DB_DATABASE_NAME=immich

Upload File Config

UPLOAD_LOCATION=/home/furkan/media/pics

JWT SECRET

JWT_SECRET=29525AB6C77EB733BAFD38C898CA9AEB8FC0118F7D29A9A5F43F54457857F229

MAPBOX

ENABLE_MAPBOX is either true of false -> if true, you have to provide MAPBOX_KEY

ENABLE_MAPBOX=false
MAPBOX_KEY=

from immich.

ippocratis avatar ippocratis commented on May 12, 2024

Docker daemon is running?

sudo systemctl status docker

sudo systemctl start docker

from immich.

alextran1502 avatar alextran1502 commented on May 12, 2024

Found this similar issue on StackOverflow

Probably an issue from how you install docker, I assume you used snap?

from immich.

ffidan61 avatar ffidan61 commented on May 12, 2024

At least not consciously I'll see if that's the reason.

from immich.

ffidan61 avatar ffidan61 commented on May 12, 2024

You are right. I somehow had installed docker via snap. Switched back to legacy now immich works 👍

from immich.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.