Phonetrack: no map shown in public shares

Hi all,

i created a new instance of nextcloud 20 on my raspberry pi 3.
I installed Phonetrack 0.6.5 via the Admin panel.

I can create Tracks via my android phone and the phonetrack-android app.
I can also watch them in case i log into my instance.

Now i want to share my latest positions / Tracks via the public links.
It seems like the raspberry does not load the entire site. The map is missing:

This is how i got from my firefox:

in /var/log/apache/

`

    • [16/Nov/2020:22:44:01 +0100] “GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1” 304 867 “-” “Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0”
    • [16/Nov/2020:22:44:03 +0100] “POST /index.php/apps/phonetrack/track HTTP/1.1” 200 947 “-” “Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0”
    • [16/Nov/2020:22:44:18 +0100] “POST /index.php/apps/phonetrack/track HTTP/1.1” 200 1507 “-” “Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0”
    • [16/Nov/2020:22:44:31 +0100] “GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1” 304 867 “-” “Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0”
    • [16/Nov/2020:22:44:33 +0100] “POST /index.php/apps/phonetrack/track HTTP/1.1” 200 947 “-” “Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0”
    • [16/Nov/2020:22:44:48 +0100] “POST /index.php/apps/phonetrack/track HTTP/1.1” 200 1507 “-” “Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0”
    • [16/Nov/2020:22:45:02 +0100] “GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1” 304 867 “-” “Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0”
    • [16/Nov/2020:22:45:04 +0100] “POST /index.php/apps/phonetrack/track HTTP/1.1” 200 947 “-” “Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0”
  • willhelm [16/Nov/2020:22:45:14 +0100] “PROPFIND /remote.php/webdav HTTP/1.1” 207 4772 “-” “gvfs/1.46.1”
    • [16/Nov/2020:22:45:19 +0100] “POST /index.php/apps/phonetrack/track HTTP/1.1” 200 1507 “-” “Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0”

`

Thanks in advance for help
Willhelm

Update 2020-11-19
in gitlab a found this issue:

This sounds familiar.

Unfortunately I got the same issue on Nextcloud 20.0.3 (NextcloudPi v1.33.0). Did you manage to find a solution?

up to now it is not fixed here. I want to wait until the next phontetrack release.
You might apply the git commit on your php files in webservice folder of phonetrack.

From what i have seen this issue had already been fixed 2 months ago.
Up to now there is no release which includes the fix.

in case you apply the fix i would be happy for an update from your side.
good luck and all the best
Willhelm

It seems you should disable phonetrack in NC application and then press button to delete it.
Then, according to admindoc (https://gitlab.com/eneiluj/phonetrack-oc/-/wikis/admindoc) you can download the latest version to NC by

cd /path/to/nextcloud/apps
git clone https://gitlab.com/eneiluj/phonetrack-oc.git phonetrack

Then enable application in the NC instance again. This worked for me

1 Like

Many thanks @rusangl,
this has also led to success for me.