Owntracks - location history

,

:uk: Owntracks app for Yunohost

Overview

Owntracks is an self-hostable location history application. Your location is sent from your mobile device to your Owntracks instance, which stores it in the database. Your travels are then displayed on a map on your server.

Owntracks can send data to a MQTT or a web server. Here, the app uses a PHP interface to receive, store and display the location history.

Documentation

Features

Integration with YunoHost

  • Multi-user: any YunoHost user can send their location to the app
  • Private mode mandatory: the app only displays the location of the connected user.
  • Installation at root of domain, or on a path

Development status

Version 0.1-beta.8 needs testing !
Issues : https://github.com/YunoHost-Apps/owntracks_ynh/issues

Installation

sudo yunohost app install https://github.com/YunoHost-Apps/owntracks_ynh

Refer to the README to configure the mobile apps.


:fr: Application Owntracks pour Yunohost

Description

Owntracks est une application auto-hébergée pour suivre ses déplacements. Votre emplacement est envoyé de téléphone (ou tout autre appareil nomade) à l’app qui se charge de l’enregistrer dans sa base de donnée. Les déplacements sont affichés dans l’app sur une carte.

Owntracks peut envoyer les données à un serveur MQTT ou web. Ici, l’app utilise une interface PHP pour recevoir, stocker et afficher votre historique de localisation.

Documentation

Fonctionnalités

Intégration avec YunoHost

  • Multi-utilisateur: tout utilisateur du serveur YunoHost peut envoyer son emplacement
  • Mode privĂ© obligatoire: l’app n’affiche l’historique d’emplacement que de l’utilisateur connectĂ©
  • Installation en tĂŞte de domaine, ou sur un chemin

État du développement

Version 0.1-beta.8 : testeurs demandés !
Problèmes : https://github.com/YunoHost-Apps/owntracks_ynh/issues

Installation

sudo yunohost app install https://github.com/YunoHost-Apps/owntracks_ynh

Référez-vous au README pour configurer les apps mobiles

2 Likes

So, installation went without a problem. Great job!

I installed the android app and pointed it to my server, according to your documentation. Went flawlessly, too.

But no data is visible in the yunohost-frontend. Looking at the looks, this could be the problem:

[26-Feb-2018 18:46:53] WARNING: [pool owntracks] child 20246 said into stderr: "NOTICE: PHP message: PHP Fatal error:  Call to undefined method mysqli_stmt::get_result() in /var/www/owntracks/map_points.php on line 39"

Thank you for testing !

After investigation, we need to activate a driver mysqlnd for php.

Can you try to install this testing branch through the command line ?

sudo yunohost app install https://github.com/YunoHost-Apps/owntracks_ynh/tree/mysqlnd-patch

I created an issue regarding this matter there : https://github.com/YunoHost-Apps/owntracks_ynh/issues/1#issue-300393065

v0.1-beta.8 released : mysqlnd requirement has been removed, and waypoints can be deleted.

Thanks to @rafi59 and @rndmh3ro for their reported issues.

1 Like

Owntracks has been updated! :slight_smile:


Changelog:

  • Support for Stretch
  • mysqlnd is finally not required (I had forgotten to remove the dependency in last version)
  • A bug in the upgrade script has been fixed
1 Like

Hi all, a new testing release is available. :slight_smile:

  • testing branch: 2020-07-08, PR #14
    • Package overhaul to latest standards
    • Permissions system integration
    • Compliance with PHP version handling
1 Like

there is no config page like described in the doc or tutorials like this one, is that normal?

The package is quite outdated. I had to fork the initial repo to make the code compatible with YNH, and never tried to update it afterwards.

Okey @TitusPiJean well what is for sure is that I don’t have access to any configuration screen for the api key etc but I totally understand your situation.
I thought that since you ve put up a new testing version 30 days ago it was up to date. I don t know how you did sync your phone and this webapp back then