Rabbit-Company / Passky-Server

Server for Passky (password manager)
https://passky.org
GNU General Public License v3.0
166 stars 22 forks source link

I can't log in to the Admin Panel #47

Open VlaK0r opened 12 months ago

VlaK0r commented 12 months ago

Hello! Thank you for your program.

I enter the account details, press enter and nothing happens.

zigazajc007 commented 12 months ago

Hello,

Can you try to shutdown your Passky server with:

docker-compose down

and start it again with:

docker-compose up -d
VlaK0r commented 12 months ago

I did this, it didn't help

VlaK0r commented 12 months ago

The server itself is working and I can go to its page. But I can't log in to the admin panel.

zigazajc007 commented 12 months ago

Do you see any errors if you execute?

docker logs passky-server
VlaK0r commented 11 months ago

Do you see any errors if you execute?

docker logs passky-server

Linux; Android 13; SM-A525F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Mobil e Safari/537.36" 127.0.0.1 - - [24/Jul/2023:17:51:01 +0000] "GET /cron.php HTTP/1.1" 200 31 "-" "curl/7.81. 0" 5.142.42.106 - - [24/Jul/2023:17:51:05 +0000] "POST /website/actions/login.php HTTP/1.1" 3 02 5 "-" "Mozilla/5.0 (Linux; Android 13; SM-A525F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Mobile Safari/537.36" 5.142.42.106 - - [24/Jul/2023:17:51:05 +0000] "GET / HTTP/1.1" 200 2413 "-" "Mozilla/5.0 ( Linux; Android 13; SM-A525F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Mobil e Safari/537.36"

VlaK0r commented 11 months ago

5.142.42.106 - - [24/Jul/2023:17:56:37 +0000] "POST /website/actions/login.php HTTP/1.1" 3 02 5 "-" "Mozilla/5.0 (Linux; Android 13; SAMSUNG SM-A525F) AppleWebKit/537.36 (KHTML, lik e Gecko) SamsungBrowser/22.0 Chrome/111.0.5563.116 Mobile Safari/537.36" 5.142.42.106 - - [24/Jul/2023:17:56:37 +0000] "GET / HTTP/1.1" 200 2413 "-" "Mozilla/5.0 ( Linux; Android 13; SAMSUNG SM-A525F) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser /22.0 Chrome/111.0.5563.116 Mobile Safari/537.36" 127.0.0.1 - - [24/Jul/2023:17:57:01 +0000] "GET /cron.php HTTP/1.1" 200 31 "-" "curl/7.81. 0"

VlaK0r commented 11 months ago

What does it mean?

zigazajc007 commented 11 months ago

Hello,

There aren't any errors here.

Can you contact me on a Discord: ziga.zajc007 or email: ziga.zajc007@gmail.com

We had similar issue before, so I have deployed a test VPS and let him deploy Passky Server on their own. But this time it worked for him. So he had an issue that I don't remember on his local network.

We can try this as well.

NOXITB commented 11 months ago

Their is an issue for non signed certs on the admin panel because it tries to verify https connection

devneok commented 2 months ago

Docker or Self hosting cannot connect to database, therefore you cannot login into Admin. Check database you will find nothing in there, I cannot connect to DB during install as well. network host I'm looking for a fix as well.

zigazajc007 commented 2 months ago

Docker or Self hosting cannot connect to database, therefore you cannot login into Admin. Check database you will find nothing in there, I cannot connect to DB during install as well. network host I'm looking for a fix as well.

Note that Passky will not create the database or the user, it will only create the tables when /cron.php endpoint gets executed.

  1. Make sure that you have created MySQL user as well as database. Created user needs to have permissions to manage created database.
  2. If you deploy passky server in a docker container, API endpoint /cron.php will get executed every minute. For manual Passky Server deployment you would need to manually execute /cron.php API endpoint (automating this task is recommended -> curl https://domain.com/cron.php)

Also make sure that you can connect to a database with the same credentials provided to Passky using mysql client / command.