Re: [dspace-tech] Re: Can't modify ip address for UI dspace 7.5

2023-05-01 Thread Protos
 Hi tim, thanks to answer my question.
Fortunatelly, your advice (use ant update) works like a charm.  

Regarding the editing permission error in the directory, it did not appear. 
possibly because when I ran the ant update statement, I did it using the sudo 
ant update statement. But I'm not sure if that was the reason.
 Now, I only have one question to solve, which is to be able to change the way 
to access the ui. I would like to be able to access through a local IP, and not 
through localhost. Should I change the IP configuration in the local.cfg file 
(backend) or in config.prod.yml (frontend) or both? After that, should I do a 
re-run maven and an ant update, and also run the yarn build:prod statement?

Thank you very mucho for your help.
Sebastian.












On Monday, May 1, 2023 at 12:04:52 PM GMT-3, DSpace Technical Support 
 wrote:  
 
 Hi,
If you've already run "ant fresh_install" before, then there is no need to run 
it again.  That command is used to perform a brand new installation.  If you 
are trying to simply update an existing installation, use the "ant update" 
command instead.
It also sounds like you might have a directory permissions error in 
/dspace/config/, as the error above says "can't write to read-only 
destination".  So, you may want to verify that directory is not read-only to 
the user which is running "ant update".
If you have more questions, let us know on this list.
Tim

On Friday, April 28, 2023 at 11:29:19 PM UTC-5 protoste...@gmail.com wrote:

Hello, i am trying to change the IP address in order to access to my UI for 
dspace 7.5.
The goal is to access the UI through a local IP (LAN) of the computer that 
contains both the front end and the back end.For example, to enter the UI I 
would like to put: http://192.168.1.10:4000(where 192.168.1.10 is the IP 
address of the computer that contains the front end and the back end)
As default in the backend  (in local.cfg)  UI set as:
dspace.ui.url = http://localhost:4000
I would like the UI URL to have address: http://192.168.1.10:4000so i open the 
local.cfg and i edit it, now the ip address for my UI is:dspace.ui.url = 
http://192.168.1.10:4000
After making changes to the local.cfg file, i have to re-run mvn package 
command in the ~/dspace-backend directory as well as the ant fresh_install 
command 
in the ~/dspace-backend/dspace/target/dspace-installer directory.
When i start with the re-run for mvn package command, it completed 
successfully, but when i start with the re-run for ant fresh_install command,  
it ends in an error, the error 
says:--
init_installation:

prepare_configs:
    [mkdir] Created dir: 
/home/kali/dspace-backend/dspace/target/dspace-installer/config-temp
     [copy] Copying 221 files to 
/home/kali/dspace-backend/dspace/target/dspace-installer/config-temp
     [copy] Copying 1 file to 
/home/kali/dspace-backend/dspace/target/dspace-installer/config-temp
     [copy] Copying 14 files to 
/home/kali/dspace-backend/dspace/target/dspace-installer/config-temp

init_configs:
     [copy] Copying 2 files to /dspace/config
     [copy] Failed to copy 
/home/kali/dspace-backend/dspace/target/dspace-installer/config-temp/ant.properties
 to /dspace/config/ant.properties due to 
org.apache.tools.ant.util.ResourceUtils$ReadOnlyTargetFileException can't write 
to read-only destination file /dspace/config/ant.properties
     [copy] Failed to copy 
/home/kali/dspace-backend/dspace/target/dspace-installer/config-temp/local.cfg 
to /dspace/config/local.cfg due to 
org.apache.tools.ant.util.ResourceUtils$ReadOnlyTargetFileException can't write 
to read-only destination file /dspace/config/local.cfg
   [delete] Deleting directory 
/home/kali/dspace-backend/dspace/target/dspace-installer/config-temp

BUILD FAILED
/home/kali/dspace-backend/dspace/target/dspace-installer/build.xml:757: 
org.apache.tools.ant.util.ResourceUtils$ReadOnlyTargetFileException: can't 
write to read-only destination file /dspace/config/ant.properties
        at 
org.apache.tools.ant.util.ResourceUtils.copyResource(ResourceUtils.java:390)
        at org.apache.tools.ant.taskdefs.Echo.execute(Echo.java:64)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)
        at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
        at org.apache.tools.ant.Task.perform(Task.java:350)
        at org.apache.tools.ant.Target.execute(Target.java:449)
        at org.apache.tools.ant.Target.performTasks(Target.java:470)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401)
        at 

Re: [dspace-tech] [DSpace Angular] Adding new modules & routes to RouterModule from a theme

2023-05-01 Thread darryl....@usask.ca
I'm in the same boat here.  I'm wanting/needing to create some (themed) 
local components for things like an About page, FAQ, submission guidelines 
etc.  The closest examples I can see are the privacy policy and end user 
license agreement pages.  These seem to be controlled by the Info module in 
src/app/info. I'd happily have my URLs be something like "info/about" and 
"info/faq" if there were some easy way to have that info module implement a 
"hook" (as Abel said) or some sort of route/component mapping (similar to 
what's being done in info-routing-paths.ts and info-routing.module.ts) that 
we could define in our theme.  i.e. some localized way to add to that 
RouterModule that's being built in info-routing.module.ts so we could 
easily add components and paths without changing that core code.

Sadly, I'm not familiar enough with Angular to design and implement that.  
Looks like I may have to resort to a more global hack, like Mark did.

- Darryl


On Monday, April 17, 2023 at 10:09:54 AM UTC-6 Abel Gómez wrote:

> Ouch!
>
> I'm sorry to hear that modifying the stock routing module was the only 
> way...
>
> Anyway, it's true that, although it's a "hack", the modifications can be 
> minimal.
>
> Thanks for sharing your experience on this. Let's see if a "hooking" 
> mechanism is added to the routing module in the future... If I have time, 
> I'll try to implement something more portable/themable.
>
> Cheers,
>
> Abel
>
> El viernes, 14 de abril de 2023 a las 15:20:29 UTC+2, Mark H. Wood 
> escribió:
>
>> On Thu, Apr 13, 2023 at 01:58:51PM -0700, Abel Gómez wrote: 
>> > I've been working on a theme and customization for DSpace 7, and I've 
>> > stumbled upon a problem I'm not really sure whether it's solvable or 
>> not. 
>> > 
>> > I'd like to add some additional routes and modules to serve some 
>> additional 
>> > sections in the DSpace site (mostly static HTML) but keeping the look 
>> and 
>> > feel of my custom theme, and keeping the breadcrumbs and navigation 
>> > features if possible. After inspecting the code, I've figured out the 
>> way 
>> > to do it by modifying the "base app" (e.g., AppRoutingModule, and 
>> adding 
>> > the needed modules under src/app/...), but I'd like to keep my 
>> > modifications as modular and isolated as possible. 
>> > 
>> > Is there any way to achieve the same by modifying only my custom theme 
>> in 
>> > "src/themes/mytheme", and without changing the "base code" of DSpace 
>> > angular in "src/app"? 
>>
>> I haven't found a way to completely eliminate hacks to the stock 
>> routing module, but I did manage a static "About Us" page that exists 
>> within our local theme and requires only a reference in 
>> 'src/app/app-routing.module.ts': 
>>
>>  src/app/app-routing.module.ts 
>>  
>> index d426b041c..2d5b27797 100644 
>> @@ -41,9 +41,12 @@ import { ServerCheckGuard } from 
>> './core/server-check/server-check.guard'; 
>> import { MenuResolver } from './menu.resolver'; 
>> import { ThemedPageErrorComponent } from 
>> './page-error/themed-page-error.component'; 
>>
>> +import { AboutComponent } from 
>> '../themes/scholarworks/app/static/about/about-page.component'; 
>> + 
>> @NgModule({ 
>> imports: [ 
>> RouterModule.forRoot([ 
>> + { path: 'about', component: AboutComponent }, 
>> { path: INTERNAL_SERVER_ERROR, component: 
>> ThemedPageInternalServerErrorComponent }, 
>> { path: ERROR_PAGE , component: ThemedPageErrorComponent }, 
>> { 
>>
>> AboutComponent consists of an empty class, an empty stylesheet, and a 
>> single 'div' providing a basic description of the repo. plus links to 
>> further reading and a 'mailto:'. 
>>
>> The close coupling between stock and theme led me to leave this commit 
>> message: 
>>
>> Add a link and an About page. 
>>
>> This required adding the route in the main routing module, pointing into 
>> our 
>> theme. That is a nasty hack and should be fixed when I find out how to 
>> put 
>> the route into our theme's module. 
>>
>> -- 
>> Mark H. Wood 
>> Lead Technology Analyst 
>>
>> University Library 
>> Indiana University - Purdue University Indianapolis 
>> 755 W. Michigan Street 
>> Indianapolis, IN 46202 
>> 317-274-0749 <(317)%20274-0749> 
>> www.ulib.iupui.edu 
>>
>

-- 
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/b826fc77-6bed-478e-bfff-ffb7a3e8ffe2n%40googlegroups.com.


[dspace-tech] Re: Can't modify ip address for UI dspace 7.5

2023-05-01 Thread DSpace Technical Support
Hi,

If you've already run "ant fresh_install" before, then there is no need to 
run it again.  That command is used to perform a brand new installation.  
If you are trying to simply update an existing installation, use the "ant 
update" command instead.

It also sounds like you might have a directory permissions error in 
/dspace/config/, as the error above says "can't write to read-only 
destination".  So, you may want to verify that directory is not read-only 
to the user which is running "ant update".

If you have more questions, let us know on this list.

Tim

On Friday, April 28, 2023 at 11:29:19 PM UTC-5 protoste...@gmail.com wrote:

> Hello, i am trying to change the IP address in order to access to my UI 
> for dspace 7.5.
>
> The goal is to access the UI through a local IP (LAN) of the computer that 
> contains both the front end and the back end. For example, to enter the 
> UI I would like to put: http://192.168.1.10:4000 (where 192.168.1.10 is 
> the IP address of the computer that contains the front end and the back end) 
>
> As default in the backend  (in local.cfg)  UI set as:
> dspace.ui.url = http://localhost:4000
>
> I would like the UI URL to have address:  http://192.168.1.10:4000
> so i open the local.cfg and i edit it, now the ip address for my UI is:
> dspace.ui.url = http://192.168.1.10:4000 
>
> After making changes to the local.cfg file, i have to re-run mvn package 
> command in the ~/dspace-backend directory as well as the ant fresh_install 
> command 
> in the ~/dspace-backend/dspace/target/dspace-installer directory. 
>
> When i start with the re-run for mvn package command,  it completed 
> successfully , but when i start with the re-run for ant fresh_install 
> command,  it ends in an error, the error says:
>
> --
> init_installation:
>
> prepare_configs:
> [mkdir] Created dir: 
> /home/kali/dspace-backend/dspace/target/dspace-installer/config-temp
>  [copy] Copying 221 files to 
> /home/kali/dspace-backend/dspace/target/dspace-installer/config-temp
>  [copy] Copying 1 file to 
> /home/kali/dspace-backend/dspace/target/dspace-installer/config-temp
>  [copy] Copying 14 files to 
> /home/kali/dspace-backend/dspace/target/dspace-installer/config-temp
>
> init_configs:
>  [copy] Copying 2 files to /dspace/config
>  [copy] Failed to copy 
> /home/kali/dspace-backend/dspace/target/dspace-installer/config-temp/ant.properties
>  
> to /dspace/config/ant.properties due to 
> org.apache.tools.ant.util.ResourceUtils$ReadOnlyTargetFileException can't 
> write to read-only destination file /dspace/config/ant.properties
>  [copy] Failed to copy 
> /home/kali/dspace-backend/dspace/target/dspace-installer/config-temp/local.cfg
>  
> to /dspace/config/local.cfg due to 
> org.apache.tools.ant.util.ResourceUtils$ReadOnlyTargetFileException can't 
> write to read-only destination file /dspace/config/local.cfg
>[delete] Deleting directory 
> /home/kali/dspace-backend/dspace/target/dspace-installer/config-temp
>
> BUILD FAILED
> /home/kali/dspace-backend/dspace/target/dspace-installer/build.xml:757: 
> org.apache.tools.ant.util.ResourceUtils$ReadOnlyTargetFileException: can't 
> write to read-only destination file /dspace/config/ant.properties
> at 
> org.apache.tools.ant.util.ResourceUtils.copyResource(ResourceUtils.java:390)
> at org.apache.tools.ant.taskdefs.Echo.execute(Echo.java:64)
> at 
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)
> at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown 
> Source)
> at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:568)
> at 
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
> at org.apache.tools.ant.Task.perform(Task.java:350)
> at org.apache.tools.ant.Target.execute(Target.java:449)
> at org.apache.tools.ant.Target.performTasks(Target.java:470)
> at 
> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401)
> at org.apache.tools.ant.Project.executeTarget(Project.java:1374)
> at 
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
> at org.apache.tools.ant.Project.executeTargets(Project.java:1264)
> at org.apache.tools.ant.Main.runBuild(Main.java:818)
> at org.apache.tools.ant.Main.startAnt(Main.java:223)
> at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284)
> at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101)
>
> Total time: 2 seconds
>
>  
> 
>
> Because ant fresh_install error, the server (back end) doesnt works and 

