Re: Docker restore from mastercontent.xml

2022-10-31 Thread Francesco Chicchiriccò

Hi Christopher,
I am afraid the issue is confirmed, only when running via Docker:

https://issues.apache.org/jira/browse/SYNCOPE-1707

Regards.

On 28/10/22 17:32, Christopher Brown wrote:

Thanks, that worked. However with M1 when I try to create a schema a Plain 
schema entry in the console nothing happens. The logs show the following error:

 2022-10-28 14:42:23.495 ERROR [IO-1 task-6] io.undertow.request                
                  : UT005023: Exception handling request to 
/syncope-console/wicket/bookmarkable/org.apache.syncope.client.console.pages.Types

java.lang.NoClassDefFoundError: Could not initialize class 
net.sf.cglib.proxy.Enhancer
      at 
org.apache.wicket.proxy.cglib.CglibProxyFactory.createProxy(CglibProxyFactory.java:72)

On Fri, Oct 14, 2022 at 9:41 AM Samuel Garofalo  wrote:

Hello Christopher,

using version 3 of Apache Syncope you can mount a volume containing your 
MasterContent.xml file in the Syncope core image in the docker-compose.yml in 
this way:

volumes:
   - "/opt/syncope/conf/domains:/opt/syncope/conf/domains"

With this configuration you have to add your MasterConter.xml under 
/opt/syncope/conf/domains directory.

here some example of docker-compose [1].


[1] 
https://syncope.apache.org/docs/3.0/getting-started.html#docker-compose-samples


Best regards,

Samuel Garofalo

Il 14/10/22 15:20, Christopher Brown ha scritto:

Hi,

Is there a way to restore configuration when deploying via Docker using the 
mastercontent.xml file? I don't see the directories noted in the documentation. 
[1] Thanks!


[1] - https://syncope.apache.org/docs/reference-guide.html#import



--
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: Docker restore from mastercontent.xml

2022-10-28 Thread Christopher Brown
Thanks, that worked. However with M1 when I try to create a schema a Plain
schema entry in the console nothing happens. The logs show the following
error:

 2022-10-28 14:42:23.495 ERROR [IO-1 task-6] io.undertow.request
   : UT005023: Exception handling request to
/syncope-console/wicket/bookmarkable/org.apache.
syncope.client.console.pages.Types

java.lang.NoClassDefFoundError: Could not initialize class
net.sf.cglib.proxy.Enhancer
at org.apache.wicket.proxy.cglib.CglibProxyFactory.createProxy(
CglibProxyFactory.java:72)

On Fri, Oct 14, 2022 at 9:41 AM Samuel Garofalo 
wrote:

> Hello Christopher,
>
> using version 3 of Apache Syncope you can mount a volume containing your
> MasterContent.xml file in the Syncope core image in the docker-compose.yml
> in this way:
>
> volumes:
>- "/opt/syncope/conf/domains:/opt/syncope/conf/domains"
>
> With this configuration you have to add your MasterConter.xml under
> /opt/syncope/conf/domains directory.
>
> here some example of docker-compose [1].
>
>
> [1]
> https://syncope.apache.org/docs/3.0/getting-started.html#docker-compose-samples
>
>
> Best regards,
>
> Samuel Garofalo
> Il 14/10/22 15:20, Christopher Brown ha scritto:
>
> Hi,
>
> Is there a way to restore configuration when deploying via Docker using
> the mastercontent.xml file? I don't see the directories noted in the
> documentation. [1] Thanks!
>
>
> [1] - https://syncope.apache.org/docs/reference-guide.html#import
>
>


Re: Docker restore from mastercontent.xml

2022-10-14 Thread Samuel Garofalo

Hello Christopher,

using version 3 of Apache Syncope you can mount a volume containing your 
MasterContent.xml file in the Syncope core image in the 
docker-compose.yml in this way:


   volumes:
   - "/opt/syncope/conf/domains:/opt/syncope/conf/domains"

With this configuration you have to add your MasterConter.xml under 
/opt/syncope/conf/domains directory.


here some example of docker-compose [1].


[1] 
https://syncope.apache.org/docs/3.0/getting-started.html#docker-compose-samples



Best regards,

Samuel Garofalo

Il 14/10/22 15:20, Christopher Brown ha scritto:

Hi,

Is there a way to restore configuration when deploying via Docker 
using the mastercontent.xml file? I don't see the directories noted in 
the documentation. [1] Thanks!



[1] - https://syncope.apache.org/docs/reference-guide.html#import

Docker restore from mastercontent.xml

2022-10-14 Thread Christopher Brown
Hi,

Is there a way to restore configuration when deploying via Docker using the
mastercontent.xml file? I don't see the directories noted in the
documentation. [1] Thanks!


[1] - https://syncope.apache.org/docs/reference-guide.html#import