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
13 comments
Comment actions Permalink
Hello Pavel,

Yes, you can start YouTrack providing target Java parameters from the guide.

Let me know if need any further assistance.
0
Comment actions Permalink
Thank you for the link. It actually didn't help.
I have passed:
-Djetbrains.youtrack.baseUrl=http://ec2...ap-southeast-1.compute.amazonaws.com -Droot.email=root@localhost -Djetbrains.youtrack.overrideRootPassword=root

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?
0
Comment actions Permalink
Hello Pavel,

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.
0
Comment actions Permalink
So, there are no way to bypass the welcome screen? The behavior I need: first time I load the system I should see the next screen. Is ot possible?
0
Comment actions Permalink
Pavel,

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.
0
Comment actions Permalink
Ok, if it is not supported we can live with it. Just make note that all other systems are supporting such behavior. In our deployment service we have managed to do this for Joomla, MODX, Wordpress and 10 more popular products and CMS.
Please let me know if you would consider support for such scenario. Thank you!
0
Comment actions Permalink
Pavel,

Thanks for details!
However, what issues are caused by welcome screen if deploy the way you've mentioned?
0
Comment actions Permalink
For me it is obvious. Business user who just wants to manage the agile team needs YouTrack just to be installed. Nobody wants take care about root password or license. If it just a trial installation for evaluation or real installation for a small company then all deployment should be done under the hood. So, for me the main disadvantage of the home screen is the necessity to setup root password and additional checkboxes by business user who have no idea about system yet.
0
Comment actions Permalink
Pavel,

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.
0
Comment actions Permalink
Up to you. I believe our scenario is how it should work. This is what our users are expecting.
0
Comment actions Permalink
Pavel,

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.
0
Comment actions Permalink
Andrey,

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!
0
Comment actions Permalink

Hi Pavel!

Thanks for the deploy... I used it and works fine.

My suggestion is to update regularly the version.

Regards!

0

Please sign in to leave a comment.