Question: admin privileges into galaxy
1
gravatar for denisem12
2.2 years ago by
denisem1210
denisem1210 wrote:

hello, I just installed galaxy on my own but now I need to give me (the user) admin privileges and I'm completely stuck 'cause whatever I type in the terminal it doesn't do anything. Any help?

Thanks

ADD COMMENTlink modified 2.2 years ago by Jennifer Hillman Jackson25k • written 2.2 years ago by denisem1210
0
gravatar for Jennifer Hillman Jackson
2.2 years ago by
United States
Jennifer Hillman Jackson25k wrote:

Hello,

The process goes like this:

  • Launch Galaxy the first time and allow it to configure
  • Stop the server
  • Edit the galaxy.ini file to add in the email address of the admin (or admins)
  • Start the server up again
  • Register the admin accounts through the user interface
  • Refresh the browser window and the "Admin" masthead button will now appear/be available

I am wondering if you stopped your Galaxy server first before typing in the terminal again? You will want the server down before you make the admin changes to the galaxy.ini file as described at http://getgalaxy.org. That way when Galaxy is restarted, those core changes take effect.

If the terminal window is completely unresponsive that is probably not Galaxy related. Maybe open a new window and start there? You can kill the process running Galaxy from another terminal window, if you need to.

Hopefully this helps, Jen, Galaxy team

ADD COMMENTlink written 2.2 years ago by Jennifer Hillman Jackson25k

Thanks Jennifer!

But the thing is

1) I don't know how to stop galaxy

I tried to do it as it is described in the galaxy web page (hit ctrl -c) but it doesn't do anything. I tried several things but it doesn't work. How do I know that Galaxy has stopped?

2) I don't know how to edit the galaxy.ini file. Where is it, how do I access it?

Thanks again!

DEnise

ADD REPLYlink written 2.2 years ago by denisem1210

Hello Denise,

Is there someone where you are working/going to school who has some command-line experience that can help you? Both of these should only take about 5 minutes (max) for someone experienced. If not, then you can try yourself. I included line-command tutorial links below, but there are many more resources on the web that can be googled.

1) Stopping Galaxy. The command to stop Galaxy is to be entered into the same terminal window that Galaxy was first launched in, with the process in the foreground. If that is not available, active jobs/processes on your computer can be killed in another window - including the one running Galaxy. You might need to kill all of them if you cannot tell which is associated with Galaxy. General Linux job control how-to: http://linuxcommand.org/lc3_lts0100.php

2) Editing the galaxy.ini file. This can be done with any line-command text editor (vi, vim, emacs, etc). If you are running this on a MAC, a GUI text editor like TextEdit could be used - but be very very careful to not introduce extra spaces, extra lines, change more content than the target lines described at http://getgalaxy.org, or alter the file name (when you "save" do not add ".txt" or ".doc" or anything else to the name as an extension). This is some useful help for the vim editor if you want to try that, it is one of the simplest and useful basic line command text editors in my opinion: http://linuxcommand.org/lc3_man_pages/vim1.html

ADD REPLYlink written 2.2 years ago by Jennifer Hillman Jackson25k

Hello Denise, After thinking about this more and discussing it with our admin, I am going to add more line-command details about how to manipulate the galaxy.ini file for admin privileges at the wiki page http://getgalaxy.org. This may take a few days to get it complete to cover all steps - look for it early next week.

You can go ahead and try to work this out now yourself, but if you want to wait, this should help you and others that are not familiar with the line command.

I am still considering adding in some help for stopping the Galaxy server once the primary terminal is lost or the process is running in the background. The how-to for this isn't as specific to execute, but perhaps some general pointers can be added that will be globally useful.

Thanks for bringing the topic up. This extra documentation should be useful to many biologists that want to set up a simple local but do not have line-command experience. It will not cover all situations, but will not be as vague as a general linux tutorial would be to sort through.

Jen

ADD REPLYlink written 2.2 years ago by Jennifer Hillman Jackson25k

Great!!

Thank you so much!!

Denise

ADD REPLYlink written 2.2 years ago by denisem1210

If there is only one user, couldn't they just use the default Admin account? Isn't it username:admin, password:admin ? Or is there a reason for not doing this?

ADD REPLYlink written 2.2 years ago by steve30

Hi - This will not work on local created from Github as far as I know. I put a one line command for doing the admin changes into the wiki, see the post below. Thanks for the comments anyway! Making some sort of default admin is another idea we can consider. Jen

ADD REPLYlink written 2.2 years ago by Jennifer Hillman Jackson25k

Update: The instructions at http://getgalaxy.org have been updated to include help for doing the changes. Hope this helps you and others. Jen, Galaxy team

ADD REPLYlink modified 2.2 years ago • written 2.2 years ago by Jennifer Hillman Jackson25k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 182 users visited in the last hour