Hi all

I assume the problem is the encrypted postgis password. Each GeoServer
instance uses its own keys for encryption.

You have to edit the datastore xml file. Lets assume your postgis password
is "mypassword",  edit the following line.

<entry key="passwd">plain:mypassword</entry>


Restart GeoServer, open the GUI for editing the datastore and press
save. Now your password should be encrypted with the proper key. You
should see something like this:


<entry key="passwd">crypt1:I0tBkgH1/YtUojYZXHW7vxZ4e0c2Itxo</entry>


Thats it.


Cheers

Christian

















On Thu, Jul 2, 2015 at 10:03 AM, Ismail, Mark <mark.ism...@knowsley.gov.uk>
wrote:

>  I have a custom GeoServer work directory, when I upgrade a server I copy
> over the whole folder
>
> I.e. workspaces, coverages, styles etc  – I then set up my new GeoServer
> instance to point at it and it’s as if I have cloned GeoServer (except
> extension and plugins which are stored in the tomcat container)
>
>
>
> *Mark Ismail*
>
>
>
> *From:* Paulius Litvinas | InfoEra [mailto:paul...@infoera.lt]
> *Sent:* 02 July 2015 08:21
> *To:* geoserver-users@lists.sourceforge.net
> *Subject:* [Geoserver-users] Copy workspace to other geoserver instance
>
>
>
> Hello,
>
>
>
> Is there a way to copy workspace with it‘s store connection (postgis),
> layers and groups to other geoserver instance. I tried simply to copy
> workspace folder from data dir to other geoserver data dir but this didn‘t
> worked. After restarting geoserver new workspace only apears in list, but
> data connection and all layers and groups of it are missing.
>
>
>
> Maybe there is something I must do more?
>
>
>
> Sincerely,
>
> *Paulius Litvinas*
>
> GIS consultant
>
> [image: line]
>
> [image: map]
>
> S. Žukausko str. 17,
> LT-08234 Vilnius, Lithuania
>
> [image: telephone]
>
> Tel. + 370 5 278 8456
> Mob. +370 656 10 089
>
> [image: mail_and_earth]
>
> paul...@infoera.lt
> www.infoera.lt
>
> [image: info_era_autodesk]
>
>
>
>
>  This e-mail and any attachments are confidential. It may contain
> privileged information and is intended for the named recipient(s) only. It
> must not be distributed without consent. If you are not one of the intended
> recipients, please notify the sender immediately and do not disclose,
> distribute, or retain this email or any part of it and do not take any
> action based on it.
>
> Unless expressly stated, opinions in this email are those of the
> individual sender, and not of Knowsley MBC. Legally binding obligations can
> only be created for, or be entered into on behalf of, Knowsley MBC by duly
> authorised officers or representatives.
>
> Knowsley MBC excludes any liability whatsoever for any offence caused, any
> direct or consequential loss arising from the use, or reliance on, this
> e-mail or its contents. We believe but do not warrant that this e-mail and
> any attachments are virus free. You must therefore take full responsibility
> for virus checking and no responsibility is accepted for loss or damage
> arising from viruses or changes made to this message after it was sent.
> Knowsley MBC reserves the right to monitor and/or record all e-mail
> communications through its network in accordance with relevant legislation.
>
>
> ------------------------------------------------------------------------------
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>


-- 
DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to