[BUG] Admin page to photos page routing issue #700

Closed
opened 2026-02-04 22:00:59 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @rardxyz on GitHub (Feb 22, 2023).

The bug

Opening the photos page by clicking the immich logo from admin page, will result to a view as shown in the screenshot below.

image

The OS that Immich Server is running on

Ubuntu 22.04

Version of Immich Server

v1,48

Version of Immich Mobile App

v1.48

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

version: "3.8"

services:
  immich-server:
    container_name: immich_server
    image: altran1502/immich-server:release
    entrypoint: ["/bin/sh", "./start-server.sh"]
    volumes:
      - /mnt/sda/srv/immich/upload:/usr/src/app/upload
    env_file:
      - .env
    environment:
      - NODE_ENV=production
      - TZ=Asia/Singapore
      - IMMICH_MACHINE_LEARNING_URL=false
    depends_on:
      - redis
      - database
    restart: always

  immich-microservices:
    container_name: immich_microservices
    image: altran1502/immich-server:release
    entrypoint: ["/bin/sh", "./start-microservices.sh"]
    volumes:
      - /mnt/sda/srv/immich/upload:/usr/src/app/upload
    env_file:
      - .env
    environment:
      - NODE_ENV=production
      - IMMICH_MACHINE_LEARNING_URL=false
    depends_on:
      - redis
      - database
    restart: always


  immich-web:
    image: altran1502/immich-web:release
    container_name: immich_web
    entrypoint: ["/bin/sh", "./entrypoint.sh"]
    env_file:
      - .env
    restart: always

  redis:
    container_name: immich_redis
    image: redis:7
    restart: always

  database:
    container_name: immich_postgres
    image: postgres:15
    env_file:
      - .env
    environment:
    #  POSTGRES_PASSWORD: ${DB_PASSWORD}
    #  POSTGRES_USER: ${DB_USERNAME}
    #  POSTGRES_DB: ${DB_DATABASE_NAME}
      PG_DATA: /var/lib/postgresql/data
    volumes:
      - /srv/immich/pgdata:/var/lib/postgresql/data
    restart: always


  immich-proxy:
    container_name: immich_proxy
    image: altran1502/immich-proxy:release

    logging:
      driver: none
    depends_on:
      - immich-server
    restart: always

Your .env content

DB_HOSTNAME=immich_postgres
DB_USERNAME=
DB_PASSWORD=
DB_DATABASE_NAME=immich
REDIS_HOSTNAME=immich_redis
UPLOAD_LOCATION=/srv/immich/upload
JWT_SECRET=
ENABLE_MAPBOX=false

Reproduction steps

1. Open admin page.
2. Click the immich logo to proceed to photos page.
3. The photos page view will show up below the admin page view. The url(/photos) is correct but the view is weird.
4. Refreshing the page will correct the view.
...

Additional information

No response

Originally created by @rardxyz on GitHub (Feb 22, 2023). ### The bug Opening the photos page by clicking the immich logo from admin page, will result to a view as shown in the screenshot below. ![image](https://user-images.githubusercontent.com/88887245/220513056-64a563a4-1d3d-4b7a-bc9d-bed7be002366.png) ### The OS that Immich Server is running on Ubuntu 22.04 ### Version of Immich Server v1,48 ### Version of Immich Mobile App v1.48 ### Platform with the issue - [ ] Server - [X] Web - [ ] Mobile ### Your docker-compose.yml content ```YAML version: "3.8" services: immich-server: container_name: immich_server image: altran1502/immich-server:release entrypoint: ["/bin/sh", "./start-server.sh"] volumes: - /mnt/sda/srv/immich/upload:/usr/src/app/upload env_file: - .env environment: - NODE_ENV=production - TZ=Asia/Singapore - IMMICH_MACHINE_LEARNING_URL=false depends_on: - redis - database restart: always immich-microservices: container_name: immich_microservices image: altran1502/immich-server:release entrypoint: ["/bin/sh", "./start-microservices.sh"] volumes: - /mnt/sda/srv/immich/upload:/usr/src/app/upload env_file: - .env environment: - NODE_ENV=production - IMMICH_MACHINE_LEARNING_URL=false depends_on: - redis - database restart: always immich-web: image: altran1502/immich-web:release container_name: immich_web entrypoint: ["/bin/sh", "./entrypoint.sh"] env_file: - .env restart: always redis: container_name: immich_redis image: redis:7 restart: always database: container_name: immich_postgres image: postgres:15 env_file: - .env environment: # POSTGRES_PASSWORD: ${DB_PASSWORD} # POSTGRES_USER: ${DB_USERNAME} # POSTGRES_DB: ${DB_DATABASE_NAME} PG_DATA: /var/lib/postgresql/data volumes: - /srv/immich/pgdata:/var/lib/postgresql/data restart: always immich-proxy: container_name: immich_proxy image: altran1502/immich-proxy:release logging: driver: none depends_on: - immich-server restart: always ``` ### Your .env content ```Shell DB_HOSTNAME=immich_postgres DB_USERNAME= DB_PASSWORD= DB_DATABASE_NAME=immich REDIS_HOSTNAME=immich_redis UPLOAD_LOCATION=/srv/immich/upload JWT_SECRET= ENABLE_MAPBOX=false ``` ### Reproduction steps ```bash 1. Open admin page. 2. Click the immich logo to proceed to photos page. 3. The photos page view will show up below the admin page view. The url(/photos) is correct but the view is weird. 4. Refreshing the page will correct the view. ... ``` ### Additional information _No response_
Author
Owner

@michelheusschen commented on GitHub (Feb 25, 2023):

Confirmed. The bug doesn't always occur, but based on the HTML tree of admin pages I think it inherits the base +layout.svelte. Will probably take a look at this tomorrow.

@michelheusschen commented on GitHub (Feb 25, 2023): Confirmed. The bug doesn't always occur, but based on the HTML tree of admin pages I think it inherits the base `+layout.svelte`. Will probably take a look at this tomorrow.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#700