We're Hiring!

OMERO.figure unsuccessful install

General user discussion about using the OMERO platform to its fullest. Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

There are workflow guides for various OMERO functions on our help site - http://help.openmicroscopy.org

You should find answers to any basic questions about using the clients there.

OMERO.figure unsuccessful install

Postby slozosnitram » Mon Apr 18, 2016 9:09 am

Hi Everybody,

Recently I tried to add OMERO.figure to the fully working OMERO . During installation something went wrong and OMERO.insight stopped working. So the question is which files are overwritten when command "bin/omero config append omero.web.apps '"figure"' " executes and how to revert changes or uninstall OMERO.figure ??

Regards slozosnitram
slozosnitram
 
Posts: 34
Joined: Tue Jan 26, 2016 4:39 pm

Re: OMERO.figure unsuccessful install

Postby slozosnitram » Mon Apr 18, 2016 10:21 am

Here is the screenshot of whats going on. What do I need to modify to fix this ?
figure.JPG
figure.JPG (52.56 KiB) Viewed 4039 times
slozosnitram
 
Posts: 34
Joined: Tue Jan 26, 2016 4:39 pm

Re: OMERO.figure unsuccessful install

Postby kennethgillen » Mon Apr 18, 2016 10:38 am

Hi Martins,

Can we please see the output of

Code: Select all
[user@servername ~]$ OMERO-CURRENT/bin/omero config get --hide-password | grep omero.web

All the best,

Kenny
kennethgillen
 
Posts: 254
Joined: Mon Nov 05, 2012 3:39 pm

Re: OMERO.figure unsuccessful install

Postby slozosnitram » Mon Apr 18, 2016 10:44 am

figure_dupe.JPG
figure_dupe.JPG (34.07 KiB) Viewed 4029 times
slozosnitram
 
Posts: 34
Joined: Tue Jan 26, 2016 4:39 pm

Re: OMERO.figure unsuccessful install

Postby kennethgillen » Mon Apr 18, 2016 10:49 am

Hi Martins,

So it looks like the "config append" step has happened twice.

You can set the `omero.web.apps` config to just "figure", removing the duplicate, with the following:

Code: Select all
bin/omero config set omero.web.apps '["figure"]'


Best,

Kenny
kennethgillen
 
Posts: 254
Joined: Mon Nov 05, 2012 3:39 pm

Re: OMERO.figure unsuccessful install

Postby slozosnitram » Mon Apr 18, 2016 11:24 am

OK I executed the command reloaded OMERO and everything works. Thank you very much !!
slozosnitram
 
Posts: 34
Joined: Tue Jan 26, 2016 4:39 pm

Re: OMERO.figure unsuccessful install

Postby kennethgillen » Mon Apr 18, 2016 12:29 pm

slozosnitram wrote:OK I executed the command reloaded OMERO and everything works. Thank you very much !!

We're very glad to hear it, and you're most welcome.

For completeness, to answer your initial question, the figure install updates the OMERO configuration via `bin/omero config update` CLI commands.

Specifically, the `omero.web.apps` and `omero.web.ui.top_links` configuration properties, which are a list of the names of "apps" which can be written and installed to extend the functionality of OMERO.web [1] and a list of hyperlinks which appear in the OMERO.web UI at the top of the page [2].

[1] https://www.openmicroscopy.org/site/sup ... -omero-web

[2] https://www.openmicroscopy.org/site/sup ... .top_links
kennethgillen
 
Posts: 254
Joined: Mon Nov 05, 2012 3:39 pm

Re: OMERO.figure unsuccessful install

Postby slozosnitram » Tue Apr 19, 2016 9:42 am

Sorry guys one more question,

I have unexpected difficulties with "Upload figure export script (need to be Admin)"
Instructions says to do this: path/to/bin/omero script upload omero/figure_scripts/Figure_To_Pdf.py --official
so when I'm doing it I'm getting following password problem
FFigure.JPG
FFigure.JPG (33.57 KiB) Viewed 4006 times

What I'm doing wrong ??
slozosnitram
 
Posts: 34
Joined: Tue Jan 26, 2016 4:39 pm

Re: OMERO.figure unsuccessful install

Postby kennethgillen » Tue Apr 19, 2016 10:48 am

slozosnitram wrote:Sorry guys one more question,

Absolutely no worries.

slozosnitram wrote:I'm getting following password problem
What I'm doing wrong ??


So there are two distinct issues going on here. Let's deal with the first one, the password problem.

You appear to be trying to log into OMERO as 'omero-system-user', and it's failing.

The user you're trying to log in with, 'omero-system-user' has a name which implies 'operating system user' - and you can see, in this case, your shell tells you that you are logged into this linux server as 'omero-system-user'. This will most likely be the operating system user that OMERO is running as. i.e. a linux user.

OMERO has it's own concept of users/groups, known as 'OMERO users', distinct from the users the operating system knows about [1]. So an OMERO instance will start off it's life with a single Administrative OMERO user (i.e. not a linux or operating system user), called 'root'. It is with the 'root' OMERO user account one would log in to OMERO to set up the rest of the system for the users of OMERO.

So you likely need to log into OMERO with an _OMERO_ administrative account, not an operating system account. Find out what admin account you normally use to manage the server, and try a CLI log-in, and let us know if you are still having problems there.

i.e.
Code: Select all
bin/omero login


[1] https://www.openmicroscopy.org/site/sup ... g-password
kennethgillen
 
Posts: 254
Joined: Mon Nov 05, 2012 3:39 pm

Re: OMERO.figure unsuccessful install

Postby kennethgillen » Tue Apr 19, 2016 11:02 am

The second issue is one of paths:

slozosnitram wrote:Instructions says to do this: path/to/bin/omero script upload omero/figure_scripts/Figure_To_Pdf.py --official


There is another instruction, just before `path/to/bin/omero script upload`: as follows:

Code: Select all
$ cd figure/scripts       # NB: important to be in this directory

before running
Code: Select all
$ path/to/bin/omero script upload omero/figure_scripts/Figure_To_Pdf.py --official


From your screenshot, you are in the operating system user's homedir. You'll need to change directory to the `figure/scripts` folder first. i.e.

So using the example from the OMERO.figure docs, i.e. `lib/python/omeroweb` [1]

Code: Select all
cd ~/OMERO.server/lib/python/omeroweb/figure/scripts
~/OMERO.server/bin/omero script upload omero/figure_scripts/Figure_To_Pdf.py --official


[1] http://figure.openmicroscopy.org/
kennethgillen
 
Posts: 254
Joined: Mon Nov 05, 2012 3:39 pm


Return to User Discussion

Who is online

Users browsing this forum: No registered users and 1 guest