Code Monkey home page Code Monkey logo

Comments (12)

csutcliff avatar csutcliff commented on August 28, 2024 4

WEBROOT: "/"

works for me to keep the old behaviour.

edit: I'm using ansible so the syntax is probably different but just set it to "/".

from docker-domoticz.

L-Oosterloo avatar L-Oosterloo commented on August 28, 2024 1

I have the same issue.
However if I add the optional environment variable WEBROOT=domoticz then I can get the UI via http://IP:8080/domoticz/

Not sure why the environment variable does no longer seem to be optional in this image

from docker-domoticz.

github-actions avatar github-actions commented on August 28, 2024

Thanks for opening your first issue here! Be sure to follow the bug or feature issue templates!

from docker-domoticz.

ilexpl01 avatar ilexpl01 commented on August 28, 2024

Have the same issue.

from docker-domoticz.

Frank071 avatar Frank071 commented on August 28, 2024

I think I have the same issue. The log shows repetitive
afbeelding
Starting afresh (with an empty config) does not solve it

from docker-domoticz.

niekniek89 avatar niekniek89 commented on August 28, 2024

I have the same issue. However if I add the optional environment variable WEBROOT=domoticz then I can get the UI via http://IP:8080/domoticz/

Not sure why the environment variable does no longer seem to be optional in this image

This works for me now, thnx.

from docker-domoticz.

tobbenb avatar tobbenb commented on August 28, 2024

Domoticz have probably changed something in their new release, until we have fixed the issue, please use a previous tag.

from docker-domoticz.

niekniek89 avatar niekniek89 commented on August 28, 2024

WEBROOT: "/"

works for me to keep the old behaviour.

edit: I'm using ansible so the syntax is probably different but just set it to "/".

this is a great solution for me.

from docker-domoticz.

L-Oosterloo avatar L-Oosterloo commented on August 28, 2024

WEBROOT=/ does not solve the problem. Some json calls on custom sensors no longer work and return a 404. with WEBROOT = domoticz these calls work fine

2022-02-06 00:14:00.303 Error: Error opening url: http://0.0.0.0:8080///json.htm?range=month&sensor=counter&type=graph&actmonth=2&idx=26
2022-02-06 00:14:00.467 Error: dzVents: Error: (3.1.8) AnnualEnergyCost: HTTP/1.1 response: 404 ==>> Not Found
2022-02-06 00:14:00.479 Error: dzVents: Error: (3.1.8) AnnualEnergyCost: An error occurred when calling event handler init with current period settings
2022-02-06 00:14:00.479 Error: dzVents: Error: (3.1.8) AnnualEnergyCost: .../generated_scripts/init with current period settings.lua:197: attempt to index a nil value (field 'json')

from docker-domoticz.

tobbenb avatar tobbenb commented on August 28, 2024

@L-Oosterloo
Does it work if you comment out the -webroot line in /etc/services.d/domoticz/run?

from docker-domoticz.

L-Oosterloo avatar L-Oosterloo commented on August 28, 2024

@tobbenb
Unfortunately that does not work. Still the same errors,

from docker-domoticz.

tobbenb avatar tobbenb commented on August 28, 2024

Then it's not related to this issue and either has to do with your setup or a bug in domoticz.

from docker-domoticz.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.