Comments (11)
I am closing this, because the new Docker image supports OpenCAGE, but be warned: we no longer come bundled with an MQTT broker. The README in this repository explains how to run with docker-compose.
from docker-recorder.
There is a Stretch Debian package for lua-cjson
which we can probably use instead of compiling from sources. (https://packages.debian.org/stretch/lua-cjson) I can't test this atm, so could you please check if installing this package solves the issue? Thanks
from docker-recorder.
There is a package. I can not yet confirm, that it really works, because I have an issue with opencage.lua script I need to figure out first.
from docker-recorder.
I was able to isolate the problem with the lua script. os.getenv("OPENCAGE_APIKEY") returns nil. In fact, no variable listed in ot-recorder.default and recognized in Recorder is passed to the script. Is this expected to work?
from docker-recorder.
What are you doing with Lua?
The Recorder by default (if configured and built appropriately) uses OpenCage via geo.c
which is triggered by a prefix of opencage:
in the Geo API key.
The Lua file you mention is just there for demo purposes.
from docker-recorder.
If was trying to follow this guide: https://github.com/owntracks/recorder/blob/master/doc/OPENCAGE.md
from docker-recorder.
Ok, yes, I think we need to change that text.
Please look for --geokey
in the top-level README of the Recorder.
from docker-recorder.
It seems to work that way, at least, I can no longer see error messages in the log.
Would lua support for the dockerized recorder be usefull? If yes, I can provide a pull request to add this support. If no, I think I can just revert my changes.
I still need to figure out why it's not possible to use traefik as reverse proxy and how configure Owntracks on iOS to not eat all of my batterie. But that's another question.
from docker-recorder.
Lua is useful because Recorder can use Lua scripts on demand.
from docker-recorder.
OwnTracks on iOS doesn't typically eat battery. I assume you have move mode configured. In either case open an issue on our iOS tracker please.
from docker-recorder.
Thank you very much @jpmens. I migrated everything to the new container and it seems to work like a charm now.
from docker-recorder.
Related Issues (20)
- Recorder and mqtt client disconnected and not authorised HOT 13
- Environment variable OTR_TOPICS has no effect HOT 3
- http endpoint dead HOT 5
- Trouble getting opencage to work. HOT 8
- Latest pull request is forcing TLS. HOT 4
- Frontend stopped connecting to recorder (crosspost from owntracks/frontend) HOT 3
- Does not work from scratch HOT 7
- Error while deploying with rootless podman HOT 1
- Installed as per instructions - not accessible on port 8083 HOT 7
- Mounts are ignored in docker compose HOT 4
- Docker image expects MQTT topic(s) in OTR_TOPIC env var, but recorder docs describe OTR_TOPICS (plural) HOT 2
- Best practice: How to archive data older than 30 days? HOT 2
- Path /store and /config not working with cifs mount on docker host HOT 5
- Lua script causing container to not boot HOT 1
- Alternative registry HOT 3
- Docker-compose website doesn't get populated with data HOT 7
- docker linux/arm64 build HOT 11
- Cannot lmdb-open MainDB HOT 2
- ot-recorder silently fails on startup HOT 2
- Error: Address not available HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-recorder.