[dspace-tech] Re: DSpace log warning - We have a collection or community admin with ID without any administrable collection or community!

2023-05-01 Thread 'Tim Donohue' via DSpace Technical Support
Hi Adam,

It's a "Warning" which means it's not something severe or serious... but it 
is something to be aware of.

Generally, that warning is saying that your Solr index is possibly 
outdated.  It's saying the user you are logged in as (identified by that 
UUID) is listed in Solr as being a Community or Collection Administrator... 
but DSpace couldn't locate any Community or Collection that they have Admin 
rights in.  This generally means that it's possible your database and Solr 
index are out of sync (you could try a reindex).

This is a new warning in DSpace 7 though... so it's also possible that it's 
inaccurately displayed at times.  The intention of the warning is to let 
you know that the user with that UUID doesn't seem to be able to Administer 
any collections/communities, even though Solr thinks they can.

Not sure if that's helpful, but here's where it triggers in the 
code: 
https://github.com/DSpace/DSpace/blob/main/dspace-api/src/main/java/org/dspace/discovery/SolrServiceImpl.java#L649

Tim
On Wednesday, April 26, 2023 at 9:07:13 AM UTC-5 do...@uoguelph.ca wrote:

> Hello all, 
>
> We're in the process of migrating to DSpace 7.5 and I've come across a 
> warning that frequently show up in our logs: 
>
> org.dspace.discovery.SolrServiceImpl @ We have a collection or community 
> admin with ID: c618e248-39f4-4696-8ba5-a5e2e28d6707 without any 
> administrable collection or community!
>
> This happens whenever I'm logged in as a non-admin user, even a brand new 
> user that has no group memberships at all. The UUID in the error is the id 
> of whatever user I'm logged in as. Each interaction with the angular UI 
> generates this warning multiple (10+) times. My questions for you fine 
> folks: 
>
>1. Is this actually an issue?
>2. Why is it happening? 
>3. Is it an indication that our permissions structure is messed up in 
>some way?
>
> Thanks! Any help you can provide would be greatly appreciated!
> -Adam
>

