Skip to content

[BUG] <title>This constantly goes down for me and has to be restarted to access #48

@Landrin201

Description

@Landrin201

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I'm honestly not even sure the best way to describe the issue I'm having here, I'll do my best.

I have the speedtest-tracker running with a postgresql database, set up via a docker compose.

When I start both containers up it works fine, at first. I can access the UI and run manual tests.

But after a while (I don't know why because I see nothing wrong in the logs) the UI and API both become inaccessible. I have to force both the database container and the main container to restart in order to be able to access the UI again.

When I get back into the UI, I will see that ALL of the last requests have failed. When I restart the containers I'll see 2-3 runs work (I schedule runs every 2 hours) then start failing after 4-6 hours; I see no clear errors for any of these failures. They just say that something was wrong with the connection, but I can confirm that the connection is still working (this runs behind glutun with a VPN on and other apps run behind the same instance).

All of the graphs are NEVER populated, even though there IS data in the past.

I'm really not sure what is happening here. The container logs contain NOTHING. I'm going nuts, and I haven't got a clue what's wrong.

Expected Behavior

No response

Steps To Reproduce

I honestly don't even know. Start the container, let it run for more than 6 hours, try to access the UI. The UI is just inaccessible.

Environment

- OS: debian
- How docker service was installed: docker-compose, pasted above

CPU architecture

x86-64

Docker creation

speedtest-tracker:
    container_name: speedtest-tracker
    image: 'lscr.io/linuxserver/speedtest-tracker:latest'
    network_mode: service:gluetun_protonvpn
    restart: unless-stopped
    environment:
        - PUID=1000
        - PGID=1000
        - DB_CONNECTION=pgsql
        - DB_HOST=localhost
        - DB_PORT=port
        - DB_DATABASE=speedtest_tracker
        - DB_USERNAME=user
        - DB_PASSWORD=password
        - TZ=America/New_York
        - APP_KEY=key
        - SPEEDTEST_SCHEDULE=6 */2 * * *
    volumes:
        - '/etc/localtime:/etc/localtime:ro'
        - '/configStorage/config/arrSpeedtestTracker/config:/config'
    depends_on:
        - speedtest_tracker_db
        - gluetun_protonvpn

    labels:
      - "deunhealth.restart.on.unhealthy=true"
      
  speedtest_tracker_db:
    image: postgres:15
    container_name: speedtest_tracker_db
    restart: unless-stopped
    network_mode: service:gluetun_protonvpn
    depends_on:
        - gluetun_protonvpn
    environment:

        - POSTGRES_DB=speedtest_tracker
        - POSTGRES_USER=user
        - POSTGRES_PASSWORD=password
    volumes:
          - /configStorage/config/arrSpeedtestTracker/database:/var/lib/postgresql/data

Container logs

using keys found in /config/keys

Waiting for DB to be available

**** The following active confs have different version dates than the samples that are shipped. ****

**** This may be due to user customization or an update to the samples. ****

**** You should compare the following files to the samples in the same folder and update them. ****

**** Use the link at the top of the file to view the changelog. ****

┌────────────┬────────────┬────────────────────────────────────────────────────────────────────────┐

│  old date  │  new date  │ path                                                                   │

├────────────┼────────────┼────────────────────────────────────────────────────────────────────────┤

│ 2024-05-27 │ 2024-07-16 │ /config/nginx/site-confs/default.conf                                  │

└────────────┴────────────┴────────────────────────────────────────────────────────────────────────┘

[custom-init] No custom files found, skipping...

[ls.io-init] done.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions