Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nothing happens when clicking on log in #60

Open
ZuluPilgrim opened this issue Oct 5, 2023 · 2 comments
Open

Nothing happens when clicking on log in #60

ZuluPilgrim opened this issue Oct 5, 2023 · 2 comments
Labels
more info Issue needs more information to be usable

Comments

@ZuluPilgrim
Copy link

I have installed as below. The site comes up but I cannot log in i.e. nothing happens other than a line going across the top, when I click login.

version: '3'
services:
  picsur:
    image: ghcr.io/caramelfur/picsur:latest
    container_name: picsur
    ports:
      - '8083:8080' # change the left side of this mapping if 8080 is in use on the host system already
    environment:
      PICSUR_HOST: '0.0.0.0'
      PICSUR_PORT: 8080

      PICSUR_DB_HOST: picsur_postgres
      PICSUR_DB_PORT: 5432
      PICSUR_DB_USERNAME: picsur
      PICSUR_DB_PASSWORD: pwd1  # must match the POSTGRES_PASSWORD in the picsur_postgres: section
      PICSUR_DB_DATABASE: picsur

      PICSUR_ADMIN_PASSWORD: pwd2
      
      PICSUR_MAX_FILE_SIZE: 128000000  # 128 MB
    restart: unless-stopped
    
  picsur_postgres:
    image: postgres:14-alpine
    container_name: picsur_postgres
    environment:
      POSTGRES_DB: picsur
      POSTGRES_PASSWORD: pwd1
      POSTGRES_USER: picsur
    restart: unless-stopped
    volumes:
      - /home/sysadmin/picsur-data:/var/lib/postgresql/data  # this will place all images in the same folder as docker compose
volumes:
  picsur-data:  # if you change the volume mapping, make sure to change this to match

The logs are

      "id"
    ],
    "message": "Required"
  }
]
[Nest] 45  - 10/05/2023, 10:19:40 PM   ERROR [MainExceptionFilter] (192.168.10.5 -> GET /api/user/me/permissions) InternalFailure: An internal error occurred - Invalid user object, where it should always be valid: [
  {
    "code": "invalid_type",
    "expected": "string",
    "received": "undefined",
    "path": [
      "id"
    ],
    "message": "Required"
  }
]
[Nest] 45  - 10/05/2023, 10:19:40 PM   ERROR [MainExceptionFilter] (192.168.10.5 -> GET /api/info/permissions) InternalFailure: An internal error occurred - Invalid user object, where it should always be valid: [
  {
    "code": "invalid_type",
    "expected": "string",
    "received": "undefined",
    "path": [
      "id"
    ],
    "message": "Required"
  }
]
[Nest] 45  - 10/05/2023, 10:19:57 PM    WARN [ImageManagerModule] Failed to get remove_derivatives_after preference
[Nest] 45  - 10/05/2023, 10:19:57 PM   ERROR [ImageManagerModule] DatabaseFailure: A database error occurred - relation "e_image_backend" does not exist
[Nest] 45  - 10/05/2023, 10:20:20 PM   ERROR [MainExceptionFilter] (192.168.10.5 -> GET /api/info/permissions) InternalFailure: An internal error occurred - Invalid user object, where it should always be valid: [
  {
    "code": "invalid_type",
    "expected": "string",
    "received": "undefined",
    "path": [
      "id"
    ],
    "message": "Required"
  }
]
[Nest] 45  - 10/05/2023, 10:20:57 PM    WARN [ImageManagerModule] Failed to get remove_derivatives_after preference
[Nest] 45  - 10/05/2023, 10:20:57 PM   ERROR [ImageManagerModule] DatabaseFailure: A database error occurred - relation "e_image_backend" does not exist
[Nest] 45  - 10/05/2023, 10:21:33 PM   ERROR [MainExceptionFilter] (192.168.10.5 -> GET /api/info/permissions) InternalFailure: An internal error occurred - Invalid user object, where it should always be valid: [
  {
    "code": "invalid_type",
    "expected": "string",
    "received": "undefined",
    "path": [
      "id"
    ],
    "message": "Required"
  }
]
[Nest] 45  - 10/05/2023, 10:21:33 PM   ERROR [MainExceptionFilter] (192.168.10.5 -> GET /api/user/me/permissions) InternalFailure: An internal error occurred - Invalid user object, where it should always be valid: [
  {
    "code": "invalid_type",
    "expected": "string",
    "received": "undefined",
    "path": [
      "id"
    ],
    "message": "Required"
  }
]
[Nest] 45  - 10/05/2023, 10:21:33 PM   ERROR [MainExceptionFilter] (192.168.10.5 -> GET /api/info) InternalFailure: An internal error occurred - Invalid user object, where it should always be valid: [
  {
    "code": "invalid_type",
    "expected": "string",
    "received": "undefined",
    "path": [
      "id"
    ],
    "message": "Required"
  }
]
[Nest] 45  - 10/05/2023, 10:21:57 PM    WARN [ImageManagerModule] Failed to get remove_derivatives_after preference
[Nest] 45  - 10/05/2023, 10:21:57 PM   ERROR [ImageManagerModule] DatabaseFailure: A database error occurred - relation "e_image_backend" does not exist
[Nest] 45  - 10/05/2023, 10:22:57 PM    WARN [ImageManagerModule] Failed to get remove_derivatives_after preference
[Nest] 45  - 10/05/2023, 10:22:57 PM   ERROR [ImageManagerModule] DatabaseFailure: A database error occurred - relation "e_image_backend" does not exist
[Nest] 45  - 10/05/2023, 10:23:57 PM    WARN [ImageManagerModule] Failed to get remove_derivatives_after preference
[Nest] 45  - 10/05/2023, 10:23:57 PM   ERROR [ImageManagerModule] DatabaseFailure: A database error occurred - relation "e_image_backend" does not exist
[Nest] 45  - 10/05/2023, 10:24:48 PM   ERROR [MainExceptionFilter] (192.168.10.5 -> GET /api/info/permissions) InternalFailure: An internal error occurred - Invalid user object, where it should always be valid: [
  {
    "code": "invalid_type",
    "expected": "string",
    "received": "undefined",
    "path": [
      "id"
    ],
    "message": "Required"
  }
]
[Nest] 45  - 10/05/2023, 10:24:57 PM    WARN [ImageManagerModule] Failed to get remove_derivatives_after preference
[Nest] 45  - 10/05/2023, 10:24:57 PM   ERROR [ImageManagerModule] DatabaseFailure: A database error occurred - relation "e_image_backend" does not exist
[Nest] 45  - 10/05/2023, 10:25:57 PM    WARN [ImageManagerModule] Failed to get remove_derivatives_after preference
[Nest] 45  - 10/05/2023, 10:25:57 PM   ERROR [ImageManagerModule] DatabaseFailure: A database error occurred - relation "e_image_backend" does not exist
[Nest] 45  - 10/05/2023, 10:26:57 PM    WARN [ImageManagerModule] Failed to get remove_derivatives_after preference
[Nest] 45  - 10/05/2023, 10:26:57 PM   ERROR [ImageManagerModule] DatabaseFailure: A database error occurred - relation "e_image_backend" does not exist
[Nest] 45  - 10/05/2023, 10:27:57 PM    WARN [ImageManagerModule] Failed to get remove_derivatives_after preference
[Nest] 45  - 10/05/2023, 10:27:57 PM   ERROR [ImageManagerModule] DatabaseFailure: A database error occurred - relation "e_image_backend" does not exist
@CaramelFur
Copy link
Owner

What browser are you using?
And have you tried clearing your cookies and site data?

@CaramelFur CaramelFur added the more info Issue needs more information to be usable label Nov 28, 2023
@cwinl
Copy link

cwinl commented Apr 25, 2024

delete the last two lines from docker-compose.yml . clear the dir /home/sysadmin/picsur-data then docker-compose build . or clean any old picsur/postgres docker images and dockcer-compose build. Try agin good luck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
more info Issue needs more information to be usable
Projects
None yet
Development

No branches or pull requests

3 participants