-
Notifications
You must be signed in to change notification settings - Fork 190
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
How do you I change the default storage location "/var/tmp/ocis"? #1688
Comments
oCIS proxy and all other extensions have been archived because they were moved to the oCIS monorepo. The configuration example files can be found in the subfolder "config" of the folders named after the extensions, eg. for the proxy it is here: https://github.com/owncloud/ocis/blob/master/proxy/config/proxy-example.json For changing the default storage path you currently need to change a lot of parameters, but we are working on it to make it easier (#1048). Following example is using environment variables to configure oCIS to store data to SETTINGS_DATA_PATH=/var/lib/ocis/data/settings
STORAGE_DRIVER_OCIS_ROOT=/var/lib/ocis/data/storage/ocis/users
STORAGE_SHARING_USER_JSON_FILE=/var/lib/ocis/data/storage/shares.json
STORAGE_SHARING_PUBLIC_JSON_FILE=/var/lib/ocis/data/storage/publicshares.json
STORAGE_HOME_TMP_FOLDER=/var/lib/ocis/data/tmp/storage/home
STORAGE_METADATA_TMP_FOLDER=/var/lib/ocis/data/tmp/storage/metadata
STORAGE_METADATA_ROOT=/var/lib/ocis/data/storage/metadata
STORE_DATA_PATH=/var/lib/ocis/data/store |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions. |
According to some of the recent release notes - one can specify $OCIS_BASE_DATA_PATH variable in the environment config files ... https://newreleases.io/project/github/owncloud/ocis/release/v1.14.0 However, when I tested it against OCIS 1.9.0 that variable is not respected, files kept getting created in the default /var/tmp/ocis/storage location |
Sure, it does not work in oCIS 1.9.0 because it was introduced in oCIS 1.14.0. There also is no equivalent in oCIS 1.9.0 to that. So there is no way around updating to oCIS 1.14.0 or later, but there are also a lot of other bug fixes you'll get with that ;-) |
Your documentation leads me to "Configuration using config files",
it then mentions "ocis-proxy reads proxy.json..." which seems to be an archived project,
and then says full configuration examples in our repositories, but the ones that could provide an answer are blank.
Running the Server has not provided a default ocis.yml anywhere I can find.
So, please, can someone explain how to change "/var/tmp/ocis".
The text was updated successfully, but these errors were encountered: