Closed joseagaleanoc closed 5 years ago
Have you tried to apply the patch at the DSpace's source directory, i.e. not at the DSpace's installed folder.
Yes I have applied the patch on the source folder and installation folder. On the source folder I get the error
error: patch failed: dspace/config/dspace.cfg:2025
error: dspace/config/dspace.cfg: patch does not apply
And on the installed folder I get
error: patch failed: config/dspace.cfg:2025
error: config/dspace.cfg: patch does not apply
error: config/modules/jspui/pom.xml: No file was found
error: config/modules/pom.xml: No file was found
error: config/modules/xmlui/pom.xml: No file was found
error: dspace/pom.xml: No file was found
Can you try to download the patch from this link? https://raw.githubusercontent.com/openaire/OpenAIRE-Piwik-DSpace/master/piwik-openaire-dspace6.diff
Same errors are displayed
Can you list the [dspace-src] folder structure?
.
├── dspace
│ ├── bin
│ │ ├── buildpath.bat
│ │ ├── dspace
│ │ ├── dspace.bat
│ │ ├── dspace-info.pl
│ │ ├── log-reporter
│ │ ├── make-handle-config
│ │ ├── start-handle-server
│ │ ├── start-handle-server.bat
│ │ └── validarAutores.sh
│ ├── config
│ │ ├── config-definition.xml
│ │ ├── controlled-vocabularies
│ │ ├── crosswalks
│ │ ├── dc2mods.cfg
│ │ ├── default.context.xml
│ │ ├── default.license
│ │ ├── dspace.cfg
│ │ ├── dspace.cfg20180904
│ │ ├── dstat.cfg
│ │ ├── dstat.map
│ │ ├── emails
│ │ ├── hibernate.cfg.xml
│ │ ├── input-forms.dtd
│ │ ├── input-forms.xml
│ │ ├── item-submission.dtd
│ │ ├── item-submission.xml
│ │ ├── launcher.xml
│ │ ├── local.cfg.EXAMPLE
│ │ ├── log4j-console.properties
│ │ ├── log4j-handle-plugin.properties
│ │ ├── log4j.properties
│ │ ├── log4j-solr.properties
│ │ ├── modules
│ │ ├── news-side.html
│ │ ├── news-top.html
│ │ ├── news-xmlui.xml
│ │ ├── registries
│ │ ├── sfx.xml
│ │ ├── spiders
│ │ ├── spring
│ │ ├── workflow-curation.xml
│ │ ├── workflow.xml
│ │ ├── xmlui.dtd
│ │ └── xmlui.xconf
│ ├── etc
│ │ ├── oracle
│ │ └── postgres
│ ├── modules
│ │ ├── additions
│ │ ├── jspui
│ │ ├── oai
│ │ ├── pom.xml
│ │ ├── rdf
│ │ ├── rest
│ │ ├── solr
│ │ ├── sword
│ │ ├── swordv2
│ │ ├── xmlui
│ │ └── xmlui-mirage2
│ ├── pom.xml
│ ├── solr
│ │ ├── authority
│ │ ├── oai
│ │ ├── search
│ │ ├── solr.xml
│ │ └── statistics
│ ├── src
│ │ └── main
│ └── target
│ ├── archive-tmp
│ └── dspace-installer
- -rwxrwxr-x ######################## piwik-openaire-dspace6.diff
- https://www.dropbox.com/s/8y3t4kst6w05ks4/dspace.zip?dl=0
The link is not working. Can you post it again?
I have updated the link of the comment, try again please or else copy and paste the link
I have updated the link of the comment, try again please or else copy and paste the link I changed the diff file. Can you try? https://www.dropbox.com/s/dwejozkz7sz62x7/piwik-openaire-dspace6.diff?dl=0
Ok, I have applied the patch successfully. Was was affeting it? Brefore I tried to change some directories on the .diff file and place the file in different dir.
I modified some entries in the patch, that are causing errors to dspace.cfg. I will close the issue.
Dimitri could you please post the file again. The link is dead. Thanks!