New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Review server upgrade and password provider pages #576
Changes from 8 commits
d4ced5e
257f7a9
4816906
d5dd9f2
d95e99b
640a4c3
6e81cfa
b56f7ec
11bf288
bbc0502
e3c90b1
4ace45e
fe4df44
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,9 +19,6 @@ to disable this functionality you should do so now as outlined on the | |
suitable version of PostgreSQL to enable successful upgrading of | ||
the database. | ||
|
||
**Also be aware that at present there is no way of directly upgrading | ||
OMERO.server from the 4.x line to the OMERO.fs (5.x) version.** | ||
|
||
If you encounter errors during a OMERO upgrade, database upgrade, etc. | ||
you should retain as much log information as possible and notify the | ||
OMERO.server team via the mailing lists available on the | ||
|
@@ -37,6 +34,16 @@ below. Please refer to each section for additional details. | |
:local: | ||
:depth: 1 | ||
|
||
.. warning:: | ||
with 5.0.0-beta2, the default JDBC password provider has been modified to | ||
add password salting support. This implies that once a server has been | ||
upgraded and deployed, passwords will be modified, you will not be able | ||
to easily revert to the configuration without salting. To keep using the | ||
legacy password provider without salting support, you will need to | ||
configure ``omero.security.password_provider`` to use the legacy | ||
``chainedPasswordProviderNoSalt`` as described in the | ||
:ref:`legacy_password_providers` section. | ||
|
||
.. warning:: The passwords and logins used here are examples. Please consult | ||
the :ref:`troubleshooting-password` section for explanation. In particular, | ||
make sure to replace the values of **db_user** and **omero_database** | ||
|
@@ -92,16 +99,41 @@ Run the upgrade script | |
^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
You **must** use the same username and password you have defined during | ||
:doc:`unix/server-installation`. The |version| upgrade script should execute in a short time. | ||
:doc:`unix/server-installation`. The |version| upgrade script should execute | ||
in a short time. | ||
|
||
From a |previousversion|.x server | ||
""""""""""""""""""""""""""""""""" | ||
|
||
.. parsed-literal:: | ||
|
||
$ cd |OMEROserverzip| | ||
$ psql -h localhost -U **db_user** **omero_database** < sql/psql/OMERO\ |version|\_\_0/OMERO |previousversion|\_\_0.sql | ||
$ psql -h localhost -U **db_user** **omero_database** < sql/psql/OMERO\ |version|\_\_0/OMERO\ |previousversion|\_\_0.sql | ||
Password for user **db_user**: | ||
... | ||
... | ||
status | ||
status | ||
--------------------------------------------------------------------- | ||
+ | ||
+ | ||
+ | ||
YOU HAVE SUCCESSFULLY UPGRADED YOUR DATABASE TO VERSION OMERO |version|\_\_0+ | ||
+ | ||
+ | ||
|
||
(1 row) | ||
|
||
From a 5.0.0-beta1 server | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Two spaces |
||
"""""""""""""""""""""""""" | ||
|
||
.. parsed-literal:: | ||
|
||
$ cd |OMEROserverzip| | ||
$ psql -h localhost -U **db_user** **omero_database** < sql/psql/OMERO\ |version|\_\_0/OMERO\ |version|\DEV\_\_6.sql | ||
Password for user **db_user**: | ||
... | ||
... | ||
status | ||
--------------------------------------------------------------------- | ||
+ | ||
+ | ||
|
@@ -120,8 +152,8 @@ database which can both save disk space and speed up access times. | |
|
||
.. parsed-literal:: | ||
|
||
$ psql -h localhost -U **db_user** **omero_database** -c "REINDEX DATABASE **omero_database** FORCE;" | ||
$ psql -h localhost -U **db_user** **omero_database** -c "VACUUM FULL VERBOSE ANALYZE;" | ||
$ psql -h localhost -U **db_user** **omero_database** -c 'REINDEX DATABASE "**omero_database**" FORCE;' | ||
$ psql -h localhost -U **db_user** **omero_database** -c 'VACUUM FULL VERBOSE ANALYZE;' | ||
|
||
.. _upgrademergescript: | ||
|
||
|
@@ -140,8 +172,8 @@ For further information on managing your scripts, refer to | |
:doc:`installing-scripts`. If you require help, please contact the OME | ||
developers. | ||
|
||
Update your environment variables | ||
--------------------------------- | ||
Update your configuration | ||
------------------------- | ||
|
||
Environment variables | ||
^^^^^^^^^^^^^^^^^^^^^ | ||
|
@@ -151,6 +183,13 @@ make sure to update any system environment variables. Before restarting | |
the server, make sure your PATH and PYTHONPATH system environment | ||
variables are pointing to the new locations. | ||
|
||
JVM memory settings | ||
^^^^^^^^^^^^^^^^^^^ | ||
|
||
If you modified your memory settings, you will need to remodify these settings | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
for the new server. Refer to the `JVM memory settings` sub-section of the :doc:`installation <unix/server-installation>` section | ||
(:doc:`Windows <windows/server-installation>`) for more information. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe put both hyperlinks inside the parenthesis as |
||
|
||
Changes to OMERO.web URLs | ||
^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sentence could start with a capital letter?