Re: [dspace-tech] Re: How to add second group ldap in dspace 7.5?

2023-08-23 Thread Мухаметали Кусайынов
Thank you very mach

вт, 22 авг. 2023 г. в 22:22, DSpace Technical Support <
dspace-tech@googlegroups.com>:

> Hi,
>
> You can map multiple LDAP groups to DSpace groups by simply using the
> "authentication-ldap.login.groupmap" setting as described in our LDAP
> configuration docs at
> https://wiki.lyrasis.org/display/DSDOC7x/Authentication+Plugins#AuthenticationPlugins-ConfiguringLDAPAuthentication
>
> So, just add a new configuration to map that second group to a different
> DSpace Group.  Then use that DSpace Group to set the appropriate permissions
>
> Tim
>
> On Tuesday, August 22, 2023 at 4:50:15 AM UTC-5 m.kussai...@gmail.com
> wrote:
>
>> Hello dear Dspace community! We were finally able to enable LDAP
>> authorization for university staff. Now we want university students to log
>> in via LDAP as well. I wanted to ask how can I enable a second LDAP group
>> for students?
>> 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 a topic in the
> Google Groups "DSpace Technical Support" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/dspace-tech/eaJSRj_NHtA/unsubscribe.
> To unsubscribe from this group and all its topics, 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/3606bec4-d989-4c44-ac74-f534ec329bbcn%40googlegroups.com
> 
> .
>

-- 
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/CAO__2amP_OqcKucei3%2BHQui%3DTdaPeER%2BmC13HKUMc5SKzWyJqw%40mail.gmail.com.


Re: [dspace-tech] Re: Redirect to home-page, when change language in Dspace 7.5

2023-08-23 Thread Мухаметали Кусайынов
Thank you very mach

вт, 22 авг. 2023 г. в 22:26, DSpace Technical Support <
dspace-tech@googlegroups.com>:

> Hi Mukhametali,
>
> If you simply want to limit the number of languages shown in the header,
> you can do that via configuration.  There's no need to modify the code in
> the DSpace User Interface.
>
> Simply change the configuration in your "config.prod.yml" to list *only
> the languages you wish to have enabled*.  So, if you only want to enable
> three languages, then only list those 3 languages in your config.*.yml
> file. See the documentation at
> https://wiki.lyrasis.org/display/DSDOC7x/User+Interface+Configuration#UserInterfaceConfiguration-LanguageSettings
>
> I've verified that, if you change the configuration, then switching the
> language will keep you on the same page.  That's the easiest way to fix
> this problem.
>
> Tim
> On Tuesday, August 22, 2023 at 1:18:54 AM UTC-5 m.kussai...@gmail.com
> wrote:
>
>> Hello dear Dspace community! I can not solve one problem and I ask you
>> for help!
>> In repository https://repository.kaznu.kz/home.
>> I left only three languages. When changing to any of them, I change the
>> language, but the redirect goes to the home-page. What could be the problem?
>> Here is my source code:
>> *src/app/shared/lang-switch/lang-switch.component.html*
>>
>> 
>>
>> 
>>   
>> 
>>   eng
>> 
>> 
>>   каз
>> 
>> 
>>   рус
>> 
>>   
>> 
>>
>> Please suggest specific steps how to solve this problem please!
>> Thank you very much.
>> 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 a topic in the
> Google Groups "DSpace Technical Support" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/dspace-tech/9ILl6lI5J5s/unsubscribe.
> To unsubscribe from this group and all its topics, 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/6eed6f52-ae2d-4561-a290-4011835cb4a0n%40googlegroups.com
> 
> .
>

-- 
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/CAO__2amPSSS0v-W_T1zCigF%3D5N252X6Y8qM_M85pb9T%3D0VzfNA%40mail.gmail.com.


[dspace-tech] How to add second group ldap in dspace 7.5?

2023-08-22 Thread Мухаметали Кусайынов
Hello dear Dspace community! We were finally able to enable LDAP 
authorization for university staff. Now we want university students to log 
in via LDAP as well. I wanted to ask how can I enable a second LDAP group 
for students? 
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/0cc1d165-e6c3-4576-b39f-baef0f734179n%40googlegroups.com.


[dspace-tech] Redirect to home-page, when change language in Dspace 7.5

