Page 1 of 1

Dashticz v3 is loading...

Posted: Wednesday 16 March 2022 15:27
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

Re: Dashticz v3 is loading...

Posted: Wednesday 16 March 2022 16:00
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

Re: Dashticz v3 is loading...

Posted: Wednesday 16 March 2022 16:12
by Lokonli
What is the iOS and Safari version of your iPad 1?

Re: Dashticz v3 is loading...

Posted: Wednesday 16 March 2022 16:21
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

Re: Dashticz v3 is loading...

Posted: Wednesday 16 March 2022 16:30
by Lokonli
And Dashticz 3.9.1 was working?

Re: Dashticz v3 is loading...

Posted: Thursday 17 March 2022 8:52
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

Re: Dashticz v3 is loading...

Posted: Friday 18 March 2022 8:07
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.

Re: Dashticz v3 is loading...

Posted: Friday 18 March 2022 10:23
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.

Re: Dashticz v3 is loading...

Posted: Friday 18 March 2022 20:33
by edwin1234
Hope you share it here, i have the same problem.

Re: Dashticz v3 is loading...

Posted: Saturday 19 March 2022 7:24
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


Re: Dashticz v3 is loading...

Posted: Saturday 19 March 2022 20:32
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

Re: Dashticz v3 is loading...

Posted: Saturday 19 March 2022 22:52
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


Re: Dashticz v3 is loading...

Posted: Friday 25 March 2022 16:27
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 ...

Re: Dashticz v3 is loading...

Posted: Saturday 26 March 2022 7:24
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.

Re: Dashticz v3 is loading...

Posted: Saturday 26 March 2022 7:27
by Lokonli
Check:
https://dashticz.readthedocs.io/en/beta ... out-errors

Verstuurd vanaf mijn AC2003 met Tapatalk


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

Posted: Monday 28 March 2022 15:41
by Maikel76
My problem is solved with the new beta version, thanks a lot Lokonli ! :)

Re: Dashticz v3 is loading...

Posted: Monday 28 March 2022 16:53
by edwin1234
My error is also solved, its working now :D

Thank u very much

Re: Dashticz v3 is loading...

Posted: Monday 28 March 2022 17:27
by Lokonli
edwin1234 wrote:My error is also solved, its working now :D

Thank u very much
Great!

Verstuurd vanaf mijn AC2003 met Tapatalk