[Support] Linuxserver.io - Domoticz


Recommended Posts

10 hours ago, air_marshall said:

Can we get a tag for the latest stable? 3.8153

 

Currently using the 'latest' tag but experiencing some of the bleeding edge bugs which is ruining the WAF, but I need functionality that was added between the stable tag on the repo and the latest stable release.

 

I made the new branch, but the Jenkins-master is not around at the moment. So have to wait for him to be back to add the new branch to be built. 

Link to comment
On 8/25/2017 at 1:16 AM, Wob76 said:

Going to add another request :)

 

At the moment the custom icon uploading doesn't work, there is permission issues with 2 folders

/tmp and /var/lib/domoticz/www/images

I did a chmod 777 to both and the upload starts to work.

 

But even with it working, the new icons will not survive a docker update and the www/images folder is inside the container. Maybe moving the whole image folder into /config, that would fix the custom icons and floorplans.

 

Thanks,

Wob

+1 on Wob76 request; would love to have www in the config folder.

Link to comment
7 hours ago, soana said:

+1 on Wob76 request; would love to have www in the config folder.

 

It's not possible to move the www folder to /config as there are no option to set it at startup. Symlinking the folder is not an option we will use. 

Normally you would create a subfolder in www for your images? Then we might set up a www folder in /config that copies any subfolders on startup. 

I'll look at it when time permits it. Too busy with work lately. 

  • Upvote 1
Link to comment
  • 4 weeks later...
8 hours ago, air_marshall said:

Forgive my ignorance, but can I just use the branch on github you created anyway, without the tag? If so, how?

 

No you can't unless you build it yourself. 

If you remove domoticz and install it again, you can choose the default branch which gives you the latest development on domoticz github when the image was refreshed weekly. You can also just remove the :stable part after linuxserver/domoticz in the repository box. 

Link to comment
  • 2 weeks later...
6 hours ago, rlust said:

I am trying to restore a DB from another Domoticz install and getting the following error in the logs:

2017-11-14 09:00:02.684 Error: Restore Database: Could not open backup file for writing!

 

Never tried it, so can't say if it works correctly. 

Where did you have the file and what permissions does it have? It should be owned by nobody:users and have 755 permissions for domoticz to have the rights to write. 

Link to comment
  • 1 month later...

I seem to be getting double logging, I searched domoticz and couldn't find an answer there so thinking it may be related to the docker, if I follow the logs I see entries like..

 

2018-01-15 09:42:03.199  (Mi Gateway) General/kWh (Fridge Power Usage)
domoticz: (Mi Gateway) General/kWh (Fridge Power Usage)
 

I usually just grep using ^2018 to reduce the output, but is there a way to stop this behavior?

 

Thanks,

Wbo

Link to comment
36 minutes ago, Wob76 said:

I seem to be getting double logging, I searched domoticz and couldn't find an answer there so thinking it may be related to the docker, if I follow the logs I see entries like..

 

2018-01-15 09:42:03.199  (Mi Gateway) General/kWh (Fridge Power Usage)
domoticz: (Mi Gateway) General/kWh (Fridge Power Usage)
 

I usually just grep using ^2018 to reduce the output, but is there a way to stop this behavior?

 

Thanks,

Wbo

 

Use the log in domoticz instead. 

I'll see if I can limit the logging to the container log.

Link to comment
1 minute ago, saarg said:

 

Use the log in domoticz instead. 

I'll see if I can limit the logging to the container log.

 

That log doesn't go back very far, I can really only filter back minutes, I have busy logs, so it doesn't really help.

 

As mention, using grep filters it down, but seems a waste of resources storing 2 lines in the logs.

Link to comment

I am pulling a fresh container in an attempt to diagnose some crashes I am seeing lately. I ran into the problem awhile ago when updating, but forgot to post.

 

There seems to be an issue with dzVents if you pull the latest version, its looking for it in /config

Error: EventSystem: in /config/dzVents/runtime/dzVents.lua: cannot open /config/dzVents/runtime/dzVents.lua: No such file or directory

I can't actually find dzVents.lua at all, my fix was to git pull dzVents into the config folder.

 

