Can't install OwnTracks

I’ve been trying to install OwnTracks, but I can’t get it to install. It looks like it is installing but afterwards the app doesn’t appear on the Apps page and it still offers to install v54 on the App Center. I’ve tried rebooting, but it still wouldn’t install. The system is Version 2164. There is 22GB free on the disk.

Do you see download progress?
What kind of device do you have?
Can you send logs from Settings?

I see the bar moving across from left to right for a seconds while it shows “Installing…”

The device is an odroid that I bought direct from you in Feb 2019. It’s running Debian 8.


Jun 22 19:20:21 odroid-xu3and4 snapd[475]: -----
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: fault 0x0
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: cpsr 0x60010030
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: pc 0x36fb56
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: lr 0x3b662b
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: sp 0xbe9f0f98
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: ip 0x10c
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: fp 0x6d2000
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: r10 0x7264cc
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: r9 0x4f2f88
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: r8 0x4e3d10
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: r7 0x10c
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: r6 0x6
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: r5 0xbe9f1088
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: r4 0x544f
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: r3 0x725000
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: r2 0x6
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: r1 0x544f
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: r0 0x0
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: oldmask 0x0
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: error 0x0
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: trap 0x0
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: /usr/local/go/src/runtime/mfinal.go:163 +0x5c
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: created by runtime.createfing
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: /usr/local/go/src/runtime/asm_arm.s:831 +0x4 fp=0x8387ec sp=0x8387ec pc=0x7fba0
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: runtime.goexit()
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: /usr/local/go/src/runtime/mfinal.go:193 +0xfc fp=0x8387ec sp=0x83878c pc=0x275a4
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: runtime.runfinq()
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: /usr/local/go/src/runtime/proc.go:381 +0x100 fp=0x83878c sp=0x838778 pc=0x4e004
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: runtime.gopark(0x470130, 0x71e0c8, 0x10, 0x14, 0x1)
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: goroutine 19 [finalizer wait]:
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: /usr/local/go/src/runtime/mgc.go:179 +0xbc
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: created by runtime.gcenable
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: /usr/local/go/src/runtime/asm_arm.s:831 +0x4 fp=0x8347ec sp=0x8347ec pc=0x7fba0
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: runtime.goexit()
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: /usr/local/go/src/runtime/mgc.go:179 +0x28 fp=0x8347ec sp=0x8347e4 pc=0x28674
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: runtime.gcenable.func2()
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: /usr/local/go/src/runtime/mgcscavenge.go:628 +0x3c fp=0x8347e4 sp=0x8347c8 pc=0x35c10
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: runtime.bgscavenge(0x8240c0)
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: /usr/local/go/src/runtime/mgcscavenge.go:400 +0x64 fp=0x8347c8 sp=0x8347b4 pc=0x354f4
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: runtime.(*scavengerState).park(0x70a290)
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: /usr/local/go/src/runtime/proc.go:387
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: runtime.goparkunlock(...)
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: /usr/local/go/src/runtime/proc.go:381 +0x100 fp=0x8347b4 sp=0x8347a0 pc=0x4e004
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: runtime.gopark(0x4701ec, 0x70a290, 0xd, 0x14, 0x2)
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: goroutine 18 [GC scavenge wait]:
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: /usr/local/go/src/runtime/mgc.go:178 +0x74
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: created by runtime.gcenable
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: /usr/local/go/src/runtime/asm_arm.s:831 +0x4 fp=0x8397ec sp=0x8397ec pc=0x7fba0
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: runtime.goexit()
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: /usr/local/go/src/runtime/mgc.go:178 +0x28 fp=0x8397ec sp=0x8397e4 pc=0x286c8
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: runtime.gcenable.func1()
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: /usr/local/go/src/runtime/mgcsweep.go:278 +0x94 fp=0x8397e4 sp=0x8397c8 pc=0x37b90
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: runtime.bgsweep(0x8240c0)
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: /usr/local/go/src/runtime/proc.go:387
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: runtime.goparkunlock(...)
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: /usr/local/go/src/runtime/proc.go:381 +0x100 fp=0x8397c8 sp=0x8397b4 pc=0x4e004
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: runtime.gopark(0x4701ec, 0x70a068, 0xc, 0x14, 0x1)
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: goroutine 3 [GC sweep wait]:
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: /usr/local/go/src/runtime/proc.go:293 +0x1c
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: created by runtime.init.5
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: /usr/local/go/src/runtime/asm_arm.s:831 +0x4 fp=0x838fec sp=0x838fec pc=0x7fba0
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: runtime.goexit()
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: /usr/local/go/src/runtime/proc.go:305 +0xd4 fp=0x838fec sp=0x838fd8 pc=0x4de24
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: runtime.forcegchelper()
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: /usr/local/go/src/runtime/proc.go:387
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: runtime.goparkunlock(...)
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: /usr/local/go/src/runtime/proc.go:381 +0x100 fp=0x838fd8 sp=0x838fc4 pc=0x4e004
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: runtime.gopark(0x4701ec, 0x709cb0, 0x11, 0x14, 0x1)
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: goroutine 2 [force gc (idle)]:
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: /usr/local/go/src/runtime/asm_arm.s:831 +0x4 fp=0x8c7fec sp=0x8c7fec pc=0x7fba0
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: runtime.goexit()
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: /usr/local/go/src/runtime/proc.go:250 +0x268 fp=0x8c7fec sp=0x8c7fc0 pc=0x4dadc
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: runtime.main()
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: /drone/src/cli/cmd/install/main.go:22 +0xac fp=0x8c7fc0 sp=0x8c7f8c pc=0x36e878
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: main.main()
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: /go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:992
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: github.com/spf13/cobra.(*Command).Execute(...)
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: /go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:1068 +0x418 fp=0x8c7f8c sp=0x8c7f20 pc=0x1c09b4
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: github.com/spf13/cobra.(*Command).ExecuteC(0x8b2180)
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: /go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:940 +0x73c fp=0x8c7f20 sp=0x8c7e90 pc=0x1c01c4
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: github.com/spf13/cobra.(*Command).execute(0x8b2180, {0x88e120, 0x0, 0x0})
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: /drone/src/cli/cmd/install/main.go:18 +0x28 fp=0x8c7e90 sp=0x8c7e80 pc=0x36e940
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: main.main.func1(0x8b2180, {0x71e154, 0x0, 0x0})
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: /drone/src/cli/installer/installer.go:51
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: hooks/installer.(*Installer).Install(...)
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: /drone/src/cli/installer/installer.go:162 +0x24 fp=0x8c7e80 sp=0x8c7e1c pc=0x36dfe0
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: hooks/installer.(*Installer).UpdateConfigs(0x894120)
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: /go/pkg/mod/github.com/syncloud/golib@v1.1.10/linux/user.go:15 +0x24 fp=0x8c7e1c sp=0x8c7e04 pc=0x36cb1c
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: github.com/syncloud/golib/linux.CreateUser({0x44547d, 0x9})
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: /go/pkg/mod/github.com/syncloud/golib@v1.1.10/linux/user.go:10
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: github.com/syncloud/golib/linux.UserExists(...)
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: /usr/local/go/src/os/user/lookup.go:40 +0x14 fp=0x8c7e04 sp=0x8c7de0 pc=0x36c2ec
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: os/user.Lookup({0x44547d, 0x9})
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: /usr/local/go/src/os/user/lookup.go:22 +0x24 fp=0x8c7de0 sp=0x8c7dcc pc=0x36c218
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: -----
Jun 22 19:20:21 odroid-xu3and4 snapd[475]: taskrunner.go:299: [change 3142 "Run install hook of \"owntracks\" snap if present" task] failed: run hook "install":
Jun 22 19:20:20 odroid-xu3and4 systemd[1]: Started snap.owntracks.hook.install.87c2ed61-cabf-45bf-b450-9fa24ffa62c5.scope.
Jun 22 19:20:20 odroid-xu3and4 systemd[1]: Starting snap.owntracks.hook.install.87c2ed61-cabf-45bf-b450-9fa24ffa62c5.scope.


