We're Hiring!

Can't access web console 500 error

Having a problem deploying OMERO? 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

The OMERO.server installation documentation begins here and you can find OMERO.web deployment documentation here.

Can't access web console 500 error

Postby pwnage » Fri Jan 21, 2011 9:26 pm

Hey guys,

I just upgraded and all is well with the remote clients and DB. I'm having trouble though with the web consoles for Omero. I'm on a Win 7 VM using IIS. All the ports are open and the strange thing is I had it working before. This is the spicific error I'm getting:

"500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.
A server error occurred. Please contact the administrator."

I looked over the logs and didn't find anything.
pwnage
 
Posts: 23
Joined: Tue Mar 02, 2010 5:45 pm

Re: Can't access web console 500 error

Postby pwnage » Fri Jan 21, 2011 9:41 pm

New development. Now the clients don't work. This might be unrelated but I figure I would throw it out there anyway.

Code: Select all
c:\OMERO>bin\omero web syncmedia
Traceback (most recent call last):
  File "c:\OMERO\bin\\omero", line 123, in <module>
    rv = omero.cli.argv()
  File "c:\OMERO\lib\python\omero\cli.py", line 1151, in argv
    cli.invoke(args[1:])
  File "c:\OMERO\lib\python\omero\cli.py", line 704, in invoke
    stop = self.onecmd(line, previous_args)
  File "c:\OMERO\lib\python\omero\cli.py", line 773, in onecmd
    self.execute(line, previous_args)
  File "c:\OMERO\lib\python\omero\cli.py", line 853, in execute
    args.func(args)
  File "c:\OMERO\lib\python\omero\plugins\web.py", line 190, in syncmedia
    os.remove(os.path.abspath(location / 'media' / app))
WindowsError: [Error 5] Access is denied: u'c:\\OMERO\\lib\\python\\omeroweb\\me
dia\\webgateway'
pwnage
 
Posts: 23
Joined: Tue Mar 02, 2010 5:45 pm

Re: Can't access web console 500 error

Postby atarkowska » Fri Jan 21, 2011 9:44 pm

Hi,

Could you please give more details, how did you get through the installation steps listed on http://www.openmicroscopy.org.uk/site/support/omero4/server/install_web#section-5
Did you face any problems?

Ola
atarkowska
 
Posts: 327
Joined: Mon May 18, 2009 12:44 pm

Re: Can't access web console 500 error

Postby atarkowska » Fri Jan 21, 2011 9:47 pm

Did you try to run it as an administrator?

Ola
atarkowska
 
Posts: 327
Joined: Mon May 18, 2009 12:44 pm

Re: Can't access web console 500 error

Postby pwnage » Fri Jan 21, 2011 10:07 pm

I didn't run this because I was unsure what I was using I'm assuming that I'm using the default.
Code: Select all
bin/omero config set omero.web.application_server "fastcgi-tcp" / "fastcgi" / "development"


I did run these:

I entered in my domain name in place of the "mydomain." I then try changing it back after every thing blew up.
Code: Select all
bin/omero config set omero.web.application_host "http://mydomain.com:80/"


I left this one at the default.
Code: Select all
bin/omero config set omero.web.server_list '[["prod.a.com", 4064, "prod"], ["dev.a.com", 4064, "dev"]]'


I didn't run into any errors when getting everything setup. It went pretty smoothly actually.

You mean run cmd as admin? Yeah I did. I tend to do that for anything I do in cmd.
pwnage
 
Posts: 23
Joined: Tue Mar 02, 2010 5:45 pm

Re: Can't access web console 500 error

Postby pwnage » Fri Jan 21, 2011 10:13 pm

Clients are working again. I rebooted omero with bin\omero admin stop / start. I have no idea if it will fail again. I'm going to test a bit more. Though the web stuff is still an issue.
pwnage
 
Posts: 23
Joined: Tue Mar 02, 2010 5:45 pm

Re: Can't access web console 500 error

Postby pwnage » Fri Jan 21, 2011 10:14 pm

Broke again. Seems like the client is only good for one login and then it tanks the server. I also have tried to start the web server with bin\omero web start. That gives me:

Starting OMERO.web...
WARNING: Unless you **really** know what you are doing you should NOT be using bin\omero web start on Windows with FastCGI.
[OK]
pwnage
 
Posts: 23
Joined: Tue Mar 02, 2010 5:45 pm

Re: Can't access web console 500 error

Postby jmoore » Sat Jan 22, 2011 8:40 am

Are you still attempting to use IIS? If so, you don't need to run bin\omero web start. IIS will start the processes itself.

~Josh
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany

Re: Can't access web console 500 error

Postby pwnage » Mon Jan 24, 2011 4:36 pm

Yeah I'm still trying to use IIS.
pwnage
 
Posts: 23
Joined: Tue Mar 02, 2010 5:45 pm

Re: Can't access web console 500 error

Postby pwnage » Mon Jan 24, 2011 5:29 pm

Alright so I found part of the problem on why I couldn't hit the web console. I had ran a .net update and something in there got messed up. I reinstalled IIS and I can now see the console but am not able to log in.
pwnage
 
Posts: 23
Joined: Tue Mar 02, 2010 5:45 pm

Next

Return to Installation and Deployment

Who is online

Users browsing this forum: No registered users and 1 guest