gis-ops / docker-valhalla

This is our flexible Docker repository for the Valhalla routing engine
MIT License
228 stars 69 forks source link

Build fail: valhalla_build_config: error: argument --mjolnir-concurrency: expected one argument #100

Closed DJFT closed 1 year ago

DJFT commented 1 year ago

First off, thanks for a great package

I am running and I believe it fails to build the tiles that I am importing, and so when I re-run it it fails to parse JSON. I have inspected the JSON and its empty, which I think is what triggers it. I attach the logs below. I am using the latest version:

2023-04-11 07:58:22 
2023-04-11 07:58:22 INFO: Running container with user valhalla UID 59999 and GID 59999.
2023-04-11 07:58:22 
2023-04-11 07:58:22 WARNING: No routing tiles found at /custom_files/valhalla_tiles.tar or /custom_files/valhalla_tiles, starting a new build
2023-04-11 07:58:22 WARNING: No local files and no valhalla_tiles.tar found. Downloading links: https://download.geofabrik.de/europe/great-britain/england-latest.osm.pbf!
2023-04-11 07:58:23 
2023-04-11 07:58:23 ===============================================================
2023-04-11 07:58:23  Downloading  https://download.geofabrik.de/europe/great-britain/england-latest.osm.pbf
2023-04-11 07:58:23 ===============================================================
2023-04-11 07:58:22 find: '/custom_files/transit_tiles': No such file or directory
2023-04-11 07:58:23   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
2023-04-11 07:58:23                                  Dload  Upload   Total   Spent    Left  Speed
100 1202M  100 1202M    0     0  24.1M      0  0:00:49  0:00:49 --:--:-- 28.7M
2023-04-11 07:59:13 usage: valhalla_build_config [-h]
2023-04-11 07:59:13                              [--mjolnir-max-cache-size MJOLNIR_MAX_CACHE_SIZE]
2023-04-11 07:59:13                              [--mjolnir-id-table-size MJOLNIR_ID_TABLE_SIZE]
2023-04-11 07:59:13                              [--mjolnir-use-lru-mem-cache MJOLNIR_USE_LRU_MEM_CACHE]
2023-04-11 07:59:13                              [--mjolnir-lru-mem-cache-hard-control MJOLNIR_LRU_MEM_CACHE_HARD_CONTROL]
2023-04-11 07:59:13                              [--mjolnir-use-simple-mem-cache MJOLNIR_USE_SIMPLE_MEM_CACHE]
2023-04-11 07:59:13                              [--mjolnir-user-agent MJOLNIR_USER_AGENT]
2023-04-11 07:59:13                              [--mjolnir-tile-url MJOLNIR_TILE_URL]
2023-04-11 07:59:13                              [--mjolnir-tile-url-gz MJOLNIR_TILE_URL_GZ]
2023-04-11 07:59:13                              [--mjolnir-concurrency MJOLNIR_CONCURRENCY]
2023-04-11 07:59:13                              [--mjolnir-tile-dir MJOLNIR_TILE_DIR]
2023-04-11 07:59:13                              [--mjolnir-tile-extract MJOLNIR_TILE_EXTRACT]
2023-04-11 07:59:13                              [--mjolnir-traffic-extract MJOLNIR_TRAFFIC_EXTRACT]
2023-04-11 07:59:13                              [--mjolnir-incident-dir MJOLNIR_INCIDENT_DIR]
2023-04-11 07:59:13                              [--mjolnir-incident-log MJOLNIR_INCIDENT_LOG]
2023-04-11 07:59:13                              [--mjolnir-shortcut-caching MJOLNIR_SHORTCUT_CACHING]
2023-04-11 07:59:13                              [--mjolnir-admin MJOLNIR_ADMIN]
2023-04-11 07:59:13                              [--mjolnir-timezone MJOLNIR_TIMEZONE]
2023-04-11 07:59:13                              [--mjolnir-transit-dir MJOLNIR_TRANSIT_DIR]
2023-04-11 07:59:13                              [--mjolnir-transit-feeds-dir MJOLNIR_TRANSIT_FEEDS_DIR]
2023-04-11 07:59:13                              [--mjolnir-transit-bounding-box MJOLNIR_TRANSIT_BOUNDING_BOX]
2023-04-11 07:59:13                              [--mjolnir-transit-pbf-limit MJOLNIR_TRANSIT_PBF_LIMIT]
2023-04-11 07:59:13                              [--mjolnir-hierarchy MJOLNIR_HIERARCHY]
2023-04-11 07:59:13                              [--mjolnir-shortcuts MJOLNIR_SHORTCUTS]
2023-04-11 07:59:13                              [--mjolnir-include-platforms MJOLNIR_INCLUDE_PLATFORMS]
2023-04-11 07:59:13                              [--mjolnir-include-driveways MJOLNIR_INCLUDE_DRIVEWAYS]
2023-04-11 07:59:13                              [--mjolnir-include-construction MJOLNIR_INCLUDE_CONSTRUCTION]
2023-04-11 07:59:13                              [--mjolnir-include-bicycle MJOLNIR_INCLUDE_BICYCLE]
2023-04-11 07:59:13                              [--mjolnir-include-pedestrian MJOLNIR_INCLUDE_PEDESTRIAN]
2023-04-11 07:59:13                              [--mjolnir-include-driving MJOLNIR_INCLUDE_DRIVING]
2023-04-11 07:59:13                              [--mjolnir-import-bike-share-stations MJOLNIR_IMPORT_BIKE_SHARE_STATIONS]
2023-04-11 07:59:13                              [--mjolnir-global-synchronized-cache MJOLNIR_GLOBAL_SYNCHRONIZED_CACHE]
2023-04-11 07:59:13                              [--mjolnir-max-concurrent-reader-users MJOLNIR_MAX_CONCURRENT_READER_USERS]
2023-04-11 07:59:13                              [--mjolnir-reclassify-links MJOLNIR_RECLASSIFY_LINKS]
2023-04-11 07:59:13                              [--mjolnir-default-speeds-config MJOLNIR_DEFAULT_SPEEDS_CONFIG]
2023-04-11 07:59:13                              [--mjolnir-data-processing-infer-internal-intersections MJOLNIR_DATA_PROCESSING_INFER_INTERNAL_INTERSECTIONS]
2023-04-11 07:59:13                              [--mjolnir-data-processing-infer-turn-channels MJOLNIR_DATA_PROCESSING_INFER_TURN_CHANNELS]
2023-04-11 07:59:13                              [--mjolnir-data-processing-apply-country-overrides MJOLNIR_DATA_PROCESSING_APPLY_COUNTRY_OVERRIDES]
2023-04-11 07:59:13                              [--mjolnir-data-processing-use-admin-db MJOLNIR_DATA_PROCESSING_USE_ADMIN_DB]
2023-04-11 07:59:13                              [--mjolnir-data-processing-use-direction-on-ways MJOLNIR_DATA_PROCESSING_USE_DIRECTION_ON_WAYS]
2023-04-11 07:59:13                              [--mjolnir-data-processing-allow-alt-name MJOLNIR_DATA_PROCESSING_ALLOW_ALT_NAME]
2023-04-11 07:59:13                              [--mjolnir-data-processing-use-urban-tag MJOLNIR_DATA_PROCESSING_USE_URBAN_TAG]
2023-04-11 07:59:13                              [--mjolnir-data-processing-use-rest-area MJOLNIR_DATA_PROCESSING_USE_REST_AREA]
2023-04-11 07:59:13                              [--mjolnir-data-processing-scan-tar MJOLNIR_DATA_PROCESSING_SCAN_TAR]
2023-04-11 07:59:13                              [--mjolnir-logging-type MJOLNIR_LOGGING_TYPE]
2023-04-11 07:59:13                              [--mjolnir-logging-color MJOLNIR_LOGGING_COLOR]
2023-04-11 07:59:13                              [--mjolnir-logging-file-name MJOLNIR_LOGGING_FILE_NAME]
2023-04-11 07:59:13                              [--additional-data-elevation ADDITIONAL_DATA_ELEVATION]
2023-04-11 07:59:13                              [--additional-data-elevation-url ADDITIONAL_DATA_ELEVATION_URL]
2023-04-11 07:59:13                              [--loki-actions LOKI_ACTIONS]
2023-04-11 07:59:13                              [--loki-use-connectivity LOKI_USE_CONNECTIVITY]
2023-04-11 07:59:13                              [--loki-service-defaults-radius LOKI_SERVICE_DEFAULTS_RADIUS]
2023-04-11 07:59:13                              [--loki-service-defaults-minimum-reachability LOKI_SERVICE_DEFAULTS_MINIMUM_REACHABILITY]
2023-04-11 07:59:13                              [--loki-service-defaults-search-cutoff LOKI_SERVICE_DEFAULTS_SEARCH_CUTOFF]
2023-04-11 07:59:13                              [--loki-service-defaults-node-snap-tolerance LOKI_SERVICE_DEFAULTS_NODE_SNAP_TOLERANCE]
2023-04-11 07:59:13                              [--loki-service-defaults-street-side-tolerance LOKI_SERVICE_DEFAULTS_STREET_SIDE_TOLERANCE]
2023-04-11 07:59:13                              [--loki-service-defaults-street-side-max-distance LOKI_SERVICE_DEFAULTS_STREET_SIDE_MAX_DISTANCE]
2023-04-11 07:59:13                              [--loki-service-defaults-heading-tolerance LOKI_SERVICE_DEFAULTS_HEADING_TOLERANCE]
2023-04-11 07:59:13                              [--loki-logging-type LOKI_LOGGING_TYPE]
2023-04-11 07:59:13                              [--loki-logging-color LOKI_LOGGING_COLOR]
2023-04-11 07:59:13                              [--loki-logging-file-name LOKI_LOGGING_FILE_NAME]
2023-04-11 07:59:13                              [--loki-logging-long-request LOKI_LOGGING_LONG_REQUEST]
2023-04-11 07:59:13                              [--loki-service-proxy LOKI_SERVICE_PROXY]
2023-04-11 07:59:13                              [--thor-logging-type THOR_LOGGING_TYPE]
2023-04-11 07:59:13                              [--thor-logging-color THOR_LOGGING_COLOR]
2023-04-11 07:59:13                              [--thor-logging-file-name THOR_LOGGING_FILE_NAME]
2023-04-11 07:59:13                              [--thor-logging-long-request THOR_LOGGING_LONG_REQUEST]
2023-04-11 07:59:13                              [--thor-source-to-target-algorithm THOR_SOURCE_TO_TARGET_ALGORITHM]
2023-04-11 07:59:13                              [--thor-service-proxy THOR_SERVICE_PROXY]
2023-04-11 07:59:13                              [--thor-max-reserved-labels-count THOR_MAX_RESERVED_LABELS_COUNT]
2023-04-11 07:59:13                              [--thor-clear-reserved-memory THOR_CLEAR_RESERVED_MEMORY]
2023-04-11 07:59:13                              [--thor-extended-search THOR_EXTENDED_SEARCH]
2023-04-11 07:59:13                              [--odin-logging-type ODIN_LOGGING_TYPE]
2023-04-11 07:59:13                              [--odin-logging-color ODIN_LOGGING_COLOR]
2023-04-11 07:59:13                              [--odin-logging-file-name ODIN_LOGGING_FILE_NAME]
2023-04-11 07:59:13                              [--odin-service-proxy ODIN_SERVICE_PROXY]
2023-04-11 07:59:13                              [--odin-markup-formatter-markup-enabled ODIN_MARKUP_FORMATTER_MARKUP_ENABLED]
2023-04-11 07:59:13                              [--odin-markup-formatter-phoneme-format ODIN_MARKUP_FORMATTER_PHONEME_FORMAT]
2023-04-11 07:59:13                              [--meili-mode MEILI_MODE]
2023-04-11 07:59:13                              [--meili-customizable MEILI_CUSTOMIZABLE]
2023-04-11 07:59:13                              [--meili-verbose MEILI_VERBOSE]
2023-04-11 07:59:13                              [--meili-default-sigma-z MEILI_DEFAULT_SIGMA_Z]
2023-04-11 07:59:13                              [--meili-default-gps-accuracy MEILI_DEFAULT_GPS_ACCURACY]
2023-04-11 07:59:13                              [--meili-default-beta MEILI_DEFAULT_BETA]
2023-04-11 07:59:13                              [--meili-default-max-route-distance-factor MEILI_DEFAULT_MAX_ROUTE_DISTANCE_FACTOR]
2023-04-11 07:59:13                              [--meili-default-max-route-time-factor MEILI_DEFAULT_MAX_ROUTE_TIME_FACTOR]
2023-04-11 07:59:13                              [--meili-default-max-search-radius MEILI_DEFAULT_MAX_SEARCH_RADIUS]
2023-04-11 07:59:13                              [--meili-default-breakage-distance MEILI_DEFAULT_BREAKAGE_DISTANCE]
2023-04-11 07:59:13                              [--meili-default-interpolation-distance MEILI_DEFAULT_INTERPOLATION_DISTANCE]
2023-04-11 07:59:13                              [--meili-default-search-radius MEILI_DEFAULT_SEARCH_RADIUS]
2023-04-11 07:59:13                              [--meili-default-geometry MEILI_DEFAULT_GEOMETRY]
2023-04-11 07:59:13                              [--meili-default-route MEILI_DEFAULT_ROUTE]
2023-04-11 07:59:13                              [--meili-default-turn-penalty-factor MEILI_DEFAULT_TURN_PENALTY_FACTOR]
2023-04-11 07:59:13                              [--meili-auto-turn-penalty-factor MEILI_AUTO_TURN_PENALTY_FACTOR]
2023-04-11 07:59:13                              [--meili-auto-search-radius MEILI_AUTO_SEARCH_RADIUS]
2023-04-11 07:59:13                              [--meili-pedestrian-turn-penalty-factor MEILI_PEDESTRIAN_TURN_PENALTY_FACTOR]
2023-04-11 07:59:13                              [--meili-pedestrian-search-radius MEILI_PEDESTRIAN_SEARCH_RADIUS]
2023-04-11 07:59:13                              [--meili-bicycle-turn-penalty-factor MEILI_BICYCLE_TURN_PENALTY_FACTOR]
2023-04-11 07:59:13                              [--meili-multimodal-turn-penalty-factor MEILI_MULTIMODAL_TURN_PENALTY_FACTOR]
2023-04-11 07:59:13                              [--meili-logging-type MEILI_LOGGING_TYPE]
2023-04-11 07:59:13                              [--meili-logging-color MEILI_LOGGING_COLOR]
2023-04-11 07:59:13                              [--meili-logging-file-name MEILI_LOGGING_FILE_NAME]
2023-04-11 07:59:13                              [--meili-service-proxy MEILI_SERVICE_PROXY]
2023-04-11 07:59:13                              [--meili-grid-size MEILI_GRID_SIZE]
2023-04-11 07:59:13                              [--meili-grid-cache-size MEILI_GRID_CACHE_SIZE]
2023-04-11 07:59:13                              [--httpd-service-listen HTTPD_SERVICE_LISTEN]
2023-04-11 07:59:13                              [--httpd-service-loopback HTTPD_SERVICE_LOOPBACK]
2023-04-11 07:59:13                              [--httpd-service-interrupt HTTPD_SERVICE_INTERRUPT]
2023-04-11 07:59:13                              [--httpd-service-drain-seconds HTTPD_SERVICE_DRAIN_SECONDS]
2023-04-11 07:59:13                              [--httpd-service-shutdown-seconds HTTPD_SERVICE_SHUTDOWN_SECONDS]
2023-04-11 07:59:13                              [--httpd-service-timeout-seconds HTTPD_SERVICE_TIMEOUT_SECONDS]
2023-04-11 07:59:13                              [--service-limits-auto-max-distance SERVICE_LIMITS_AUTO_MAX_DISTANCE]
2023-04-11 07:59:13                              [--service-limits-auto-max-locations SERVICE_LIMITS_AUTO_MAX_LOCATIONS]
2023-04-11 07:59:13                              [--service-limits-auto-max-matrix-distance SERVICE_LIMITS_AUTO_MAX_MATRIX_DISTANCE]
2023-04-11 07:59:13                              [--service-limits-auto-max-matrix-location-pairs SERVICE_LIMITS_AUTO_MAX_MATRIX_LOCATION_PAIRS]
2023-04-11 07:59:13                              [--service-limits-bus-max-distance SERVICE_LIMITS_BUS_MAX_DISTANCE]
2023-04-11 07:59:13                              [--service-limits-bus-max-locations SERVICE_LIMITS_BUS_MAX_LOCATIONS]
2023-04-11 07:59:13                              [--service-limits-bus-max-matrix-distance SERVICE_LIMITS_BUS_MAX_MATRIX_DISTANCE]
2023-04-11 07:59:13                              [--service-limits-bus-max-matrix-location-pairs SERVICE_LIMITS_BUS_MAX_MATRIX_LOCATION_PAIRS]
2023-04-11 07:59:13                              [--service-limits-taxi-max-distance SERVICE_LIMITS_TAXI_MAX_DISTANCE]
2023-04-11 07:59:13                              [--service-limits-taxi-max-locations SERVICE_LIMITS_TAXI_MAX_LOCATIONS]
2023-04-11 07:59:13                              [--service-limits-taxi-max-matrix-distance SERVICE_LIMITS_TAXI_MAX_MATRIX_DISTANCE]
2023-04-11 07:59:13                              [--service-limits-taxi-max-matrix-location-pairs SERVICE_LIMITS_TAXI_MAX_MATRIX_LOCATION_PAIRS]
2023-04-11 07:59:13                              [--service-limits-pedestrian-max-distance SERVICE_LIMITS_PEDESTRIAN_MAX_DISTANCE]
2023-04-11 07:59:13                              [--service-limits-pedestrian-max-locations SERVICE_LIMITS_PEDESTRIAN_MAX_LOCATIONS]
2023-04-11 07:59:13                              [--service-limits-pedestrian-max-matrix-distance SERVICE_LIMITS_PEDESTRIAN_MAX_MATRIX_DISTANCE]
2023-04-11 07:59:13                              [--service-limits-pedestrian-max-matrix-location-pairs SERVICE_LIMITS_PEDESTRIAN_MAX_MATRIX_LOCATION_PAIRS]
2023-04-11 07:59:13                              [--service-limits-pedestrian-min-transit-walking-distance SERVICE_LIMITS_PEDESTRIAN_MIN_TRANSIT_WALKING_DISTANCE]
2023-04-11 07:59:13                              [--service-limits-pedestrian-max-transit-walking-distance SERVICE_LIMITS_PEDESTRIAN_MAX_TRANSIT_WALKING_DISTANCE]
2023-04-11 07:59:13                              [--service-limits-motor-scooter-max-distance SERVICE_LIMITS_MOTOR_SCOOTER_MAX_DISTANCE]
2023-04-11 07:59:13                              [--service-limits-motor-scooter-max-locations SERVICE_LIMITS_MOTOR_SCOOTER_MAX_LOCATIONS]
2023-04-11 07:59:13                              [--service-limits-motor-scooter-max-matrix-distance SERVICE_LIMITS_MOTOR_SCOOTER_MAX_MATRIX_DISTANCE]
2023-04-11 07:59:13                              [--service-limits-motor-scooter-max-matrix-location-pairs SERVICE_LIMITS_MOTOR_SCOOTER_MAX_MATRIX_LOCATION_PAIRS]
2023-04-11 07:59:13                              [--service-limits-motorcycle-max-distance SERVICE_LIMITS_MOTORCYCLE_MAX_DISTANCE]
2023-04-11 07:59:13                              [--service-limits-motorcycle-max-locations SERVICE_LIMITS_MOTORCYCLE_MAX_LOCATIONS]
2023-04-11 07:59:13                              [--service-limits-motorcycle-max-matrix-distance SERVICE_LIMITS_MOTORCYCLE_MAX_MATRIX_DISTANCE]
2023-04-11 07:59:13                              [--service-limits-motorcycle-max-matrix-location-pairs SERVICE_LIMITS_MOTORCYCLE_MAX_MATRIX_LOCATION_PAIRS]
2023-04-11 07:59:13                              [--service-limits-bicycle-max-distance SERVICE_LIMITS_BICYCLE_MAX_DISTANCE]
2023-04-11 07:59:13                              [--service-limits-bicycle-max-locations SERVICE_LIMITS_BICYCLE_MAX_LOCATIONS]
2023-04-11 07:59:13                              [--service-limits-bicycle-max-matrix-distance SERVICE_LIMITS_BICYCLE_MAX_MATRIX_DISTANCE]
2023-04-11 07:59:13                              [--service-limits-bicycle-max-matrix-location-pairs SERVICE_LIMITS_BICYCLE_MAX_MATRIX_LOCATION_PAIRS]
2023-04-11 07:59:13                              [--service-limits-multimodal-max-distance SERVICE_LIMITS_MULTIMODAL_MAX_DISTANCE]
2023-04-11 07:59:13                              [--service-limits-multimodal-max-locations SERVICE_LIMITS_MULTIMODAL_MAX_LOCATIONS]
2023-04-11 07:59:13                              [--service-limits-multimodal-max-matrix-distance SERVICE_LIMITS_MULTIMODAL_MAX_MATRIX_DISTANCE]
2023-04-11 07:59:13                              [--service-limits-multimodal-max-matrix-location-pairs SERVICE_LIMITS_MULTIMODAL_MAX_MATRIX_LOCATION_PAIRS]
2023-04-11 07:59:13                              [--service-limits-status-allow-verbose SERVICE_LIMITS_STATUS_ALLOW_VERBOSE]
2023-04-11 07:59:13                              [--service-limits-transit-max-distance SERVICE_LIMITS_TRANSIT_MAX_DISTANCE]
2023-04-11 07:59:13                              [--service-limits-transit-max-locations SERVICE_LIMITS_TRANSIT_MAX_LOCATIONS]
2023-04-11 07:59:13                              [--service-limits-transit-max-matrix-distance SERVICE_LIMITS_TRANSIT_MAX_MATRIX_DISTANCE]
2023-04-11 07:59:13                              [--service-limits-transit-max-matrix-location-pairs SERVICE_LIMITS_TRANSIT_MAX_MATRIX_LOCATION_PAIRS]
2023-04-11 07:59:13                              [--service-limits-truck-max-distance SERVICE_LIMITS_TRUCK_MAX_DISTANCE]
2023-04-11 07:59:13                              [--service-limits-truck-max-locations SERVICE_LIMITS_TRUCK_MAX_LOCATIONS]
2023-04-11 07:59:13                              [--service-limits-truck-max-matrix-distance SERVICE_LIMITS_TRUCK_MAX_MATRIX_DISTANCE]
2023-04-11 07:59:13                              [--service-limits-truck-max-matrix-location-pairs SERVICE_LIMITS_TRUCK_MAX_MATRIX_LOCATION_PAIRS]
2023-04-11 07:59:13                              [--service-limits-skadi-max-shape SERVICE_LIMITS_SKADI_MAX_SHAPE]
2023-04-11 07:59:13                              [--service-limits-skadi-min-resample SERVICE_LIMITS_SKADI_MIN_RESAMPLE]
2023-04-11 07:59:13                              [--service-limits-isochrone-max-contours SERVICE_LIMITS_ISOCHRONE_MAX_CONTOURS]
2023-04-11 07:59:13                              [--service-limits-isochrone-max-time-contour SERVICE_LIMITS_ISOCHRONE_MAX_TIME_CONTOUR]
2023-04-11 07:59:13                              [--service-limits-isochrone-max-distance SERVICE_LIMITS_ISOCHRONE_MAX_DISTANCE]
2023-04-11 07:59:13                              [--service-limits-isochrone-max-locations SERVICE_LIMITS_ISOCHRONE_MAX_LOCATIONS]
2023-04-11 07:59:13                              [--service-limits-isochrone-max-distance-contour SERVICE_LIMITS_ISOCHRONE_MAX_DISTANCE_CONTOUR]
2023-04-11 07:59:13                              [--service-limits-trace-max-distance SERVICE_LIMITS_TRACE_MAX_DISTANCE]
2023-04-11 07:59:13                              [--service-limits-trace-max-gps-accuracy SERVICE_LIMITS_TRACE_MAX_GPS_ACCURACY]
2023-04-11 07:59:13                              [--service-limits-trace-max-search-radius SERVICE_LIMITS_TRACE_MAX_SEARCH_RADIUS]
2023-04-11 07:59:13                              [--service-limits-trace-max-shape SERVICE_LIMITS_TRACE_MAX_SHAPE]
2023-04-11 07:59:13                              [--service-limits-trace-max-alternates SERVICE_LIMITS_TRACE_MAX_ALTERNATES]
2023-04-11 07:59:13                              [--service-limits-trace-max-alternates-shape SERVICE_LIMITS_TRACE_MAX_ALTERNATES_SHAPE]
2023-04-11 07:59:13                              [--service-limits-bikeshare-max-distance SERVICE_LIMITS_BIKESHARE_MAX_DISTANCE]
2023-04-11 07:59:13                              [--service-limits-bikeshare-max-locations SERVICE_LIMITS_BIKESHARE_MAX_LOCATIONS]
2023-04-11 07:59:13                              [--service-limits-bikeshare-max-matrix-distance SERVICE_LIMITS_BIKESHARE_MAX_MATRIX_DISTANCE]
2023-04-11 07:59:13                              [--service-limits-bikeshare-max-matrix-location-pairs SERVICE_LIMITS_BIKESHARE_MAX_MATRIX_LOCATION_PAIRS]
2023-04-11 07:59:13                              [--service-limits-centroid-max-distance SERVICE_LIMITS_CENTROID_MAX_DISTANCE]
2023-04-11 07:59:13                              [--service-limits-centroid-max-locations SERVICE_LIMITS_CENTROID_MAX_LOCATIONS]
2023-04-11 07:59:13                              [--service-limits-max-exclude-locations SERVICE_LIMITS_MAX_EXCLUDE_LOCATIONS]
2023-04-11 07:59:13                              [--service-limits-max-reachability SERVICE_LIMITS_MAX_REACHABILITY]
2023-04-11 07:59:13                              [--service-limits-max-radius SERVICE_LIMITS_MAX_RADIUS]
2023-04-11 07:59:13                              [--service-limits-max-timedep-distance SERVICE_LIMITS_MAX_TIMEDEP_DISTANCE]
2023-04-11 07:59:13                              [--service-limits-max-timedep-distance-matrix SERVICE_LIMITS_MAX_TIMEDEP_DISTANCE_MATRIX]
2023-04-11 07:59:13                              [--service-limits-max-alternates SERVICE_LIMITS_MAX_ALTERNATES]
2023-04-11 07:59:13                              [--service-limits-max-exclude-polygons-length SERVICE_LIMITS_MAX_EXCLUDE_POLYGONS_LENGTH]
2023-04-11 07:59:13                              [--service-limits-max-distance-disable-hierarchy-culling SERVICE_LIMITS_MAX_DISTANCE_DISABLE_HIERARCHY_CULLING]
2023-04-11 07:59:13                              [--statsd-host STATSD_HOST]
2023-04-11 07:59:13                              [--statsd-port STATSD_PORT]
2023-04-11 07:59:13                              [--statsd-prefix STATSD_PREFIX]
2023-04-11 07:59:13                              [--statsd-batch-size STATSD_BATCH_SIZE]
2023-04-11 07:59:13                              [--statsd-tags STATSD_TAGS]
2023-04-11 07:59:13 valhalla_build_config: error: argument --mjolnir-concurrency: expected one argument
2023-04-11 08:00:18 
2023-04-11 08:00:18 INFO: Running container with user valhalla UID 59999 and GID 59999.
2023-04-11 08:00:18 
2023-04-11 08:00:18 find: '/custom_files/transit_tiles': No such file or directory
2023-04-11 08:00:18 WARNING: Hash not found for: /custom_files/england-latest.osm.pbf!
2023-04-11 08:00:18 WARNING: No routing tiles found at /custom_files/valhalla_tiles.tar or /custom_files/valhalla_tiles, starting a new build
2023-04-11 08:00:20 INFO: Running build tiles with: /custom_files/valhalla.json /custom_files/england-latest.osm.pbf
2023-04-11 08:00:20 
2023-04-11 08:00:20 ============================
2023-04-11 08:00:20 = Build the initial graph. =
2023-04-11 08:00:20 ============================
2023-04-11 08:00:20 terminate called after throwing an instance of 'std::runtime_error'
2023-04-11 08:00:20   what():  Could not parse json, error at offset: 0
2023-04-11 08:00:20 qemu: uncaught target signal 6 (Aborted) - core dumped
2023-04-11 08:00:20 /valhalla/scripts/configure_valhalla.sh: line 210:   151 Aborted                 valhalla_build_tiles -c ${CONFIG_FILE} -e build ${files}
nilsnolde commented 1 year ago

