unable to login after update
Moderator: leecollings
-
- Posts: 54
- Joined: Saturday 11 March 2023 8:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
unable to login after update
After updating with sudo ./updatebeta (web update did not work) I cannot log in any more.
I tried the sudo ./domoticz -nowwwpwd and the resetpwd methods, clearing browser cache every time, but no luck: it comes with the login screen every time.
I also tried reinstalling every backup I have but that also did not allow me to log in (tried the stored pass and the default).
I have a lot tied into this system so starting from scratch would be an awful lot of work.
Any ideas?
Best regards,
Jeroen
I tried the sudo ./domoticz -nowwwpwd and the resetpwd methods, clearing browser cache every time, but no luck: it comes with the login screen every time.
I also tried reinstalling every backup I have but that also did not allow me to log in (tried the stored pass and the default).
I have a lot tied into this system so starting from scratch would be an awful lot of work.
Any ideas?
Best regards,
Jeroen
- waltervl
- Posts: 5376
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: unable to login after update
You can try to use a different browser eg Firefox instead of Chrome/Edge.
Also be sure you go to the right address https or http and correct port. Some browsers tend to go to https by default.
Also be sure you go to the right address https or http and correct port. Some browsers tend to go to https by default.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 54
- Joined: Saturday 11 March 2023 8:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: unable to login after update
Thx Walter,
tried that, I keep getting the login screen. Also it seems very hard to stop the domoticz service.
it is in a sort of loop:
CGroup: /system.slice/domoticz.service
└─805 /home/pi/domoticz/domoticz -daemonname domoticz -pidfile /var/run/domoticz.pid -www 8080 -sslwww 443 -sslcert /home/pi/domoticz/letsencrypt_server_cert.pem
Mar 01 16:37:25 raspberrypi domoticz.sh[805]: 2024-03-01 16:37:25.670 Error: No (active) users in the system! There should be at least 1 active Admin user!
the last line keeps repeating
tried that, I keep getting the login screen. Also it seems very hard to stop the domoticz service.
it is in a sort of loop:
CGroup: /system.slice/domoticz.service
└─805 /home/pi/domoticz/domoticz -daemonname domoticz -pidfile /var/run/domoticz.pid -www 8080 -sslwww 443 -sslcert /home/pi/domoticz/letsencrypt_server_cert.pem
Mar 01 16:37:25 raspberrypi domoticz.sh[805]: 2024-03-01 16:37:25.670 Error: No (active) users in the system! There should be at least 1 active Admin user!
the last line keeps repeating
-
- Posts: 54
- Joined: Saturday 11 March 2023 8:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: unable to login after update
Ok after some experiments I found the following:
The update causes domoticz to enter a loop with this ' no active user' message. This makes it impossible to stop domoticz or even reinstall a backup. I had to stop it by editing the domoticz.sh file and rebooting the Pi. Now I have reinstalled a backup from 2023, but I still cannot login and the system is still in the same loop as described above. Any ideas please?
The update causes domoticz to enter a loop with this ' no active user' message. This makes it impossible to stop domoticz or even reinstall a backup. I had to stop it by editing the domoticz.sh file and rebooting the Pi. Now I have reinstalled a backup from 2023, but I still cannot login and the system is still in the same loop as described above. Any ideas please?
-
- Posts: 54
- Joined: Saturday 11 March 2023 8:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: unable to login after update
Ok, I managed to partially restore my system with an old full backup from six months ago, getting a 'daily' backups file and an update to beta. The remaining problem is that Zigbeefordomoticz is not working any more, which I will post in another thread. It seems domoticz used to do regular backups automatically and on every update but hasn't done so for over half a year. Is that a bug or am I missing something?
-
- Posts: 561
- Joined: Monday 20 March 2023 14:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Somewhere in NL
- Contact:
Re: unable to login after update
Check with a sqlite browser / editor if in table "Users" at least 1 user is present. If so make that user active by putting a 1 in field 'Active'
I think field "Rights" should be set at 2 for admin user.
if that does not work:
Download the initial startup file from https://github.com/domoticz/domoticz/bl ... omoticz.sh
Remove the /etc/init.d/domoticz.sh and reboot the system, after the reboot check that domoticz is NOT running.
Copy the initial startup file (domoticz.sh) to /etc/init.d and make minimal adjustments to the file.
And start domoticz by that file or a reboot.
I think field "Rights" should be set at 2 for admin user.
if that does not work:
Download the initial startup file from https://github.com/domoticz/domoticz/bl ... omoticz.sh
Remove the /etc/init.d/domoticz.sh and reboot the system, after the reboot check that domoticz is NOT running.
Copy the initial startup file (domoticz.sh) to /etc/init.d and make minimal adjustments to the file.
And start domoticz by that file or a reboot.
Logic will get you from A to B. Imagination will take you everywhere.
-
- Posts: 54
- Joined: Saturday 11 March 2023 8:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: unable to login after update
Thanks Kedi, I will keep that in mind if this happens again. In the meantime, I will take regular backups..
-
- Posts: 1
- Joined: Saturday 20 April 2024 13:10
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: unable to login after update
I just tried to install domoticz after tegistration.
However I cannot any further than the login screen
However I cannot any further than the login screen
- gizmocuz
- Posts: 2394
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: unable to login after update
When installing, domoticz username/password is admin/domoticz
If you lost your password, have a look at our wiki how to resolve this
If you lost your password, have a look at our wiki how to resolve this
Quality outlives Quantity!
Who is online
Users browsing this forum: No registered users and 1 guest