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

ORDER BY (false) #412

Closed
Pierre-Louis-Boutruche opened this issue Oct 20, 2022 · 4 comments
Closed

ORDER BY (false) #412

Pierre-Louis-Boutruche opened this issue Oct 20, 2022 · 4 comments

Comments

@Pierre-Louis-Boutruche
Copy link

Pierre-Louis-Boutruche commented Oct 20, 2022

Environment

  • OS: Windows

  • API version: 6.8.5

  • Deployment: Docke

  • Database: Postgres

  • Server config:
    Auth enabled? No

  • web UI version: 7.0

Expected behavior
On the tabs "Users", "groups", "downtime management", "permissions", "api keys" I have the following error:
image
This error prevents me from using all the features correctly.

Sending alerts and displaying alerts works properly without any bugs.

Screenshots
image

image

Config docker file

version: '3.1'

services:
  web:
    image: alerta/alerta-web
    ports:
      - "8080:8080"
    depends_on:
      - db
    environment:
      - DEBUG=1  # remove this line to turn DEBUG off
      - DATABASE_URL=postgres://postgres:postgres@db:5432/monitoring
      - PLUGINS=reject,blackout,normalise,enhance
    restart: always
  db:
    image: postgres
    ports:
      - 5432
    environment:
      POSTGRES_DB: monitoring
      POSTGRES_USER: postgres
      POSTGRES_PASSWORD: postgres
    restart: always
@orjanj
Copy link

orjanj commented Dec 9, 2022

Same error here, as the one in the JSON console you've posted.
Have the similar compose-file, though with a few more env variables.

Environment info:

  • DB: psql (PostgreSQL) 15.1 (Debian 15.1-1.pgdg110+1)

This issue is similar as this one.

@sbensaoud
Copy link

Hi @orjanj ,

did you figure-out a workaround for this ?

@Pierre-Louis-Boutruche
Copy link
Author

My problem comes from the version of PostgresSQL, version 15+ is not supported by Alerta. So I switched to version 14.

@satterly
Copy link
Member

satterly commented Mar 7, 2023

Alerta now supports Postgres 15.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants