Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frontend not populated after Quicksetup #62

Closed
nlanfran opened this issue Oct 26, 2024 · 5 comments
Closed

Frontend not populated after Quicksetup #62

nlanfran opened this issue Oct 26, 2024 · 5 comments

Comments

@nlanfran
Copy link

  • App build number: 2.5.3 (420503003)
  • Android version: 12
  • Device: OnePlus Nord2
  • Installation source: Google Play

Hello everybody,

I finally managed to switch away from my previously used HiveMQ broker, and install Mosquitto to my RPi 4.

I followed the quicksetup instructions and was able to complete the installation successfully. But it seems that I have a problem with the Frontend. I wasn't sure whether to post my problem here or to the Frontend section, but seen that I followed the quicksetup script, I try to post it here.

I can connect to my nginx web server using the credentials generated during the quicksetup, and I can see the list of friends (and myself) from the device table. I can also see them in the live map. When I open the frontend, I am in the middle of the ocean, with lat=0 and long=0. I was expecting at least to see the current location for the list of friends, but there is nothing. Layer settings are all checked.

Not sure if this behavior is correct.

The recorder seems to be working, and all the files in the locations '/var/spool/owntracks/recorder/store' are populated with the MQTT messages.

Any idea how to debug it ?

Many thanks for your help.

Nick

@jpmens
Copy link
Member

jpmens commented Oct 26, 2024

moving to quicksetup

@jpmens jpmens transferred this issue from owntracks/android Oct 26, 2024
@jpmens
Copy link
Member

jpmens commented Oct 26, 2024

this might be turning into a faq ...: please look at #57 (no need to reboot)

@jpmens
Copy link
Member

jpmens commented Oct 26, 2024

or the bottom of #61

@jpmens jpmens changed the title Problem after installing with quicksetup Frontend not populated after Quicksetup Oct 26, 2024
@nlanfran
Copy link
Author

I was able to fix it by changing the baseUrl value inside '/usr/share/nginx/html/owntracks/frontend/config/config.js': internal IP address instead of the DDNS one. Strange, because I tried it already before posting the problem, and even rebooted the RPi. But this alone did not fix it.

The other thing that I added was to open and redirect the port 443 to my RPi. Maybe that was the last step that was missed ??

Many thanks again.

Nick

@jpmens
Copy link
Member

jpmens commented Oct 26, 2024

HTTPS requires port 443, so yes.

@jpmens jpmens closed this as completed Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants