core icon indicating copy to clipboard operation
core copied to clipboard

Web interface

Open kob04 opened this issue 2 weeks ago • 7 comments

Hi,

After a fresh installation, the web interface displays all the information, such as the current version, component status, etc. It also correctly displays the update status for the Player app.

After one day of use without any apparent changes, nothing is displayed on the web interface, and the update status for the Players app is also displayed incorrectly.

Proxmox/DietPi/Docker ... last beta 24

Tnx

2

kob04 avatar Nov 17 '26 19:11 kob04

Thanks. A login to the web interface is valid for 12 hours. After that the page stayed open as if you were still signed in, but the server no longer gave it any details, so everything showed empty. Now the page sends you to the login once the session has run out. Until that is in a release, logging out and back in (or reloading the page) brings everything back.

rudyberends avatar Nov 18 '26 09:11 rudyberends

I just logged in on a completely different computer than the one I used originally, and the page still looks just as bad. Even reloading the page doesn't help, nor does opening it in an incognito window.

image

kob04 avatar Nov 18 '26 11:11 kob04

We can't reproduce this here, on several servers running for more than a day, so I need a bit more from your side:

  1. When you open the web interface in a private window, does it ask you to log in, or does it go straight in?
  2. Under Access, which user accounts are listed, and is one of them marked as admin?
  3. Could you open http://<your-server>:<port>/admin/api/info in the browser where the page looks wrong, and paste what it shows?
  4. A full debug log from the moment you open the page.

rudyberends avatar Nov 18 '26 12:11 rudyberends

1/ No login required; I'll log in right away 2/ No user is listed here

image

3/ {"paired":true,"setupComplete":true,"hasAdminUser":false} 4/ log

sonn-core-logs-2026-11-18T16-08-49-935Z.txt

kob04 avatar Nov 18 '26 16:11 kob04

Thanks, that explains the empty page. Your server is in a state it should never get into: it's paired with your Miniserver, but there's no account at all. With Loxone integrated, logging in should go through your Loxone credentials. Instead, without any admin account the web interface lets you straight in without a login and then only shows the bare minimum, which is the page you're seeing. That gap is on our side and we'll close it.

How it got into this state I can't tell from the log. If you remember removing a user under Access, or reusing the data folder from an earlier installation, that would help.

For now, adding an admin account under Access should bring everything back. You'll get a login screen after that.

rudyberends avatar Nov 18 '26 17:11 rudyberends

This instance should not have any shared folders with the original one, except for the media folder.

My procedure was as follows:

  1. New Sonn Core instance
  2. Initial login using MS credentials
  3. Sonn configuration

Everything currently looks fine. I performed a clean configuration. Upon first login, it created a custom user. The display looks fine even after logging out and logging back in. However, I still don’t see any users on the “Access” tab, and I can’t add any either. Can you show me what it’s supposed to look like?

image

Personally, I think the problem is that I used my MS credentials for the first login.

kob04 avatar Nov 18 '26 19:11 kob04

You were right that you couldn't find it: the page for managing accounts had never actually been released, so the Access tab couldn't show any users. My mistake for sending you there. It's built now and out in admin UI 6.7.0, which the next dev build picks up. Access then lists every account below the connection cards: who is an admin, which ones came from a Miniserver login, and which one you're signed in with. You can add accounts, make them admin or not, change passwords and remove them.

The original problem, a server paired with the Miniserver but without any account that then showed an empty page, is also fixed on dev: such a server now asks for a login, and your Loxone credentials work there.

rudyberends avatar Nov 28 '26 17:11 rudyberends