Skip to content

FORCE_UPDATE not working #53

@tjorim

Description

@tjorim

Changed FORCE_UPDATE to TRUE and expecting an update of the index.

This did not happen, here are the logs:

[INFO] 2025-03-29 19:32:20 - Found existing valid elasticsearch index
[INFO] 2025-03-29 19:32:20 - Performing forced update on startup
[INFO] 2025-03-29 19:32:20 - Index updates are disabled
[INFO] 2025-03-29 19:32:20 - Starting Photon service
[INFO] 2025-03-29 19:32:20 - Photon service started successfully with PID: 14
[INFO] 2025-03-29 19:32:20 - Update strategy is disabled, skipping update loop
2025-03-29 19:32:21,255 [main] WARN  org.elasticsearch.node.Node - version [5.6.16-SNAPSHOT] is a pre-release version of Elasticsearch and is not suitable for production
2025-03-29 19:32:26,017 [main] INFO  de.komoot.photon.Server - Started elastic search node
2025-03-29 19:32:26,017 [main] INFO  de.komoot.photon.App - Make sure that the ES cluster is ready, this might take some time.
2025-03-29 19:32:27,709 [main] INFO  de.komoot.photon.App - ES cluster is now ready.

Options that were used (running in Unraid):

docker run
  -d
  --name='Photon'
  --net='proxy'
  --pids-limit 2048
  -e TZ="Europe/Paris"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="Tower"
  -e HOST_CONTAINERNAME="Photon"
  -e 'UPDATE_STRATEGY'='DISABLED'
  -e 'UPDATE_INTERVAL'='24h'
  -e 'LOG_LEVEL'='INFO'
  -e 'FORCE_UPDATE'='TRUE'
  -e 'COUNTRY_CODE'=''
  -l net.unraid.docker.managed=dockerman
  -p '2322:2322/tcp'
  -v '/mnt/user/photon/':'/photon/photon_data':'rw' 'ghcr.io/rtuszik/photon-docker:latest'
6cc053b3fcb0925c03b453c89682fdde80bf4c8d7f7caaac35c1794a61e4f182

The command finished successfully!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions