[dspace-tech] Re: FAIL - Application at context path [/server] could not be started

2022-03-31 Thread Night Librarian
Thank you, Tim.

There is nothing in Dspace logs, but Tomcat has it logged in two files. 
Catalina.log has this:

31-Mar-2022 23:11:01.216 WARNING [http-nio-8080-exec-15] 
org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The 
web application [server] appears to have started a thread named 
[org.dspace.services] but has failed to stop it. This is very likely to 
create a memory leak. Stack trace of thread: 
java.base@11.0.14/java.lang.Object.wait(Native Method) 
java.base@11.0.14/java.lang.Object.wait(Object.java:328) 
java.base@11.0.14/java.util.TimerThread.mainLoop(Timer.java:527) 
java.base@11.0.14/java.util.TimerThread.run(Timer.java:506) 
31-Mar-2022 23:11:01.239 WARNING [http-nio-8080-exec-15] 
org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The 
web application [server] appears to have started a thread named [Thread-18] 
but has failed to stop it. This is very likely to create a memory leak. 
Stack trace of thread: 
java.base@11.0.14/java.lang.Object.wait(Native Method) 
org.dspace.service.impl.HttpConnectionPoolService$IdleConnectionMonitorThread.run(HttpConnectionPoolService.java:176)
 

31-Mar-2022 23:11:30.963 INFO [http-nio-8080-exec-15] 
org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned 
for TLDs yet contained no TLDs. Enable debug logging for this logger for a 
complete list of JARs that were scanned but no TLDs were found in them. 
Skipping unneeded JARs during scanning can improve startup time and JSP 
compilation time. 

There is also localhost.log, but it is over 200 lines long, so I 
copy/pasted it into a text file, if that is OK.
On Wednesday, March 30, 2022 at 4:51:58 p.m. UTC-3 Tim Donohue wrote:

> Hi,
>
> You'd need to check the DSpace and Tomcat logs for information about the 
> error.  The message you shared just shows that it failed to start, but it 
> doesn't tell us "why".  The "why" part is usually in the logs.  Here's our 
> troubleshooting guide for information on finding errors in logs (and 
> elsewhere): 
> https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error#Troubleshootanerror-DSpace7.x(orabove)
>
> Tim
>
> On Monday, March 28, 2022 at 2:57:45 PM UTC-5 Night Librarian wrote:
>
>> I am trying to install DSpace 7.2 on Ubuntu 20.04.3 LTS.  According to 
>> the instructions in step 11 here: Installing DSpace - DSpace 7.x 
>> Documentation - LYRASIS Wiki 
>> , I copied 
>> the "server" webapp from /dspace/webapps to /var/lib/tomcat9/webapps.  Now, 
>> "server" is showing in Tomcat Web Application Manager, but when I click on 
>> start next to it, the Manager says:
>>
>> FAIL - Application at context path [/server] could not be started 
>>
>> FAIL - Encountered exception [org.apache.catalina.LifecycleException: 
>> Failed to start component 
>> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/server]]] 
>>  
>>
>>
>> What could be the problem here?
>>
>

-- 
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/bad97042-e3d6-453d-8874-7f1fe65fd9cfn%40googlegroups.com.
31-Mar-2022 23:10:30.412 INFO [http-nio-8080-exec-21] 
org.apache.catalina.core.ApplicationContext.log HTMLManager: list: Listing 
contexts for virtual host 'localhost'
31-Mar-2022 23:11:01.155 INFO [http-nio-8080-exec-15] 
org.apache.catalina.core.ApplicationContext.log HTMLManager: start: Starting 
web application '/server'
31-Mar-2022 23:11:33.559 INFO [http-nio-8080-exec-15] 
org.apache.catalina.core.ApplicationContext.log 2 Spring 
WebApplicationInitializers detected on classpath
31-Mar-2022 23:12:16.062 INFO [http-nio-8080-exec-15] 
org.apache.catalina.core.ApplicationContext.log Initializing Spring embedded 
WebApplicationContext
31-Mar-2022 23:12:52.645 SEVERE [http-nio-8080-exec-15] 
org.apache.catalina.core.ApplicationContext.log HTMLManager: Error starting 
[/server]
org.apache.catalina.LifecycleException: Failed to start component 
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/server]]
at 
org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)
at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1415)
at 
org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:700)
at 
org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:223)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
at 

Re: [dspace-tech] Dspace 7.1 error.top-level-communites

2022-03-31 Thread 'Tim Donohue' via DSpace Technical Support
Hi Lewatle,

If you cannot login, there's likely an error blocking you.  See our 
troubleshooting guide for help locating the detailed error message (it may 
be either a browser-only error on an error in the backend logs, or both): 
https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error#Troubleshootanerror-DSpace7.x(orabove)

Since you just finished installing DSpace, it's also *highly likely* your 
error will turn out to be one of these Common Installation Issues (in which 
case the solution might be documented on this page): 
https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-CommonInstallationIssues

Good luck,

Tim
On Thursday, March 31, 2022 at 1:38:09 PM UTC-5 joem...@gmail.com wrote:

> Hello Tim,
>
> Solr issue is resolved and Dspace 7.1 is able to open frontend without 
> error. The only new problem is  I am unable to log in to Dspace web 
> interface, postgres is running well, I will check log file and screen 
> errors and log new issue.
> see attached screenshots indicating solr and frontend responds well.
>
> Regards,
> Lewatle
>
> On Thursday, 31 March 2022 at 15:54:26 UTC+2 Lewatle Johannes Phaladi 
> wrote:
>
>> Hello Tim,
>>
>> I have deleted new_core file and solr error is removed, Error on frontend 
>> it is still there, please see attached screenshots, I have copied cores 
>> from dspace backend to solr, also note that user and group having access to 
>> dspacebackend and dspace-angular-front end is dspace , another user having 
>> access to solr is root while only for configsets directory  is solr,  and 
>> on solr interface there is no Core selector dropdown
>>
>>
>> Regards,
>> Lewatle 
>>
>>
>>
>> On Thursday, 31 March 2022 at 00:01:59 UTC+2 Tim Donohue wrote:
>>
>>> Hi Lewatle,
>>>
>>> According to that error message from Solr, it's looking for something 
>>> called "new_core" (in the directory it lists).  This isn't needed for 
>>> DSpace and seems unrelated to DSpace ... maybe it's something you 
>>> accidentally created? 
>>>
>>> I also noticed from your screenshot that on the left Solr says you have 
>>> no "cores".  That means Solr hasn't been setup with the required DSpace 
>>> Solr cores (See step 13 of the Backend Installation):  
>>> https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-BackendInstallation
>>>
>>> When Solr is initialized properly, you should see a "Core Selector" 
>>> dropdown on the left hand side of that dashboard which lists *at least*​ 
>>> the 4 required DSpace Solr cores: authority, oai, search & statistics.  
>>>  Those are created during that step 13 above in the backend installation 
>>> process.
>>>
>>> I'm not sure what that "new_core" is...that sounds like some sort of 
>>> test/demo Solr core that was somehow created.  It's not related to DSpace 
>>> at all.  You could try removing the "new_core" directory (if it exists), or 
>>> try reinstalling Solr if you cannot figure out a way to remove it.
>>>
>>> Tim
>>> --
>>> *From:* dspac...@googlegroups.com  on behalf 
>>> of Lewatle Johannes Phaladi 
>>> *Sent:* Wednesday, March 30, 2022 4:44 AM
>>>
>>> *To:* DSpace Technical Support 
>>> *Subject:* Re: [dspace-tech] Dspace 7.1 error.top-level-communites 
>>>  
>>> Dear Tim, 
>>>
>>> here is our solr details in dspace.cfg and local.cfg
>>>
>>> # Solr server/webapp.
>>> # DSpace uses Solr for all search/browse capability (and for usage 
>>> statistics).
>>> # Since DSpace 7, SOLR must be installed as a stand-alone service
>>> solr.server = http://localhost:8983/solr
>>>
>>> tomcat has been restarted and still getting similar errors , does 
>>> SolrCore Initialization Failures  and additional information underneath not 
>>> indicating as to what needs to be done to resolve solr errors. please see 
>>> screenshot bellow 
>>>
>>> [image: solr init failues.png]
>>>
>>>
>>> On Monday, 28 March 2022 at 16:46:11 UTC+2 Tim Donohue wrote:
>>>
>>> Hi Lewatle,
>>>
>>> In your dspace.log, you'll notice the error says:
>>>
>>> Error from server at http://localhost:8983/solr/search
>>>
>>> followed by...  
>>>
>>> HTTP ERROR 404 Not Found
>>>
>>> That is telling you that DSpace cannot find your Solr.  It must not be 
>>> accessible at the URL http://localhost:8983/solr/   So, either your 
>>> "solr.server" setting in your local.cfg needs to be changed to the correct 
>>> location of Solr, or you need to review your Solr setup, which is step 13 
>>> of the Backend Installation guide: 
>>> https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-InstallingtheBackend(ServerAPI)
>>>
>>> Tim
>>>
>>> --
>>> *From:* dspac...@googlegroups.com  on behalf 
>>> of Lewatle Johannes Phaladi 
>>> *Sent:* Monday, March 28, 2022 8:52 AM
>>> *To:* DSpace Technical Support 
>>> *Subject:* [dspace-tech] Dspace 7.1 error.top-level-communites 
>>>  
>>> Dear DSpace Colleagues, 
>>>
>>> Just installed DSpace 7.1 on development machine, when first loaded web 