Wob.

Link to comment
11 hours ago, Wob76 said:

I am pulling a fresh container in an attempt to diagnose some crashes I am seeing lately. I ran into the problem awhile ago when updating, but forgot to post.

 

There seems to be an issue with dzVents if you pull the latest version, its looking for it in /config


Error: EventSystem: in /config/dzVents/runtime/dzVents.lua: cannot open /config/dzVents/runtime/dzVents.lua: No such file or directory

I can't actually find dzVents.lua at all, my fix was to git pull dzVents into the config folder.

 

Wob.

 

dzVents is not a part of a domoticz install is it?

Link to comment

Sorry, a rushed response while I was out and about as of 3.8551 dzVents is included according to this thread on the Domoticz forums.

https://www.domoticz.com/forum/viewtopic.php?t=19738

I noticed the error after importing my backup, maybe it only happens after enabling a dzVents script? Are you running any?

My test build is also crashing, so I'll have to dig to find out what's causing it :( I'll do a fresh pull again and see if I can reproduce the error and when it happens.

Sent from my SM-G935F using Tapatalk

Link to comment

I just read more of the first post, under the heading "New Location" he mentions moving the runtime environment and that it will clear out the old location, so I would say when I hit 3.8551 is when I first saw the issue.

 

 

Sent from my SM-G935F using Tapatalk

 

 

 

 

Link to comment
I used 3.8805 and didn't see it. I haven't used any dzVents script though.
But if you have pulled down dzvents from github into the config folder, this might be the reason you see the error. I find dzvents in /config/scripts/
I did the pull after the error, to fix it, I may have messed something up in my database at some point.

The scripts folder is the old location according to that thread.

I'll pull a fresh image at some point and just install a single dzVents script, leaving my database out of it, and report back.

Sent from my SM-G935F using Tapatalk

Link to comment

dzVents is definitely broken in the image.

 

If I pull a fresh docker, and just create a test script, save using the demo code, which does nothing except make a log entry when a switch is pressed, the system becomes unstable, and continually restarts once every minute.

 

I tried making a dummy switch and linking the script to that switch, but its still unstable. If I click said switch I see "Problem sending switch command" and trigger a restart.

 

2018-01-22 11:07:31.636  EventSystem: reset all events...
2018-01-22 11:07:31.636  EventSystem: Write file: /config/scripts/dzVents/generated_scripts/Test.lua
2018-01-22 11:08:00.055  Domoticz V3.8805 (c)2012-2018 GizMoCuz
2018-01-22 11:08:00.055  Build Hash: e160f7cc, Date: 2018-01-10 01:56:44
2018-01-22 11:08:00.067  Startup Path: /var/lib/domoticz/
2018-01-22 11:08:00.097  PluginSystem: Started, Python version '3.6.3'.
2018-01-22 11:08:00.100  Active notification Subsystems: gcm, http (2/14)
2018-01-22 11:08:00.101  WebServer(HTTP) started on address: :: with port 8080
2018-01-22 11:08:00.104  WebServer(SSL) started on address: :: with port 1443
2018-01-22 11:08:00.105  Proxymanager started.
2018-01-22 11:08:00.106  Starting shared server on: :::6144
2018-01-22 11:08:00.107  TCPServer: shared server started...
2018-01-22 11:08:00.107  RxQueue: queue worker started...
2018-01-22 11:08:02.108  EventSystem: reset all events...
2018-01-22 11:08:02.109  EventSystem: Write file: /config/scripts/dzVents/generated_scripts/Test.lua
2018-01-22 11:08:02.111  EventSystem: reset all device statuses...
2018-01-22 11:08:02.131  Python EventSystem: Initalizing event module.
2018-01-22 11:08:02.131  EventSystem: Started
2018-01-22 11:08:02.132  EventSystem: Queue thread started...
2018-01-22 11:08:02.579  PluginSystem: Entering work loop.
2018-01-22 11:08:06.741  Incoming connection from: 192.168.0.250
2018-01-22 11:08:11.207  EventSystem: reset all events...

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.