I want to change my current development role and put myself into different position to the end of the year. I want new challenges and I want to try to work in different environment – from sandboxed browser to real servers (or containers), with different security model in my head, to work with databases, and I'd like to work with distributed system as well.
I think you should take a VPS, one of (Django || Rails), do a small project all by yourself, and decide if you want to go deeper on any of those things. The alternative is to learn Java and go quickly into an entry-level job, but you won't be able to choose what to learn by doing that, besides the small project will help you learning Java too (but may make it unbearable).