2023-08-22 Thread Мухаметали Кусайынов
Hello dear Dspace community! I can not solve one problem and I ask you for 
help!
In repository https://repository.kaznu.kz/home. 
I left only three languages. When changing to any of them, I change the 
language, but the redirect goes to the home-page. What could be the problem?
Here is my source code:
*src/app/shared/lang-switch/lang-switch.component.html*




  

  eng


  каз


  рус




Please suggest specific steps how to solve this problem please!
Thank you very much.
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/8e0913f6-982d-4dab-9307-f6470291b676n%40googlegroups.com.


Re: [dspace-tech] Re: How to show and delete administrator Dspace 7.4

2023-08-21 Thread Мухаметали Кусайынов
Thank you very much

чт, 17 авг. 2023 г. в 01:29, DSpace Technical Support <
dspace-tech@googlegroups.com>:

> Hi,
>
> Administrators are all members of the "Administrator" group in DSpace 7.
> Simply change the members of that group to remove/add permissions.  There's
> a guide for managing groups in the "Learning DSpace" section of the
> documentation at
> https://wiki.lyrasis.org/display/DSDOC7x/Create+or+manage+a+user+group
>
> Tim
>
> On Wednesday, August 16, 2023 at 6:59:57 AM UTC-5 m.kussai...@gmail.com
> wrote:
>
>> Hello everyone. I need your help. How to see a list of all admins? And
>> how to remove extra admins in Dspace 7.4
>> With best regards. Kussayinov 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 a topic in the
> Google Groups "DSpace Technical Support" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/dspace-tech/fCAjxPmw3As/unsubscribe.
> To unsubscribe from this group and all its topics, 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/140fcbaa-3738-4ad3-97af-638ce43d5d38n%40googlegroups.com
> 
> .
>

-- 
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/CAO__2amokZCeQgiv%2B30cjmtd6dxJwoH%2Brpg_u1iPc2sB-aEpGg%40mail.gmail.com.


[dspace-tech] How to show and delete administrator Dspace 7.4

2023-08-16 Thread Мухаметали Кусайынов
Hello everyone. I need your help. How to see a list of all admins? And how 
to remove extra admins in Dspace 7.4
With best regards. Kussayinov 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/ae908894-5b0c-4c89-b363-c9e0e9a8d899n%40googlegroups.com.


[dspace-tech] Dspace Active directory Ldap Auth

2023-07-01 Thread Мухаметали Кусайынов
Hello dear Dspace community! I can not solve one problem for 4 months, and 
I ask you for help!
I installed Dspace 7.4 on an Ubuntu 20.04 virtual private server.
Now I would like students to login to Dspace via Active Directory LDAP. But 
the problem is that our system administrators only know about the Windows 
Server OS and are not familiar with the Linux OS. So they don't know how to 
link Active Directory to Ubuntu server.
I have found several guides. And it says that you need to install the 
OpenLDAP server.
But if I understand correctly, then this is necessary for authorization in 
Ubuntu OS. But I want to login to Dspace 7.4 not Ubuntu.
Therefore, I would like to ask you:
1) Do I need to install OpenLDAP on Ubuntu
2) If so, how then to link OpenLDAP with Dspace 7.4? So that Dspace can 
look up a user in Active Directory?
3) If I don't need to install OpenLDAP, what should I do to make Dspace 7.4 
on Ubuntu look for users in the Windows Server Active Directory?
Please suggest specific steps how to solve this problem please!
Thank you very much.
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/83fd2767-4dbd-4c55-a2f3-ac3e6639ef62n%40googlegroups.com.


[dspace-tech] Dspace Active directory Ldap Auth

2023-07-01 Thread Мухаметали Кусайынов
Здравствуйте, уважаемое сообщество Dspace! Не могу решить одну проблему уже 
4 месяца, и прошу вас о помощи! 
Я установил Dspace 7.4 на виртуальный выделенный сервер Ubuntu 20.04. 
Теперь я хотел бы, чтобы студенты вошли в Dspace через Active Directory 
LDAP. Но проблема в том, что наши системные администраторы знают только об 
ОС Windows Server и не знакомы с ОС Linux. Поэтому они не знают, как 
связать Active Directory с сервером Ubuntu.
Я нашел несколько руководств. И там написано, что нужно установить сервер 
*OpenLDAP* . 
Но если я правильно понимаю, то это необходимо для авторизации в ОС Ubuntu. Но 
я хочу войти в Dspace 7.4, а не в Ubuntu.
Поэтому я хотел бы попросить вас:
1) Нужно ли устанавливать OpenLDAP на Ubuntu
2) Если да, то как тогда связать OpenLDAP с Dspace 7.4? Чтобы Dspace мог 
искать пользователя в Active Directory?
3) Если мне не нужно устанавливать OpenLDAP, что мне сделать, чтобы Dspace 
7.4 в Ubuntu искал пользователей в Windows Server Active Directory?
Пожалуйста, подскажите конкретные шаги, как решить эту проблему, пожалуйста!
Большое спасибо. 
С уважением, Мухаметали.

