Skip to content

Latest commit

 

History

History
78 lines (56 loc) · 2.52 KB

NEXTCLOUD.snap--config.php_Settings.md

File metadata and controls

78 lines (56 loc) · 2.52 KB

Nextcloud-snap config.php configuration

Some Nextcloud-snap settings are best done directly in the config.php configuration file. Whilst the default configurations are mostly fine, it may be necessary to fine tune Nextcloud-snap. Nextcloud configuration parameters

Nextcloud-snap, editing configuration file

The configuration file can be edited manually. Take good care to destinguish special characters, as a misplaced character may render your Nextcloud unusable. So be sure to bachkup the original config.php file before editing.

backup config.php

sudo cp /var/snap/nextcloud/current/nextcloud/config/config.php config.php.bak

edit config.php

sudo nano /var/snap/nextcloud/current/nextcloud/config/config.php 

Skeleton for default Nextcloud documents, files and folders etc.

Default documents, files and folders for new users may be placed in a "skeleton" directory. Thus new users will find documents files an folders in their Nextcloud upon first login. Create a skeleton directory /var/snap/nextcloud/common/skeleton

sudo mkdir /var/snap/nextcloud/common/skeleton

edit config.php and add skeleton directory path in config.php

'skeletondirectory' => '/var/snap/nextcloud/common/skeleton',

Setting default_phone_region

country codes

edit config.php and add line in config.php

'default_phone_region' => 'DE',

Setting default language for new users

country codes

edit config.php and add line in config.php

'default_language' => 'de',

Setting default locale

country codes

edit config.php and add line in config.php

'default_locale' => 'de_DE',

Setting default folder for shares

edit config.php and add line in config.php

'share_folder' => '/SHARE_with_others',

Setting default folder for shared with me

edit config.php and add line in config.php

'share_folder' => '/SHARED_with_me',

Remove signup link

edit config.php and add line in config.php

'simpleSignUpLink.shown' => false,