[dspace-tech] Re: Unable to send mail

2023-05-10 Thread gonza...@gmail.com
As this is the most recent question about this error, I'll post here how I 
solved this. Just add this setting to your config file (local.cfg): 
mail.extraproperties = mail.smtp.starttls.enable=true

Regards,
Gonzalo
El Saturday, August 20, 2022 a la(s) 12:13:38 PM UTC-3, David Tan escribió:

> Hi,
> I am new to Dspace Cris7 and having some trouble getting Dspace to send 
> out mail. I manage to setup Postfix and it work fine. However when I try to 
> register as a new user, Dspace says the email is send out succesfully. 
> However after checking Dpsace log, I get this error
>
> 2022-08-20 15:04:01,721 ERROR 735b7f75-b394-496b-bf8c-a58e27bc87d1 
> 5d7b922f-acb2-49c4-8921-44baa71850e9 
> org.dspace.app.rest.repository.RegistrationRestRepository @ Something went 
> wrong with sending registration info email: joh...@gmail.com
> com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS 
> command first. h196-20020a6283cd00b005367043e163sm202084pfe.28 - gsmtp
>
> I would appreicate anyone that can point me to where I can set the 
> STARTTLS. 
>
> Thank you
> David
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/8ae1a5e3-12c2-490c-a45d-c09fd678b9a3n%40googlegroups.com.


[dspace-tech] Re: DSpace 6: Add metadata fields to simple item record page

2021-06-30 Thread gonza...@gmail.com
As far as I know, there's no way to do it but through a code customization. 

For XMLUI Mirage 2 on DSpace 6, you should check item-view.xsl

El Wednesday, June 23, 2021 a la(s) 11:02:54 AM UTC-3, sean@gmail.com 
escribió:

> Is it possible to change what metadata is displayed on the simple item 
> record page in DSpace 6 (JSPUI and XMLUI)?
>
> Sean
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/9003bafb-5fa1-4d0b-821e-706b584fcb21n%40googlegroups.com.


[dspace-tech] Re: Error Restarting Tomcat

2021-05-12 Thread gonza...@gmail.com
Hi,

as a first step, you should just run

$ sudo service tomcat restart   

Wait for the prompt to get back (Tomcat restart could take some seconds), 
and then run 

$ sudo /etc/init.d/postgresql restart

Running those simple commands is enough for tomcat and postgres to restart. 

El Tuesday, May 11, 2021 a la(s) 6:52:43 PM UTC-3, Agboola Raphael escribió:

> Hello Professionals,
> Please can you help me with this error on my server. Anytime I issue this 
> command
> *sudo service tomcat start && sudo service tomcat stop && sudo service 
> tomcat restart && **sudo /etc/init.d/postgresql restart && **sudo 
> /etc/init.d/tomcat restart*
> *I get this error*
> SEVERE: Could not contact [localhost:8005] (base port [8005] and offset 
> [0]). Tomcat may not be running.
> May 12, 2021 2:25:52 AM org.apache.catalina.startup.Catalina stopServer
> SEVERE: Error stopping Catalina
> Can someone help me out. Thanks
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://duraspace.org/about/policies/code-of-conduct/
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/5429b459-a24f-4a10-9a80-b821cf60da35n%40googlegroups.com.


[dspace-tech] Re: Upgrade woes from 6.0 to 6.3

2021-05-12 Thread gonza...@gmail.com
I guess it depends on how it was installed previously. 

You could take a look at the installation guide's guidelines on Tomcat and 
'dspace' user for compile, running the servlet, etc. 

"As noted in the prerequisites above, Tomcat (or Jetty, etc) *must run as* an 
operating system user account that has full read/write access to the DSpace 
installation directory (i.e. [dspace]).  Either you must ensure the Tomcat 
owner also owns [dspace], OR you can create a new "dspace" user account, 
and ensure that Tomcat also runs as that account:"

It's here: https://wiki.lyrasis.org/display/DSDOC6x/Installing+DSpace


El Tuesday, May 11, 2021 a la(s) 6:00:24 PM UTC-3, Paul Wallace escribió:

> HI all:
>
> I've inherited responsibility for upgrading a DSpace server  (RHEL) that 
> is hosted by a central group.   I've tried to run the upgrade instructions 
> from https://wiki.lyrasis.org/display/DSDOC6x/Upgrading+DSpace but have 
> had no success.
>
> When I run *mvn -U clean p*ackage  and c*d 
> [dspace-source]/dspace/target/dspace-installer*
> *ant update *with my credentials, the version shown by */dspace/bin/dspace 
> version *doesn't change from 6.0
>
> When I run both commands as sudo, the version updates, but it must reset 
> all of the permissions to root, because when I restart tomcat, the server 
> doesn't respond.
>
> Luckily, we're able to snapshot and revert on this demonstration server, 
> but it doesn't seem like it should be that hard to upgrade from 6.0 to 6.3.
>
> What permissions are needed to perform an upgrade from 6.0 to 6.3?
>
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://duraspace.org/about/policies/code-of-conduct/
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/3e6b1fb9-7724-41da-ba2f-dd73c5e0db9en%40googlegroups.com.


[dspace-tech] Re: upgrade and migrate the dspace server

2021-05-04 Thread gonza...@gmail.com
Hi, 

as a general workflow, a traditional backup and restore of your bitstreams 
and database will work fine. 

1. fresh install of the last DSpace version into the new VM
2. backup source DSpace:
2.a. pg_dump for the database
2.b. full backup of your [dspace]/assetsstore folder
3. restore that content into the new DSpace
3.a. migrate the database using [dspace]/bin/dspace command [1]
3.b. create a new [dspace]/assetsstore folder into your new instance

[1] https://wiki.lyrasis.org/display/DSDOC6x/Upgrading+DSpace --> take a 
special look at step 11 Upgrade your database

You should take a look at AIP backup and restore too (there's a comparison 
between traditional backup and AIP ): 
https://wiki.lyrasis.org/display/DSDOC6x/AIP+Backup+and+Restore

Eventually, depending on your actual settings and deployed installation, 
you should be considering local customizations, migrating statistics, user 
interface, deployed webapps, etc. 

Good luck!

Gonzalo

El Monday, May 3, 2021 a la(s) 5:09:59 PM UTC-3, gmorale...@gmail.com 
escribió:

>
> Good afternoon I hope you are well, hopefully someone can help me with a 
> question I have, I want to configure a new server in which to install an 
> updated version of dspace, however I want to transfer all the data that I 
> have from the previous dspace that is in another server (data files and 
> pdf), is this possible? the current dspace is 5.6 and i want to change it 
> to version 6 more stable dspace-cris, if so could someone guide me through 
> this please, in advance thank you very much

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://duraspace.org/about/policies/code-of-conduct/
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/2facf42c-6f01-47b3-81c6-c77a9ba34b39n%40googlegroups.com.


[dspace-tech] Re: Problemas al cambiar de idioma en JSPUI

2021-04-27 Thread gonza...@gmail.com
Hola, 

no tengo JSPUI instalado, pero vi que hiciste varias preguntas sobre la 
interfaz en español. 

Comprobaste que te esté cargando bien el idioma? por lo que veo en el demo, 
deberías pasarle a tu url 'jspui/home.jsp?locale=es' . A ver si al menos te 
renderiza el sitio en español

El Tuesday, April 27, 2021 a la(s) 4:54:53 PM UTC-3, pol...@gmail.com 
escribió:

> Hola amigos, tengo una instalación fresca de Dspace 6.3...y noto que los 
> únicos enlaces que no responden a mi dspace.base.url son los del selector 
> de lenguaje, que apuntant a localhost, en vez de a la url correcta..por 
> supuesto, como tengo dspace en un server remoto no me funciona el enlace a 
> localhost...
> Le seguí la pista al asunto y encontré que en 
> [dspace]/webapps/jspui/layout/navbar-default.jsp se define una variable 
> current-page de la siguiente manera:
> String currentPage = UIUtil.getOriginalURL(request);
> Que al parecer no llamar orrectamente al parámetro definido en 
> local.cfg...y agarra sabe Dios qué valor...igualemente puede ser que no se 
> entiende muy bien con el apache mod_proxy donde le digo que las peticiones 
> a la url las redireccione
>
> Alguna idea???
>
>
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://duraspace.org/about/policies/code-of-conduct/
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/744c72c7-1c7f-4bf0-b70c-8edb9ad4bd8an%40googlegroups.com.


[dspace-tech] Re: I need help with the installation of DSpace 6.3

