Dashticz v3 is loading...

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
Maikel76
Posts: 71
Joined: Friday 14 August 2020 6:34
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: Bangkok
Contact:

Dashticz v3 is loading...

Post by Maikel76 »

Hi,
I updated my dashticz last week from 3.9.1 to the latest 3.9.3. All my devices can load the dashticz dashboard except for my ancient ipad mini1
Now the things is I have exactly the same issue as with the last update; "Dashticz v3 is loading" on a white screen. Last time I totally messed up my whole Domoticz server because I couldn't get it solved pulling all my hair. After a full restore from a previous version and updating dashticz to the latest version it was all working (that was 3.9.1).
Now last week I updated to 3.9.3 and the same issue is here again.
I tried the following
First tried all kinds of ways to clear cache and history on the iPad
rebooted iPad (ipad mini A1432 with 16GB, 12GB free)
rebooted Router (MikroTik)
rebooted Domoticz server (raspberry pi)
cleaned up docker containers, stopped and started container, dubblechecked docker Makefile.ini
tried different browsers on iPad (default Safari, Kios pro lite, Dolphin
renamed custom.js and custom.css so its not used
tried to start with /?cfg=CONFIG_DEFAULT.js
tried with and without password in CONFIG.js
tried different network password/segment

As you can see I'm running out of options. I do see some error messages in develoipmode in Firefox:

Code: Select all


<html class=" non-touch" lang="en"> EVENT						<-- inline: 5
html {
  font-size: 10px;
  -webkit-tap-highlight-color: rgba(0,0,0,0);  <-- invalid property name
}
html {						<-- inline: 5
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;  <-- invalid property name
  -webkit-text-size-adjust: 100%;  <-- invalid property value

<body id="page-top" class="night" style="overflow": auto; user-select: none;" unselectable="on"> EVENT SCROLL OVERFLOW
body {						<-- creative.css
  webkit-tap-highlight-color: #222222;
}
html {						<-- inline: 5
  font-family: sans-serif;
  -webkit-text-size-adjust: 100%;
}
The above is from the latest firefox on linux Ubuntu 20.04LTS
Could it be that because of the old browsers it doesnt't support these errors?
Also what I find very strange is that if i load the dashboard (first/start page of domoticz i dont see any icons, on Setup-device i get this:

Code: Select all

{{::"Loading..." | translate }}
So i have a strong feeling that it is some sort of cache issue but whatever i tried I'm not able to solve it on the ipad itself
On another ipad (ipad2, a liiiiitle bit newer but also an oldie) its working.
Big difference is that the ipad mini (that gives this issue) is always turned on and connected to dashticz

Is there in any way an option with a url command to force clear cache or with an .js command or can I somehow sent a command from dashticz or domoticz?
It seems that after I got my domoticz re-installed that dashticz also worked again last time.

Any indicators would be awesome, otherwise probably have to buy a new ipad and use the ipad2 as dashboard

If any more info is needed please let me know
Scripting is my passion, dzVents, LUA, Bash
Dashticz v3.10.7 Beta --Raspbian Buster
Lokonli
Posts: 2290
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3 is loading...

Post by Lokonli »

I think it's caused by caching of the start page (index.html). In Dashticz 3.9.2 I've implemented a mechanism to prevent this.

So hopefully this will be the last difficult update for you...

What you can try to do is to load Dashticz with some dummy parameters in the url. This will prevent caching, like:

Code: Select all

http://dashticz-ip:port/?test=1
Lokonli
Posts: 2290
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3 is loading...

Post by Lokonli »

What is the iOS and Safari version of your iPad 1?
Maikel76
Posts: 71
Joined: Friday 14 August 2020 6:34
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: Bangkok
Contact:

Re: Dashticz v3 is loading...

Post by Maikel76 »

Hi Lokonli,

The test=1 url unfortunately doesn't work
My ipad version is: iOS: 9.3.5 (13G36) latest possible version, it's the 16GB version and there is 12GB free
Safari is part of iOS thus same version
Javascript slider/option is on
Thanks a lot in advance
Scripting is my passion, dzVents, LUA, Bash
Dashticz v3.10.7 Beta --Raspbian Buster
Lokonli
Posts: 2290
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3 is loading...

Post by Lokonli »

And Dashticz 3.9.1 was working?
Maikel76
Posts: 71
Joined: Friday 14 August 2020 6:34
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: Bangkok
Contact:

Re: Dashticz v3 is loading...

Post by Maikel76 »

Lokonli wrote: Wednesday 16 March 2022 16:30 And Dashticz 3.9.1 was working?
Hi Lokonli,

Yes I indeed had version 3.8.9 running after the backup and succesfully updated and running 3.9.1
After that I updated domoticz to version 2022.1 (latest stable) and dashticz was still working.
I then updated to dashticz 3.9.3 a few days later and got the white screen since then
Scripting is my passion, dzVents, LUA, Bash
Dashticz v3.10.7 Beta --Raspbian Buster
Musje
Posts: 4
Joined: Saturday 07 October 2017 21:39
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: Dashticz v3 is loading...

Post by Musje »

Maikel76 wrote: Thursday 17 March 2022 8:52
Lokonli wrote: Wednesday 16 March 2022 16:30 And Dashticz 3.9.1 was working?
Hi Lokonli,

Yes I indeed had version 3.8.9 running after the backup and succesfully updated and running 3.9.1
After that I updated domoticz to version 2022.1 (latest stable) and dashticz was still working.
I then updated to dashticz 3.9.3 a few days later and got the white screen since then
Hi Maikel,

I had this problem once before and in my case i checked the custom folder and found out that i was missing my config files. Copying them back from my backup to the folder solved it for me.
Maikel76
Posts: 71
Joined: Friday 14 August 2020 6:34
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: Bangkok
Contact:

Re: Dashticz v3 is loading...

Post by Maikel76 »

Musje wrote: Friday 18 March 2022 8:07
Maikel76 wrote: Thursday 17 March 2022 8:52
Lokonli wrote: Wednesday 16 March 2022 16:30 And Dashticz 3.9.1 was working?
Hi Lokonli,

Yes I indeed had version 3.8.9 running after the backup and succesfully updated and running 3.9.1
After that I updated domoticz to version 2022.1 (latest stable) and dashticz was still working.
I then updated to dashticz 3.9.3 a few days later and got the white screen since then
Hi Maikel,

I had this problem once before and in my case i checked the custom folder and found out that i was missing my config files. Copying them back from my backup to the folder solved it for me.
Hi Musje,
Thanks for the tip. Dashticz custom files are backuped my my script every day and where put after the restore. Somehow this seems to be a specific iOS issue in combination with javascript/dashticz. Lokonli is helping me, hopefully we get it solved.
Scripting is my passion, dzVents, LUA, Bash
Dashticz v3.10.7 Beta --Raspbian Buster
edwin1234
Posts: 287
Joined: Sunday 09 October 2016 20:20
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Nederland
Contact:

Re: Dashticz v3 is loading...

Post by edwin1234 »

Hope you share it here, i have the same problem.
Lokonli
Posts: 2290
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3 is loading...

Post by Lokonli »

What kind of iOS device do you use? OS version?

Which Dashticz version?

Is Dashticz master working?

Verstuurd vanaf mijn AC2003 met Tapatalk

StefanDomoticz
Posts: 6
Joined: Wednesday 13 June 2018 21:59
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Dashticz v3 is loading...

Post by StefanDomoticz »

edwin1234 wrote: Friday 18 March 2022 20:33 Hope you share it here, i have the same problem.
Hier zelfde probleem.
Ipad aan de muur betreft ipad mini met oude niet updatebare ios.
Maar ook via docker krijg ik na update niet meer aan de praat.
Alles wat via devices benaderd wordt werkt!
erg vreemd
Lokonli
Posts: 2290
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3 is loading...

Post by Lokonli »

StefanDomoticz wrote:
edwin1234 wrote: Friday 18 March 2022 20:33 Hope you share it here, i have the same problem.
Hier zelfde probleem.
Ipad aan de muur betreft ipad mini met oude niet updatebare ios.
Maar ook via docker krijg ik na update niet meer aan de praat.
Alles wat via devices benaderd wordt werkt!
erg vreemd
Can you test the Dashticz master version? If that's still working I can solve it.

Verstuurd vanaf mijn AC2003 met Tapatalk

Lokonli
Posts: 2290
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3 is loading...

Post by Lokonli »

StefanDomoticz wrote: Saturday 19 March 2022 20:32
edwin1234 wrote: Friday 18 March 2022 20:33 Hope you share it here, i have the same problem.
Hier zelfde probleem.
Ipad aan de muur betreft ipad mini met oude niet updatebare ios.
Maar ook via docker krijg ik na update niet meer aan de praat.
Alles wat via devices benaderd wordt werkt!
erg vreemd
Can you test latest beta version?
It should work ...
edwin1234
Posts: 287
Joined: Sunday 09 October 2016 20:20
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Nederland
Contact:

Re: Dashticz v3 is loading...

Post by edwin1234 »

I did sudo git pull and restarted docker, but still it hangs on dashticz is loading....
If i refresh the page i get 408 request time out, Server timeout waiting for the HTTP request from the client.
Lokonli
Posts: 2290
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3 is loading...

Post by Lokonli »

Check:
https://dashticz.readthedocs.io/en/beta ... out-errors

Verstuurd vanaf mijn AC2003 met Tapatalk

Maikel76
Posts: 71
Joined: Friday 14 August 2020 6:34
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: Bangkok
Contact:

(SOLVED)Re: Dashticz v3 is loading...

Post by Maikel76 »

My problem is solved with the new beta version, thanks a lot Lokonli ! :)
Scripting is my passion, dzVents, LUA, Bash
Dashticz v3.10.7 Beta --Raspbian Buster
edwin1234
Posts: 287
Joined: Sunday 09 October 2016 20:20
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Nederland
Contact:

Re: Dashticz v3 is loading...

Post by edwin1234 »

My error is also solved, its working now :D

Thank u very much
Lokonli
Posts: 2290
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3 is loading...

Post by Lokonli »

edwin1234 wrote:My error is also solved, its working now :D

Thank u very much
Great!

Verstuurd vanaf mijn AC2003 met Tapatalk

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest