isard-vdi / isard

Isard VDI. Open Source KVM Virtual Desktops based on KVM Linux and dockers. Please use https://gitlab.com/isard/isardvdi

Home Page:http://www.isardvdi.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fail to login after update IsardVDI

fgonzalezmacias opened this issue · comments

Hello

I just to update my IsardVDI and now I can't to login:

image

And not as admin user

image

Thanks in advance

Please, colud you look at logs?

Hello. Thanks for the update.

After update the system I can to login normal users, but the admin login, it's fail

image

I guess this is due a missing database migration (https://gitlab.com/isard/isardvdi/-/merge_requests/140/diffs#0fca99056e8c8efbf5e9a75cdad5729829d6f6d3_752_751). Restart isard-engine to do it.

docker-compose restart isard-engine

But please, could you look at logs?

Hello.
I did docker-compose restart isard-endine unsuccessfully

I too reboot the server and the same problem

2021/04/20 08:13:17 360 - ERROR - try_isard-hypervisor: socket error, try if ssh is listen in hostname isard-hypervisor with ip address 172.19.0.13 and port 22
2021/04/20 08:13:17 375 - ERROR - try_isard-hypervisor: hypervisor isard-hypervisor failed when trying to connect
2021/04/20 08:13:17 375 - ERROR - try_isard-hypervisor: fail_connected_reason: socket error in ssh port, sshd disabled or firewall

This found in initdb.log

Maybe a firewall problem?

If it was a firewall problem, it would also affect the normal login, no?

I can login at http://miip/login with normal users

Since https://gitlab.com/isard/isardvdi/-/merge_requests/165 was merged, isard-engine doesn't write logs at initdb.log anymore. Please, could you look at docker-compose logs?

I just updated IsardVDI and apparently everything is ok.
My process is:

sudo wget https://isardvdi.com/docker-compose.yml

Download file docker-compose.yml.1

I remove the original docker-compose.yml and rename docker-compose.yml.1 to docker-compose.yml

docker-compose pull

I update and download all the images

docker-compose stop
docker-compose rm -f
docker-compose up -d

image

This is the content of opt/isard-local/logs/engine

The file initdb.log was update this morning.

Are you commenting that this file should no longer be used by IsardVDI?

If this is so, is there something to be done by the user?

What is the location of the log files now?

Thanks

It was all a big mistake on my part, respecto to admin login

I was trying to enter to: https://my_isardvdi/login/isard-admin instead of https://my_isardvdi/isard-admin/login

image

Iimage

Is it normal not to be able to log into https: // my_isardvdi / login / isard-admin?

About logging:
We have logs in two locations. Most of them are at docker logs and some are at file logs in /opt/isard-local/logs.
Before https://gitlab.com/isard/isardvdi/-/merge_requests/165 engine logs are located at /opt/isard-local/logs.
When we will review and merge https://gitlab.com/isard/isardvdi/-/merge_requests/164 webapp logs will be written at docker logs also, so no more logs will be written in /opt/isard-local/logs.
You can read more information about docker logs at https://docs.docker.com/config/containers/logging/. If you would more support about logging, please, open a new issue. I prefer at https://gitlab.com/isard/isardvdi/-/issues. And you can use your favorite language. We understand Catalan, Spanish and English and maybe some others.

About login:
With URL /login/isard-admin you are login to isard-admin category, so you need to use users of isard-admin category if this category exists.

Ok, thanks.

The next issue will be open at gitlab.