Problem with Domticz on Windows and Admin rights Topic is solved

Please use template to report bugs and problems. Post here your questions when not sure where else to post
Only for bugs in the Domoticz application! other problems go in different subforums!

Moderators: leecollings, remb0

Forum rules
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.

Use the following template when posting here:

Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....

If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly

If you are replying, please do not quote images/code from the first post

Please mark your topic as Solved when the problem is solved.
Post Reply
SilverShaded
Posts: 15
Joined: Thursday 28 November 2013 21:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Problem with Domticz on Windows and Admin rights

Post by SilverShaded »

Hi,

I'm running domoticz on windows for the last few years and recently had to re-install a load of stuff (Java, Domotics etc). Now the problem I have is when Domoticz runs at startup i can not change anything in it, like the lat/lomgitude etc and the Utilities page has all the old objects on it. Where does it get that information from given that uninstalled and deleted the domotics folder?

Secondly if i run it as Administrator manually, i get what looks like a clean install (as i would expect) and i can edit things and they get saved (e.g. lat itude and longitude) the utilities page is clear.

if i then run it again at a reboot/startup, i get what looks like the old version again which cant be edited and has all the old utilities info still present.

I cant figure out why its doing this? Do i have two copies of Domotics, or is it pulling an old data base from somewhere? (as fas as i know they were all deleted).

Currently very confused...
User avatar
gizmocuz
Posts: 2350
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Problem with Domticz on Windows and Admin rights

Post by gizmocuz »

The database (domoticz.db) should be in the installation folder (usually C:\Program Files (x86)\Domoticz)
Quality outlives Quantity!
SilverShaded
Posts: 15
Joined: Thursday 28 November 2013 21:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Problem with Domticz on Windows and Admin rights

Post by SilverShaded »

Yes, the entire directory was deleted, so i dont know where its picking up old information, or why i cant save any changes, unless i start it as administrator. The old database was deleted and the browser cache erased.
User avatar
gizmocuz
Posts: 2350
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Problem with Domticz on Windows and Admin rights

Post by gizmocuz »

Ahhh if you are not admin, it should get the database from the common appdata folder

I use Total Commander, but you can also use Explorer to navigate to C:\Users\<your user>\AppData

It should be here
Quality outlives Quantity!
SilverShaded
Posts: 15
Joined: Thursday 28 November 2013 21:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Problem with Domticz on Windows and Admin rights

Post by SilverShaded »

Fantastic, you put me on the right track thanks. I found the old data base in ProgramData\Domotics (another hidden folder). The problem seems to be something to do with ownership and permissions. I renamed that folder, ran domotics and restore the database, now i can edit things in domotics and the information gets saved...

That will teach me not to mess with user accounts... :)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest