-
Hi,
I want to change "Default Files" , I see the guide https://portal.nextcloud.com/article/changing-default-files-15.html .
Please show me how to find folder "nextcloud/core/skeleton" in cloudron
Thanks -
@minhbaop I have opened https://git.cloudron.io/cloudron/nextcloud-app/-/issues/78
@subven I think the issue is that the directory is not writable. We have to fix the package to support this by symlinking to /app/data.
-
@rcdncn Ah nice, I wasn't aware of that option. You can create a directory (
/app/data/skelton
) using the Web Terminal, change the ownership of the directory ofwww-data
and then set the config to that directory. -
Thanks @girish this totally worked.
Steps:
Option 1: Create a new skeleton folder
- add directory
/app/data/skeleton
using web terminal chown www-data:www-data skeleton
- add files to the directory, also
chown
ing themtowww-data:www-data
- open config file with
vi /app/config/config.php
- insert line
'skeletondirectory' => '/app/data/skeleton'
on a new line (i to enter insert mode) - press
esc
, then:wq
and<enter>
to write and save - new users will receive the contents of
/app/data/skeleton
on first log-in
Option 2: NO files added on first log-in
If you just want to remove the default skeleton (no files added on first launch), do the following:
- open config file with
vi /app/config/config.php
- insert line
'skeletondirectory' => ''
on a new line (i to enter insert mode) - press
esc
, then:wq
and<enter>
to write and save
- add directory
-
@rcdncn Thanks. I have pushed your notes to our docs at https://cloudron.io/documentation/apps/nextcloud/#skeleton-directory