-- 
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/ba622207-ed1e-43de-af45-89295c347b93n%40googlegroups.com.


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

2023-04-25 Thread Мухаметали Кусайынов
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:389ldap.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/9cbb79a6-bfdb-4ecb-b616-e0f24ded308bn%40googlegroups.com.


[dspace-tech] Error dspace

2023-04-24 Thread Мухаметали Кусайынов
Hello dear Dspace community! 
After I tried to connect Ldap dspace stopped working.Even when I return 
everything back, the server gives an error:


*Service UnavailableThe server is temporarily unable to service your 
request due to maintenance downtime or capacity problems. Please try again 
later.*
yarn test:rest  produces the following:







*RESPONSE: 200Checking JSON returned for validity..."dspaceVersion" 
= DSpace 7.5-SNAPSHOT"dspaceUI" = https://repository.kaznu.kz  
  "dspaceServer" = https://repository.kaznu.kz/server"dspaceServer" 
property matches UI's "rest" config? trueDoes "/api" endpoint have 
HAL links ("_links" section)? true*
systemctl status dspace-angular gives the following error:
 *Error: EACCES: permission denied, open 
'/opt/dspace-angular/dist/browser/assets/config.json'*
















*at Object.openSync (node:fs:590:3)Apr 24 12:43:44 dspace7 node[9120]: 
at writeFileSync (node:fs:2202:35)Apr 24 12:43:44 dspace7 node[9120]: 
at buildAppConfig (/opt/dspace-angular/dist/server/main.js:1:7168068)Apr 24 
12:43:44 dspace7 node[9120]: at 
/opt/dspace-angular/dist/server/main.js:1:7169019Apr 24 12:43:44 dspace7 
node[9120]: at /opt/dspace-angular/dist/server/main.js:1:7173753Apr 24 
12:43:44 dspace7 node[9120]: at Object. 
(/opt/dspace-angular/dist/server/main.js:1:7173985)Apr 24 12:43:44 dspace7 
node[9120]: at Module._compile 
(node:internal/modules/cjs/loader:1165:14)Apr 24 12:43:44 dspace7 
node[9120]: at Object.Module._extensions..js 
(node:internal/modules/cjs/loader:1219:10)Apr 24 12:43:44 dspace7 
node[9120]: at Module.load 
(node:internal/modules/cjs/loader:1043:32)Apr 24 12:43:44 dspace7 
node[9120]: at Function.Module._load 
(node:internal/modules/cjs/loader:878:12) {Apr 24 12:43:44 dspace7 
node[9120]:   errno: -13,Apr 24 12:43:44 dspace7 node[9120]:   syscall: 
'open',Apr 24 12:43:44 dspace7 node[9120]:   code: 'EACCES',Apr 24 12:43:44 
dspace7 node[9120]:   path: 
'/opt/dspace-angular/dist/browser/assets/config.json'Apr 24 12:43:44 
dspace7 node[9120]: }Apr 24 12:43:44 dspace7 systemd[1]: 
dspace-angular.service: Main process exited, code=exited, 
status=1/FAILUREApr 24 12:43:44 dspace7 systemd[1]: dspace-angular.service: 
Failed with result 'exit-code'.*
What did I do wrong? How can I get everything back to working order? 
Please, 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/76769179-674e-4595-8d80-d97a6dbc6fc5n%40googlegroups.com.


[dspace-tech] LDAP Active directory

2023-04-23 Thread Мухаметали Кусайынов
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/3c62d2d8-319d-4807-9b8d-16664889e953n%40googlegroups.com.


[dspace-tech] LDAP Active Directory

2023-04-19 Thread Мухаметали Кусайынов

Hello dear colleagues!  I would be grateful if you could help with the 
difficulties I am having. 
Could you please suggest how to do it so students and employees became 
authorized through Active Directory? Could you suggest step by step how to 
enable authorization through Active Directory? I tried to do it according 
to the documentation, but it is too difficult for me.
What items do I need from 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.


