Aktuelle Version |
Dein Text |
Zeile 4.044: |
Zeile 4.044: |
| </pre> | | </pre> |
| --> | | --> |
|
| |
| ?
| |
| https://www.turnkeylinux.org/forum/support/sat-20201205-1311/gitlab-jessie-letsencrypt-borked
| |
|
| |
| == [[Server/GitLab#TurnKey 16 Installation]] Aktualisierung 2021-04-14 ==
| |
|
| |
| erste Aktualisierung nach der Installation
| |
|
| |
| : <code>apt update</code>
| |
| : <code>apt upgrade -y</code>
| |
|
| |
| <pre></pre>
| |
|
| |
| <pre>
| |
| Package configuration
| |
|
| |
| ┌───────────────────────┤ Postfix Configuration ├────────────────────────┐
| |
| │ │
| |
| │ No configuration:
| |
| │ Should be chosen to leave the current configuration unchanged.
| |
| │ Internet site:
| |
| │ Mail is sent and received directly using SMTP.
| |
| │ Internet with smarthost:
| |
| │ Mail is received directly using SMTP or by running a utility such
| |
| │ as fetchmail. Outgoing mail is sent using a smarthost.
| |
| │ Satellite system:
| |
| │ All mail is sent to another machine, called a 'smarthost', for
| |
| │ delivery.
| |
| │ Local only:
| |
| │ The only delivered mail is the mail for local users. There is no
| |
| │ network.
| |
| │
| |
| │ <Ok>
| |
| │ │
| |
| └────────────────────────────────────────────────────────────────────────┘
| |
| </pre>
| |
| <pre>
| |
| <Ok>
| |
| </pre>
| |
|
| |
| <pre>
| |
| Package configuration
| |
|
| |
|
| |
|
| |
|
| |
|
| |
| ┌──────┤ Postfix Configuration ├───────┐
| |
| │ General type of mail configuration: │
| |
| │ │
| |
| │ No configuration │
| |
| │ Internet Site │
| |
| │ Internet with smarthost │
| |
| │ Satellite system │
| |
| │ Local only │
| |
| │ │
| |
| │ │
| |
| │ <Ok> <Cancel> │
| |
| │ │
| |
| └──────────────────────────────────────┘
| |
| </pre>
| |
| <pre>
| |
| <Ok>
| |
| </pre>
| |
| <pre></pre>
| |
|
| |
| <pre>
| |
| Setting up confconsole (2.0.2+4+gef5db16) ...#################..............]
| |
|
| |
| Configuration file '/etc/confconsole/confconsole.conf'
| |
| ==> Modified (by you or by a script) since installation.
| |
| ==> Package distributor has shipped an updated version.
| |
| What would you like to do about it ? Your options are:
| |
| Y or I : install the package maintainer's version
| |
| N or O : keep your currently-installed version
| |
| D : show the differences between the versions
| |
| Z : start a shell to examine the situation
| |
| The default action is to keep your current version.
| |
| *** confconsole.conf (Y/I/N/O/D/Z) [default=N] ?
| |
| </pre>
| |
|
| |
| <pre>
| |
| Errors were encountered while processing:ate.d...
| |
| [master 9bd3e86] committing changes in /etc made by "apt upgrade -y"
| |
| 81 files changed, 588 insertions(+), 298 deletions(-)
| |
| create mode 100644 apt/trusted.gpg.d/debian-archive-bullseye-automatic.gpg
| |
| create mode 100644 apt/trusted.gpg.d/debian-archive-bullseye-security-automatic.gpg
| |
| create mode 100644 apt/trusted.gpg.d/debian-archive-bullseye-stable.gpg
| |
| delete mode 100644 apt/trusted.gpg.d/debian-archive-jessie-automatic.gpg
| |
| delete mode 100644 apt/trusted.gpg.d/debian-archive-jessie-security-automatic.gpg
| |
| delete mode 100644 apt/trusted.gpg.d/debian-archive-jessie-stable.gpg
| |
| create mode 100644 gitlab/config_backup/gitlab_config_1618398921_2021_04_14.tar
| |
| create mode 120000 ssl/certs/0a775a30.0
| |
| create mode 120000 ssl/certs/0f5dc4f3.0
| |
| create mode 120000 ssl/certs/1001acf7.0
| |
| create mode 120000 ssl/certs/14bc7599.0
| |
| delete mode 120000 ssl/certs/157753a5.0
| |
| create mode 120000 ssl/certs/2923b3f9.0
| |
| create mode 120000 ssl/certs/406c9bb1.0
| |
| create mode 120000 ssl/certs/4b718d9b.0
| |
| create mode 120000 ssl/certs/5e98733a.0
| |
| create mode 120000 ssl/certs/626dceaf.0
| |
| create mode 120000 ssl/certs/68dd7389.0
| |
| delete mode 120000 ssl/certs/812e17de.0
| |
| delete mode 120000 ssl/certs/9f0f5fd6.0
| |
| delete mode 120000 ssl/certs/AddTrust_External_Root.pem
| |
| create mode 120000 ssl/certs/Certigna_Root_CA.pem
| |
| delete mode 120000 ssl/certs/Certinomis_-_Root_CA.pem
| |
| delete mode 120000 ssl/certs/Certplus_Class_2_Primary_CA.pem
| |
| delete mode 120000 ssl/certs/Deutsche_Telekom_Root_CA_2.pem
| |
| create mode 120000 ssl/certs/Entrust_Root_Certification_Authority_-_G4.pem
| |
| create mode 120000 ssl/certs/GTS_Root_R1.pem
| |
| create mode 120000 ssl/certs/GTS_Root_R2.pem
| |
| create mode 120000 ssl/certs/GTS_Root_R3.pem
| |
| create mode 120000 ssl/certs/GTS_Root_R4.pem
| |
| create mode 120000 ssl/certs/Hongkong_Post_Root_CA_3.pem
| |
| create mode 120000 ssl/certs/UCA_Extended_Validation_Root.pem
| |
| create mode 120000 ssl/certs/UCA_Global_G2_Root.pem
| |
| create mode 120000 ssl/certs/a3418fda.0
| |
| create mode 120000 ssl/certs/c01eb047.0
| |
| create mode 120000 ssl/certs/e2458005.0
| |
| create mode 120000 ssl/certs/emSign_ECC_Root_CA_-_C3.pem
| |
| create mode 120000 ssl/certs/emSign_ECC_Root_CA_-_G3.pem
| |
| create mode 120000 ssl/certs/emSign_Root_CA_-_C1.pem
| |
| create mode 120000 ssl/certs/emSign_Root_CA_-_G1.pem
| |
| delete mode 120000 ssl/certs/f060240e.0
| |
| create mode 120000 ssl/certs/f51bb24c.0
| |
| create mode 120000 sysctl.d/90-omnibus-gitlab-net.core.somaxconn.conf
| |
| create mode 100644 webmin/installed.cache
| |
| Enumerating objects: 1300, done.
| |
| Counting objects: 100% (1300/1300), done.
| |
| Compressing objects: 100% (831/831), done.
| |
| Writing objects: 100% (1300/1300), done.
| |
| Total 1300 (delta 92), reused 1156 (delta 63)
| |
| E: Sub-process /usr/bin/dpkg returned an error code (1)
| |
| </pre>
| |
|
| |
| == [[Server/GitLab#TurnKey 16 Installation]] confconsole (dehydrated) vs. GitLab omnibus ==
| |
|
| |
| https://github.com/turnkeylinux-apps/gitlab/blob/master/conf.d/main
| |
|
| |
| : <code>apt purge -y dehydrated</code>
| |
| <pre>
| |
| Reading package lists... Done
| |
| Building dependency tree
| |
| Reading state information... Done
| |
| The following packages will be REMOVED:
| |
| dehydrated*
| |
| 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
| |
| After this operation, 182 kB disk space will be freed.
| |
| (Reading database ... 109882 files and directories currently installed.)
| |
| Removing dehydrated (0.6.2-2+deb10u1) ...
| |
| Processing triggers for man-db (2.8.5-2) ...
| |
| (Reading database ... 109855 files and directories currently installed.)
| |
| Purging configuration files for dehydrated (0.6.2-2+deb10u1) ...
| |
| dpkg: warning: while removing dehydrated, directory '/var/lib/dehydrated' not empty so not removed
| |
| dpkg: warning: while removing dehydrated, directory '/etc/dehydrated' not empty so not removed
| |
| [master 2b99892] committing changes in /etc made by "apt purge -y dehydrated"
| |
| 2 files changed, 18 deletions(-)
| |
| delete mode 100644 dehydrated/config
| |
| Enumerating objects: 1445, done.
| |
| Counting objects: 100% (1445/1445), done.
| |
| Compressing objects: 100% (878/878), done.
| |
| Writing objects: 100% (1445/1445), done.
| |
| Total 1445 (delta 137), reused 1440 (delta 134)
| |
| </pre>
| |
| : <code>ls /var/lib/dehydrated </code>
| |
| <pre>
| |
| accounts certs chains
| |
| </pre>
| |
| : <code>ls /var/lib/dehydrated/certs/</code>
| |
| <pre>
| |
| gitlab.htw.stura-dresden.de
| |
| </pre>
| |
| : <code>ls /etc/dehydrated</code>
| |
| <pre>
| |
| confconsole.config confconsole.domains.txt confconsole.domains.txt.bak confconsole.hook.sh
| |
| </pre>
| |
|
| |
| == restore fuckup 13.10 ==
| |
|
| |
| <code>gitlab-rake gitlab:doctor:secrets</code>
| |
| <pre>
| |
| I, [2021-04-15T02:14:17.910650 #66626] INFO -- : Checking encrypted values in the database
| |
| I, [2021-04-15T02:14:34.238380 #66626] INFO -- : - ApplicationSetting failures: 1
| |
| I, [2021-04-15T02:14:34.400903 #66626] INFO -- : - User failures: 0
| |
| I, [2021-04-15T02:14:34.413306 #66626] INFO -- : - Ci::InstanceVariable failures: 0
| |
| I, [2021-04-15T02:14:34.424056 #66626] INFO -- : - Clusters::Platforms::Kubernetes failures: 0
| |
| I, [2021-04-15T02:14:34.434758 #66626] INFO -- : - Ci::PipelineScheduleVariable failures: 0
| |
| I, [2021-04-15T02:14:34.445801 #66626] INFO -- : - Snippet failures: 0
| |
| I, [2021-04-15T02:14:34.452747 #66626] INFO -- : - PersonalSnippet failures: 0
| |
| I, [2021-04-15T02:14:34.455067 #66626] INFO -- : - ProjectSnippet failures: 0
| |
| I, [2021-04-15T02:14:34.475800 #66626] INFO -- : - Ci::GroupVariable failures: 0
| |
| I, [2021-04-15T02:14:34.486404 #66626] INFO -- : - Clusters::Applications::Helm failures: 0
| |
| I, [2021-04-15T02:14:34.496913 #66626] INFO -- : - Clusters::Applications::Prometheus failures: 0
| |
| I, [2021-04-15T02:14:34.507404 #66626] INFO -- : - Ci::Variable failures: 0
| |
| rake aborted!
| |
| ActiveRecord::StatementInvalid: PG::UndefinedTable: ERROR: relation "alert_management_http_integrations" does not exist
| |
| LINE 1: ...ELECT "alert_management_http_integrations".* FROM "alert_man...
| |
| ^
| |
| /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/doctor/secrets.rb:38:in `block in check_model_attributes'
| |
| /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/doctor/secrets.rb:36:in `each'
| |
| /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/doctor/secrets.rb:36:in `check_model_attributes'
| |
| /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/doctor/secrets.rb:26:in `run!'
| |
| /opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/doctor/secrets.rake:11:in `block (3 levels) in <top (required)>'
| |
| /opt/gitlab/embedded/bin/bundle:23:in `load'
| |
| /opt/gitlab/embedded/bin/bundle:23:in `<main>'
| |
|
| |
| Caused by:
| |
| PG::UndefinedTable: ERROR: relation "alert_management_http_integrations" does not exist
| |
| LINE 1: ...ELECT "alert_management_http_integrations".* FROM "alert_man...
| |
| ^
| |
| /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/doctor/secrets.rb:38:in `block in check_model_attributes'
| |
| /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/doctor/secrets.rb:36:in `each'
| |
| /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/doctor/secrets.rb:36:in `check_model_attributes'
| |
| /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/doctor/secrets.rb:26:in `run!'
| |
| /opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/doctor/secrets.rake:11:in `block (3 levels) in <top (required)>'
| |
| /opt/gitlab/embedded/bin/bundle:23:in `load'
| |
| /opt/gitlab/embedded/bin/bundle:23:in `<main>'
| |
| Tasks: TOP => gitlab:doctor:secrets
| |
| (See full trace by running task with --trace)
| |
| </pre>
| |