Giter VIP home page Giter VIP logo

Comments (18)

ippocratis avatar ippocratis commented on May 18, 2024 1

There is no web interface. If you have an iPhone, you can download the app from the app store to use it. If you have an Android, you can download the latest APK in the release tab to use it. I'm in the process of getting the app onto Google Playstore

A non google services depended version of the app released here or on fdroid will be more than welcone

from immich.

alextran1502 avatar alextran1502 commented on May 18, 2024

You will have to comment out the immich_tf_fastapi in docker-compose file if you build on Rapsberry Pi. That container uses TensorFlow 2 and currently not supported on Rpi

from immich.

arminus avatar arminus commented on May 18, 2024

Ok, I missed that. So that get's me one step further:

Starting compilation in watch mode...
immich_server_1  | 
immich_server_1  | [2:35:01 PM] Found 0 errors. Watching for file changes.
immich_server_1  | 
immich_server_1  | 
immich_server_1  | /usr/src/app/node_modules/@nestjs/config/dist/config.module.js:66
immich_server_1  |                 throw new Error(`Config validation error: ${error.message}`);
immich_server_1  |                       ^
immich_server_1  | Error: Config validation error: "MAPBOX_KEY" failed custom validation because Cannot read properties of undefined (reading 'presence')

my .env file is set like this

# STAGE
NODE_ENV=development

# Database
DB_USERNAME=postgres
DB_PASSWORD=postgres
DB_DATABASE_NAME=immich

# Upload File Config
UPLOAD_LOCATION=/mnt/2TB/Media/Immich

# JWT SECRET
JWT_SECRET=klashdkj786556q23e91

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

setting MAPBOX_KEY to some arbitrary value doesn't change anything.

from immich.

alextran1502 avatar alextran1502 commented on May 18, 2024

When you change your .env file, did you re-run the docker-compose command again? I haven't seen this behavior on my system

from immich.

arminus avatar arminus commented on May 18, 2024

Yes, this happens when I run docker-compose -f ./docker/docker-compose.yml up --build -V

from immich.

alextran1502 avatar alextran1502 commented on May 18, 2024

Ah, I think I found the reason. Fixed in #62. Can you please pull the main branch and try again?

from immich.

alextran1502 avatar alextran1502 commented on May 18, 2024

Actually, there is still a problem, I am working on this one

from immich.

alextran1502 avatar alextran1502 commented on May 18, 2024

Ok, it is good now. Fixed in commit dbd79f47975f2105ca4f9687b8fcdbd6bd2ee3ab

from immich.

arminus avatar arminus commented on May 18, 2024

Confirmed, thanks for the quick fix.

Next problem:

immich_postgres  | 2022-03-19 16:10:53.763 UTC [34] FATAL:  database "immich" does not exist

How do I create/seed the database?

from immich.

alextran1502 avatar alextran1502 commented on May 18, 2024

Can I see your docker-compose file? The database should be created at startup.

from immich.

arminus avatar arminus commented on May 18, 2024

Here you go. No real change to your version in git:

diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml
index 8298eac..4a3eb36 100644
--- a/docker/docker-compose.yml
+++ b/docker/docker-compose.yml
@@ -61,26 +61,26 @@ services:
     depends_on:
       - immich_server
 
