su - omero -c "bash -eux setup_omero.ginx.sh"
I receive the error
bash: setup_omero.nginx.sh: No such file or directory
do I need to point to setup_omero.nginx.sh? If so where is the file located or how do I fix this problem?
Shane
su - omero -c "bash -eux setup_omero.ginx.sh"
bash: setup_omero.nginx.sh: No such file or directory
OMERO.server/bin/omero config set omero.web.application_server wsgi-tcp
OMERO.server/bin/omero web config nginx --http "$OMERO_WEB_PORT" > OMERO.server/nginx.conf.tmp
where $OMERO_WEB_PORT is your chosen port e.g. 80
it seems that the file is not available in our documentation (that's a bug)
The following steps are run as the omero system user.
OMERO should now be set up. To start the server run:
OMERO.server/bin/omero admin start
If you deploy with Nginx, to start the OMERO.web client run:
OMERO.server/bin/omero web start
$ cd bin
$ ./omero config get
FATAL: OMERO directory does not exist: OMERO
Starting OMERO.web... [OK]
shaneklumpp wrote:huh. When I use ./omero config get It returns my omero.data.dir and omero.db.name inputs (All of them I believe) but ./omero admin start saysFATAL: OMERO directory does not exist: OMERO
although when I run ./omero web start the OMERO.web starts I believe. As I go the messageStarting OMERO.web... [OK]
any ideas on ./omero admin start?
mkdir -p "$OMERO_DATA_DIR"
chown omero "$OMERO_DATA_DIR"
OMERO.server/bin/omero config set omero.data.dir "$OMERO_DATA_DIR"
OMERO_SERVER=${OMERO_SERVER:-/home/omero/OMERO.server}
OMERO_USER=${OMERO_USER:-omero}
OMERO=${OMERO_SERVER}/bin/omero
start() {
echo -n $"Starting $prog:"
su - ${OMERO_USER} -c "${OMERO} admin start" &> /dev/null && echo -n ' OMERO.server'
RETVAL=$?
[ "$RETVAL" = 0 ]
echo
}
shaneklumpp wrote:OMERO_SERVER=${OMERO_SERVER:-/home/omero/OMERO.server}
...
There are several environmental variables (I believe) such as ${OMERO_USER}, am I supposed to replace that with my OMERO_USER which is just omero? or should I leave the file perfectly as is and just use it as a copy-paste method?
omero@ip-172-31-18-162:~/OMERO.server/bin$ ./omero admin start
No descriptor given. Using etc/grid/default.xml
Waiting on startup. Use CTRL-C to exit
Users browsing this forum: No registered users and 0 guests