Deploying omero in one step
Posted: Fri Oct 13, 2017 3:13 pm
I have struggled to understand the Ubuntu 16.04 instruction guide as most of the guide makes references to other guides, but ultimately it leads to a misunderstanding as how OMERO.web and OMERO.server differ.
To me atleast what I don't understand is why OMERO.web and OMERO.server both have the same directories built within them. Both have OMERO.server and OMERO.server-5.2.7-ice35-b40. So to my knowledge I don't know whether people are referring to bin/omero commands for the server or web client.
I have opted to use Docker which can deploy the server, web client, and PostgresSQL database all in one command. Hadrien Mary's repository https://github.com/hadim/docker-omero is exactly what I was looking for.
I start docker with the following command:
What worries me is the 8th/7th to last lines that read:
If I presume everything is okay, I can open my browser to 0.0.0.0:80 and use root and password as described by Hadrien, but here is my output:
So now I'm stuck without a password. Anyone with docker experience may be able to read through the files and understand where the Dockerfile's have been set up incorrectly but I'm fairly new (2 days) to docker which is why I'm not sure how to fix the issue.
To me atleast what I don't understand is why OMERO.web and OMERO.server both have the same directories built within them. Both have OMERO.server and OMERO.server-5.2.7-ice35-b40. So to my knowledge I don't know whether people are referring to bin/omero commands for the server or web client.
I have opted to use Docker which can deploy the server, web client, and PostgresSQL database all in one command. Hadrien Mary's repository https://github.com/hadim/docker-omero is exactly what I was looking for.
I start docker with the following command:
- Code: Select all
mgitt@mgpc:~/workspace/omero/docker-omero$ docker-compose up
Starting omero-data ...
Starting omero-data ... done
Starting omero-db ...
Starting omero-db ... done
Starting omero-server ...
Starting omero-server ... done
Starting omero-web ...
Starting omero-web ... done
Attaching to omero-data, omero-db, omero-server, omero-web
omero-db | LOG: database system was interrupted; last known up at 2017-10-13 14:46:57 UTC
omero-server | Waiting for database server to be up.
omero-db | FATAL: the database system is starting up
omero-data exited with code 0
omero-db | LOG: database system was not properly shut down; automatic recovery in progress
omero-web | 2017-10-13 15:04:08,570 CRIT Supervisor running as root (no user in config file)
omero-web | 2017-10-13 15:04:08,572 INFO supervisord started with pid 1
omero-db | LOG: record with zero length at 0/20E6BF8
omero-db | LOG: redo is not required
omero-db | LOG: MultiXact member wraparound protections are now enabled
omero-db | LOG: database system is ready to accept connections
omero-db | LOG: autovacuum launcher started
omero-web | 2017-10-13 15:04:09,574 INFO spawned: 'nginx' with pid 9
omero-web | 2017-10-13 15:04:09,576 INFO spawned: 'omero_web' with pid 10
omero-web | 2017-10-13 15:04:11,481 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
omero-web | 2017-10-13 15:04:11,481 INFO success: omero_web entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
omero-web | 2017-10-13 15:04:12,292 INFO exited: omero_web (exit status 96; not expected)
omero-server | ln: failed to create symbolic link 'lib/scripts/custom_scripts/omero_scripts': File exists
omero-web | 2017-10-13 15:04:13,294 INFO spawned: 'omero_web' with pid 42
omero-web | 2017-10-13 15:04:15,053 INFO success: omero_web entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
omero-web | 2017-10-13 15:04:15,852 INFO exited: omero_web (exit status 0; expected)
omero-web | 2017-10-13 15:04:15,889 INFO reaped unknown pid 64
omero-web | 2017-10-13 15:04:15,889 INFO reaped unknown pid 65
omero-server | No descriptor given. Using etc/grid/default.xml
What worries me is the 8th/7th to last lines that read:
- Code: Select all
omero-web | 2017-10-13 15:04:12,292 INFO exited: omero_web (exit status 96; not expected)
omero-server | ln: failed to create symbolic link 'lib/scripts/custom_scripts/omero_scripts': File exists
If I presume everything is okay, I can open my browser to 0.0.0.0:80 and use root and password as described by Hadrien, but here is my output:
So now I'm stuck without a password. Anyone with docker experience may be able to read through the files and understand where the Dockerfile's have been set up incorrectly but I'm fairly new (2 days) to docker which is why I'm not sure how to fix the issue.