Deployment automation: bypass the YouTrack settings screen
Hi All,
I am working on automated deployment of YouTrack. I was able to successfuly install the app but once I open an URL I can see a screen with basic settings: setup of the URL, license, administrative password and environment options. Is it possible to bypass the screen using any configuration or run a CLI script? It would be great to do this from command line (maybe just calling Java).
Any help is appreciated!
Kind regards,
Pavel
I am working on automated deployment of YouTrack. I was able to successfuly install the app but once I open an URL I can see a screen with basic settings: setup of the URL, license, administrative password and environment options. Is it possible to bypass the screen using any configuration or run a CLI script? It would be great to do this from command line (maybe just calling Java).
Any help is appreciated!
Kind regards,
Pavel
Please sign in to leave a comment.
Yes, you can start YouTrack providing target Java parameters from the guide.
Let me know if need any further assistance.
I have passed:
as part of the script youtrack.sh but the screen with the license still in place. What I need is just keep all settings as is and show the first screen of the system.
Any thoughts?
So, the problem is with welcome screen only, correct? Were parameters applied correctly?
The screen should disappear after first YouTrack start. So, when first start YouTrack> save settings. Since second restart attempt you should be redirected to login screen or dashboard if guest user is enabled.
If welcome screen still launches, then you've probably start YouTrack under different OS user. Databases create everytime you start YouTrack under different OS user.
Thank you.
First time YouTrack launches with welcome screen. So bypassing the screen from the very first run is not possible.
Why is that required?
Thank you.
Please let me know if you would consider support for such scenario. Thank you!
Thanks for details!
However, what issues are caused by welcome screen if deploy the way you've mentioned?
Again, thanks and it's almost the case. But you've mentioned necessity of setting parameters as disadvantage. At the same time, deploying application from cli you should pass parameters as well.
I guess, something is unclear here. Business user doesn't see the screen. Welcome setup screen is seen to user who deploys YouTrack. And at this point, your points are not valid.
If still, business user from your example is the person who installs the application, then he passes target parameters via cli. So, he cares about it as well.
This particular example still doesn't shed the light about disadvantages of just checking parameters and clicking the 'Save' button on Welcome screen.
Thank you.
Thanks for scenario. To be clear, I just wanted to know why should this be done in this way. And how can we meet your requirements.
We released the YouTrack support last month. Just found that I have not provided a link for you. https://deploy4me.com/en/install/youtrack.html
If you wish to test just feel free to drop a couple of rows to our community page for free credits. Hope it will help.
Thanks!
Hi Pavel!
Thanks for the deploy... I used it and works fine.
My suggestion is to update regularly the version.
Regards!