removed some private info.
Let me fix it this time, so you do not have to upgrade to the latest image.

By the way looks like your device stuck at old version of nextcloud (from logs by email), if that is correct you may wamt to upgrade it manually to the latest version so it can continue auto upgrading after that because currently it cannot skip too many major upgrades and auto upgrade was introduced recently.

Pushed an update for owntracks, try now?

It’s installing OK now, but I don’t seem to be able to get it to work. On the Android app the Message Processor is getting a 200 return, but with a JsonParseException.

I’ve used https://owntracks.<me>.syncloud.it as the url and my syncloud login (which happens to be the admin account) for the username and password. There doesn’t seem to be anything in the web UI that allows for any configuration.

This is the log from the phone

2024-06-23 10:39:19.560 I GeocoderProvider: Setting geocoding provider to Device
2024-06-23 10:39:38.530 I ServiceStarter$Impl: starting service
2024-06-23 10:39:38.559 E MapViewModel: no location available
2024-06-23 10:39:39.559 E BackgroundService: missing location permission
2024-06-23 10:39:39.563 E BackgroundService: missing location permission
2024-06-23 10:39:39.594 E MapViewModel: no location available
2024-06-23 10:39:39.777 E LocationProcessor: no location available
2024-06-23 10:39:43.352 E MapViewModel: no location available
2024-06-23 10:39:43.475 E MapViewModel: no location available
2024-06-23 10:39:52.595 I ServiceStarter$Impl: starting service
2024-06-23 10:39:59.065 E BackgroundService: missing location permission
2024-06-23 10:39:59.065 E BackgroundService: missing location permission
2024-06-23 10:41:45.190 I ContactsViewModel: Refreshing contacts geocodes
2024-06-23 10:42:07.362 E MapViewModel: no location available
2024-06-23 10:42:07.493 E MapViewModel: no location available
2024-06-23 10:43:16.980 E MapViewModel: no location available
2024-06-23 10:43:17.330 E MapViewModel: no location available
2024-06-23 10:43:19.272 I MessageProcessorEndpointHttp: Message id=1719135797415-96d00 sent in 1768ms
2024-06-23 10:43:19.273 E MessageProcessorEndpointHttp: JsonParseException HTTP status: 200
2024-06-23 10:45:05.240 I MessageProcessorEndpointHttp: Message id=1719135904934-c90d80 sent in 269ms
2024-06-23 10:45:05.242 E MessageProcessorEndpointHttp: JsonParseException HTTP status: 200
2024-06-23 10:45:06.417 I MessageProcessorEndpointHttp: Message id=1719135906280-61da1b sent in 125ms
2024-06-23 10:45:06.418 E MessageProcessorEndpointHttp: JsonParseException HTTP status: 200
2024-06-23 10:52:19.509 I ServiceStarter$Impl: starting service
2024-06-23 10:52:35.120 I ServiceStarter$Impl: starting service
2024-06-23 10:53:37.898 I ServiceStarter$Impl: starting service
2024-06-23 10:54:37.262 I GeocoderProvider: Setting geocoding provider to Device
2024-06-23 10:54:37.626 I MessageProcessorEndpointHttp: Message id=1719136477324-ceb24a sent in 282ms
2024-06-23 10:54:37.627 E MessageProcessorEndpointHttp: JsonParseException HTTP status: 200
2024-06-23 10:58:47.874 I ServiceStarter$Impl: starting service
2024-06-23 10:59:42.500 I ServiceStarter$Impl: starting service
2024-06-23 11:01:27.178 I ServiceStarter$Impl: starting service
2024-06-23 11:02:41.683 I ServiceStarter$Impl: starting service
2024-06-23 11:05:24.418 I ServiceStarter$Impl: starting service
2024-06-23 11:05:35.509 I ServiceStarter$Impl: starting service
2024-06-23 11:10:00.903 I MessageProcessorEndpointHttp: Message id=1719137400072-fece0e sent in 816ms
2024-06-23 11:10:00.905 E MessageProcessorEndpointHttp: JsonParseException HTTP status: 200

