Keep getting logged out on latest rancher

Just following up here if anyone might know what is going on, or where ./DATA is so I can try and figure out what is up. I do use bindmounts for the database but this seems to be complaining about something else.

It’s in /var/lib/cattle/ inside the rancher/server container.

root@8c72490a880e:/var/lib/cattle# ls -al total 20 drwxr-xr-x 4 root root 4096 Nov 30 22:53 . drwxr-xr-x 30 root root 4096 Nov 25 13:50 .. drwxr-xr-x 3 root root 4096 Nov 30 22:53 DATA -rw-r--r-- 1 root root 105 Nov 30 22:51 keys.properties drwxr-xr-x 2 root root 4096 Dec 8 04:34 logs root@8c72490a880e:/var/lib/cattle# ls -al DATA/ total 12 drwxr-xr-x 3 root root 4096 Nov 30 22:53 . drwxr-xr-x 4 root root 4096 Nov 30 22:53 .. drwxr-xr-x 7 root root 4096 Nov 30 22:53 .git root@8c72490a880e:/var/lib/cattle# ls -al DATA/.git/ total 40 drwxr-xr-x 7 root root 4096 Nov 30 22:53 . drwxr-xr-x 3 root root 4096 Nov 30 22:53 .. -rw-r--r-- 1 root root 23 Nov 30 22:53 HEAD drwxr-xr-x 2 root root 4096 Nov 30 22:53 branches -rw-r--r-- 1 root root 164 Nov 30 22:53 config -rw-r--r-- 1 root root 73 Nov 30 22:53 description drwxr-xr-x 2 root root 4096 Nov 30 22:53 hooks drwxr-xr-x 2 root root 4096 Nov 30 22:53 info drwxr-xr-x 4 root root 4096 Nov 30 22:53 objects drwxr-xr-x 4 root root 4096 Nov 30 22:53 refs root@8c72490a880e:/var/lib/cattle# cat DATA/.git/config [core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true [remote "origin"] url = https://github.com/rancher/rancher-catalog.git

Do you think this might be solved by a restart of the container maybe?

You can just rm -rf DATA, it will re-download, but I’m not sure how it ended up with an empty copy of the repo to begin with (there should be other folders in DATA besides .git).

I believe this was also fixed in v0.49 so that it cleans up after itself if it ends up in this situation.

Didn’t noticed 0.49, upgrading fixed it.

Thanks @vincent

Also haven’t had the logout issue in awhile, I will make a new post if it pops up again with the information I now know to gather.