Question: Can't configure admin menu - Local galaxy [SOLVED]
1
gravatar for makragic
2.4 years ago by
makragic • 20
makragic • 20 wrote:

Hello :)

I'm trying to configure galaxy admin menu, locally, so I can install new tools. I've look every single topic but couldn't find answer to my problem. I'm using Arch Linux.

  1. I've installed galaxy with instructions from: getgalaxy.org
  2. I've copied galaxy.ini.sample to galaxy.ini in galaxy/config directory
  3. I've added lines:
  • tool_dependency_dir = ~/Documents/galaxy/dependency_dir and

  • admin_users = my@email.com

I've register using same email, I've logged in using same email. However, I can't find admin panel anywhere.

Please, can anyone help me to configure this?

admin galaxy local • 1.4k views
ADD COMMENT • link • modified 2.4 years ago • written 2.4 years ago by makragic • 20
2
gravatar for makragic
2.4 years ago by
makragic • 20
makragic • 20 wrote:

I've managed to solve it.

Answer:

You do not add into "galaxy.ini" new line "admin_users = ...", you just need to uncomment line that already exists "admin_users = None" and change None to your email. For some reason, this was the problem.

ADD COMMENT • link written 2.4 years ago by makragic • 20

Ahh, yeah, sorry. I shouldn't have assumed familiarity with the galaxy.ini file -- you even said in the original post that you added the lines instead of editing them, I just didn't read it correctly :/

In any event, I'm glad you managed to figure it out -- I was completely out of things to suggest!

ADD REPLY • link written 2.4 years ago by Dannon Baker ♦ 3.7k

No problem, thanks for trying to help anyway :)

ADD REPLY • link written 2.4 years ago by makragic • 20
1
gravatar for Hotz, Hans-Rudolf
2.4 years ago by
Switzerland
Hotz, Hans-Rudolf • 1.8k wrote:

Have you restarted your galaxy server?

Regards, Hans-Rudolf

ADD COMMENT • link written 2.4 years ago by Hotz, Hans-Rudolf • 1.8k

What exactly do you mean by "restarted"? I've stopped server with CTRL+C, and then run it again. However, nothing changes.

ADD REPLY • link modified 2.4 years ago • written 2.4 years ago by makragic • 20
1

"restarting": stopping the server followed by starting the server, in order to read the changed settings fom 'galaxy.ini'.

other points to look at:

  • reload the galaxy page in the web browser. do you still have no extra tab (labelled: "Admin") in the top Galaxy menu bar

  • double check the spelling of the e-mail address: is it really the same as you get, when you cklick on "User" in the top Galaxy menu bar

  • do you have two galaxy servers running?

  • are you editing the right 'galaxy.ini' file? Change the #brand line in the 'galaxy.ini' file, restart the server, and check wheter you get the extra text in the masthead.

Hans-Rudolf

ADD REPLY • link written 2.4 years ago by Hotz, Hans-Rudolf • 1.8k

Can you explain little bit better what to do about:

  • Change the #brand line in the 'galaxy.ini' file, restart the server, and check wheter you get the extra text in the masthead?

Append "/{brand}" to the "Galaxy" text in the masthead. (this is commented line, I don't know why editor uses bigger font)

brand = None

I've uncommented this line, however still nothing changes. Should it say "brand = None" or "brand = something_else" ?

As for other things you've mentioned, I've done them all, however Admin menu won't appear.

ADD REPLY • link modified 2.4 years ago • written 2.4 years ago by makragic • 20

go for "brand = something_else" and see whether it will display "something_else" after restart of the server and reload of the web page

ADD REPLY • link written 2.4 years ago by Hotz, Hans-Rudolf • 1.8k

Yes it does display it, it says "Galaxy / something_else" in top left corner...

ADD REPLY • link written 2.4 years ago by makragic • 20

Long shot, but the email isn't in quotes, is it? Could you share the exact line?

ADD REPLY • link written 2.4 years ago by Dannon Baker ♦ 3.7k

No it is not in quotes, exact line is:

admin_users = makragic@outlook.com

I've used of course same mail to login into Galaxy.

ADD REPLY • link written 2.4 years ago by makragic • 20
1

I'm a bit stumped. Can you change the line to:

admin_users = makragic@outlook.com,foo@foo.com

And register, as a test, the user foo@foo.com to check if it shows up?

ADD REPLY • link written 2.4 years ago by Dannon Baker ♦ 3.7k

Nothing happens :/. I tried different browser, same thing. Is there any other way to accomplish this?

ADD REPLY • link written 2.4 years ago by makragic • 20
2

So neither user works as an admin?

If you are logged in as one of these users and navigate directly to http://<your_galaxy_instance>/admin , do you get a rejection or do you see the admin panel?

What version of Galaxy are you running?

Lastly, it's a long shot, but you can verify your admin configuration with something like this, which will print the parsed list of admins at launch time (just search your log for ADMIN_USERS):

ADD REPLY • link written 2.4 years ago by Dannon Baker ♦ 3.7k

When I try http:/.../admin I get following message: "You must be logged in as an administrator to access this feature, but no administrators are set in the Galaxy configuration."

As for version, I don't know, I downloaded galaxy few days ago from git using: git clone https://github.com/galaxyproject/galaxy/ and also cd galaxy git checkout -b master origin/master

As for last one: "Lastly, it's a long shot, but you can verify your admin configuration with something like this, which will print the parsed list of admins at launch time (just search your log for ADMIN_USERS)", what tools do I need for this?

ADD REPLY • link written 2.4 years ago by makragic • 20
0
gravatar for makragic
2.4 years ago by
makragic • 20
makragic • 20 wrote:

Any other idea?

ADD COMMENT • link written 2.4 years ago by makragic • 20
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: 171 users visited in the last hour