-  immich_tf_fastapi:
-    container_name: immich_tf_fastapi
-    image: tensor_flow_fastapi:1.0.0
-    restart: always
-    command: uvicorn app.main:app --proxy-headers --host 0.0.0.0 --port 8000 --reload
-    build:
-      context: ../machine_learning
-      target: cpu
-      dockerfile: ../machine_learning/Dockerfile
-    volumes:
-      - ../machine_learning/app:/code/app
-      - ${UPLOAD_LOCATION}:/code/app/upload
-    ports:
-      - 2285:8000
-    expose:
-      - "8000"
-    depends_on:
-      - database
-    networks:
-      - immich_network
+#  immich_tf_fastapi:
+#    container_name: immich_tf_fastapi
+#    image: tensor_flow_fastapi:1.0.0
+#    restart: always
+#    command: uvicorn app.main:app --proxy-headers --host 0.0.0.0 --port 8000 --reload
+#    build:
+#      context: ../machine_learning
+#      target: cpu
+#      dockerfile: ../machine_learning/Dockerfile
+#    volumes:
+#      - ../machine_learning/app:/code/app
+#      - ${UPLOAD_LOCATION}:/code/app/upload
+#    ports:
+#      - 2285:8000
+#    expose:
+#      - "8000"
+#    depends_on:
+#      - database
+#    networks:
+#      - immich_network
 
 networks:
   immich_network:

from immich.

arminus avatar arminus commented on May 18, 2024

And here's my .env file:

# STAGE
NODE_ENV=development

# Database
DB_USERNAME=postgres
DB_PASSWORD=postgres
DB_DATABASE_NAME=immich

# Upload File Config
UPLOAD_LOCATION=/mnt/2TB/Media/Immich

# JWT SECRET
JWT_SECRET=klashdkj786556q23e91

# 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 18, 2024

Confirmed, thanks for the quick fix.

Next problem:

immich_postgres  | 2022-03-19 16:10:53.763 UTC [34] FATAL:  database "immich" does not exist

How do I create/seed the database?

maybe similar to this
#17 (comment)

from immich.

alextran1502 avatar alextran1502 commented on May 18, 2024

@ippocratis Thank you for the suggestion. Another relevant source I just found; Postgres image is not creating database

@arminus Can you try what @ippocratis suggested?

I haven't been able to acquire an RPi4 to test.

from immich.

arminus avatar arminus commented on May 18, 2024

yep, I had the same thought after a while and that did solve that problem.

Now all containers appear to be up and running, no error messages as far as I can tell, I managed to create a user, but when I try to load http://pi4:283 I get a 404, "Cannot GET /"

nginx is running on

cec0a1061b38   nginx:latest                                        "/docker-entrypoint.…"   2 minutes ago   Up 2 minutes   0.0.0.0:2283->80/tcp, :::2283->80/tcp, 0.0.0.0:2284->443/tcp, :::2284->443/tcp       proxy_nginx

and there's no port conflict on 2283 orr 2284

Can't get any logs form nginx:

docker logs proxy_nginx
Error response from daemon: configured logging driver does not support reading

from immich.

arminus avatar arminus commented on May 18, 2024

Here's the immich_server log:

immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:53 PM     LOG [NestFactory] Starting Nest application...
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:54 PM     LOG [InstanceLoader] AppModule dependencies initialized +357ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:54 PM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +2ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:54 PM     LOG [InstanceLoader] JwtModule dependencies initialized +4ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:54 PM     LOG [InstanceLoader] ConfigHostModule dependencies initialized +4ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:54 PM     LOG [InstanceLoader] DiscoveryModule dependencies initialized +1ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:54 PM     LOG [InstanceLoader] ConfigModule dependencies initialized +4ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:54 PM     LOG [InstanceLoader] ConfigModule dependencies initialized +2ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:54 PM     LOG [InstanceLoader] BullModule dependencies initialized +2ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:54 PM     LOG [InstanceLoader] ServerInfoModule dependencies initialized +3ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:54 PM     LOG [InstanceLoader] BullModule dependencies initialized +2ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:54 PM     LOG [InstanceLoader] BullModule dependencies initialized +33ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:54 PM     LOG [InstanceLoader] BullModule dependencies initialized +2ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:54 PM     LOG [InstanceLoader] BullModule dependencies initialized +2ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:54 PM     LOG [InstanceLoader] BullModule dependencies initialized +2ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:54 PM     LOG [InstanceLoader] BullModule dependencies initialized +1ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:55 PM     LOG [InstanceLoader] TypeOrmCoreModule dependencies initialized +951ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:55 PM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +2ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:55 PM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +2ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:55 PM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +3ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:55 PM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +2ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:55 PM     LOG [InstanceLoader] CommunicationModule dependencies initialized +6ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:55 PM     LOG [InstanceLoader] ImmichJwtModule dependencies initialized +3ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:55 PM     LOG [InstanceLoader] BackgroundTaskModule dependencies initialized +2ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:55 PM     LOG [InstanceLoader] UserModule dependencies initialized +7ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:55 PM     LOG [InstanceLoader] ImageOptimizeModule dependencies initialized +2ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:55 PM     LOG [InstanceLoader] DeviceInfoModule dependencies initialized +3ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:55 PM     LOG [InstanceLoader] AuthModule dependencies initialized +2ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:55 PM     LOG [InstanceLoader] AssetModule dependencies initialized +2ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:55 PM     LOG [RoutesResolver] UserController {/user}: +51ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:55 PM     LOG [RoutesResolver] AssetController {/asset}: +3ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:55 PM     LOG [RouterExplorer] Mapped {/asset/upload, POST} route +16ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:55 PM     LOG [RouterExplorer] Mapped {/asset/file, GET} route +4ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:55 PM     LOG [RouterExplorer] Mapped {/asset/allLocation, GET} route +3ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:55 PM     LOG [RouterExplorer] Mapped {/asset/searchTerm, GET} route +3ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:55 PM     LOG [RouterExplorer] Mapped {/asset/search, POST} route +4ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:55 PM     LOG [RouterExplorer] Mapped {/asset/new, GET} route +2ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:55 PM     LOG [RouterExplorer] Mapped {/asset/all, GET} route +4ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:55 PM     LOG [RouterExplorer] Mapped {/asset, GET} route +3ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:55 PM     LOG [RouterExplorer] Mapped {/asset/:deviceId, GET} route +5ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:55 PM     LOG [RouterExplorer] Mapped {/asset/assetById/:assetId, GET} route +3ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:55 PM     LOG [RouterExplorer] Mapped {/asset, DELETE} route +4ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:55 PM     LOG [RoutesResolver] AuthController {/auth}: +2ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:55 PM     LOG [RouterExplorer] Mapped {/auth/login, POST} route +4ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:55 PM     LOG [RouterExplorer] Mapped {/auth/signUp, POST} route +3ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:55 PM     LOG [RouterExplorer] Mapped {/auth/validateToken, POST} route +2ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:55 PM     LOG [RoutesResolver] DeviceInfoController {/device-info}: +1ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:55 PM     LOG [RouterExplorer] Mapped {/device-info, POST} route +2ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:55 PM     LOG [RouterExplorer] Mapped {/device-info, PATCH} route +3ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:55 PM     LOG [RoutesResolver] ServerInfoController {/server-info}: +1ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:55 PM     LOG [RouterExplorer] Mapped {/server-info, GET} route +3ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:55 PM     LOG [RouterExplorer] Mapped {/server-info/ping, GET} route +2ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:55 PM     LOG [RouterExplorer] Mapped {/server-info/mapbox, GET} route +2ms
immich_server_1  | [Nest] 30  - 03/19/2022, 5:23:55 PM     LOG [NestApplication] Nest application successfully started +40ms

from immich.

alextran1502 avatar alextran1502 commented on May 18, 2024

There is no web interface. If you have an iPhone, you can download the app from the app store to use it. If you have an Android, you can download the latest APK in the release tab to use it. I'm in the process of getting the app onto Google Playstore

from immich.

arminus avatar arminus commented on May 18, 2024

There is no web interface.

right. missed that, too. Working now.

If you have an iPhone, you can download the app from the app store to use it. If you have an Android, you can download the latest APK in the release tab to use it. I'm in the process of getting the app onto Google Playstore

your dev version works. I have some other observations, but that has nothing to do with this ticket.

Thanks again for the quick help.

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.