Zum Inhalt springen

CT Hosting: Unterschied zwischen den Versionen

Aus Computech CMS Wiki
Simon Zeberli (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
Simon Zeberli (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
 
(4 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
==CT Server==
{| class="wikitable sortable"
|-
! Servername!! Server IP !! Public IP
|-
| <code>web101.computech-rz.ch</code> || <code>192.168.119.101</code> || <code>212.103.88.221</code>
|-
| <code>web102.computech-rz.ch</code> || <code>192.168.119.102</code> || <code>212.103.88.222</code>
|-
| <code>web103.computech-rz.ch</code> || <code>192.168.119.103</code> || <code>212.103.88.223</code>
|}
==Plesk==
# Nummerierter Listeneintrag
# Nummerierter Listeneintrag
Standartds erstellen Anpassen
Standartds erstellen Anpassen
Zeile 7: Zeile 20:
Composer Update
Composer Update
<code>composer self-update --2</code>
<code>composer self-update --2</code>
==Plesk==
Composer Plesk:
On the server currently reported, I see the following composer versions:
<syntaxhighlight line='line' lang="bash">
# /bin/composer --version
Composer version 2.1.5 2021-07-23 10:35:47
# /opt/plesk/php/7.3/bin/php /usr/local/psa/var/modules/composer//composer.phar --version
Composer version 1.10.22 2021-04-27 13:10:45
# /opt/plesk/php/7.3/bin/php /usr/lib64/plesk-9.0/composer.phar --version
Composer version 2.1.5 2021-07-23 10:35:47
</syntaxhighlight>
It could be that not all three were updated on the other servers and its not that the composer version was changed back after a few days but a different composer was being used. Please update all three to the same version if required.
Alternatively, it could be that on the other servers the composer version was specified in the panel ini.
<syntaxhighlight line='line' lang="bash">
# plesk conf panel.ini
[ext-composer]
commandInfoPluginVersion = "~1.1.0"          <============
composerVersion = '2'
</syntaxhighlight>
If so, remove that entry after updating the composer versions.
If you have any more questions, please let me know.
Additionally, to my last response, please add
<syntaxhighlight line='line' lang="bash">
enableSelfUpdates = false
</syntaxhighlight>
to the panel.ini to avoid composer updates in case it was a scheduled update.

Aktuelle Version vom 9. Mai 2022, 09:40 Uhr

CT Server

Servername Server IP Public IP
web101.computech-rz.ch 192.168.119.101 212.103.88.221
web102.computech-rz.ch 192.168.119.102 212.103.88.222
web103.computech-rz.ch 192.168.119.103 212.103.88.223

Plesk

  1. Nummerierter Listeneintrag

Standartds erstellen Anpassen /etc/cagefs/conf.d/drush.cfg Anpassungen anwenden. cagefsctl --update cagefsctl --force Composer Update composer self-update --2

Plesk

Composer Plesk: On the server currently reported, I see the following composer versions:

# /bin/composer --version
Composer version 2.1.5 2021-07-23 10:35:47
# /opt/plesk/php/7.3/bin/php /usr/local/psa/var/modules/composer//composer.phar --version
Composer version 1.10.22 2021-04-27 13:10:45
# /opt/plesk/php/7.3/bin/php /usr/lib64/plesk-9.0/composer.phar --version
Composer version 2.1.5 2021-07-23 10:35:47

It could be that not all three were updated on the other servers and its not that the composer version was changed back after a few days but a different composer was being used. Please update all three to the same version if required. Alternatively, it could be that on the other servers the composer version was specified in the panel ini.

# plesk conf panel.ini
[ext-composer]
commandInfoPluginVersion = "~1.1.0"           <============
composerVersion = '2'

If so, remove that entry after updating the composer versions. If you have any more questions, please let me know.

Additionally, to my last response, please add

enableSelfUpdates = false

to the panel.ini to avoid composer updates in case it was a scheduled update.