dataportal-docker issues
https://gitlab.ics.muni.cz/europdx/dataportal/dataportal-docker/-/issues
2023-06-26T11:16:37+02:00
https://gitlab.ics.muni.cz/europdx/dataportal/dataportal-docker/-/issues/5
SSL certificate is no renewed
2023-06-26T11:16:37+02:00
Radim Peša
SSL certificate is no renewed
SSL certificate has not been renewed automaticaly. Manually launched command did the job:
```
root@dataportal:/etc/cron.d# certbot renew
Saving debug log to /var/log/letsencrypt/letsencrypt.log
- - - - - - - - - - - - - - - - - - - - -...
SSL certificate has not been renewed automaticaly. Manually launched command did the job:
```
root@dataportal:/etc/cron.d# certbot renew
Saving debug log to /var/log/letsencrypt/letsencrypt.log
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Processing /etc/letsencrypt/renewal/dataportal.europdx.eu.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Cert is due for renewal, auto-renewing...
Plugins selected: Authenticator standalone, Installer None
Running pre-hook command: /home/pdxuser/tools/pre_renew.sh
Error output from pre_renew.sh:
+ LETSDIR=/etc/letsencrypt/live/dataportal.europdx.eu
+ COMPOSEDIR=/home/pdxuser/dataportal-docker
+ cd /home/pdxuser/dataportal-docker
+ /usr/local/bin/docker-compose stop proxy
Stopping proxy ... done
+ /usr/local/bin/docker-compose kill proxy
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for dataportal.europdx.eu
Waiting for verification...
Cleaning up challenges
Running deploy-hook command: /home/pdxuser/tools/post_renew.sh
Error output from post_renew.sh:
+ LETSDIR=/etc/letsencrypt/live/dataportal.europdx.eu
+ COMPOSEDIR=/home/pdxuser/dataportal-docker
+ cd /home/pdxuser/dataportal-docker
+ sudo cp /etc/letsencrypt/live/dataportal.europdx.eu/privkey.pem /home/pdxuser/dataportal-docker/proxy/ssl/server.key
+ sudo cp /etc/letsencrypt/live/dataportal.europdx.eu/fullchain.pem /home/pdxuser/dataportal-docker/proxy/ssl/server.crt
+ sudo chown pdxuser:pdxuser /home/pdxuser/dataportal-docker/proxy/ssl/server.key
+ sudo chown pdxuser:pdxuser /home/pdxuser/dataportal-docker/proxy/ssl/server.crt
+ /usr/local/bin/docker-compose up -d proxy
Starting proxy ... done
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
new certificate deployed without reload, fullchain is
/etc/letsencrypt/live/dataportal.europdx.eu/fullchain.pem
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Congratulations, all renewals succeeded. The following certs have been renewed:
/etc/letsencrypt/live/dataportal.europdx.eu/fullchain.pem (success)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
root@dataportal:/etc/cron.d#
```
https://gitlab.ics.muni.cz/europdx/dataportal/dataportal-docker/-/issues/3
Neo4j database creation in CI
2019-08-29T13:11:25+02:00
Aleš Křenek
Neo4j database creation in CI
Unless I'm overlooking something, creation of the neo4j database is not covered by CI scripts.
We need:
- store all the required files in smb://ha-kat.ics.muni.cz/homes/000020-Shares/0000-EDIReX (cf. datahub/EBI-parser), in appropriate ...
Unless I'm overlooking something, creation of the neo4j database is not covered by CI scripts.
We need:
- store all the required files in smb://ha-kat.ics.muni.cz/homes/000020-Shares/0000-EDIReX (cf. datahub/EBI-parser), in appropriate release folder
- in the CI jobs, copy those to the target machine, and run the import
- all this in master, beta, and dev variants (reusing as much code as possible, no cut-and-paste)