2021-04-26 Thread gonza...@gmail.com
pace Assembly and Configuration .. SKIPPED
> [INFO] 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Total time:  02:15 min
> [INFO] Finished at: 2021-04-26T15:48:05-03:00
> [INFO] 
> 
> [ERROR] Failed to execute goal 
> com.soebes.maven.plugins:iterator-maven-plugin:0.3:iterator (default) on 
> project xmlui-mirage2: Command execution failed.: Process exited with an 
> error: 6 (Exit value: 6) -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the 
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, 
> please read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the 
> command
> [ERROR]   mvn  -rf :xmlui-mirage2+
> El lunes, 26 de abril de 2021 a las 11:12:45 UTC-3, gonza...@gmail.com 
> escribió:
>
>> > [ERROR] Failed to execute goal on project xmlui-mirage2: Could not 
>> resolve dependencies for project org.dspace.modules:xmlui-mirage2:war:6.3:
>>
>> You're missing Mirage 2 dependencies. You should install them following 
>> this guide: 
>> https://github.com/DSpace/DSpace/tree/dspace-6_x/dspace-xmlui-mirage2
>>
>> After installing the listed prerequisites, run 
>> ` mvn package -Dmirage2.on=true -Dmirage2.deps.included=false` 
>>
>> Remember to follow the general install guide for dspace from here: 
>> https://wiki.lyrasis.org/display/DSDOC6x/Installing+DSpace
>>
>> Good luck!
>>
>> El Friday, April 23, 2021 a la(s) 6:49:38 PM UTC-3, pablof...@gmail.com 
>> escribió:
>>
>>> Hi, sorry for the trouble. My name is Pablo Fazzino, I am a 
>>> Biblotecology student and I'm getting into DSpace, and when Enabling and 
>>> building the Mirage 2 theme (for XMLUI) it generates the following error:
>>> [INFO] Scanning for projects...
>>> [WARNING] The project org.dspace:dspace-parent:pom:6.3 uses 
>>> prerequisites which is only intended for maven-plugin projects but not for 
>>> non maven-plugin projects. For such purposes you should use the 
>>> maven-enforcer-plugin. See 
>>> https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
>>> [INFO] 
>>> 
>>> [INFO] Reactor Build Order:
>>> [INFO]
>>> [INFO] DSpace Parent Project
>>>   [pom]
>>> [INFO] DSpace Services Framework :: API and Implementation  
>>>   [jar]
>>> [INFO] DSpace Kernel :: API and Implementation  
>>>   [jar]
>>> [INFO] DSpace Addon Modules  
>>>  [pom]
>>> [INFO] DSpace Kernel :: Additions and Local Customizations  
>>>   [jar]
>>> [INFO] DSpace XML-UI (Manakin)  
>>>   [war]
>>> [INFO] DSpace XML-UI Mirage2 Theme  
>>>   [war]
>>> [INFO] DSpace XML-UI Mirage2 Theme :: Local Customisations  
>>>   [war]
>>> [INFO] DSpace XML-UI (Manakin) :: Local Customizations  
>>>   [war]
>>> [INFO] DSpace JSP-UI
>>>   [war]
>>> [INFO] DSpace JSP-UI :: Local Customizations
>>>   [war]
>>> [INFO] DSpace RDF
>>>  [war]
>>> [INFO] DSpace RDF :: Local Customizations
>>>  [war]
>>> [INFO] DSpace REST :: API and Implementation
>>>   [war]
>>> [INFO] DSpace REST :: Local Customizations  
>>>   [war]
>>> [INFO] DSpace SWORD  
>>>  [war]
>>> [INFO] DSpace SWORD :: Local Customizations  
>>>  [war]
>>> [INFO] DSpace SWORD v2  
>>>   [war]
>>> [INFO] DSpace SWORD v2 :: Local Customizations  
>>>   [war]
>

[dspace-tech] Re: I need help with the installation of DSpace 6.3

2021-04-26 Thread gonza...@gmail.com
> [ERROR] Failed to execute goal on project xmlui-mirage2: Could not 
resolve dependencies for project org.dspace.modules:xmlui-mirage2:war:6.3:

You're missing Mirage 2 dependencies. You should install them following 
this guide: 
https://github.com/DSpace/DSpace/tree/dspace-6_x/dspace-xmlui-mirage2

After installing the listed prerequisites, run 
` mvn package -Dmirage2.on=true -Dmirage2.deps.included=false` 

Remember to follow the general install guide for dspace from here: 
https://wiki.lyrasis.org/display/DSDOC6x/Installing+DSpace

Good luck!

El Friday, April 23, 2021 a la(s) 6:49:38 PM UTC-3, pablof...@gmail.com 
escribió:

> Hi, sorry for the trouble. My name is Pablo Fazzino, I am a Biblotecology 
> student and I'm getting into DSpace, and when Enabling and building the 
> Mirage 2 theme (for XMLUI) it generates the following error:
> [INFO] Scanning for projects...
> [WARNING] The project org.dspace:dspace-parent:pom:6.3 uses prerequisites 
> which is only intended for maven-plugin projects but not for non 
> maven-plugin projects. For such purposes you should use the 
> maven-enforcer-plugin. See 
> https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
> [INFO] 
> 
> [INFO] Reactor Build Order:
> [INFO]
> [INFO] DSpace Parent Project  
> [pom]
> [INFO] DSpace Services Framework :: API and Implementation
> [jar]
> [INFO] DSpace Kernel :: API and Implementation
> [jar]
> [INFO] DSpace Addon Modules  
>  [pom]
> [INFO] DSpace Kernel :: Additions and Local Customizations
> [jar]
> [INFO] DSpace XML-UI (Manakin)
> [war]
> [INFO] DSpace XML-UI Mirage2 Theme
> [war]
> [INFO] DSpace XML-UI Mirage2 Theme :: Local Customisations
> [war]
> [INFO] DSpace XML-UI (Manakin) :: Local Customizations
> [war]
> [INFO] DSpace JSP-UI  
> [war]
> [INFO] DSpace JSP-UI :: Local Customizations  
> [war]
> [INFO] DSpace RDF
>  [war]
> [INFO] DSpace RDF :: Local Customizations
>  [war]
> [INFO] DSpace REST :: API and Implementation  
> [war]
> [INFO] DSpace REST :: Local Customizations
> [war]
> [INFO] DSpace SWORD  
>  [war]
> [INFO] DSpace SWORD :: Local Customizations  
>  [war]
> [INFO] DSpace SWORD v2
> [war]
> [INFO] DSpace SWORD v2 :: Local Customizations
> [war]
> [INFO] Apache Solr Webapp
>  [war]
> [INFO] DSpace SOLR :: Local Customizations
> [war]
> [INFO] DSpace OAI-PMH
>  [war]
> [INFO] DSpace OAI-PMH :: Local Customizations
>  [war]
> [INFO] DSpace Assembly and Configuration  
> [pom]
> [INFO]
> [INFO] --< org.dspace:dspace-parent 
> >--
> [INFO] Building DSpace Parent Project 6.3
> [1/24]
> [INFO] [ pom 
> ]-
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java) @ 
> dspace-parent ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ 
> dspace-parent ---
> [INFO]
> [INFO] -< org.dspace:dspace-services 
> >-
> [INFO] Building DSpace Services Framework :: API and Implementation 6.3  
> [2/24]
> [INFO] [ jar 
> ]-
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java) @ 
> dspace-services ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ 
> dspace-services ---
> [INFO]
> [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ 
> dspace-services ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 4 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ 
> dspace-services ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 87 source files to 
> C:\dspace\dspace-6.3-src-release\dspace-services\target\classes
> [INFO] 
> /C:/dspace/dspace-6.3-src-release/dspace-services/src/main/java/org/dspace/services/sessions/model/SessionImpl.java:
>  
> Some input files use or override a deprecated API.
> [INFO] 
> 

Re: [dspace-tech] Solr permissions error after fresh install (DSpace 6.3)

2021-04-06 Thread gonza...@gmail.com
Sarah, that's it! 

Thanks a lot. 

Send you a coffee! ⅽ[ː̠̈ː̠̈ː̠̈] ͌  


El Tuesday, April 6, 2021 a la(s) 4:51:53 PM UTC-3, mount...@gmail.com 
escribió:

> "Cannot create directory" does sound like a permissions issue. Have you 
> listed the relevant ReadWritePaths in your tomcat.service file?
>
> Sarah
>
> On Tue, 6 Apr 2021 at 20:46, gonza...@gmail.com  
> wrote:
>
>> Hi, 
>>
>> I've installed DSpace 6.x a couple of times but never faced this problem 
>> before and I'm kinda lost. There must be something quite simple to solve it 
>> just in front of me... 
>>
>> Context:
>> Debian 10
>> DSpace 6.3 fresh install
>> OpenJDK 1.8
>> Tomcat 9.0.31.0
>>
>> After a fresh install, I'm getting some permissions related errors while 
>> using Solr, for instance trying to browse by author, titles, etc. 
>>
>> org.apache.solr.common.SolrException: SolrCore #39;search#39; 
>> is not available due to init failure: 
>> Cannot create directory: 
>> #47;var#47;www#47;dspace#47;solr#47;search#47;data#47;index
>>
>> (I don't like those html entities either)
>>
>> Full stacktrace here: https://pastebin.pl/view/c58da1d2
>>
>> I get the same error using Solr via the dspace command line, for instance
>> $ sudo ./bin/dspace index-discovery
>>
>> The [dspace] folder has read and write permissions for tomcat:tomcat
>> User dspace is in tomcat group
>>
>> Any help is appreciated! 
>>
>> -- 
>> All messages to this mailing list should adhere to the Code of Conduct: 
>> https://duraspace.org/about/policies/code-of-conduct/
>> --- 
>> 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...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/dspace-tech/217a966d-4049-4f43-9fbb-c0c2d44e5aa6n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/dspace-tech/217a966d-4049-4f43-9fbb-c0c2d44e5aa6n%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
>
>
> -- 
> Dr. Sarah Mount
> Technical Lead, Beautiful Canoe
> Fellow of the Software Sustainability Institute
> twitter: @snim2
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://duraspace.org/about/policies/code-of-conduct/
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/d00c2bcf-51b7-4150-9601-854d7434764cn%40googlegroups.com.


[dspace-tech] Solr permissions error after fresh install (DSpace 6.3)

2021-04-06 Thread gonza...@gmail.com
Hi, 

I've installed DSpace 6.x a couple of times but never faced this problem 
before and I'm kinda lost. There must be something quite simple to solve it 
just in front of me... 

Context:
Debian 10
DSpace 6.3 fresh install
OpenJDK 1.8
Tomcat 9.0.31.0

After a fresh install, I'm getting some permissions related errors while 
using Solr, for instance trying to browse by author, titles, etc. 

org.apache.solr.common.SolrException: SolrCore #39;search#39; is 
not available due to init failure: 
Cannot create directory: 
#47;var#47;www#47;dspace#47;solr#47;search#47;data#47;index

(I don't like those html entities either)

Full stacktrace here: https://pastebin.pl/view/c58da1d2

I get the same error using Solr via the dspace command line, for instance
$ sudo ./bin/dspace index-discovery

The [dspace] folder has read and write permissions for tomcat:tomcat
User dspace is in tomcat group

Any help is appreciated! 

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://duraspace.org/about/policies/code-of-conduct/
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/217a966d-4049-4f43-9fbb-c0c2d44e5aa6n%40googlegroups.com.


Re: [dspace-tech] SMTP over TLS Failed

2021-03-17 Thread gonza...@gmail.com
Just adding some info I've found troubleshooting the same error 
(javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is 
disabled or cipher suites are inappropriate)

Running DSpace on Centos8 could require that command, depending on your 
mail provider, as far as TLS 1.0 and 1.1 are deprecated and a legacy mode 
is needed. 

This solved the issue to me, using SMTPS under TLS on port 465

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/considerations_in_adopting_rhel_8/security_considerations-in-adopting-rhel-8#tls-v10-v11_security


El Wednesday, December 9, 2020 a la(s) 5:39:39 PM UTC-3, hbla...@gmail.com 
escribió:

> Hi for all, 
> Today I finally found a solution, the problem was with the operating 
> system. execute the following command 
>
>  update-crypto-policies --set LEGACY  
>
> and after reboot it has worked.
> Thanks to everyone for your support.
>
> El martes, 8 de diciembre de 2020 a la(s) 16:45:42 UTC-5, jacob.cameron 
> escribió:
>
>> That should have said TLS 1.0 and 1.1 support.
>>
>>  
>>
>>  
>>
>> --
>>
>> Jake Cameron, BCS(UNB)
>>
>> Systems Support Specialist III
>>
>> Information Systems and Technical Services University of Lethbridge 
>> Library
>>
>> Phone:(403)329-2756 <(403)%20329-2756>
>>
>> This e-mail, including any and all attachments, is only for the use of 
>> the intended recipient(s) and may contain information that is confidential 
>> or privileged. If you are not the intended recipient, you are advised that 
>> any dissemination, copying or other use of this e-mail is prohibited. 
>> Please notify the sender of the error in communication by return e-mail and 
>> destroy all copies of this e-mail. Thank you.
>>
>>  
>>
>> *From:* dspac...@googlegroups.com  *On Behalf 
>> Of *Cameron, Jacob
>> *Sent:* Tuesday, December 8, 2020 8:54 AM
>> *To:* Humberto Blanco Castillo ; DSpace Technical 
>> Support 
>> *Subject:* RE: [dspace-tech] SMTP over TLS Failed
>>
>>  
>>
>> Hello Humberto,
>>
>>  
>>
>> Microsoft has ended TLS 1.0 and TLS 1.2 support for all their mail 
>> products.  You need to ensure you are using TLS 1.2 or higher on your 
>> server or the messages will fail.
>>
>>  
>>
>>  
>>
>> --
>>
>> Jake Cameron, BCS(UNB)
>>
>> Systems Support Specialist III
>>
>> Information Systems and Technical Services University of Lethbridge 
>> Library
>>
>> Phone:(403)329-2756 <(403)%20329-2756>
>>
>> This e-mail, including any and all attachments, is only for the use of 
>> the intended recipient(s) and may contain information that is confidential 
>> or privileged. If you are not the intended recipient, you are advised that 
>> any dissemination, copying or other use of this e-mail is prohibited. 
>> Please notify the sender of the error in communication by return e-mail and 
>> destroy all copies of this e-mail. Thank you.
>>
>>  
>>
>> *From:* dspac...@googlegroups.com  *On Behalf 
>> Of *Humberto Blanco Castillo
>> *Sent:* Tuesday, December 8, 2020 8:26 AM
>> *To:* DSpace Technical Support 
>> *Subject:* [dspace-tech] SMTP over TLS Failed
>>
>>  
>>
>> Caution: This email was sent from someone *outside of the University of 
>> Lethbridge*. Do not click on links or open attachments unless you know 
>> they are safe. Suspicious emails should be forwarded to phis...@uleth.ca.
>>
>>  
>>
>> My dspace server was working with the following configuration 
>>
>>  
>>
>> *mail.server = outlook.office365.com *
>>
>> *mail.server.username = **myu...@mydomain.com*
>>
>> *mail.server.password = mypassword*
>>
>> *mail.server.port = 587*
>>
>> *mail.from.address = **myu...@mydomain.com*
>>
>> *mail.feedback.recipient = ${mail.from.address}*
>>
>> *mail.admin = ${mail.from.address}*
>>
>> *mail.alert.recipient = ${mail.from.address}*
>>
>> *mail.registration.notify = ${mail.from.address}*
>>
>>  
>>
>> *mail.extraproperties =  mail.smtp.starttls.enable=true, \*
>>
>> *mail.smtp.socketFactory.port=587, \*
>>
>> *mail.smtp.socketFactory.fallback=false*
>>
>>  
>>
>> But a few days ago it stopped working,:
>>
>>  
>>
>> *About to send test email:*
>>
>> * - To: **myu...@mydomain.com*
>>
>> * - Subject: DSpace test email*
>>
>> * - Server: outlook.office365.com *
>>
>>  
>>
>>  
>>
>> *Error sending email:*
>>
>> * - Error: javax.mail.SendFailedException: Send failure 
>> (javax.mail.MessagingException: Could not convert socket to TLS 
>> (javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is 
>> disabled or cipher suites are inappropriate)))*
>>
>>  
>>
>>  
>>
>> the only modification its that now we are working with openjdk
>>
>> *openjdk version "1.8.0_272"*
>>
>> *OpenJDK Runtime Environment (build 1.8.0_272-b10)*
>>
>> *OpenJDK 64-Bit Server VM (build 25.272-b10, mixed mode)*
>>
>>  
>>
>>  
>>
>> Any knows why of this error, or giveme any ligtha about this?
>>
>>  
>>
>> really appreciate your help
>>
>>  

[dspace-tech] Blank page when trying to browse the OAI webapp

2020-09-24 Thread gonza...@gmail.com
Hi all, 

when trying to navigate through the OAI index ( for instance: 
[dspace-url]/oai/request?verb=ListSets ) is pretty common to see the web 
browser keeps loading and only shows a blank page. But at the same time I'm 
able to see the HTML source is complete at the browser inspector. 

I've seen this at many DSpace (and OJS too!) installations, not only the 
one I administrate.

Is there a way to optimize this response time as a DSpace admin for my own 
repository? 

It doesn't seem to be a problem with the OAI protocol itself as far as I'm 
able to see the response at the page source code and even harvest the 
repository (the XML response from the OAI seems fine). It doesn't seem a 
problem with the CSS neither, because eventually I see the full page 
rendered normally. 

As far as I'm trying to make a custom context (using transformers and 
filters) I need to browse my OAI index easily to see the results. 

I'll appreciate any help!

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/6ada104a-ed94-4b26-add6-d3dd64e90421n%40googlegroups.com.