Regarding Nextcloud, I had a feeling it might be out of date, as the phone app has started saying that, but I hadn’t had chance to check it. I seem to have Version 26. At some point before it stopped updating and I had to use the instructions on that page. However, they don’t seem to be working any more.

root@odroid-xu3and4:/# wget apps.syncloud.org/apps/nextcloud_747_$(dpkg --print-architecture).snap
converted 'http://apps.syncloud.org/apps/nextcloud_747_armhf.snap' (ANSI_X3.4-1968) -> 'http://apps.syncloud.org/apps/nextcloud_747_armhf.snap' (UTF-8)
--2024-06-23 10:53:20--  http://apps.syncloud.org/apps/nextcloud_747_armhf.snap
Resolving apps.syncloud.org (apps.syncloud.org)... 52.92.152.139, 52.92.206.3, 52.92.177.195, ...
Connecting to apps.syncloud.org (apps.syncloud.org)|52.92.152.139|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-06-23 10:53:22 ERROR 404: Not Found.

I wondered if it was a problem with using http, so I tried changing the url to https, but that times out

root@odroid-xu3and4:/# wget https://apps.syncloud.org/apps/nextcloud_747_$(dpkg --print-architecture).snap
converted 'https://apps.syncloud.org/apps/nextcloud_747_armhf.snap' (ANSI_X3.4-1968) -> 'https://apps.syncloud.org/apps/nextcloud_747_armhf.snap' (UTF-8)
--2024-06-23 10:54:57--  https://apps.syncloud.org/apps/nextcloud_747_armhf.snap
Resolving apps.syncloud.org (apps.syncloud.org)... 52.92.195.59, 52.218.205.74, 52.92.187.251, ...
Connecting to apps.syncloud.org (apps.syncloud.org)|52.92.195.59|:443... failed: Connection timed out.
Connecting to apps.syncloud.org (apps.syncloud.org)|52.218.205.74|:443... failed: Connection timed out.