*server: Apache/2.4.41 (Ubuntu 20.04)*
*dspaceVersion: "DSpace 7.5-SNAPSHOT"*

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/340e25ac-5a2b-4267-9997-120b339238c2n%40googlegroups.com.


[dspace-tech] Re: Deploy Dspace 7.4 with Add HTTPS support

2023-01-11 Thread Мухаметали Кусайынов

Thank you very much Sir Muhammad. Everything works great. Thanks again!

вторник, 10 января 2023 г. в 22:01:03 UTC+6, alo...@gmail.com: 

> I'm posting it here in a hope it will help someone else who might need 
> clues what should be changed.
>
>
>1. echo "10.17.0.12  repository.kaznu.kz" >> /etc/hosts
>2. a2enmod proxy_http proxy_html ssl headers
>3. a2dissite 000-default default-ssl
>4. Overwrite /etc/tomcat9/server.xml with the attached file 
>(server.xml).
>5. Overwrite /etc/apache2/sites-available/repository_kaznu_kz.conf 
>with the attached file (repository_kaznu_kz.conf).
>6. a2ensite repository_kaznu_kz.conf
>7. systemctl restart apache2.service
>8. systemctl restart tomcat9.service
>9. test the frontend (yarn test:rest)
>10. build the frontend
>11. access your backend by visiting https://repository.kaznu.kz/server
>12. access the frontend by visiting https://repository.kaznu.kz
>
>
> Cheers
> On Tuesday, January 10, 2023 at 1:32:57 PM UTC+3 m.kussai...@gmail.com 
> wrote:
>
>> I type IP adress in google chrome 10.17.0.12  Apache works
>>
>> вторник, 10 января 2023 г. в 16:32:21 UTC+6, Мухаметали Кусайынов: 
>>
>>> I type IP adress in google chrome 10.17.0.12  Apache works
>>>
>>> вторник, 10 января 2023 г. в 16:20:24 UTC+6, Мухаметали Кусайынов: 
>>>
>>>> Hello everyone! I really need your help. I can't deploy the website. 
>>>> Please help me! My settings below:
>>>> Server OS:
>>>> *Ubuntu server without GUI*
>>>> Ip address server - *10.17.0.12*
>>>> I installed* browsh* - is  text-based browser. Dspace was running at* 
>>>> localhost:4000*
>>>> Frontend directory location:
>>>> *~/dspace-angular-dspace-7.4*
>>>> Backend directory location:
>>>> */dspace*
>>>> SSL crt. location:
>>>> */dspace/ssl*
>>>> I have included ajp connector in tomcat9 server.xml:
>>>>   
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> *>>>  minSpareThreads="25"   enableLookups="false"  
>>>>  redirectPort="8443"   connectionTimeout="2"  
>>>>  disableUploadTimeout="true"   URIEncoding="UTF-8"/>*
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> * >>>port="8009"   redirectPort="8443"  
>>>>  URIEncoding="UTF-8" />*
>>>>
>>>> local.cfg location:
>>>> */dspace/config$*
>>>> *Local.cfg configuration*
>>>> dspace.dir=*/dspace*
>>>> dspace.server.url = *https://repository.kaznu.kz/server 
>>>> <https://repository.kaznu.kz/server>*
>>>> dspace.ui.url = *https://repository.kaznu.kz 
>>>> <https://repository.kaznu.kz>*
>>>> dspace.name = *DSpace KazNU*
>>>>
>>>> *Config.prod.yml configuration*
>>>> config.prod.yml location:
>>>> *~/dspace-angular-dspace-7.4/config$ *
>>>> *ui:*
>>>>   ssl: false
>>>>   host: localhost
>>>>   port: 4000
>>>>   nameSpace: /
>>>>
>>>> *rest:*
>>>>   ssl: true
>>>>   host: repository.kaznu.kz
>>>>   port: 443
>>>>   nameSpace: /server
>>>>
>>>> Next, I will describe in detail how I tried to create a VirtualHost for 
>>>> Dspace.
>>>> I copied the *default-ssl.conf *and created the 
>>>> *repository_kaznu_kz.conf*  in */etc/apache2/sites-available* 
>>>> directory.
>>>>
>>>> VirtualHost apache2 located:
>>>> */etc/apache2/sites-available/repository_kaznu_kz.conf*
>>>> Did I write the configuration file VirtualHosts correctly?
>>>> It seems to me that somewhere I could be mistaken. If I'm wrong, can 
>>>> you show me how to correctly write the VirtualHost configuration? Complete 
>>>> VirtualHost Configuration:
>>>> *VirtualHost setting*
>>>> 
>>>> 
>>>> ServerAdmin webmaster@localhost
>>>> DocumentRoot /var/www/html
>>>> 
>>>> ServerName repository.kaznu.kz
>>>> 
>>>> ErrorLog ${APACHE_LOG_DIR}/error.log
>>>>  

