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

after update domoticz to 13680 machinon theme is deconfigured and the theme settings button is lost #89

Closed
kitopopo opened this issue Oct 3, 2021 · 7 comments

Comments

@kitopopo
Copy link

kitopopo commented Oct 3, 2021

Dear friends, afeter update domoticz to 13680 is impossible be able to configure the machinon theme in domoticz.
the theme configuration button is missing. can someone fix the problem? It is the favorite subject of many people. they comment on some of the problem in the domoticz forum

https://www.domoticz.com/forum/viewtopic.php?f=6&t=37117
10

11

@kitopopo
Copy link
Author

kitopopo commented Oct 3, 2021

Hopefully @DewGew can fix this as with a similar issue that occurred in late 2019. Thank you so much in advance. a cordial greeting

@kiddigital
Copy link
Contributor

kiddigital commented Oct 3, 2021

@DewGew or @EdddieN , with Domoticz PR 4942, the way Domoticz processes theme files has been changed.

Domoticz no longer depends on the virtual acttheme directory, which it rewrote each time to 'styles/<theme>'. But as at the moment the Machinon theme depends on this, the theme files do not get loaded anymore as Domoticz now tries to load these files from the (non-existing) acttheme directory, resulting in 404 (file not found) for certain resources.

See also this forum topic.

@kitopopo
Copy link
Author

kitopopo commented Oct 6, 2021

Dear @kiddigital , @DewGew

Good job, it seems that your update has worked.- Since the improvement has only been made in the master branch I have had to remove the beta and install the master again. It seems that everything works. I see a problem with the temperature graphs that are blank. It could be that I have reinstalled the master branch, we will wait a few hours to see if the empty graphs continue or on the contrary they are filled.
1
This problem with the empty graphs also happened at the end of 2020, Graphs not working on Domoticz #68, but let's wait a few hours to see if the graphs are filled. If they are not filled in, I will comment here.

Thanks. Best regards

@kitopopo
Copy link
Author

kitopopo commented Oct 6, 2021

Dear friends @kiddigital @DewGew @EdddieN ,

I confirm that the graphs are not shown in domoticz . the same as in the previous issue,Graphs not working on Domoticz #68.
hope someone can solve the problem soon. Thank you very much in advance.

Best regards

@jordipalet
Copy link

This worked for me with Chrome:

  1. cd ~/domoticz/www/styles/machinon/js
  2. mv moment.js old-moment.js
  3. wget https://momentjs.com/downloads/moment.min.js
  4. service domoticz restart

(before I tried clearing caches in the browser, etc. - but nothing worked)

@kitopopo
Copy link
Author

kitopopo commented Oct 7, 2021

This worked for me with Chrome:

  1. cd ~/domoticz/www/styles/machinon/js
  2. mv moment.js old-moment.js
  3. wget https://momentjs.com/downloads/moment.min.js
  4. service domoticz restart

(before I tried clearing caches in the browser, etc. - but nothing worked)

oh yea, thanks, this also works for me. I don't understand why it is not incluied in the lastest beta or master version in order to solve the problem for all users. Thanks, best regards

@kitopopo
Copy link
Author

kitopopo commented Oct 7, 2021

This worked for me with Chrome:

  1. cd ~/domoticz/www/styles/machinon/js
  2. mv moment.js old-moment.js
  3. wget https://momentjs.com/downloads/moment.min.js
  4. service domoticz restart

(before I tried clearing caches in the browser, etc. - but nothing worked)

oh yea, thanks, this also works for me. I don't understand why it is not incluied in the lastest beta or master version in order to solve the problem for all users. Thanks, best regards

Dear @jordipalet , what is this adress https://momentjs.com/downloads/moment.min.js? it is sure? thanks in advanced

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

4 participants