Nextcloud, ok you are on 32 bit device which nextcloud does not support anymore, need an arm64 or amd64 device :frowning:

Owntracks, they want you specify url this way:
https://[user]:[password]@owntracks.[domain]/pub

Make sure you have /pub at the end

With Owntracks, entering the url as
https://[user]:[password]@owntracks.[domain]/pub
gives me a 401 error. I’m guessing that I need to create some sort of users file on the server. Where would that go?

Re Nextcloud. What’s the best way to upgrade? Can I simply upgrade the os on the existing device, or do I need to get a new one (been thinking about getting a larger disk anyway)?

Could you start a new thread about the upgrade and I can give few advices there.

Can you send logs so I can check?
[domain] is name.syncloud.it as an example.

I’ve sent you logs from the server, and messaged you with some recent log info from the phone.

Strange it does not see the login password passed in the client url.

not authorized to user <anonymous>

. I’m guessing that I need to create some sort of users file on the server. Where would that go?

No server file is needed, just add the url to mobile client with your username and password.
As usual I would expect app developers to add some UI to manage api keys so you do not have to save plain text password, but this feature is not available.

I’m very surprised they want it sent that way at all. I thought putting a username and password in the url was only ever used these days in internal networks for rough testing, and never over the internet. (Company I work for even ban it internally).

Totally agree, the only thing is that https so it not visible to anyone between your phone and your server.
Feel free to create an additional non-admin user to make it a bit less non-secure.