You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@syncope.apache.org by PeeDub <pf...@greenarrowlabs.com> on 2018/05/18 03:07:12 UTC

Dumb question I assume ...

... but I can't seem to find out the proper way (hopefully an easy way) to
upgrade Syncope from 2.0.7 to 2.0.8. This was originally a UI installation
on Windows Server/Tomcat.

-----
Paul Fullbright
--
Sent from: http://syncope-user.1051894.n5.nabble.com/

Re: Dumb question I assume ...

Posted by Francesco Chicchiriccò <il...@apache.org>.
On 18/05/2018 15:14, PeeDub wrote:
> So, DO NOT rerun the GUI installer?
>
> How would one rebuild and redeploy? Those were handled automatically by the GUI installer, I believe.

The GUI installer has some limitations - as reported by the Getting 
Started guide - among which there is the inability to handle upgrades
(maybe someone can step up and improve it like so, but not at the moment).

Fortunately, the GUI installer acts as wrapper for the Maven project [1] 
generation, build and deploy; hence, you have two options, to me:

1. find out, from the GUI installer's logs, where are the sources of the 
Maven project generated by it, and which Maven command was run to build; 
about deployment, it's simply copying the WAR files built into the 
Tomcat's webapps directory

2. if the GUI installer logs or directories are not available any more, 
start a new Maven project, configure it for your environment and build 
it, then deploy it; you can find how to generate in [1], and how to 
build and customize it to your needs starting from [2] (DBMS) and [3] 
(deployment directories and build command); please note that, when you 
provide the same database configuration currently in use, the new 
deployment won't overwrite anything, just use the existing data

> Also, do I need to download anything before upgrading or is that handled by the maven build?

Maven will take care of that, of course.
Regards.

[1] 
https://ci.apache.org/projects/syncope/2_0_X/getting-started.html#maven-project
[2] https://syncope.apache.org/docs/reference-guide.html#dbms
[3] https://syncope.apache.org/docs/reference-guide.html#customization

-- 
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
http://home.apache.org/~ilgrosso/


Re: Dumb question I assume ...

Posted by PeeDub <pf...@greenarrowlabs.com>.
Also, do I need to download anything before upgrading or is that handled by
the maven build?

-----
Paul Fullbright
--
Sent from: http://syncope-user.1051894.n5.nabble.com/

Re: Dumb question I assume ...

Posted by PeeDub <pf...@greenarrowlabs.com>.
So, DO NOT rerun the GUI installer?

How would one rebuild and redeploy? Those were handled automatically by the
GUI installer, I believe.

-----
Paul Fullbright
--
Sent from: http://syncope-user.1051894.n5.nabble.com/

Re: Dumb question I assume ...

Posted by Francesco Chicchiriccò <il...@apache.org>.
On 18/05/2018 05:07, PeeDub wrote:
> ... but I can't seem to find out the proper way (hopefully an easy way) to
> upgrade Syncope from 2.0.7 to 2.0.8. This was originally a UI installation
> on Windows Server/Tomcat.

Hi,
alongside with release notes, we usually publish upgrade instructions:

https://cwiki.apache.org/confluence/display/SYNCOPE/Upgrade+from+2.0.7+to+2.0.8

If you went through UI installer, you'll need to apply the changes to 
the local project generated by it, then rebuild and redeploy.
Regards.

-- 
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
http://home.apache.org/~ilgrosso/