Yeah, that was a very recent commit and it's not robust against a missing server_threads env var.. No problem, I'll add one.

For future reference: it's better if you give the whole context of what you did, at the minimum the command you executed and all env vars. More helpful than a 1000 words:)

nilsnolde commented 1 year ago

Wait.. It's actually robust against a missing server_threads.. Seeing how you run QEMU, are you running an image which is native to your architecture? Either way, I guess you're on Apple Silicon? On Apple nproc is not a valid command. Anyways, add server_threads to your env vars or you can raise a PR making it more robust for Apple.

DJFT commented 1 year ago

Wait.. It's actually robust against a missing server_threads.. Seeing how you run QEMU, are you running an image which is native to your architecture? Either way, I guess you're on Apple Silicon? On Apple nproc is not a valid command. Anyways, add server_threads to your env vars or you can raise a PR making it more robust for Apple.

Hi Nils, thanks for the quick response and sorry for not including the original command

I can confirm Apple Silicon. I will run with the additional env var and run it now

Many thanks again

Stefan781 commented 1 year ago

Hi Nils,

I have the same issue running the image on Windows. Specifying the environment variable fixed it. However, it would be nice if you try a different approach than the nproc one or at least document it in the README as a breaking change and add the explanation about nproc that you gave here. For now I am going to use a stable release.

Best regards, Stefan

nilsnolde commented 1 year ago

We don't use Windows or Mac, neither do our clients. Feel free to PR smth more robust for other platforms (or an update to the README), I have no problems merging that.

nilsnolde commented 1 year ago

Uh, see #103 , it was missing an export. Also excuse my ignorance, obviously there's no difference if you run this on Linux, Mac or Win, it's all inside a Linux env anyways. It's just when you're running a different architecture than x64 that problems might start to appear. Also Apple Silicon people solved. Mostly the trick is to also build the Valhalla base image manually before attempting to build our image.