[dspace-tech] Re: Deploy Dspace 7.4 with Add HTTPS support

2023-01-10 Thread Мухаметали Кусайынов
I type IP adress in google chrome 10.17.0.12  Apache works

вторник, 10 января 2023 г. в 16:32:21 UTC+6, Мухаметали Кусайынов: 

> I type IP adress in google chrome 10.17.0.12  Apache works
>
> вторник, 10 января 2023 г. в 16:20:24 UTC+6, Мухаметали Кусайынов: 
>
>> Hello everyone! I really need your help. I can't deploy the website. 
>> Please help me! My settings below:
>> Server OS:
>> *Ubuntu server without GUI*
>> Ip address server - *10.17.0.12*
>> I installed* browsh* - is  text-based browser. Dspace was running at* 
>> localhost:4000*
>> Frontend directory location:
>> *~/dspace-angular-dspace-7.4*
>> Backend directory location:
>> */dspace*
>> SSL crt. location:
>> */dspace/ssl*
>> I have included ajp connector in tomcat9 server.xml:
>>   
>>
>>
>>
>>
>>
>> *>  minSpareThreads="25"   enableLookups="false"  
>>  redirectPort="8443"   connectionTimeout="2"  
>>  disableUploadTimeout="true"   URIEncoding="UTF-8"/>*
>>
>>
>>
>>
>>
>> * >  port="8009"   redirectPort="8443"  
>>  URIEncoding="UTF-8" />*
>>
>> local.cfg location:
>> */dspace/config$*
>> *Local.cfg configuration*
>> dspace.dir=*/dspace*
>> dspace.server.url = *https://repository.kaznu.kz/server 
>> <https://repository.kaznu.kz/server>*
>> dspace.ui.url = *https://repository.kaznu.kz 
>> <https://repository.kaznu.kz>*
>> dspace.name = *DSpace KazNU*
>>
>> *Config.prod.yml configuration*
>> config.prod.yml location:
>> *~/dspace-angular-dspace-7.4/config$ *
>> *ui:*
>>   ssl: false
>>   host: localhost
>>   port: 4000
>>   nameSpace: /
>>
>> *rest:*
>>   ssl: true
>>   host: repository.kaznu.kz
>>   port: 443
>>   nameSpace: /server
>>
>> Next, I will describe in detail how I tried to create a VirtualHost for 
>> Dspace.
>> I copied the *default-ssl.conf *and created the 
>> *repository_kaznu_kz.conf*  in */etc/apache2/sites-available* directory.
>>
>> VirtualHost apache2 located:
>> */etc/apache2/sites-available/repository_kaznu_kz.conf*
>> Did I write the configuration file VirtualHosts correctly?
>> It seems to me that somewhere I could be mistaken. If I'm wrong, can you 
>> show me how to correctly write the VirtualHost configuration? Complete 
>> VirtualHost Configuration:
>> *VirtualHost setting*
>> 
>> 
>> ServerAdmin webmaster@localhost
>> DocumentRoot /var/www/html
>> 
>> ServerName repository.kaznu.kz
>> 
>> ErrorLog ${APACHE_LOG_DIR}/error.log
>> CustomLog ${APACHE_LOG_DIR}/access.log combined
>>   
>> SSLEngine on
>> SSLCertificateFile  /dspace/ssl/STAR_kaznu_kz.crt
>> SSLCertificateKeyFile /dspace/ssl/STAR_kaznu_kz.key
>>
>>  # Proxy all HTTPS requests to "/server" from Apache to Tomcat 
>> via AJP connector
>> ProxyPass /server ajp://localhost:8009/server
>> ProxyPassReverse /server ajp://localhost:8009/server
>>
>> # Proxy all HTTPS requests from Apache to PM2 on localhost, port 
>> 4000
>> ProxyPass / http://localhost:4000/
>> ProxyPassReverse / http://localhost:4000/
>>
>>  #SSLOptions +FakeBasicAuth +ExportCertData +StrictRequire
>> 
>> SSLOptions +StdEnvVars
>> 
>> 
>> SSLOptions +StdEnvVars
>> 
>>
>> 
>>
>>
>> Next, I wrote the command - *sudo a2ensite repository_kaznu_kz.conf*
>> And then, I wrote the command - *sudo systemctl restart apache2*
>> Status apache2:
>>
>> ● apache2.service - The Apache HTTP Server
>>  Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor 
>> preset: enabled)
>>  Active: active (running) since Tue 2023-01-10 09:58:56 UTC; 13min ago
>>Docs: https://httpd.apache.org/docs/2.4/
>> Process: 950 ExecStart=/usr/sbin/apachectl start (code=exited, 
>> status=0/SUCCESS)
>>Main PID: 1081 (apache2)
>>   Tasks: 55 (limit: 9442)
>>  Memory: 11.1M
>>  CGroup: /syst

