Nextcloud instalacija nije konfigurirala Nextcloud

Problem 1

Otvoriš stranicu

http://localhost/nextcloud/index.php/settings/admin/overview

kadli odjednom ničim izazvana se pojavi crvena pogreška

The PHP memory limit is below the recommended value of 512MB

Rješenje 1

  • nano /etc/php/8.1/apache2/php.ini

promijeni memory_limit=neštonešto u memory_limit=512M

  • nano /etc/php/8.1/cli/php.ini

promijeni memory_limit=neštonešto u memory_limit=512M

  • sudo service apache2 restart

Problem 2

PHP configuration option output_buffering must be disabled

Rješenje 2

  • nano /etc/php/8.1/apache2/php.ini

kREMiraj output_buffering

  • nano /etc/php/8.1/cli/php.ini

kREMiraj output_buffering

  • sudo service apache2 restart


Problem 3

Your data directory and files are probably accessible from the internet. The .htaccess file is not working. It is strongly recommended that you configure your web server so that the data directory is no longer accessible, or move the data directory outside the web server document root.

Rješenje 3

  • nano /etc/apache2/apache2.conf

promijeni

<Directory /var/www/>
  Options Indexes FollowSymLinks
  AllowOverride None
  Require all granted
</Directory>

u

<Directory /var/www/>
  Options Indexes FollowSymLinks
  AllowOverride All
  Require all granted
</Directory>
  • sudo service apache2 restart

nextcloud xnextcloud nc xnc php xphp

image_pdfimage_print