Re: [dspace-tech] Re: No parameter substitution in ant when creating log.dir - DSpace 6 RC1

2016-05-22 Thread Luiz dos Santos
Hum...I got it, they changed it, now DSpace use "Apache configuration".
You should use the local.cfg instead build.properties, I attached my one,
it should be in the dspace source folder.

On Sun, May 22, 2016 at 7:14 PM, Pantelis Karamolegkos <
pantelis...@gmail.com> wrote:

> Luiz, what file are you referring to?
> I am running ant fresh_install and a folder named ${log.dir} is created (I
> assume the parameter ${log.dir} should have been substituted by its value
> before creating the folder, which does not happen). Instead a folder with
> the name* ${log.dir}* is created in my dspace installer dir.
>
> Here are the first lines of the output when running ant fresh_install
>
> dspace@Andromeda:/home/pkaramol/Workspace/dspace_dir/dspace-6.0-rc1-src-release/dspace/target/dspace-installer$
> ant fresh_install
> Buildfile:
> /home/pkaramol/Workspace/dspace_dir/dspace-6.0-rc1-src-release/dspace/target/dspace-installer/build.xml
>
> init_installation:
> [mkdir] Created dir:
> /home/pkaramol/Workspace/dspace_dir/dspace-6.0-rc1-src-release/dspace/target/dspace-installer/
> *${log.dir}*
>
>
> *There seems to be no substitution of the parameter log.dir by its actual
> value*
>
> Pantelis
>
> On Mon, May 23, 2016 at 1:32 AM, Luiz dos Santos 
> wrote:
>
>> Hi Pantellis,
>>
>>I've never seen this file, which version?
>>
>> Best regards
>> Luiz
>>
>>
>>
>> On Sun, May 22, 2016 at 12:01 PM, Pantelis Karamolegkos <
>> pantelis...@gmail.com> wrote:
>>
>>>
>>>
>>> On Sunday, May 22, 2016 at 6:53:59 PM UTC+3, Pantelis Karamolegkos wrote:

 After running fresh_install, a *folder* literally named ${log.dir} is
 created in dspace_installer folder.
 It seems no parameter substitution takes place when running the ant
 target.
 Where are the folder names taken from, i.e. ${upload.temp.dir},
 ${report.dir} etc and why the log dir is not substituted while the
 others are?

>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "DSpace Technical Support" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to dspace-tech+unsubscr...@googlegroups.com.
>>> To post to this group, send email to dspace-tech@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/dspace-tech.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


local.cfg
Description: Binary data


Re: [dspace-tech] DSpace 6 RC1 - migrate_database ant target fails

2016-05-22 Thread Luiz dos Santos
Hi Pantelis,


This is the error:
 *This PostgreSQL Database is INCOMPATIBLE with DSpace. The upgrade will
NOT proceed. A supported version (>=1.1) of the 'pgcrypto' extension must
be installed! Please run 'dspace database info' for additional *

To fix it you should install 'pgcrypto'. The pgcrypto module provides
cryptographic functions for PostgreSQL.

You should run the SQL:

CREATE EXTENSION pgcrypto;


Best
Luiz


On Sun, May 22, 2016 at 7:05 PM, Pantelis Karamolegkos <
pantelis...@gmail.com> wrote:

