Can't open web UI.

Freccialata

Community Member
View Badges
Joined
Jan 31, 2020
Messages
53
Reaction score
98
Location
Rome (Italy)
Rating - 0%
0   0   0
Hi everyone.
Raspberry is online and update.
Reef-Pi is installed with the latest version.
I've always accessed with my browser.
Last week I tried the https access and turn back to http.
After that however I've accessed the reef-pi web user interface.
Yesterday I tried to access again and EVERY browser (brave, chrome, safary and firefox) writes me that the site is not secure.
Some browser reports that the site (192.168.X.X) is unattainable.
Some browser gives me the blank page.
I can log in to the raspberry with ssh connection.
The reef-pi service is running.
I have restarted the service from terminal several times, but I still can't open the web UI.
Reef-Pi service however sends data to my home assistant mqtt server.

Is it possible to solve the problem without uninstall reef-pi and install it again?
I have a february backup of reef-pi.

Thank you in advance for your suggestions.
 

Sral

Valuable Member
View Badges
Joined
May 2, 2022
Messages
1,006
Reaction score
976
Location
Germany
Rating - 0%
0   0   0
Hm, another guy swapped thw SD card into a different PI, not sure how well that works and how much that would help.

You might also try getting the current database through the API or console, as partially described in the troubleshooting guide. Not sure about the exact command here, though. @Ranjib any help with the Shell commands or API addresses needed ?
Might look into the journal for errors, as described in that guide as well.

Another way would be to use WinSCP to try and download the current database from the filesystem, that would help to get the current state for a re-install.
 
OP
OP
F

Freccialata

Community Member
View Badges
Joined
Jan 31, 2020
Messages
53
Reaction score
98
Location
Rome (Italy)
Rating - 0%
0   0   0
My problem is solved, thank you for the DB suggestion, Sral.
As I told you, I could connect to the raspberry via ssh.
I've located the DB directory.
In the directory there was the reef-pi.db.old file (the original db file).
First I've renamed the reef-pi.db file in reef-pi.db.old2, than I've renamed the reef-pi.db.old file in reef-pi.db.
After that, I was able to connect with my browser.
I've uploaded the february db backup and everything works fine.
Thank you everyone.
 

Sral

Valuable Member
View Badges
Joined
May 2, 2022
Messages
1,006
Reaction score
976
Location
Germany
Rating - 0%
0   0   0
Glad I was of help !

Sounds like a strange setting in that database for whatever reason. I think somebody else had a similar problem, where the port on the WiFi/Hostname setting was incorrect, or something ...
 

Reefing threads: Do you wear gear from reef brands?

  • I wear reef gear everywhere.

    Votes: 20 13.7%
  • I wear reef gear primarily at fish events and my LFS.

    Votes: 10 6.8%
  • I wear reef gear primarily for water changes and tank maintenance.

    Votes: 1 0.7%
  • I wear reef gear primarily to relax where I live.

    Votes: 22 15.1%
  • I don’t wear gear from reef brands.

    Votes: 83 56.8%
  • Other.

    Votes: 10 6.8%
Back
Top