Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 19e91155 authored by Felix Ableitner's avatar Felix Ableitner
Browse files

Fix nextcloud installation

parent a970b336
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -17,7 +17,8 @@ docker-compose exec -T mariadb mysql --user=root --password="$MYSQL_ROOT_PASSWOR
docker-compose exec -T --user www-data nextcloud php occ maintenance:install \
    --admin-user="$NEXTCLOUD_ADMIN_USER" --admin-pass="$NEXTCLOUD_ADMIN_PASSWORD" \
    --admin-email="$ALT_EMAIL" --database="mysql" --database-pass="$MYSQL_PASSWORD_NC" \
    --database-name="$MYSQL_DATABASE_NC" --database-host="mariadb" --database-user="$MYSQL_USER_NC"
    --database-name="$MYSQL_DATABASE_NC" --database-host="mariadb" --database-user="$MYSQL_USER_NC" \
    --database-port="3306" --database-table-prefix=""
docker-compose exec -T --user www-data nextcloud php occ db:convert-filecache-bigint --no-interaction

# Nextcloud resets trusted_domains to localhost during installation, so we have to set it again
+0 −7
Original line number Diff line number Diff line
@@ -23,10 +23,8 @@ $CONFIG = array (
    0 => '@@@DOMAIN@@@',
  ),
  'datadirectory' => '/var/www/html/data',
  'dbtype' => 'mysql',
  'overwrite.cli.url' => 'https://@@@DOMAIN@@@',
  'overwriteprotocol' => 'https',
  'dbtableprefix' => '',
  'mysql.utf8mb4' => true,
  'maintenance' => true,
  'mail_from_address' => 'drive',
@@ -39,11 +37,6 @@ $CONFIG = array (
  'mail_smtppassword' => '@@@DRIVE_SMTP_PASSWORD@@@',
  'mail_smtpport' => '587',
  'mail_smtpsecure' => 'tls',
  'dbtype' => 'mysql',
  'dbname' => 'nextcloud',
  'dbhost' => 'mariadb',
  'dbport' => '',
  'dbuser' => 'nextcloud',
  'installed' => false,
  'user_backend_sql_raw' =>
    array (