I try to make my own pelias instance, but I got this when starting up:
During handling of the above exception, another exception occurred:
helmi 07 12:23:00 serveri pelias[809474]: Traceback (most recent call last):
helmi 07 12:23:00 serveri pelias[809474]: File "/usr/bin/docker-compose", line 33, in <module>
helmi 07 12:23:00 serveri pelias[809474]: sys.exit(load_entry_point('docker-compose==1.29.2', 'console_scripts', 'docker-compose')())
helmi 07 12:23:00 serveri pelias[809474]: File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 81, in main
helmi 07 12:23:00 serveri pelias[809474]: command_func()
helmi 07 12:23:00 serveri pelias[809474]: File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 200, in perform_command
helmi 07 12:23:00 serveri pelias[809474]: project = project_from_options('.', options)
helmi 07 12:23:00 serveri pelias[809474]: File "/usr/lib/python3/dist-packages/compose/cli/command.py", line 60, in project_from_options
helmi 07 12:23:00 serveri pelias[809474]: return get_project(
helmi 07 12:23:00 serveri pelias[809474]: File "/usr/lib/python3/dist-packages/compose/cli/command.py", line 152, in get_project
helmi 07 12:23:00 serveri pelias[809474]: client = get_client(
helmi 07 12:23:00 serveri pelias[809474]: File "/usr/lib/python3/dist-packages/compose/cli/docker_client.py", line 41, in get_client
helmi 07 12:23:00 serveri pelias[809474]: client = docker_client(
helmi 07 12:23:00 serveri pelias[809474]: File "/usr/lib/python3/dist-packages/compose/cli/docker_client.py", line 170, in docker_client
helmi 07 12:23:00 serveri pelias[809474]: client = APIClient(use_ssh_client=not use_paramiko_ssh, **kwargs)
helmi 07 12:23:00 serveri pelias[809474]: File "/usr/lib/python3/dist-packages/docker/api/client.py", line 197, in __init__
helmi 07 12:23:00 serveri pelias[809474]: self._version = self._retrieve_server_version()
helmi 07 12:23:00 serveri pelias[809474]: File "/usr/lib/python3/dist-packages/docker/api/client.py", line 221, in _retrieve_server_version
helmi 07 12:23:00 serveri pelias[809474]: raise DockerException(
helmi 07 12:23:00 serveri pelias[809474]: docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))
helmi 07 12:23:00 serveri systemd[1]: openpoiservice.service: Control process exited, code=exited, status=1/FAILURE
helmi 07 12:23:00 serveri systemd[1]: openpoiservice.service: Failed with result 'exit-code'.
My systemd service is such:
[Unit]
Description=Open Pelias Service docker
After=network-online.target time-sync.target time-set.target systemd-journald.service
[Service]
Type=simple
CapabilityBoundingSet=CAP_FOWNER CAP_NET_ADMIN CAP_NET_RAW CAP_SYS_ADMIN CAP_SYS_RESOURCE CAP_SYS_TIME
Environment=DATA_DIR=/home/docker/openpoiservice/theData ORS_UID=1001 ORS_GID=1002
WorkingDirectory=/home/docker/openpoiservice
User=docker
Group=docker
ExecStartPre=/home/docker/bin/pelias compose down
ExecStart=/home/docker/bin/pelias compose up
ExecStop=/home/docker/bin/pelias compose down
Restart=always
[Install]
WantedBy=default.target
when I run it as root in console, it works ok… but does complain about it.