Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto create external storage folder in Nextcloud #326

Open
ibizaman opened this issue Oct 25, 2024 · 1 comment
Open

Auto create external storage folder in Nextcloud #326

ibizaman opened this issue Oct 25, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@ibizaman
Copy link
Owner

When using the local external storage option in shb.nextcloud, it seems the local storage folder is not created when creating a new user. This makes it so one can’t create any file in there until the file is created manually.

@ibizaman ibizaman added the bug Something isn't working label Oct 25, 2024
@ibizaman
Copy link
Owner Author

$ nextcloud-occ files_external:list
+----------+-------------+---------+---------------------+-------------------------------------------------+---------+------------------+-------------------+
| Mount ID | Mount Point | Storage | Authentication Type | Configuration                                   | Options | Applicable Users | Applicable Groups |
+----------+-------------+---------+---------------------+-------------------------------------------------+---------+------------------+-------------------+
| 1        | /           | Local   | None                | datadir: "\/srv\/nextcloud\/data\/$user\/files" |         | All              |                   |
+----------+-------------+---------+---------------------+-------------------------------------------------+---------+------------------+-------------------+

$ nextcloud-occ user:list
  - user: user

$ sudo ls -l /srv/nextcloud/data/
total 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant