Hello guys,
I tried to upgrade my omero server with the brew option .
It didn't work out really. I couldn't update my database. 
I want to know if it is possible to go back and restart the installation?
What I did:
I stopped omero with omero admin stop, than dumped my omero database, mv omero5.0.2 to omero5.0.2old.
I run brew doctor which said that i have to update Xcode ext.
I updated Xcode ext. 
Next I run brew update, brew upgrade.
The folder 5.1.3 is missing in the omero folder path use/local/Cellar/omero.
It is located in the gmp folder.
I'm not able to update the omerodatabase, because the the file is not found.
I don't know what are the next steps?
What should I do know?
ome-www:local benjaminS$ psql -h localhost -U omeroDBuser omeroDB <sql/psql/OMERO5.1_1/OMERO5.0_0.sql
-bash: sql/psql/OMERO5.1_1/OMERO5.0_0.sql: No such file or directory
my database looks like this now:
ome-www:5.1.3 benjaminS$ psql -l
                                    List of databases
   Name    |    Owner    | Encoding |   Collate   |    Ctype    |    Access privileges    
-----------+-------------+----------+-------------+-------------+-------------------------
 omeroDB   | omeroDBuser | UTF8     | de_DE.UTF-8 | de_DE.UTF-8 | 
 postgres  | benjaminS   | UTF8     | de_DE.UTF-8 | de_DE.UTF-8 | 
 template0 | benjaminS   | UTF8     | de_DE.UTF-8 | de_DE.UTF-8 | =c/benjaminS           +
           |             |          |             |             | benjaminS=CTc/benjaminS
 template1 | benjaminS   | UTF8     | de_DE.UTF-8 | de_DE.UTF-8 | =c/benjaminS           +
           |             |          |             |             | benjaminS=CTc/benjaminS
(4 rows)
ome-www:Cellar benjaminS$ brew info omero
ome/alt/omero: stable 5.1.3
http://www.openmicroscopy.org/site/products/omero
/usr/local/Cellar/omero/omero_distold (6655 files, 766M)
  Built from source
/usr/local/Cellar/omero/omerodistold_5_0_0 (7621 files, 2,4G)
  Built from source
/usr/local/Cellar/omero/omerodistold_5_0_1 (6650 files, 1,7G)
  Built from source
/usr/local/Cellar/omero/omerodistold_5_0_2 (6667 files, 5,4G)
  Built from source
From: https://github.com/ome/homebrew-alt/blo ... a/omero.rb
==> Dependencies
Build: pkg-config ✔
Required: hdf5 ✔, jpeg ✔, zeroc-ice35 ✔
Recommended: ccache ✔, mplayer ✔
Optional: nginx ✘
==> Options
--with-cpp
	Build OmeroCpp libraries.
--with-ice34
	Use Ice 3.4.
--with-nginx
	Build with nginx support
--without-ccache
	Build without ccache support
--without-mplayer
	Build without mplayer support
==> Caveats
For non-homebrew Python, you need to set your PYTHONPATH:
export PYTHONPATH=/usr/local/Cellar/omero/5.1.3/lib/python:$PYTHONPATH
To finish the installation, execute omero_python_deps in your
shell:
  ./usr/local/Cellar/omero/5.1.3/bin/omero_python_deps
			
		 
    


