Hi Douglas,

Thanks for the info. After getting into docker I see my suggestions won't 
work. Setting DSpace in Docker is a bit different than how it is on 
standalone servers. I'm setting a similar environment to yours here trying 
to help.

Do you get any clues when tailing the logs of angular? (docker logs -f 
dspace-angular-container-ID)

Mo.

On Tuesday, March 14, 2023 at 3:09:26 PM UTC+3 Douglas Eder Uno Silva wrote:

> Hi Mo,
>
> Same behavior. Despite being logged in as an administrator, the 
> administrative menu does not appear. No errors on browser console or in 
> DSpace backend logs that could indicate clues of the problem.
> [image: image.png]
> The previous and updated nginx configuration file is attached.
>
> I have this 'architecture' on the server. I removed some things to 
> simplify the diagram. The server runs an NGinx, the DSpace backend and 
> frontend are containers too. All containers are in the same network.
> [image: image.png]
>
> After configuring DSPACE_UI_HOST = localhost, the nginx container could 
> not connect to the container of the frontend to forward the request.
> Nginx could forward the request only after configuring DSPACE_UI_HOST with 
> 0.0.0.0.
>
> Em ter., 14 de mar. de 2023 às 08:19, Douglas Eder Uno Silva <
> deus...@uefs.br> escreveu:
>
>> Hi Mo,
>>
>> I will test these changes and let you know what happens.
>>
>> Em ter., 14 de mar. de 2023 às 06:34, Mohammad S. AlMutairi <
>> alo...@gmail.com> escreveu:
>>
>>> Hi Douglas,
>>>
>>> In addition to the previous message, I noticed you are using a Squid 
>>> Proxy in your network. You might need to bypass the proxy for the 
>>> http/https traffic going from the frontend destined to the backend.
>>>
>>> ENV http_proxy http://proxy.uefs.br:3128
>>> ENV https_proxy http://proxy.uefs.br:3128
>>> ENV NO_PROXY  localhost
>>>
>>> https://docs.docker.com/network/proxy/
>>>
>>> BR, 
>>>
>>> Mo.
>>>
>>> On Tuesday, March 14, 2023 at 12:14:53 AM UTC+3 Mohammad S. AlMutairi 
>>> wrote:
>>>
>>>> Hi Douglas,
>>>>
>>>> For testing to isolate the cause of this issue. Can you try running the 
>>>> frontend on / instead of the subath /app you are running on and also bind 
>>>> it on the localhost adapter?. I'm suspecting the subpath is because of 
>>>> this 
>>>> old issue ( https://github.com/DSpace/dspace-angular/pull/1488 ). It 
>>>> could also be caused by the reverse proxy setup you have. Just try them to 
>>>> know for sure.
>>>>
>>>>       DSPACE_UI_HOST: localhost
>>>>       DSPACE_UI_PORT: '4000'
>>>>       DSPACE_UI_NAMESPACE: /
>>>>
>>>> ---------------------Nginx Reverse Proxy 
>>>> setup-----------------------------
>>>>   location /server {
>>>>
>>>>     proxy_set_header X-Forwarded-Proto https;
>>>>     proxy_set_header X-Forwarded-Host  $host;
>>>>     proxy_pass http://localhost:8080/server;
>>>>
>>>>   }
>>>>
>>>>   location / {
>>>>
>>>>     proxy_pass http://localhost:4000;
>>>>
>>>>   }
>>>> ------------------End of Nginx Reverse Proxy 
>>>> setup------------------------
>>>>
>>>> Hope it help
>>>>
>>>> Mo.
>>>>
>>>>
>>>> On Mon, Mar 13, 2023 at 6:49 PM Douglas Eder Uno Silva <deus...@uefs.br> 
>>>> wrote:
>>>>
>>>>> Hi Mohammad! Thanks in advance for the response! I will share more 
>>>>> details about my installation.
>>>>>
>>>>> I created two Dockerfiles (attached), one for the frontend and another 
>>>>> for the backend. Frontend and backend runs is separated containers.
>>>>> Env vars are attached below too.
>>>>>
>>>>> Database migrations returns 'Success' to all. Already make database 
>>>>> clean and migrate again and problem persists.
>>>>>
>>>>> I already checked and the version is 7.5.0 on both frontend and 
>>>>> backend as can be seen on image below
>>>>>
>>>>> I'm here if you need more information..
>>>>>
>>>>> [image: versao_backend_dspace.png][image: versao_frontend_dspace.png]
>>>>> Em segunda-feira, 13 de março de 2023 às 12:19:44 UTC-3, Mohammad S. 
>>>>> AlMutairi escreveu:
>>>>>
>>>>>> Hi Douglas,
>>>>>>
>>>>>> I'm suspecting you are mixing two different versions of DSpace 
>>>>>> backend and frontend. You need to provide more details about the OS and 
>>>>>> how 
>>>>>> you installed the backend and most importantly how the frontend 
>>>>>> requirements was installed for any to be able to help. 
>>>>>>
>>>>>> You might need to start over the installation by downloading:
>>>>>>
>>>>>>
>>>>>>    - Download DSpace 7.5 Backend: 
>>>>>>    https://github.com/DSpace/DSpace/releases/tag/dspace-7.5
>>>>>>    - Download DSpace 7.5 User Interface: 
>>>>>>    https://github.com/DSpace/dspace-angular/releases/tag/dspace-7.5
>>>>>>
>>>>>> Hope it help & Good luck.
>>>>>>
>>>>>> Mo.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Monday, March 13, 2023 at 3:19:16 PM UTC+3 Douglas Eder Uno Silva 
>>>>>> wrote:
>>>>>>
>>>>>>> Hi again,
>>>>>>>
>>>>>>> Nobody faced this type of problem before? Just me?
>>>>>>> I don't know more what to do to make this adminisration menu shows.
>>>>>>> Lost a month on this and the problem persists.
>>>>>>>
>>>>>>> What am i could be doing wrong? Any ideia, guys? I need help please 
>>>>>>> =(
>>>>>>>
>>>>>>> Em segunda-feira, 6 de março de 2023 às 15:41:28 UTC-3, Douglas Eder 
>>>>>>> Uno Silva escreveu:
>>>>>>>
>>>>>>>> Hi everybody,
>>>>>>>>
>>>>>>>> Anyone have the problem of the admin menu showing few items or not 
>>>>>>>> showing at all?
>>>>>>>>
>>>>>>>> Deploy of DSpace 7.4 results in few items on menu and DSpace 7.5 
>>>>>>>> menu displays nothing.
>>>>>>>>
>>>>>>>> Backend and frontend seems to be fine. Database migrations returns 
>>>>>>>> Sucess on all items, can access HAL Browser, authentication, etc...
>>>>>>>>
>>>>>>>> The user administrator created by `/dspace/bin/dspace 
>>>>>>>> create-administrator` is linked with a group named 'Administrator'
>>>>>>>>
>>>>>>>> What am i could be doing wrong?
>>>>>>>>
>>>>>>>> Thank you in advance for your attention and patience.
>>>>>>>>
>>>>>>> -- 
>>>>> 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/CY2H2Qs6kVM/unsubscribe.
>>>>> To unsubscribe from this group and all its topics, send an email to 
>>>>> dspace-tech...@googlegroups.com.
>>>>> To view this discussion on the web visit 
>>>>> https://groups.google.com/d/msgid/dspace-tech/42fe793b-d356-42a6-9ddc-18af2f1b2524n%40googlegroups.com
>>>>>  
>>>>> <https://groups.google.com/d/msgid/dspace-tech/42fe793b-d356-42a6-9ddc-18af2f1b2524n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> -- 
>>> 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...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/dspace-tech/8d36ac26-401b-4baf-ab96-ad6e5760c7f0n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/dspace-tech/8d36ac26-401b-4baf-ab96-ad6e5760c7f0n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>
>>
>> -- 
>> *Douglas Silva*
>> *Analista Universitário (**PORTARIA N° 92716 de 27 de agosto de 2019)*
>>
>> *Universidade Estadual de Feira de Santana (UEFS)*
>> *Assessoria Especial de Informática (AEI)*
>> *Gerência de Suporte (GSUP)*
>>
>
>
> -- 
> *Douglas Silva*
> *Analista Universitário (**PORTARIA N° 92716 de 27 de agosto de 2019)*
>
> *Universidade Estadual de Feira de Santana (UEFS)*
> *Assessoria Especial de Informática (AEI)*
> *Gerência de Suporte (GSUP)*
>

-- 
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/6c1cee6d-5948-45a9-aa8a-3eabe28520ddn%40googlegroups.com.

Reply via email to