[dspace-tech] Re: Deploy Dspace 7.4 with Add HTTPS support

2023-01-10 Thread Мухаметали Кусайынов
I type IP adress in google chrome 10.17.0.12  Apache works

вторник, 10 января 2023 г. в 16:20:24 UTC+6, Мухаметали Кусайынов: 

> Hello everyone! I really need your help. I can't deploy the website. 
> Please help me! My settings below:
> Server OS:
> *Ubuntu server without GUI*
> Ip address server - *10.17.0.12*
> I installed* browsh* - is  text-based browser. Dspace was running at* 
> localhost:4000*
> Frontend directory location:
> *~/dspace-angular-dspace-7.4*
> Backend directory location:
> */dspace*
> SSL crt. location:
> */dspace/ssl*
> I have included ajp connector in tomcat9 server.xml:
>   
>
>
>
>
>
> *  minSpareThreads="25"   enableLookups="false"  
>  redirectPort="8443"   connectionTimeout="2"  
>  disableUploadTimeout="true"   URIEncoding="UTF-8"/>*
>
>
>
>
>
> *   port="8009"   redirectPort="8443"  
>  URIEncoding="UTF-8" />*
>
> local.cfg location:
> */dspace/config$*
> *Local.cfg configuration*
> dspace.dir=*/dspace*
> dspace.server.url = *https://repository.kaznu.kz/server 
> <https://repository.kaznu.kz/server>*
> dspace.ui.url = *https://repository.kaznu.kz 
> <https://repository.kaznu.kz>*
> dspace.name = *DSpace KazNU*
>
> *Config.prod.yml configuration*
> config.prod.yml location:
> *~/dspace-angular-dspace-7.4/config$ *
> *ui:*
>   ssl: false
>   host: localhost
>   port: 4000
>   nameSpace: /
>
> *rest:*
>   ssl: true
>   host: repository.kaznu.kz
>   port: 443
>   nameSpace: /server
>
> Next, I will describe in detail how I tried to create a VirtualHost for 
> Dspace.
> I copied the *default-ssl.conf *and created the *repository_kaznu_kz.conf*  
> in */etc/apache2/sites-available* directory.
>
> VirtualHost apache2 located:
> */etc/apache2/sites-available/repository_kaznu_kz.conf*
> Did I write the configuration file VirtualHosts correctly?
> It seems to me that somewhere I could be mistaken. If I'm wrong, can you 
> show me how to correctly write the VirtualHost configuration? Complete 
> VirtualHost Configuration:
> *VirtualHost setting*
> 
> 
> ServerAdmin webmaster@localhost
> DocumentRoot /var/www/html
> 
> ServerName repository.kaznu.kz
> 
> ErrorLog ${APACHE_LOG_DIR}/error.log
> CustomLog ${APACHE_LOG_DIR}/access.log combined
>   
> SSLEngine on
> SSLCertificateFile  /dspace/ssl/STAR_kaznu_kz.crt
> SSLCertificateKeyFile /dspace/ssl/STAR_kaznu_kz.key
>
>  # Proxy all HTTPS requests to "/server" from Apache to Tomcat via 
> AJP connector
> ProxyPass /server ajp://localhost:8009/server
> ProxyPassReverse /server ajp://localhost:8009/server
>
> # Proxy all HTTPS requests from Apache to PM2 on localhost, port 
> 4000
> ProxyPass / http://localhost:4000/
> ProxyPassReverse / http://localhost:4000/
>
>  #SSLOptions +FakeBasicAuth +ExportCertData +StrictRequire
> 
> SSLOptions +StdEnvVars
> 
> 
> SSLOptions +StdEnvVars
> 
>
> 
>
>
> Next, I wrote the command - *sudo a2ensite repository_kaznu_kz.conf*
> And then, I wrote the command - *sudo systemctl restart apache2*
> Status apache2:
>
> ● apache2.service - The Apache HTTP Server
>  Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor 
> preset: enabled)
>  Active: active (running) since Tue 2023-01-10 09:58:56 UTC; 13min ago
>Docs: https://httpd.apache.org/docs/2.4/
> Process: 950 ExecStart=/usr/sbin/apachectl start (code=exited, 
> status=0/SUCCESS)
>Main PID: 1081 (apache2)
>   Tasks: 55 (limit: 9442)
>  Memory: 11.1M
>  CGroup: /system.slice/apache2.service
>  ├─1081 /usr/sbin/apache2 -k start
>  ├─1082 /usr/sbin/apache2 -k start
>  └─1083 /usr/sbin/apache2 -k start
>
> Jan 10 09:58:54 dspace7 systemd[1]: Starting The Apache HTTP Server...
> Jan 10 09:58:56 dspace7 apachectl[1010]: AH00558: apache2: Could not 
> reliably determine the server's fully qualified domain name, using 
> 127.0.1.1. Set the 'ServerNam>
> Jan 10 09:58:56 dspace7 systemd[1]: Started The Apache HTTP Server.
>
> I also opened port 443:
>
> *sudo ufw enable*
> *sudo ufw allow ssh*
> *sudo ufw a

