We're Hiring!

Error When Restarting OMERO Web

General and open developer discussion about using OMERO APIs from C++, Java, Python, Matlab and more! Please 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

If you are having trouble with custom code, please provide a link to a public repository, ideally GitHub.

Re: Error When Restarting OMERO Web

Postby wmoore » Fri Jun 24, 2011 12:43 pm

You need to give us more information:

What do you see in the console and var/log/OMEROweb.log when you turn on debugging and do
Code: Select all
$ bin/omero config set omero.web.debug True
$ bin/omero web start


Where are you pointing your browser?
What does the browser say? 404? No server?
Are you running in 'development' mode? ie - have you done:
Code: Select all
$ bin/omero config set omero.web.application_server development

or using Apache etc?
User avatar
wmoore
Team Member
 
Posts: 674
Joined: Mon May 18, 2009 12:46 pm

Re: Error When Restarting OMERO Web

Postby bhcho » Fri Jun 24, 2011 12:58 pm

Hi Josh,

I dont see anything wierd happens from command line when I did it
-bash-3.2$ omero config set omero.web.debug True
-bash-3.2$ omero web start
Starting OMERO.web... [OK]
-bash-3.2$ sudo chown wwwsrv /usr0/local/omero.server/OMERO.server-Beta-4.2.1/var/django_fcgi.sock
[sudo] password for bhcho:
-bash-3.2$





Where are you pointing your browser?
What does the browser say? 404? No server?
Are you running in 'development' mode? ie - have you done:

Code: Select all
$ bin/omero config set omero.web.application_server development


or using Apache etc?

the browser says "500 Internal Server Error"
we are running omero.web server using Apache (web on production)
bhcho
 
Posts: 236
Joined: Mon Apr 05, 2010 2:15 pm

Re: Error When Restarting OMERO Web

Postby bhcho » Fri Jun 24, 2011 7:36 pm

hi josh,

we figured out why.
we accidentally removed 'webtest' folder under omeroweb, thinking we added it by our purpose.
And we accidentally did not comment out the "omeroweb.webtest" in INSTALLED_APPS in setting.py.

that caused the error because the initialization process is trying to find the 'webtest' app, which does not exist any more.

after we moved the folder, omeroweb works.
it also works when we comment out the 'omeroweb.webtest' from settings.py.

thanks for your help and sorry for bothering you for our bad.

BK
bhcho
 
Posts: 236
Joined: Mon Apr 05, 2010 2:15 pm

Previous

Return to Developer Discussion

Who is online

Users browsing this forum: Google [Bot] and 1 guest