Finally I success the upgrade for the database:
- Code: Select all
omero@omero:~/OMERO.server-5.4.1-ice36-b75$>psql -h localhost -U db_omero omero_database < sql/psql/OMERO5.4__0/OMERO5.3__0.sql
Mot de passe pour l'utilisateur db_omero :
BEGIN
CREATE FUNCTION
omero_assert_db_version
-------------------------
(1 ligne)
DROP FUNCTION
CREATE FUNCTION
CREATE FUNCTION
assert_db_server_prerequisites
--------------------------------
(1 ligne)
DROP FUNCTION
DROP FUNCTION
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
CREATE TABLE
INSERT 0 1
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE TRIGGER
CREATE TABLE
CREATE INDEX
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE TRIGGER
CREATE TRIGGER
CREATE TRIGGER
CREATE TRIGGER
CREATE FUNCTION
CREATE FUNCTION
CREATE TRIGGER
CREATE TRIGGER
CREATE INDEX
DROP TABLE
CREATE TABLE
CREATE INDEX
CREATE FUNCTION
DROP INDEX
CREATE INDEX
UPDATE 1
status
---------------------------------------------------------------------
+
+
+
YOU HAVE SUCCESSFULLY UPGRADED YOUR DATABASE TO VERSION OMERO5.4__0+
+
+
(1 ligne)
COMMIT
The omero server is working :
- Code: Select all
omero@omero:~$>omero admin diagnostics
================================================================================
OMERO Diagnostics (admin) 5.4.1-ice36-b75
================================================================================
Commands: java -version 1.8.0 (/usr/bin/java)
Commands: python -V 2.7.5 (/usr/bin/python)
Commands: icegridnode --version 3.6.4 (/usr/bin/icegridnode)
Commands: icegridadmin --version 3.6.4 (/usr/bin/icegridadmin)
Commands: psql --version 9.6.5 (/usr/bin/psql)
Server: icegridnode running
Server: Blitz-0 active (pid = 31849, enabled)
Server: DropBox active (pid = 31871, enabled)
Server: FileServer active (pid = 31875, enabled)
Server: Indexer-0 active (pid = 31879, enabled)
Server: MonitorServer active (pid = 31881, enabled)
Server: OMERO.Glacier2 active (pid = 31883, enabled)
Server: OMERO.IceStorm active (pid = 31894, enabled)
Server: PixelData-0 active (pid = 31895, enabled)
Server: Processor-0 active (pid = 31896, enabled)
Server: Tables-0 active (pid = 31907, enabled)
Server: TestDropBox inactive (enabled)
Log dir: /home/omero/OMERO.server/var/log exists
Log files: Blitz-0.log 827.0 KB errors=2 warnings=1
Log files: Blitz-0.log.gz 2.0 KB
Log files: DropBox.log 7.0 KB errors=8 warnings=4
Log files: FileServer.log 1.0 KB
Log files: Indexer-0.log 64.0 KB errors=4 warnings=0
Log files: MonitorServer.log 2.0 KB
Log files: OMEROweb.lock 0.0 KB
Log files: OMEROweb.log 0.0 KB
Log files: PixelData-0.log 65.0 KB errors=4 warnings=0
Log files: Processor-0.log 3.0 MB errors=859 warnings=1718
Log files: Tables-0.log 3.0 MB errors=859 warnings=1718
Log files: TestDropBox.log n/a
Log files: master.err 3.0 KB errors=4 warnings=7
Log files: master.out 0.0 KB
Log files: Total size 7.13 MB
Environment:OMERO_HOME=(unset)
Environment:OMERO_NODE=(unset)
Environment:OMERO_MASTER=(unset)
Environment:OMERO_USERDIR=(unset)
Environment:OMERO_TMPDIR=/tmp
Environment:PATH=/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/dell/srvadmin/bin:/home/omero/OMERO.server/bin/
Environment:PYTHONPATH=(unset)
Environment:ICE_HOME=(unset)
Environment:LD_LIBRARY_PATH=(unset)
Environment:DYLD_LIBRARY_PATH=(unset)
OMERO SSL port:4064
OMERO TCP port:4063
OMERO data dir:'/OMERO' Exists? True Is writable? True
OMERO temp dir:'/tmp' Exists? True Is writable? True (Size: 488275)
JVM settings: Blitz-${index} -Xmx5027m -XX:MaxPermSize=1g -XX:+IgnoreUnrecognizedVMOptions
JVM settings: Indexer-${index} -Xmx3351m -XX:MaxPermSize=1g -XX:+IgnoreUnrecognizedVMOptions
JVM settings: PixelData-${index} -Xmx5027m -XX:MaxPermSize=1g -XX:+IgnoreUnrecognizedVMOptions
JVM settings: Repository-${index} -Xmx3351m -XX:MaxPermSize=1g -XX:+IgnoreUnrecognizedVMOptions
And Now for the web server, I downloaded the OMERO.py 5.4.1 link the OMERO.py to the new version :
- Code: Select all
omero@omero:~$>ls -l
total 32
drwx------. 4 omero omero 4096 23 août 17:54 omero
drwxrwxr-x 9 omero omero 4096 21 sept. 17:36 Omero_Backup
-rwxrw-r-- 1 omero omero 745 6 oct. 09:16 omero_clean_and_backup.sh
lrwxrwxrwx 1 omero omero 24 8 déc. 15:05 OMERO.py -> OMERO.py-5.4.1-ice36-b75
drwxr-xr-x 8 omero omero 4096 18 août 14:29 OMERO.py-5.3.3-ice36-b63
drwxr-xr-x 8 omero omero 4096 8 déc. 15:07 OMERO.py-5.4.1-ice36-b75
lrwxrwxrwx 1 omero omero 24 18 août 14:21 OMERO.py-old -> OMERO.py-5.3.3-ice36-b63
lrwxrwxrwx 1 omero omero 28 6 déc. 15:16 OMERO.server -> OMERO.server-5.4.1-ice36-b75
drwxr-xr-x. 9 omero omero 4096 17 août 15:58 OMERO.server-5.3.3-ice36-b63
drwxr-xr-x 9 omero omero 4096 22 nov. 20:41 OMERO.server-5.4.1-ice36-b75
lrwxrwxrwx. 1 omero omero 29 17 août 15:56 OMERO.server-old -> OMERO.server-5.3.3-ice36-b63/
drwxr-xr-x 5 root root 4096 18 août 12:56 omerowebvenv
But after restarting the ngnix server and the omero-web service I can't connect to the web omero page:
Go back to OMERO.web
Page not found. (404)
The requested object or URL was not found on this server. The link you followed is either outdated, inaccurate, or the server has been instructed not to let you have it.
Should I have to copy some files from the old omero.py version to the new one?
Philippe