-- 
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/99f4e02d-ed78-499f-8199-587b4b443f8en%40googlegroups.com.


[dspace-tech] Re: Dspace 7.4 error 500

2023-05-01 Thread DSpace Technical Support
A 500 error in DSpace 7 generally just means "something went wrong".  To 
find the cause of the error, you need to locate the underlying error 
message in the User Interface, or in the backend logs.  See our 
troubleshooting guide for how to do 
that: 
https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error#Troubleshootanerror-DSpace7.x(orabove)

Once you find the underlying error, it may be one of the ones listed in our 
"Common Installation Issues" 
at 
https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-CommonInstallationIssues

Tim

On Tuesday, April 25, 2023 at 3:22:14 PM UTC-5 alex...@gmail.com wrote:

> this may help
>
> http://dspacegeek.blogspot.com/2023/02/dspace7-networking.html
>
> On Tuesday, April 25, 2023 at 3:46:30 AM UTC-6 Mustapha DEHARIB wrote:
>
>> Hello everyone,
>>
>> I try  to install Dspace 7.4 REST API on a  server machine  running on 
>> Debian 11, with the necessary packages: (Java 17.0.6 / Maven 3.8.7 / 
>> Postgres 15 / Tomcat9 / Solr 8.11.2)
>>
>> And it works very well when I access from the browser on: http://@ip:8080  
>> and: http://@ip:8080/server
>>
>> Then I installed dspace UI with the necessary configuration (Node JS 16, 
>> YARN and PM2)
>>
>> And I installed the apache web server to use it as a reverse proxy for 
>> Tomcat like this:
>>
>>   
>>
>> ServerName @ip of the server
>>
>> ProxyRequestsOn
>>
>> ProxyPass / http://localhost:4000/
>>
>> ProxyPassReverse / http://localhost:4000/
>>
>> 
>>
>>  But the problem is when I launch the site on the browser: 
>> http://@ip:4000 the initial page of the demo site is displayed for a moment 
>> and then the error 500 is displayed to me,
>>
>> [image: Dspace _error_500.PNG]
>>
>>  I try to fix that problem and I didn’t get the solution
>>
>>  Could you help me to solve this problem? 
>>
>> And thanks a lot
>>
>>