[dspace-tech] Deploy Dspace 7.4 with Add HTTPS support

2023-01-10 Thread Мухаметали Кусайынов
Hello everyone! I really need your help. I can't deploy the website. Please 
help me! My settings below:
Server OS:
*Ubuntu server without GUI*
Ip address server - *10.17.0.12*
I installed* browsh* - is  text-based browser. Dspace was running at* 
localhost:4000*
Frontend directory location:
*~/dspace-angular-dspace-7.4*
Backend directory location:
*/dspace*
SSL crt. location:
*/dspace/ssl*
I have included ajp connector in tomcat9 server.xml:
  





**
   




* *

local.cfg location:
*/dspace/config$*
*Local.cfg configuration*
dspace.dir=*/dspace*
dspace.server.url = *https://repository.kaznu.kz/server*
dspace.ui.url = *https://repository.kaznu.kz*
dspace.name = *DSpace KazNU*

*Config.prod.yml configuration*
config.prod.yml location:
*~/dspace-angular-dspace-7.4/config$ *
*ui:*
  ssl: false
  host: localhost
  port: 4000
  nameSpace: /

*rest:*
  ssl: true
  host: repository.kaznu.kz
  port: 443
  nameSpace: /server

Next, I will describe in detail how I tried to create a VirtualHost for 
Dspace.
I copied the *default-ssl.conf *and created the *repository_kaznu_kz.conf*  
in */etc/apache2/sites-available* directory.

VirtualHost apache2 located:
*/etc/apache2/sites-available/repository_kaznu_kz.conf*
Did I write the configuration file VirtualHosts correctly?
It seems to me that somewhere I could be mistaken. If I'm wrong, can you 
show me how to correctly write the VirtualHost configuration? Complete 
VirtualHost Configuration:
*VirtualHost setting*


ServerAdmin webmaster@localhost
DocumentRoot /var/www/html

ServerName repository.kaznu.kz

ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
  
SSLEngine on
SSLCertificateFile  /dspace/ssl/STAR_kaznu_kz.crt
SSLCertificateKeyFile /dspace/ssl/STAR_kaznu_kz.key

 # Proxy all HTTPS requests to "/server" from Apache to Tomcat via 
AJP connector
ProxyPass /server ajp://localhost:8009/server
ProxyPassReverse /server ajp://localhost:8009/server

# Proxy all HTTPS requests from Apache to PM2 on localhost, port 
4000
ProxyPass / http://localhost:4000/
ProxyPassReverse / http://localhost:4000/

 #SSLOptions +FakeBasicAuth +ExportCertData +StrictRequire

SSLOptions +StdEnvVars


SSLOptions +StdEnvVars

   



Next, I wrote the command - *sudo a2ensite repository_kaznu_kz.conf*
And then, I wrote the command - *sudo systemctl restart apache2*
Status apache2:

● apache2.service - The Apache HTTP Server
 Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor 
preset: enabled)
 Active: active (running) since Tue 2023-01-10 09:58:56 UTC; 13min ago
   Docs: https://httpd.apache.org/docs/2.4/
Process: 950 ExecStart=/usr/sbin/apachectl start (code=exited, 
status=0/SUCCESS)
   Main PID: 1081 (apache2)
  Tasks: 55 (limit: 9442)
 Memory: 11.1M
 CGroup: /system.slice/apache2.service
 ├─1081 /usr/sbin/apache2 -k start
 ├─1082 /usr/sbin/apache2 -k start
 └─1083 /usr/sbin/apache2 -k start

Jan 10 09:58:54 dspace7 systemd[1]: Starting The Apache HTTP Server...
Jan 10 09:58:56 dspace7 apachectl[1010]: AH00558: apache2: Could not 
reliably determine the server's fully qualified domain name, using 
127.0.1.1. Set the 'ServerNam>
Jan 10 09:58:56 dspace7 systemd[1]: Started The Apache HTTP Server.

I also opened port 443:

*sudo ufw enable*
*sudo ufw allow ssh*
*sudo ufw allow 443*
As a result it shows:
Status: active

To Action  From
-- --  
22/tcp ALLOW   Anywhere
443ALLOW   Anywhere
Apache FullALLOW   Anywhere
22/tcp (v6)ALLOW   Anywhere (v6)
443 (v6)   ALLOW   Anywhere (v6)
Apache Full (v6)   ALLOW   Anywhere (v6)

After this setup, when I again type localhost:4000 again in browsh, my site 
stops working and throws the following error:

*500*
*Service Unavailable*
*The server is temporarily unable to service your request due to 
maintenanse downtime or capasity problems. Please try again later.*


I deployed the repository for the first time and I can't fully understand 
what I'm doing wrong. I've been trying to do this for two months and 
already despaired. Can you describe step by step how to properly deploy 
Dspace 7.4? Please. Sincerely, Kusainov M.


-- 
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 

[dspace-tech] Production Installation (adding HTTPS support)

2023-01-05 Thread Мухаметали Кусайынов


Hello everyone. I need your help.  I want to run DSpace in Production and I 
can't understand the installation instructions in point - 16  Production 
Installation (adding HTTPS support). I have never deployed a website in my 
life and this is the first time I am deploying a website. Therefore, I ask 
you to describe in detail step by step how to do it:

   1. 
   
   I installed apache httpd. Command -sudo apt install apache2
   2. 
   
   And I installed the mod_proxy and mod_proxy_ajp modules. Command -   sudo 
   a2enmod proxy; sudo a2enmod proxy_ajp
   3. 
   
   I have included AJP connector in Tomcat server.xml 
   4. 
   
   I restarted apache. Command - sudo systemctl restart tomcat9.service
   5. 
   
   I have an SSL certificate from the university.
   6. 
   
   Where to put an SSL certificate?
   7. 
   
   How to set up a new VirtualHost? Where should it be by default? Or does 
   it need to be created? If it needs to be created, what format should the 
   file be (for example: .txt , .xml, )?
   
I have a frontend be in the dspace-angular-dspace-7.4 folder

Here is a similar question on VirtualHost, where can I find it?

I apologize in advance if I wrote with errors or rudely, I used Google 
translator, because I speak English poorly.

With best regards. Kussayinov 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/0499e92a-d994-48d4-863e-fec264a29f4fn%40googlegroups.com.


[dspace-tech] I cant create administrator dspace 7.4

2023-01-02 Thread Мухаметали Кусайынов
Hello everyone. I need your help. I have two questions.
*1)*
I installed dspace 7.4. And created a dspace administrator. 
e-mail: dspace_admin
passwd:dspace
But I can't login with this username. Is it mandatory to enter an email 
address?
*2)*
when I want to create a new administrator , I run the command:
*dspace@dspace7:/opt/solr-8.11.2/bin$ /dspace/bin/dspace 
create-administrator *
it gives the following error:
*-bash: /dspace/bin/dspace: Permission denied*
What's my mistake?
How to create a DSpace administrator correctly?
Is it possible to create multiple administrators?
With best regards. Kussaynov M.

-- 
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/9f49b9ca-8a38-459f-8170-963c27e1a982n%40googlegroups.com.