Re: [dspace-tech] Re: Support for Google Analytics 4?

2022-07-27 Thread Cristobal Caris
Hi Alejandro, Could you help me by sharing an example code please, we have a DSpace 6 Version ? I would greatly appreciate it. Thanks! El mié, 13 jul 2022 a la(s) 11:38, cristob...@gmail.com ( cristobal.ca...@gmail.com) escribió: > Hi Alejandro, > Could you help me by sharing an example code

[dspace-tech] error on batch import

2022-07-27 Thread Abrish feker
I am currently trying to migrate Greenstone collections to the DSpace platform. I have exported the collections from greenstone in a type suitable for DSpace. but the following error happened when I try to import the items to DSpace. please I am stuck here with no help, any help will be appreci

[dspace-tech] Re: ssh command with docker dspace-dependencies image

2022-07-27 Thread 'Tim Donohue' via DSpace Technical Support
Hi Stefan, We didn't purposefully remove SSH, but I do see that recently we switched the `dspace-dependencies` image to use `openjdk:11-slim` instead of previously using `tomcat:9-jdk11`. The primary reason was to create a smaller image, as that image doesn't need to have all of Tomcat on it.

[dspace-tech] Re: 7x installation on Ubuntu fails with

2022-07-27 Thread 'Tim Donohue' via DSpace Technical Support
Hi Sandor, You haven't given us enough information to help you out. What version of Maven and Java are you using to compile DSpace 7? (Run "mvn -v" to find out.) The error above is very generic, and it also doesn't say what is failing. So, as it notes in the ERROR messages you sent along, it

[dspace-tech] Re: MediaViewer not displaying

2022-07-27 Thread 'Tim Donohue' via DSpace Technical Support
Hi, The `mediaViewer` feature will only work for Items that have files that have a media type (mimetype) starting with "image/" or "video/". So, "image/gif" would be supported, as would "video/mpg". But, you would just see the regular thumbnails for all other items. Also, make sure you are m

[dspace-tech] Re: error on batch import

2022-07-27 Thread 'Tim Donohue' via DSpace Technical Support
Hi, It appears from that error that you are trying to use the DSpace "Simple Archive Format" (aka SAF) for the import. However, the error says that one of your items is *missing* the required "dublin_core.xml"? See the Simple Archive Format docs for details on that format: https://wiki.lyr

[dspace-tech] Re: 500 Service Unavailable

2022-07-27 Thread 'Tim Donohue' via DSpace Technical Support
Hi, Is it possible that you are trying to access this Docker setup from a non-localhost URL? If so, that'd be the the issue. As we've noted, these images are not production ready, and while it would be possible to get them running on a non-localhost URL, they won't work that way out-of-the-bo

[dspace-tech] DS6 Database Question - "resourcepolicy" table

2022-07-27 Thread John Fitzgerald
Howdy, Would someone please clue me in on what the "action_id" field in the "resourcepolicy" table is plugged into? I see no descriptive reference to it in any other tables. I'm trying to write some SQL-scripts to audit permissions on a large repository. Thanks, -John -- All messages to

Re: [dspace-tech] DS6 Database Question - "resourcepolicy" table

2022-07-27 Thread Sean Kalynuk
Hi John, Some more info here: https://wiki.lyrasis.org/display/DSDOC6x/Functional+Overview#FunctionalOverview-Authorization Here’s a SQL case snippet you may find useful from one of my scripts: case when action_id=0 then 'READ' when action_id=1 then 'WRITE' when action_id=2 then

Re: [dspace-tech] DS6 Database Question - "resourcepolicy" table

2022-07-27 Thread John Fitzgerald
Hey Sean! Thank you for such a quick and useful response. I figured these keys were hiding somewhere in the source-code, but wasn't anxious to go digging. This is perfect! And thanks also for the extra info. -John On Wednesday, July 27, 2022 at 2:43:04 PM UTC-4 sean.k...@umanitoba.ca wrote:

RE: [dspace-tech] Re: ssh command with docker dspace-dependencies image

2022-07-27 Thread dcook via DSpace Technical Support
Hi Stefan, As an aside, I’d be curious to hear how you’re using the Gitlab CI/CD tools with DSpace. Are you using “dspace/dspace-dependencies:dspace-7_x” image for the Gitlab Runner container and then SSHing to your target Docker host server to do your Docker deployment? David Cook

Re: [dspace-tech] DS6 Database Question - "resourcepolicy" table

2022-07-27 Thread John Fitzgerald
For my use, I ended up adding a table to the DB (posted here for future-reference), thanks again: *CREATE TABLE public."action" (action_id int4 NULL,verb varchar(50) NULL);INSERT INTO public."action" (action_id,verb) VALUES (0,'READ'), (1,'WRITE'), (2,'DELET