try again

This commit is contained in:
Micke Nordin 2025-01-24 17:22:54 +01:00
parent 876b07bd0a
commit edd32217d3
2 changed files with 2 additions and 1 deletions

View file

@ -26,7 +26,7 @@ data:
), ),
), ),
'appstoreenabled' => false, 'appstoreenabled' => false,
'config_is_read_only' => true, 'config_is_read_only' => false,
'csrf.disabled' => true, 'csrf.disabled' => true,
'datadirectory' => '/var/www/html/data', 'datadirectory' => '/var/www/html/data',
'dbhost' => getenv('MYSQL_HOST') . ':' .getenv('MYSQL_PORT'), 'dbhost' => getenv('MYSQL_HOST') . ':' .getenv('MYSQL_PORT'),

View file

@ -6,6 +6,7 @@ data:
nc-upgrade: | nc-upgrade: |
#!/bin/bash #!/bin/bash
cp /config.php /var/www/html/config/config.php cp /config.php /var/www/html/config/config.php
chown www-data:root /var/www/html/config/config.php
php -d apc.enable_cli=1 -d memory_limit=-1 /var/www/html/occ upgrade || true php -d apc.enable_cli=1 -d memory_limit=-1 /var/www/html/occ upgrade || true
php -d apc.enable_cli=1 -d memory_limit=-1 /var/www/html/occ maintenance:repair || true php -d apc.enable_cli=1 -d memory_limit=-1 /var/www/html/occ maintenance:repair || true
php -d apc.enable_cli=1 -d memory_limit=-1 /var/www/html/occ db:add-missing-primary-keys || true php -d apc.enable_cli=1 -d memory_limit=-1 /var/www/html/occ db:add-missing-primary-keys || true