[dspace-tech] Re: I can't upload files in dspace 7.2. Upload failed.

2022-03-31 Thread 'Tim Donohue' via DSpace Technical Support
Hi,

Buried in that text, I see this message:  " java.io.IOException: No such 
file or directory".   That implies to me that there's a Java-level error 
that is occurring here, but the rest of the error is cut off (it doesn't 
show what file/directory is missing).  You should check your backend's 
"dspace.log" and Tomcat logs, as it's highly likely there's a Java-level 
error displayed in those logs which corresponds to that "IOException: No 
such file or directory". 

My best guess at this point is there might be a permissions error or 
configuration error.  But, it's really hard to say which one without more 
information.  There's likely a more descriptive error message on the 
backend for this error.

Tim

On Thursday, March 31, 2022 at 10:40:08 AM UTC-5 voky...@gmail.com wrote:

> Thank you Tim
>
> When I try to upload a file, I get the following error in Chrome's 
> "Developer Tools".
> 
>
> {"id":1322,"errors":[{"message":"error.validation.required","paths":["/sections/traditionalpageone/dc.title","/sections/traditionalpageone/dc.date.issued"]},{"message":"error.validation.filerequired","paths":["/sections/upload"]},{"message":"java.io.IOException:
>  
> No such file or 
> directory","paths":["/sections/upload/files/0"]}],"lastModified":"2022-03-31T15:31:11.809+00:00","sections":{"license":{"url":null,"acceptanceDate":null,"granted":false},"upload":{"files":[]},"collection":"1be7156c-9cb1-4918-bef9-7b519b11d923","traditionalpagetwo":{},"traditionalpageone":{}},"type":"workspaceitem","_links":{"collection":{"href":"
> https://mydomain.test/server/api/submission/workspaceitems/1322/collection
> "},"item":{"href":"
> https://mydomain.test/server/api/submission/workspaceitems/1322/item
> "},"submissionDefinition":{"href":"
> https://mydomain.test/server/api/submission/workspaceitems/1322/submissionDefinition
> "},"submitter":{"href":"
> https://mydomain.test/server/api/submission/workspaceitems/1322/submitter
> "},"self":{"href":"
> https://mydomain.test/server/api/submission/workspaceitems/1322"}},"_embedded":{"submitter":{"id":"f676ebcf-7fba-426a-b652-1c3eab26","uuid":"f676ebcf-7fba-426a-b652-1c3eab26","name":"gsan...@mydomain.test","handle":null,"metadata":{"dspace.agreements.cookies":[{"value":"{\"authentication\":true,\"preferences\":true,\"acknowledgement\":true,\"google-analytics\":false}","language":null,"authority":null,"confidence":-1,"place":0}],"dspace.agreements.end-user":[{"value":"true","language":null,"authority":null,"confidence":-1,"place":0}],"eperson.firstname":[{"value":"Guadalupe
>  
> Ivett","language":null,"authority":null,"confidence":-1,"place":0}],"eperson.language":[{"value":"es","language":null,"authority":null,"confidence":-1,"place":0}],"eperson.lastname":[{"value":"Sánchez
>  
> Bernal","language":null,"authority":null,"confidence":-1,"place":0}],"eperson.phone":[{"value":"5581184777","language":null,"authority":null,"confidence":-1,"place":0}]},"netid":null,"lastActive":"2022-03-31T15:24:48.503+00:00","canLogIn":true,"email":"gsan...@mydomain.test","requireCertificate":false,"selfRegistered":false,"type":"eperson","_links":{"groups":{"href":"
> https://mydomain.test/server/api/eperson/epersons/f676ebcf-7fba-426a-b652-1c3eab26/groups
> "},"self":{"href":"
> https://mydomain.test/server/api/eperson/epersons/f676ebcf-7fba-426a-b652-1c3eab26
> "}}},"item":{"id":"5832aca6-49d3-4b2b-94ab-790d722d9bf0","uuid":"5832aca6-49d3-4b2b-94ab-790d722d9bf0","name":null,"handle":null,"metadata":{},"inArchive":false,"discoverable":true,"withdrawn":false,"lastModified":"2022-03-31T15:25:03.723+00:00","entityType":null,"type":"item","_links":{"bundles":{"href":"
> https://mydomain.test/server/api/core/items/5832aca6-49d3-4b2b-94ab-790d722d9bf0/bundles
> "},"mappedCollections":{"href":"
> https://mydomain.test/server/api/core/items/5832aca6-49d3-4b2b-94ab-790d722d9bf0/mappedCollections
> "},"owningCollection":{"href":"
> https://mydomain.test/server/api/core/items/5832aca6-49d3-4b2b-94ab-790d722d9bf0/owningCollection
> "},"relationships":{"href":"
> https://mydomain.test/server/api/core/items/5832aca6-49d3-4b2b-94ab-790d722d9bf0/relationships
> "},"version":{"href":"
> https://mydomain.test/server/api/core/items/5832aca6-49d3-4b2b-94ab-790d722d9bf0/version
> "},"templateItemOf":{"href":"
> https://mydomain.test/server/api/core/items/5832aca6-49d3-4b2b-94ab-790d722d9bf0/templateItemOf
> "},"thumbnail":{"href":"
> https://mydomain.test/server/api/core/items/5832aca6-49d3-4b2b-94ab-790d722d9bf0/thumbnail
> "},"self":{"href":"
> https://mydomain.test/server/api/core/items/5832aca6-49d3-4b2b-94ab-790d722d9bf0
> "}}},"submissionDefinition":{"id":"traditional","name":"traditional","type":"submissiondefinition","isDefault":true,"_links":{"collections":{"href":"
> https://mydomain.test/server/api/config/submissiondefinitions/traditional/collections
> "},"sections":{"href":"
> https://mydomain.test/server/api/config/submissiondefinitions/traditional/sections

Re: [dspace-tech] Dspace 5.5 to new Dspace 7 server

2022-03-31 Thread 'Tim Donohue' via DSpace Technical Support
As Michael noted, the best route for an upgrade would be to follow the 
instructions at https://wiki.lyrasis.org/display/DSDOC7x/Upgrading+DSpace

If you have more specific questions, feel free to ask on this list.

Tim

On Thursday, March 31, 2022 at 10:36:34 AM UTC-5 Michael Plate wrote:

> Hi,
>
> Am 31.03.22 um 17:13 schrieb Thiago Moreira:
> > Hello everyone,
> > 
> > We are currently trying to change our Dspace data to a new installation, 
> > but I don't know how we should proceed.
> > 
> > We tried running the AIP tutorial (-r -k and -s) but we can't import the 
> > data. It always shows us 1 or 0 dspace objects imported.
>
> according to my log it is
>
> ~/bin/dspace packager -a -r -k -u -e  -p 123456789/0 -t AIP -f 
> -o skipIfParentMissing=true sitewide-xxx.zip
>
> AFAIK it bails out after some days :) .
>
> The next way is the step-by-step way. Start with "123456789/0" Handle
> ~/bin/dspace packager -r -k -u -e  -p 123456789/0 -t AIP -f -o 
> skipIfParentMissing=true sitewide-xxx.zip
>
> After that, try every top-level community recursively
>
> ~/bin/dspace packager -a -f -r -u -e  -p 123456789/0 -t AIP -f 
> -o skipIfParentMissing=true comm...@123456789-.zip
>
>
> > 
> > Don't know if it's relevant but we have close to 2 gb of data.
> > 
> > Is there another way to run the migration or what's the best way to do 
> it?
>
> You could do the upgrade way: clone your system, change ip / names 
> ,database (!) and try 
> https://wiki.lyrasis.org/display/DSDOC7x/Upgrading+DSpace
>
> For us this succeeded after a manual "dspace database migrate ignored".
>
> But is it just a test system, so.
>
> Michael
>
>

-- 
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/8eeb7392-5cb4-4b16-a01d-a56ea7da0bacn%40googlegroups.com.


[dspace-tech] Changing DSpace 6.3's ItemTag.java

2022-03-31 Thread rdias...@gmail.com
Hi.

I have a DSpace 6.3 running repository and now users asked to allow html 
code in metadata. It seemed easy to allow this simply commenting the line 
that says 

out.print(Utils.addEntities(val.getValue()));

in ItemTag.java.

Now the question: would it be so easy (or even not necessary) to do this in 
DSpace 7?

Thanks,

Ricardo

-- 
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/5d7dd52b-ba55-4a91-a3d7-bf1c51b9bb67n%40googlegroups.com.


[dspace-tech] Re: Connect Configurable Entities

2022-03-31 Thread Tianyi Gu
Hi Tim,

I figured out how to add dspace.entity.type. When I read the instruction 3.3 
 - Edit 
Collection, I thought it was under Collection settings; but it is actually 
under Item settings. So that's where I get confused. 

Thank you very much for your support!!
Tianyi

On Wednesday, March 30, 2022 at 3:56:12 PM UTC-4 Tim Donohue wrote:

> Hi Tianyi,
>
> When you import the defined Entity model (as described in the linked docs 
> below), it should automatically create the Entities along with the 
> relationship between the entities (which is defined in the 
> relationship-types.xml).  See the "Import entity model" step of the 
> Entities Documentation:
>
> https://wiki.lyrasis.org/display/DSDOC7x/Configurable+Entities#ConfigurableEntities-2.Importentitymodelintothedatabase
>
> If this isn't working for you, we may need more information, as the Person 
> (author) entity and Publication entity should be related automatically as 
> soon as you import the default entity model provided with DSpace 7.
>
> Tim
>
> On Tuesday, March 29, 2022 at 3:10:22 PM UTC-5 gutia...@gmail.com wrote:
>
>> Hello colleagues,
>>
>> After I initialize out of box entities, I got additional three tables: 
>> Relationship, relationship_type and entity_type;
>>
>> I'd like to make an author connecting with two publications. However, 
>> "relationship" table is empty. 
>>
>> How could I configure two entities reference each other?
>>
>> Thank you,
>> Tianyi
>>
>

-- 
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/b095b6cd-d6d9-4341-ad93-1e6d906fn%40googlegroups.com.


[dspace-tech] Re: Hello how to configure dspace 7.2 for ssl /https

2022-03-31 Thread Evaristo Canul López
Remember

1. Before you start modifying, make a copy of your configuration file.
2. When finished, restart apache for to apply changes

service apache2 restart

El jueves, 31 de marzo de 2022 a la(s) 10:03:08 UTC-6, tese...@gmail.com 
escribió:

> Dear all, I need help on how to configure dspace 7.2 for ssl /https. the 
> manual on the guidlines not working for me. any one ideas.

-- 
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/1be5508b-3d46-4346-add5-d8cd51f1cfa3n%40googlegroups.com.


[dspace-tech] Re: Hello how to configure dspace 7.2 for ssl /https

2022-03-31 Thread Evaristo Canul López
Remember
  
1. Antes que empieces a modificar, haz una copia de tu archivo de 
configuración.
2. Al finalizar, restart apache for to apply changes

service apache2 restart
El jueves, 31 de marzo de 2022 a la(s) 10:03:08 UTC-6, tese...@gmail.com 
escribió:

> Dear all, I need help on how to configure dspace 7.2 for ssl /https. the 
> manual on the guidlines not working for me. any one ideas.

-- 
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/34f1a3af-4ac1-4c16-9023-4b321a50b96an%40googlegroups.com.


[dspace-tech] Re: Hello how to configure dspace 7.2 for ssl /https

2022-03-31 Thread Evaristo Canul López
Using apache and certbot

First install the following modules:

sudo en2mod proxy
sudo en2mod mod_proxy_http
sudo en2mod mod_headers

Then, I got the certificate via certbot

Then modify my config file

/etc/apache2/sites-enabled/000-default-le-ssl.conf

I added a few lines as noted below.

--


  
# The ServerName directive sets the request scheme, hostname and 
port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request's Host: header 
to
# match this virtual host. For the default virtual host (this file) 
this
# value is not decisive as it is used as a last resort host 
regardless.
# However, you must set it for any further virtual host explicitly.
#ServerName www.example.com

ServerAdmin webmaster@localhost
DocumentRoot /var/www/html

# Available loglevels: trace8, ..., trace1, debug, info, notice, 
warn,
# error, crit, alert, emerg.
# It is also possible to configure the loglevel for particular
# modules, e.g.
#LogLevel info ssl:warn

ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined

# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
# include a line for only one particular virtual host. For example 
the
# following line enables the CGI configuration for this host only
# after it has been globally disabled with "a2disconf".
#Include conf-available/serve-cgi-bin.conf

ProxyRequests On
#DSpace backend
ProxyPass /server http://localhost:8080/server
ProxyPassReverse /server http://localhost:8080/server
RequestHeader set X-Forwarded-Proto https

# angular UI
ProxyPass / http://localhost:4000/
ProxyPassReverse / http://localhost:4000/


ServerName mydomain.test
Include /etc/letsencrypt/options-ssl-apache.conf
#ServerAlias mydomain.test
SSLCertificateFile /etc/letsencrypt/live/mydomain.test/fullchain.pem
SSLCertificateKeyFile 
/etc/letsencrypt/live/mydomain.test/privkey.pem

  


-

mydomain.test is my domain.

Remember, the line start with # is a comment

The following line is important:

RequestHeader set X-Forwarded-Proto https

This line makes use of mod_headers

El jueves, 31 de marzo de 2022 a la(s) 10:03:08 UTC-6, tese...@gmail.com 
escribió:

> Dear all, I need help on how to configure dspace 7.2 for ssl /https. the 
> manual on the guidlines not working for me. any one ideas.

-- 
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/d94da64d-fe43-4afd-b349-90df55154257n%40googlegroups.com.


[dspace-tech] Hello how to configure dspace 7.2 for ssl /https

2022-03-31 Thread Tesema Getachew
Dear all, I need help on how to configure dspace 7.2 for ssl /https. the 
manual on the guidlines not working for me. any one ideas.

-- 
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/30e0ea73-93c3-42eb-97a1-f8f86c0b1196n%40googlegroups.com.


[dspace-tech] Re: I can't upload files in dspace 7.2. Upload failed.

2022-03-31 Thread Evaristo Canul López
Thank you Tim

When I try to upload a file, I get the following error in Chrome's 
"Developer Tools".


{"id":1322,"errors":[{"message":"error.validation.required","paths":["/sections/traditionalpageone/dc.title","/sections/traditionalpageone/dc.date.issued"]},{"message":"error.validation.filerequired","paths":["/sections/upload"]},{"message":"java.io.IOException:
 
No such file or 
directory","paths":["/sections/upload/files/0"]}],"lastModified":"2022-03-31T15:31:11.809+00:00","sections":{"license":{"url":null,"acceptanceDate":null,"granted":false},"upload":{"files":[]},"collection":"1be7156c-9cb1-4918-bef9-7b519b11d923","traditionalpagetwo":{},"traditionalpageone":{}},"type":"workspaceitem","_links":{"collection":{"href":"https://mydomain.test/server/api/submission/workspaceitems/1322/collection"},"item":{"href":"https://mydomain.test/server/api/submission/workspaceitems/1322/item"},"submissionDefinition":{"href":"https://mydomain.test/server/api/submission/workspaceitems/1322/submissionDefinition"},"submitter":{"href":"https://mydomain.test/server/api/submission/workspaceitems/1322/submitter"},"self":{"href":"https://mydomain.test/server/api/submission/workspaceitems/1322"}},"_embedded":{"submitter":{"id":"f676ebcf-7fba-426a-b652-1c3eab26","uuid":"f676ebcf-7fba-426a-b652-1c3eab26","name":"gsanch...@mydomain.test","handle":null,"metadata":{"dspace.agreements.cookies":[{"value":"{\"authentication\":true,\"preferences\":true,\"acknowledgement\":true,\"google-analytics\":false}","language":null,"authority":null,"confidence":-1,"place":0}],"dspace.agreements.end-user":[{"value":"true","language":null,"authority":null,"confidence":-1,"place":0}],"eperson.firstname":[{"value":"Guadalupe
 
Ivett","language":null,"authority":null,"confidence":-1,"place":0}],"eperson.language":[{"value":"es","language":null,"authority":null,"confidence":-1,"place":0}],"eperson.lastname":[{"value":"Sánchez
 
Bernal","language":null,"authority":null,"confidence":-1,"place":0}],"eperson.phone":[{"value":"5581184777","language":null,"authority":null,"confidence":-1,"place":0}]},"netid":null,"lastActive":"2022-03-31T15:24:48.503+00:00","canLogIn":true,"email":"gsanch...@mydomain.test","requireCertificate":false,"selfRegistered":false,"type":"eperson","_links":{"groups":{"href":"https://mydomain.test/server/api/eperson/epersons/f676ebcf-7fba-426a-b652-1c3eab26/groups"},"self":{"href":"https://mydomain.test/server/api/eperson/epersons/f676ebcf-7fba-426a-b652-1c3eab26"}}},"item":{"id":"5832aca6-49d3-4b2b-94ab-790d722d9bf0","uuid":"5832aca6-49d3-4b2b-94ab-790d722d9bf0","name":null,"handle":null,"metadata":{},"inArchive":false,"discoverable":true,"withdrawn":false,"lastModified":"2022-03-31T15:25:03.723+00:00","entityType":null,"type":"item","_links":{"bundles":{"href":"https://mydomain.test/server/api/core/items/5832aca6-49d3-4b2b-94ab-790d722d9bf0/bundles"},"mappedCollections":{"href":"https://mydomain.test/server/api/core/items/5832aca6-49d3-4b2b-94ab-790d722d9bf0/mappedCollections"},"owningCollection":{"href":"https://mydomain.test/server/api/core/items/5832aca6-49d3-4b2b-94ab-790d722d9bf0/owningCollection"},"relationships":{"href":"https://mydomain.test/server/api/core/items/5832aca6-49d3-4b2b-94ab-790d722d9bf0/relationships"},"version":{"href":"https://mydomain.test/server/api/core/items/5832aca6-49d3-4b2b-94ab-790d722d9bf0/version"},"templateItemOf":{"href":"https://mydomain.test/server/api/core/items/5832aca6-49d3-4b2b-94ab-790d722d9bf0/templateItemOf"},"thumbnail":{"href":"https://mydomain.test/server/api/core/items/5832aca6-49d3-4b2b-94ab-790d722d9bf0/thumbnail"},"self":{"href":"https://mydomain.test/server/api/core/items/5832aca6-49d3-4b2b-94ab-790d722d9bf0"}}},"submissionDefinition":{"id":"traditional","name":"traditional","type":"submissiondefinition","isDefault":true,"_links":{"collections":{"href":"https://mydomain.test/server/api/config/submissiondefinitions/traditional/collections"},"sections":{"href":"https://mydomain.test/server/api/config/submissiondefinitions/traditional/sections"},"self":{"href":"https://mydomain.test/server/api/config/submissiondefinitions/traditional"}}},"collection":{"id":"1be7156c-9cb1-4918-bef9-7b519b11d923","uuid":"1be7156c-9cb1-4918-bef9-7b519b11d923","name":"Maestría
 
en Ciencias en Protección 
Vegetal","handle":"20.500.12098/944","metadata":{"dc.description":[{"value":"El Programa de la Maestría en Ciencias en Protección 
Vegetal de la Universidad Autónoma Chapingo, programa educativo 
perteneciente a los programas reconocidos por el Consejo Nacional de 
Ciencia y Tecnología (CONACyT) desde 1996 y actualmente programa 
consolidado en el Programa Nacional de Posgrados de Calidad (PNPC) del 
CONACyT, les da la más cordial bienvenida a este medio de comunicación y 
les manifiesta su misión y constante interés por el fortalecimiento del 
desarrollo científico y la modernización tecnológica del país, formando 
recursos humanos de alto nivel con 

Re: [dspace-tech] Dspace 5.5 to new Dspace 7 server

2022-03-31 Thread Michael Plate

Hi,

Am 31.03.22 um 17:13 schrieb Thiago Moreira:

Hello everyone,

We are currently trying to change our Dspace data to a new installation, 
but I don't know how we should proceed.


We tried running the AIP tutorial (-r -k and -s) but we can't import the 
data. It always shows us 1 or 0 dspace objects imported.


according to my log it is

~/bin/dspace packager  -a -r -k -u -e  -p 123456789/0 -t AIP -f 
-o skipIfParentMissing=true sitewide-xxx.zip


AFAIK it bails out after some days :) .

The next way is the step-by-step way. Start with "123456789/0" Handle
~/bin/dspace packager  -r -k -u -e  -p 123456789/0 -t AIP -f -o 
skipIfParentMissing=true sitewide-xxx.zip


After that, try every top-level community recursively

~/bin/dspace packager  -a -f -r -u -e   -p 123456789/0 -t AIP -f 
-o skipIfParentMissing=true commun...@123456789-.zip





Don't know if it's relevant but we have close to 2 gb of data.

Is there another way to run the migration or what's the best way to do it?


You could do the upgrade way: clone your system, change ip / names 
,database (!) and try 
https://wiki.lyrasis.org/display/DSDOC7x/Upgrading+DSpace


For us this succeeded after a manual "dspace database migrate ignored".

But is it just a test system, so.

Michael

--
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/9b5059ee-050c-8eb0-a0ff-3744be49987c%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


[dspace-tech] Dspace 5.5 to new Dspace 7 server

2022-03-31 Thread Thiago Moreira
Hello everyone,

We are currently trying to change our Dspace data to a new installation, 
but I don't know how we should proceed.

We tried running the AIP tutorial (-r -k and -s) but we can't import the 
data. It always shows us 1 or 0 dspace objects imported.

Don't know if it's relevant but we have close to 2 gb of data.

Is there another way to run the migration or what's the best way to do it?

-- 
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/9e343c02-c041-4c5a-91b7-ae6084e9d7a3n%40googlegroups.com.


[dspace-tech] Re: I can't upload files in dspace 7.2. Upload failed.

2022-03-31 Thread 'Tim Donohue' via DSpace Technical Support
Here's our troubleshooting guide for locating errors in DSpace 7.  Keep in 
mind some errors may only appear in your browser, so you may need to use 
your browser's DevTools to see if an error occurs there. See the guide for 
more details.

https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error#Troubleshootanerror-DSpace7.x(orabove)

Once you locate the underlying error, you can send it to this list if you 
need help diagnosing the problem.

Tim

On Wednesday, March 30, 2022 at 8:29:36 PM UTC-5 voky...@gmail.com wrote:

> Migrate from dspace 6.x to 7.2
>
> I can see everything that existed before, even download the pdfs that 
> existed.
>
> But when I want to add a new article, it gives me an error when trying to 
> upload a file: "upload failed"
>
> Does anyone know where I can check what is the error that is generated 
> when trying to upload a file? In /dspace/log/dspace.log nothing appears.
>
> Thanks in advance
>

-- 
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/cc06e206-369a-455f-837d-2ffaf41f698en%40googlegroups.com.