[SOGo] Update SOGo to 5.5.1

**Includes Database Changes!**

As a preparation for 5.5.2 the database as well as some NGINX Settings have been changed.
This commit is contained in:
Niklas Meyer 2022-04-01 15:20:09 +02:00 committed by GitHub
commit 53a5254897
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 4 deletions

View File

@ -22,6 +22,10 @@
add_header X-Permitted-Cross-Domain-Policies none; add_header X-Permitted-Cross-Domain-Policies none;
add_header Referrer-Policy strict-origin; add_header Referrer-Policy strict-origin;
proxy_buffer_size 128k;
proxy_buffers 64 512k;
proxy_busy_buffers_size 512k;
index index.php index.html; index index.php index.html;
client_max_body_size 0; client_max_body_size 0;
@ -163,7 +167,7 @@
proxy_connect_timeout 75; proxy_connect_timeout 75;
proxy_send_timeout 3600; proxy_send_timeout 3600;
proxy_read_timeout 3600; proxy_read_timeout 3600;
proxy_buffers 64 256k; #proxy_buffers 64 256k;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host; proxy_set_header Host $http_host;

View File

@ -3,7 +3,7 @@ function init_db_schema() {
try { try {
global $pdo; global $pdo;
$db_version = "18012022_1020"; $db_version = "22032022_1330";
$stmt = $pdo->query("SHOW TABLES LIKE 'versions'"); $stmt = $pdo->query("SHOW TABLES LIKE 'versions'");
$num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC)); $num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
@ -864,7 +864,7 @@ function init_db_schema() {
"sogo_sessions_folder" => array( "sogo_sessions_folder" => array(
"cols" => array( "cols" => array(
"c_id" => "VARCHAR(255) NOT NULL", "c_id" => "VARCHAR(255) NOT NULL",
"c_value" => "VARCHAR(255) NOT NULL", "c_value" => "VARCHAR(4096) NOT NULL",
"c_creationdate" => "INT(11) NOT NULL", "c_creationdate" => "INT(11) NOT NULL",
"c_lastseen" => "INT(11) NOT NULL" "c_lastseen" => "INT(11) NOT NULL"
), ),

View File

@ -166,7 +166,7 @@ services:
- phpfpm - phpfpm
sogo-mailcow: sogo-mailcow:
image: mailcow/sogo:1.106 image: mailcow/sogo:1.107
environment: environment:
- DBNAME=${DBNAME} - DBNAME=${DBNAME}
- DBUSER=${DBUSER} - DBUSER=${DBUSER}