mitchellurgero / openrsd

Open Raspberry Pi Server Dashboard
Apache License 2.0
39 stars 13 forks source link

Can't sign in through the web interface. #48

Closed jakehawken closed 2 years ago

jakehawken commented 4 years ago

Using my raspberry pi account and password doesn't work as the instructions say it should. I never get past the login screen.

mitchellurgero commented 4 years ago

Take a look at the logs. You are likely running openrsd under an account that doesn’t have Sudo rights

jakehawken commented 4 years ago

Cool. Where do I find those logs, and what would they say if that were the case?

jKaarlehto commented 4 years ago

I have the same problem. I'm running it on the pi user,

I cant seem to find any apache logs though. my "/var/log/" had these in it:

alternatives.log dpkg.log messages syslog.1 apt faillog pihole unattended-upgrades auth.log firebird pihole-FTL.log user.log boot.log fontconfig.log pihole-FTL.log.1 wtmp bootstrap.log kern.log pihole.log Xorg.0.log btmp lastlog pihole.log.1 Xorg.0.log.old daemon.log lightdm private Xorg.1.log debug lighttpd syslog

mitchellurgero commented 4 years ago

Check out syslog. Since openrsd is its own service, it defaults to logging there.

jKaarlehto commented 4 years ago

It loops this same error, only the restart counter is different each time.

Edit: Got it working! I was using sudo systemctl restart openrsd.service and sudo systemctl status openrsd.service through SSH to look for different errors, using different accounts. I couldn't get it to work.

As a last effort I connected to my pi via remote desktop and opened the terminal through that and ran sudo systemctl restart openrsd.service and now I can log in!