Re: [dspace-tech] DSpace Mirage 2

2019-12-04 Thread Paul Münch
Hello, we do alot of mirage2 customising, too. So this is our workflow: CSS: - We create a new file in '[dspace.src]/dspace/modules/xmlui-mirage2/src/main/webapp/themes/Mirage2/styles/classic_mirage_color_scheme/' and register it in the '_main.scss' file. - To override existing rules we move

Re: [dspace-tech] Migrate database from Dspace 4 to Dspace 6

2019-12-04 Thread Jose Javier Hernández
"list_document" is a table made by me, I have added some new features that include another 5 tables. If I delete those tables from the database I am migrating it works. But I really need to migrate the data they have to the new structure in DSpace 6. I guess I will have to study the flyway

Re: [dspace-tech] Migrate database from Dspace 4 to Dspace 6

2019-12-04 Thread Tim Donohue
Jose, That error doesn't make sense to me, as there's no "list_document" table in DSpace. There's also no column called "item_uuid" in *any* DSpace table. This is sounding like you've either installed a third-party add-on *or* you've customized DSpace with new tables & columns. This error

Re: [dspace-tech] Migrate database from Dspace 4 to Dspace 6

2019-12-04 Thread Jose Javier Hernández
Tim; I deleted my own tables manually, and the migration says it was done, but when I check the tables they don't have the UUID column as identifier. Migration shouldn't add UUID to tables? PD: you're right the database is from DSpace 5 El miércoles, 4 de diciembre de 2019, 12:52:05 (UTC-5),

Re: [dspace-tech] Migrate database from Dspace 4 to Dspace 6

2019-12-04 Thread Jose Javier Hernández
Tim, I'm really not worried about that data "V4.1__Upgrade_to_Dspace_Vlir_schema.sql". I deleted that entry in the schema_version table. In my database I have other tables of my own, which in that version had a structure and now has some changes, such as UUID for identifiers. Now I get this

Re: [dspace-tech] Migrate database from Dspace 4 to Dspace 6

2019-12-04 Thread Tim Donohue
Jose, SQL migrations in DSpace 6.x are stored under the [src]/dspace-api/src/main/resources/org/dspace/storage/rdbms/sqlmigration/postgres/ directory: https://github.com/DSpace/DSpace/tree/dspace-6_x/dspace-api/src/main/resources/org/dspace/storage/rdbms/sqlmigration/postgres That error seems

Re: [dspace-tech] Migrate database from Dspace 4 to Dspace 6

2019-12-04 Thread Jose Javier Hernández
Hi Tim, thanks for your answer. What can I do to solve this? Is this lost migration in the DSpace installer or only in the old codebase dspace? Is it possible to skip that migration and then do it manually? El miércoles, 4 de diciembre de 2019, 10:44:28 (UTC-5), Tim Donohue escribió: > > Hi

Re: [dspace-tech] Migrate database from Dspace 4 to Dspace 6

2019-12-04 Thread Carolyn Brown
As of DSpace 5 (and above) the DSpace code will automatically upgrade your database. By default, this will occur AUTOMATICALLY when you restart Tomcat. So, the steps to manually upgrade the database by running commands on the command-line are not needed. 1) Shut down Tomcat 2) Import your

Re: [dspace-tech] Migrate database from Dspace 4 to Dspace 6

2019-12-04 Thread Tim Donohue
Hi Jose, That error is FlywayDB.org (the system we use to update the DSpace Database) telling you that the migration named "4.1" is not found. In your pastebin, it looks like that "4.1" migration is a custom migration called "Upgrade to Dspace Vlir schema" and is listed as "Missing". My guess

[dspace-tech] Migrate database from Dspace 4 to Dspace 6

2019-12-04 Thread Jose Javier Hernández
I am trying to migrate a database from DSpace 4 to DSpace 6. I exported the DSpace 4 database and imported it locally in my DSpace 6.3 installation. The database information is as follows database information Then I do: /dspace/bin/dspace database repair

[dspace-tech] Exclude specific IPs from DSpace Solr Statistics?

2019-12-04 Thread James Michelich
I am new to DSpace and Solr, but have been tasked with finding a way to exclude specific IPs (or IP ranges) from the pageview and download statistics in our DSpace 6 install (XMLUI). The idea is to exclude stats generated by views from some of our internal departments. Is this possible?