ここ数年、社内Humhubのメンテナンスと独自機能の追加作業をしています。今回、珍しくシステムアップデートに工夫が必要になったので記録しておきます。
1.15.0へのアップデートで発生するかもしれない障害
・閲覧には問題がないが、投稿しようとするとエラーになる。
1.15.0へのアップデート
MySQL側で、
ALTER TABLE `content` ADD `was_published` BOOLEAN NOT NULL DEFAULT FALSE AFTER `state`;
とすると正しく動作するようになります。
参考
Content state flag "was published" #6626
https://github.com/humhub/humhub/pull/6626
https://github.com/humhub/humhub/commit/6376b93ace0efc90c04a0de8caee57684a256061