tubbadu

joined 2 years ago
[–] tubbadu@lemmy.kde.social 1 points 1 year ago (1 children)

please close that port 81 ASAP :-)

yes I closed it XD

Can you restart the container and the db (if using Mariadb and not sqlite) and try again exactly how you did it the first time?

I rebooted the system and now I can't log in, it says bad gateway...

[–] tubbadu@lemmy.kde.social 10 points 1 year ago (24 children)

Are they as good as chatgpt?

[–] tubbadu@lemmy.kde.social 3 points 1 year ago* (last edited 1 year ago) (13 children)

Is it as good as chatgpt?

[–] tubbadu@lemmy.kde.social 2 points 1 year ago

I "solved" giving up. I installed fedora after hours of pain, and now all works flawlessly

thank you very much for your help!!

[–] tubbadu@lemmy.kde.social 2 points 1 year ago (1 children)

after hours I tried to change distribution and went with fedora, set up everything, installed immich, not a single problem, it all works, also duckdns, and now I also have btrfs so I can snapshot my system. I'm probably very unlucky with debian based distributions, on my main laptop I had many problems with ubuntu as first distro, I had to distro hop a bit to find my place in EndeavourOS

thank you very very very very much for your time and help, I really appreciate this! now it's time to actually start this journey in the magic world of self-hosting!

[–] tubbadu@lemmy.kde.social 2 points 1 year ago (6 children)

Maybe show us you docker-compose to have a look on how you configured immich’s network?

I didn't change anything, just followed the instructions on the wiki:

version: "3.8"

#
# WARNING: Make sure to use the docker-compose.yml of the current release:
#
# https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml
#
# The compose file on main may not be compatible with the latest release.
#

name: immich

services:
immich-server:
container_name: immich_server
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
command: [ "start.sh", "immich" ]
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
- /etc/localtime:/etc/localtime:ro
env_file:
- .env
ports:
- 2283:3001
depends_on:
- redis
- database
restart: always

immich-microservices:
container_name: immich_microservices
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
# extends:
#   file: hwaccel.yml
#   service: hwaccel
command: [ "start.sh", "microservices" ]
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
- /etc/localtime:/etc/localtime:ro
env_file:
- .env
depends_on:
- redis
- database
restart: always

immich-machine-learning:
container_name: immich_machine_learning
image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
volumes:
- model-cache:/cache
env_file:
- .env
restart: always

redis:
container_name: immich_redis
image: redis:6.2-alpine@sha256:c5a607fb6e1bb15d32bbcf14db22787d19e428d59e31a5da67511b49bb0f1ccc
restart: always

database:
container_name: immich_postgres
image: tensorchord/pgvecto-rs:pg14-v0.1.11@sha256:0335a1a22f8c5dd1b697f14f079934f5152eaaa216c09b61e293be285491f8ee
env_file:
- .env
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_USER: ${DB_USERNAME}
POSTGRES_DB: ${DB_DATABASE_NAME}
volumes:
- pgdata:/var/lib/postgresql/data
restart: always

volumes:
pgdata:
model-cache:

The easiest way i can think on how to make your docker-compose work is to reinstall docker and use the host network

I'll try as soon as I can and post here the results, thanks for the time and help!

This seems a badly network configuration on you docker stack !

oops, I have lots to learn I guess XD

[–] tubbadu@lemmy.kde.social 1 points 1 year ago

Debian does not use NetworkManager I think, because there is no /etc/NetworkManager/ directory :(

[–] tubbadu@lemmy.kde.social 1 points 1 year ago* (last edited 1 year ago) (1 children)

I haven't set up a firewall yet, I wanted first to make sure that everything works before installing one (I was thinking of ufw)

I have a clean Debian install, I don't know if there are some rules OOTB that can interfere...

[–] tubbadu@lemmy.kde.social 2 points 1 year ago (1 children)

okay, I thought to have solved the problem but I was wrong, here I go again. When I docker compose up -d the immich server (the only one I have installed) all those routes are created, and apparently some of them conflicts with something else and now my host has no internet connection. however it seems that ip route flush 0/0 solves the problem until the reboot, which is strange. the other command returns RTNETLINK answers: File exists

[–] tubbadu@lemmy.kde.social 2 points 1 year ago

whel this is clever XD

[–] tubbadu@lemmy.kde.social 7 points 1 year ago

I just figured this out! adding a --bip=192.168.3.1/24 to the systemd service solves this! [reference]

[–] tubbadu@lemmy.kde.social 2 points 1 year ago

What’s the goal of your project?

I have my brother's old laptop with the screen broken, so I thought to convert it to a server for my huge pictures library I have on my external ssd installing immich, it's been a while since I'm reading things about this and now I finally have the chance to do it! I finished reinstalling now and internet works fine. I'll run a ping linux.org after every single step so if this happens again I'll at least know who's the guilty!

thanks again for your time and help!

view more: ‹ prev next ›