Nextcloud

From RVM Wiki
Revision as of 19:18, 18 January 2021 by Gabriele.vivinetto (talk | contribs)
Jump to navigation Jump to search

Abilitare login imap

cd /var/www/nextcloud
sudo -u www-data /usr/bin/php occ app:install user_external 
vi config/config.php
  'user_backends' =>
  array (
    0 =>
    array (
      'class' => 'OC_User_IMAP',
      'arguments' =>
      array (
        0 => 'assistenza.rvmgroup.it',
        1 => 993,
        2 => 'ssl',
        3 => '',
        4 => false,
        5 => false,
      ),
    ),
  ),

Abilitare cache minimale

vi config/config.php
'memcache.local' => '\OC\Memcache\APCu',

Abilitare well-known caldav e carddav

Se si installa in /nextcloud, occorre impostare questo


Your web server is not properly set up to resolve “/.well-known/caldav”. Further information can be found in the documentation 27.

Edit File: vi /etc/apache2/sites-enabled/default-ssl.conf

Add lines between </VirtualHost> and </IfModule>:

<Directory /var/www/nextcloud>
    AllowOverride All
</Directory>
Redirect 301 /.well-known/carddav /nextcloud/remote.php/dav
Redirect 301 /.well-known/caldav /nextcloud/remote.php/dav


vi config/config.php
 'overwrite.cli.url' => 'https://server.example.com/nextcloud',
 'htaccess.RewriteBase' => '/nextcloud',
sudo -u www-data php occ maintenance:update:htaccess


Riferimenti