> Here is line 799 of build.xml
>
>  classpathref="class.path" fork="yes" failonerror="yes">
>
> On Mon, May 23, 2016 at 1:35 AM, Luiz dos Santos 
> wrote:
>
>> What do you have on this build.xml in the line 799? Do you see any
>> exception on the ant output?
>>
>> Best
>> Luiz
>>
>> On Sun, May 22, 2016 at 11:59 AM, Pantelis Karamolegkos <
>> pantelis...@gmail.com> wrote:
>>
>>> The above target fails with the following output:
>>>
>>>  [java] 2016-05-22 18:56:33,108 INFO
>>>  org.dspace.services.caching.CachingServiceImpl @ destroy()
>>>  [java] 2016-05-22 18:56:33,109 INFO
>>>  org.springframework.cache.ehcache.EhCacheManagerFactoryBean @ Shutting
>>> down EhCache CacheManager
>>>  [java] 2016-05-22 18:56:33,109 INFO
>>>  org.dspace.services.sessions.SessionRequestServiceImpl @ shutdown
>>>  [java] 2016-05-22 18:56:33,109 WARN
>>>  org.dspace.services.sessions.SessionRequestServiceImpl @ Request
>>> interceptor
>>> (org.dspace.services.events.SystemEventService$EventRequestInterceptor@7d35e191)
>>> failed to execute on end (request-387-1463932592942): null
>>>  [java] 2016-05-22 18:56:33,113 INFO
>>>  org.dspace.servicemanager.spring.SpringServiceManager @ Spring Service
>>> Manager Shutdown...
>>>  [java] 2016-05-22 18:56:33,113 INFO
>>>  org.dspace.servicemanager.DSpaceServiceManager @ Shutdown DSpace core
>>> service manager
>>>  [java] 2016-05-22 18:56:33,113 INFO
>>>  org.dspace.servicemanager.DSpaceKernelImpl @ DSpace kernel shutdown
>>> completed and unregistered MBean:
>>> org.dspace:name=2a65a6db-e965-4813-9766-fce8b7cb4f05,type=DSpaceKernel
>>>
>>> BUILD FAILED
>>> /home/pkaramol/Workspace/dspace_dir/dspace-6.0-rc1-src-release/dspace/target/dspace-installer/build.xml:799:
>>> Java returned: 1
>>>
>>> Working on Ubuntu 16.04, with Postgres 9.5 and Java 1.8.0_91
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "DSpace Technical Support" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to dspace-tech+unsubscr...@googlegroups.com.
>>> To post to this group, send email to dspace-tech@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/dspace-tech.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Re: No parameter substitution in ant when creating log.dir - DSpace 6 RC1

2016-05-22 Thread Pantelis Karamolegkos


On Sunday, May 22, 2016 at 6:53:59 PM UTC+3, Pantelis Karamolegkos wrote:
>
> After running fresh_install, a *folder* literally named ${log.dir} is 
> created in dspace_installer folder.
> It seems no parameter substitution takes place when running the ant target.
> Where are the folder names taken from, i.e. ${upload.temp.dir}, 
> ${report.dir} etc and why the log dir is not substituted while the others 
> are?
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] DSpace 6 RC1 - migrate_database ant target fails

2016-05-22 Thread Pantelis Karamolegkos
The above target fails with the following output:

 [java] 2016-05-22 18:56:33,108 INFO 
 org.dspace.services.caching.CachingServiceImpl @ destroy()
 [java] 2016-05-22 18:56:33,109 INFO 
 org.springframework.cache.ehcache.EhCacheManagerFactoryBean @ Shutting 
down EhCache CacheManager
 [java] 2016-05-22 18:56:33,109 INFO 
 org.dspace.services.sessions.SessionRequestServiceImpl @ shutdown
 [java] 2016-05-22 18:56:33,109 WARN 
 org.dspace.services.sessions.SessionRequestServiceImpl @ Request 
interceptor 
(org.dspace.services.events.SystemEventService$EventRequestInterceptor@7d35e191)
 
failed to execute on end (request-387-1463932592942): null
 [java] 2016-05-22 18:56:33,113 INFO 
 org.dspace.servicemanager.spring.SpringServiceManager @ Spring Service 
Manager Shutdown...
 [java] 2016-05-22 18:56:33,113 INFO 
 org.dspace.servicemanager.DSpaceServiceManager @ Shutdown DSpace core 
service manager
 [java] 2016-05-22 18:56:33,113 INFO 
 org.dspace.servicemanager.DSpaceKernelImpl @ DSpace kernel shutdown 
completed and unregistered MBean: 
org.dspace:name=2a65a6db-e965-4813-9766-fce8b7cb4f05,type=DSpaceKernel

BUILD FAILED
/home/pkaramol/Workspace/dspace_dir/dspace-6.0-rc1-src-release/dspace/target/dspace-installer/build.xml:799:
 
Java returned: 1

Working on Ubuntu 16.04, with Postgres 9.5 and Java 1.8.0_91

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] No parameter substitution in ant when creating log.dir - DSpace 6 RC1

2016-05-22 Thread Pantelis Karamolegkos
After running fresh_install, a file literally named ${log.dir} is created 
in dspace_installer folder.
It seems no parameter substitution takes place when running the ant target.
Where are the folder names taken from, i.e. ${upload.temp.dir}, 
${report.dir} etc and why the log dir is not substituted while the others 
are?

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.