Olá Comunidade do IBICT
Realizei a Migração do Back-End e do Front-End da versão 6.2 para a 7.6.1 no Debian 12 e desde então venho tendo diversos problemas:
- Erro ao editar e excluir coleções, items e grupos, conforme imagem abaixo
Pré requisitos instalados
Java
openjdk version “11.0.22” 2024-01-16
OpenJDK Runtime Environment Temurin-11.0.22+7 (build 11.0.22+7)
OpenJDK 64-Bit Server VM Temurin-11.0.22+7 (build 11.0.22+7, mixed mode)
Tomcat
Server version: Apache Tomcat/9.0.85
Maven
Apache Maven 3.8.7
Ant
Apache Ant™ version 1.10.13
yarn
yarn 1.22.21
Configuração do tomcat /opt/tomcat9/conf/server.xml
<Connector port="8080" protocol="HTTP/1.1"
minSpareThreads="25"
enableLookups="false"
redirectPort="8443"
connectionTimeout="20000"
disableUploadTimeout="true"
URIEncoding="UTF-8"/>
Configuração do Nginx:
server {
listen 443 ssl;
listen [ :: ] 443 ssl;
server_name acervo.pop-rn.rnp.br;
location / {
client_max_body_size 100M;
client_body_buffer_size 200000k;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-Host $host;
proxy_connect_timeout 140;
proxy_send_timeout 180;
proxy_read_timeout 180;
proxy_pass http://127.0.0.1:4000;
}
location /server {
client_max_body_size 100M;
client_body_buffer_size 200000k;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-Host $host;
proxy_connect_timeout 140;
proxy_send_timeout 180;
proxy_read_timeout 180;
proxy_pass http://127.0.0.1:8080/server;
}
Configuração “config.prod.yml”:
ui:
ssl: false
host: localhost
port: 4000
nameSpace: /
useProxies: true
rest:
ssl: true
host: acervo.pop-rn.rnp.br
port: 443
nameSpace: /server
Configuração “local.cfg”:
space.server.url = https://acervo.pop-rn.rnp.br
dspace.ui.url = https://acervo.pop-rn.rnp.br
solr.server = http://localhost:8983/solr
pm2 logs
0|dspace-u | .custom-file-input:lang(en)~.custom-file-label -> unmatched pseudo-class :lang
0|dspace-u | The response for 'https://acervo.pop-rn.rnp.br/server/api/core/items/d22ea1d1-6c15-4fc7-bb9e-aaf32826d7bb/bundles?size=9999' has the self link 'https://acervo.pop-rn.rnp.br/server/api/core/items/d22ea1d1-6c15-4fc7-bb9e-aaf32826d7bb/bundles?embed=primaryBitstream&embed=bitstreams/format&embed.size=bitstreams=5&size=1000'. These don't match. This could mean there's an issue with the REST endpoint
0|dspace-u | 1 rules skipped due to selector errors:
0|dspace-u | .custom-file-input:lang(en)~.custom-file-label -> unmatched pseudo-class :lang
0|dspace-u | 1 rules skipped due to selector errors:
0|dspace-u | .custom-file-input:lang(en)~.custom-file-label -> unmatched pseudo-class :lang
0|dspace-u | 1 rules skipped due to selector errors:
0|dspace-u | .custom-file-input:lang(en)~.custom-file-label -> unmatched pseudo-class :lang
0|dspace-u | 1 rules skipped due to selector errors:
0|dspace-u | .custom-file-input:lang(en)~.custom-file-label -> unmatched pseudo-class :lang
0|dspace-u | 1 rules skipped due to selector errors:
0|dspace-u | .custom-file-input:lang(en)~.custom-file-label -> unmatched pseudo-class :lang
0|dspace-u | The response for 'https://acervo.pop-rn.rnp.br/server/api/discover/browses/author/items?sort=default,ASC&page=0&size=20&filterValue=Azevedo%2C%20Daniel%20Galv%C3%A3o%20de' has the self link 'https://acervo.pop-rn.rnp.br/server/api/discover/browses/author/items?sort=default,ASC&page=0&size=20&filterValue=Azevedo, Daniel Galvão de&embed=thumbnail'. These don't match. This could mean there's an issue with the REST endpoint
0|dspace-u | 1 rules skipped due to selector errors:
0|dspace-u | .custom-file-input:lang(en)~.custom-file-label -> unmatched pseudo-class :lang
Teste de conexão com a API
Eu consigo logar no DSpace, criar items, criar grupos. Porém não consigo editá-los nem excluí-los, fico grato se alguém puder ajudar.