-- 
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/47142200-a804-407d-acba-74b8eadfd26cn%40googlegroups.com.


[dspace-tech] Re: Personalization of dspace

2023-05-01 Thread 'Tim Donohue' via DSpace Technical Support
Hi,

We have documentation on how to customize DSpace via a custom theme 
at https://wiki.lyrasis.org/display/DSDOC7x/User+Interface+Customization

Tim

On Tuesday, April 25, 2023 at 3:20:52 PM UTC-5 alex...@gmail.com wrote:

> Hi, i have a question..
>
> Did you know, how to change the main image in dspace home page?
>
> how to substitute the drops image 
>
> Thanks 
> [image: Captura.JPG]
>
>
>

-- 
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/f92ccc56-8705-44d4-8683-6e0eac31e96bn%40googlegroups.com.


[dspace-tech] Re: show the total items by communities on the home page

2023-05-01 Thread 'Tim Donohue' via DSpace Technical Support
Hi,

That feature doesn't exist yet in DSpace 7.  (It did exist in DSpace 6 and 
was called "item counts").  It is under development for the new DSpace UI 
in this ticket: https://github.com/DSpace/dspace-angular/issues/1787

It's unclear at this time when the work will be completed, as the current 
developers are working as volunteers.  But, as soon as the feature is 
ready, we'll work to get it into the next version of DSpace.

Tim

On Tuesday, April 25, 2023 at 3:08:45 PM UTC-5 jorge@udb.edu.sv wrote:

> hello
>
> On my dspace home page I wanted to know if it is possible and how to show 
> the total number of items belonging to each community right in the list 
> that is on the home page, which in my case looks like this:
> [image: Captura de pantalla 2023-04-25 140827.png]
>
> so is it possible? , as ? , Thanks in advance for the help
>

-- 
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/914e39da-759a-4f86-b735-63ca2126351an%40googlegroups.com.


[dspace-tech] Re: LDAP Error and yarn start:dev error

2023-05-01 Thread DSpace Technical Support
Hi,

In DSpace 7, the "LDAPHierarchicalAuthentication" class no longer exists.  
It's been replaced by "LDAPAuthentication" (which still can support 
hierarchical LDAP).  So, your config should say:

plugin.sequence.org.dspace.authenticate.AuthenticationMethod = 
org.dspace.authenticate.LDAPAuthentication

The second error appears to be saying that port 4000 is already being 
used.  You may wish to see what is running on that port If you want to 
run the UI on a different port, you can do so, but you MUST modify the port 
in both the UI's config.yml AND the backend's dspace.ui.url.  Otherwise, 
you'll always get a 500 error.

Tim

On Tuesday, April 25, 2023 at 5:36:05 AM UTC-5 m.kussai...@gmail.com wrote:

> Hello dear colleagues!  I would be grateful if you could help with the 
> difficulties I am having. 
> *First)* I add these values in [dspace-dir]/config/dspace.cfg allow it 
> from this line:
> *plugin.sequence.org.dspace.authenticate.AuthenticationMethod =*
>
>
> *org.dspace.authenticate.LDAPHierarchicalAuthentication*
> *ldap.enable = true*
> And also these lines:
>
>
>
>
>
>
>
>
>
>
> *ldap.provider_url = ldap://10.5.0.25:389 
> ldap.id_field = cnldap.object_context = 
> [КазНУ]ldap.search_context = OU=Organizational 
> Structure,DC=kaznu,DC=kzldap.email_field = mailldap.surname_field = 
> snldap.givenname_field = givenNameldap.search_scope = 2ldap.search.user = 
> CN=Құсайынов Мұхаметәли,CN=Users,OU=Библиотека,OU=Common,OU=Organizational 
> Structure,DC=kaznu,DC=kzldap.search.password = 
>  passwordldap.netid_email_domain = @kaznu.edu.kz *
> But it gives me the following error:
>
>
> *DSPACE REST API! Response is not valid JSON!Response 
> returned:{"timestamp":"2023-04-24T12:33:50.771+00:00","status":500,"error":"Internal
>  
> Server Error","message":"Cannot load plugin class: 
> java.lang.ClassNotFoundException:   
>   
> org.dspace.authenticate.LDAPHierarchicalAuthentication","path":"/server/api"}*
> What am I doing wrong?
>
> *Second) *When I type the command: *yarn start:dev*
> Writes: 
> *Port 4000 is already in use. Would you like to use a different post?*
> I press yes. And it runs on a different local host. But with error: 
> *500. *
> How to fix it?
> Thank you very much.
> Yours sincerely, Mukhametali.
>
>
>

-- 
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/84db4098-0a26-4fd6-b14f-66ca1237ef41n%40googlegroups.com.


[dspace-tech] Re: Filter by [A-Z] and [0-9] in Dspace 7.5

2023-05-01 Thread 'Tim Donohue' via DSpace Technical Support
Hi, 

That filter option does not exist in DSpace 7 at this time.   However, it's 
possible to achieve the same behavior in DSpace 7, by just typing the 
single letter in the textbox and clicking "Browse".  So, to filter by "T", 
just type "T" in that textbox and click the button.

Tim

On Tuesday, April 25, 2023 at 5:35:47 AM UTC-5 jrojo@gmail.com wrote:

> Good morning,
>
> Could anyone help me know how to activate this functionality so that it 
> can be filtered by letters of the alphabet (A-Z) and numbers (0-9)? 
>
> This is a screenshot from Dspace 5.6. I need to activate/configure it in 
> Dspace 7.5, since it does not appear by default. 
>
> Thank you very much and best regards.
>
> *Dspace 5.6:*
>
> [image: 5.6.png]
>
> *Dspace 7.5:*
>
> [image: 7.5.png]
>

-- 
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/dad9ee7c-4b42-4ed7-b95d-81e57f00e770n%40googlegroups.com.


[dspace-tech] Re: Ip authentication Failed

2023-05-01 Thread DSpace Technical Support
Hi,

One thing you may wish to verify... when you login while accessing the site 
from IP address, check your user's "Profile" page.  At the bottom of that 
profile page, you should see a section titled "Authorization groups you 
belong to".  Make sure that the "URread" group is listed in that list.  

If it is listed, then you know that the IPAuthentication plugin is working 
and added you dynamically to that group.   

If it is NOT listed, then something is wrong with your IPAuthentication 
setup.  Either the IP address is wrong, or maybe there's a typo in the 
group name... Or, there's always a chance there's an error in your 
"dspace.log" which is causing it not to work properly.

If you need further help, let us know on this list. 

Tim

On Monday, April 24, 2023 at 4:30:18 PM UTC-5 hbla...@gmail.com wrote:

> Hi, 
> We have Dspace 7.4 installed, and have some documents that want to be 
> accesed only by users from specific ip adress.
> We think that ip authentication its the solution, we modify the following:
>
> 1. First enable the plugins
> plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \
>  org.dspace.authenticate.LDAPAuthentication,\
>  org.dspace.authenticate.PasswordAuthentication,\
> org.dspace.authenticate.IPAuthentication
> 2. In modules/authentication-ip.cfg enable the IP for access
> authentication-ip.URread = 201.234.181.53
>
> 3. after that in dspace create URread group and create the authorizations 
> for that group as Read bitstream permisssions for a restricted document. 
>
> however,  when testing nothing happens
>
> any 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/0b72d026-1aa9-4504-92d9-2d6d2f27a889n%40googlegroups.com.


[dspace-tech] Re: DSpace 7 - Custom theme missing typescript compilation

2023-05-01 Thread DSpace Technical Support
Hi,

We have instructions for changing the footer available at:
https://wiki.lyrasis.org/display/DSDOC7x/User+Interface+Customization#UserInterfaceCustomization-CustomizeFooter

If these instructions are not working for you, we'll need you to share (to 
this list) more information on your setup.

Tim

On Monday, April 24, 2023 at 12:22:01 PM UTC-5 amtuan...@gmail.com wrote:

> I am getting the same errors whenever I try to change the footer following 
> the instructions. Anyone able to solve this yet? Thanks!
>
> On Friday, May 27, 2022 at 3:43:59 PM UTC-4 Seun Adewoye wrote:
>
>> Hello everyone. I require support. I'd like to personalize the DSpace 
>> 7-footer. I did this by copying src/app/footer to my custom theme directory 
>> /src/themes/mytheme/app/footer. My modifications are unsuccessful. When I 
>> run dspace in developer mode, I keep getting the following error:
>>
>>
>> WARNING in ./src/themes/mytheme/app/footer/footer.component.ts
>> Module build failed (from ./node_modules/@ngtools/webpack/src/index.js):
>> Error: 
>> /opt/dspace-7/client/src/themes/mytheme/app/footer/footer.component.ts is 
>> missing from the TypeScript compilation. Please make sure it is in your 
>> tsconfig via the 'files' or 'include' property.
>> at AngularCompilerPlugin.getCompiledFile 
>> (/opt/dspace-7/client/node_modules/@ngtools/webpack/src/angular_compiler_plugin.js:949:23)
>> at 
>> /opt/dspace-7/client/node_modules/@ngtools/webpack/src/loader.js:43:31
>> at runMicrotasks ()
>> at processTicksAndRejections (node:internal/process/task_queues:96:5)
>>
>> WARNING in 
>> /opt/dspace-7/client/src/app/item-page/edit-item-page/item-delete/item-delete.component.ts
>>  
>> depends on 'rxjs/internal/BehaviorSubject'. CommonJS or AMD dependencies 
>> can cause optimization bailouts.
>> For more info see: 
>> https://angular.io/guide/build#configuring-commonjs-dependencies
>>
>

-- 
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/5c1b9876-fdc4-4def-8942-8d8b0b745e53n%40googlegroups.com.


[dspace-tech] Re: LDAP Active directory

2023-05-01 Thread 'Tim Donohue' via DSpace Technical Support
Hi,

DSpace doesn't maintain instructions specific to every operating system or 
local setup.  However, we do have LDAP configuration instructions in our 
documentation at
https://wiki.lyrasis.org/display/DSDOC7x/Authentication+Plugins#AuthenticationPlugins-LDAPAuthentication

There's also a section for "Debugging LDAP connection and configuration" 
which is handy.  Every LDAP / Active Directory setup is slightly different, 
so you will need to test what works for you.

Tim



On Sunday, April 23, 2023 at 11:32:59 PM UTC-5 m.kussai...@gmail.com wrote:

> Hello dear Dspace community!  I would be grateful if you could help with 
> the difficulties I am having.
> Could you suggest step by step how to enable authorization through Active 
> Directory?
> Dspace 7.4 installed in Ubuntu server.
> Active directory in Windows server.
> How to authorize university employees in Dspace via Active directory?
> Where to put the necessary data from Active Directory in Dspace? Be so 
> kind as to describe the step of action in as much detail as possible.
> I would appreciate your help in this matter.
> Thank you very much.
> Yours sincerely, Mukhametali.
>
>

-- 
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/5292e8db-247e-4413-9bec-7f4649853fc5n%40googlegroups.com.


[dspace-tech] Re: Dspace 7.4 erreur 500

2023-05-01 Thread 'Tim Donohue' via DSpace Technical Support
Hi,

A 500 exception is a general error that just means "something went wrong".  
To find the cause of the error, you need to locate the underlying error 
message (either in the User Interface or in the backend logs) by following 
our Troubleshooting 
guide:  
https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error#Troubleshootanerror-DSpace7.x(orabove)

Tim

On Sunday, April 23, 2023 at 10:34:22 AM UTC-5 mustapha...@enp-oran.dz 
wrote:

> Bonjour a tous,
>
> J’ai réussit a  installez Dspace 7.4 REST API sur une serveur dédié marche 
> sur Debian 11 , avec les packages nécessaires :( Java 17.0.6 / Maven 3.8.7 
> / Postgres 15 /Tomcat9 / Solr 8.11.2 )
>
> Et ca marche très bien lorsque j’accède depuis le navigateur sur : 
> http://@ip:8080 et : http://@ip:8080/server
>
> Puis j’ai installez dspace UI avec la configuration necessaires (Node JS 
> 16 , YARN et PM2)
>
> Et j’ai installer le serveur web apache pour l’utiliser comme reverse 
> proxy pour Tomcat comme ceci :
>
>  
>
> ServerName @ip du serveur
>
> ProxyRequests On
>
> ProxyPass / http://localhost:4000/
>
> ProxyPassReverse / http:// localhost:4000/
>
> 
>
>  
>
>  Mais le problème lorsque je lance le site sur le lien : http://@ip la 
> page initial du demo site s’affiche une instant puis l’erreur 500 m’affiche
>
> Est ce que vous pouvait m’aidez a résoudre ce problème.
>
> [image: Dspace _error_500.PNG]
>
> Cordialement
>
> Mr Mustapha DEHARIB
>

-- 
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/644aa72b-d2e1-4c22-a708-b452867249f8n%40googlegroups.com.