Scheduler モジュールのアップデート

2025年10月25日(土) - 19:01

管理画面の Update Extensions からアップデートを実行すると次のようなエラーがでた。

Your site cannot be automatically updated until further action is performed. Problem detected in lock file during stage operations. Unexpected changes were detected in the active lock file (/var/www/jisaba.life/composer.lock), which indicates that other Composer operations were performed since this Package Manager operation started. This can put the code base into an unreliable state and therefore is not allowed.

以前も同じようなエラーが出て四苦八苦したけど、自分の環境だと今のところ Scheduler をアップデートするときに限定されているみたい。ターミナルから composer require を実行すれば問題ないから、今後は管理画面の Update Extensions ではなく、素直にターミナルからアップデートを実行しよう。

試行するときはテストサイトの仮想マシンを Proxmox VE でリストアすればいいから、何度でも気兼ねなく試すことができて便利。