NextCloud

NextCloud file tagging through WebDAV script

自作多情 提交于 2020-02-02 12:08:08
问题 I am using NextCloud 11 to store my personal files, and I use the simple curl script from the documentation in order to upload files to my NextCloud drive: curl -u user:pw -T test.pdf "http://localhost/nextcloud/remote.php/dav/files/user/test/test.pdf" Moreover, I would like to directly add some tags to the uploaded files. However, in the official documentation, they just show how files can be uploaded, deleted and moved through the WebDAV interface. Does anybody have a hint how I could tag a

Storage Access Framework - Cannot create file in cloud folder selected with ACTION_OPEN_DOCUMENT_TREE (NextCloud)

不羁岁月 提交于 2020-01-25 08:07:49
问题 I am experimenting with Storage Access Framework. I am using NextCloud platform. This platform supports the ACTION_OPEN_DOCUMENT_TREE intent, that the GDrive app itself does not support yet. My app lets the user select a cloud folder on the provider I decided to connect to NextCloud service. static public void openPickerForFolderSelection(Activity activity, int requestCode) { Intent intent = new Intent(Intent.ACTION_OPEN_DOCUMENT_TREE); intent.addFlags(Intent.FLAG_GRANT_PERSISTABLE_URI

cURL PUT Request with Nextcloud / owncloud API

大兔子大兔子 提交于 2020-01-25 07:33:36
问题 I tried to update an existing Nextcloud user through their API. When I do it directly via shell it works curl -u user:pass -X PUT "https://example.org/ocs/v1.php/cloud/users/admin" -H "OCS-APIRequest: true" -d key="quota" -d value="5GB" But when I try to do it via PHP with the following code it always returns "failure 997" $url = 'https://' . $ownAdminname . ':' . $ownAdminpassword . '@example.org/ocs/v1.php/cloud/users/admin'; $ch = curl_init($url); curl_setopt($ch, CURLOPT_CUSTOMREQUEST,

Using Nginx with Nextcloud/Website/Paperwork parallel

余生颓废 提交于 2019-12-24 10:14:09
问题 I am trying to run Nextcloud,a Homepage and Paperwork under different locations, but can't figure out how to configure my nginx-config correctly. My working tree looks like this: /var/www/ |-> website |-> nextcloud |-> paperwork My Homepage is reachable through web.domain.com and my Nextcloud ist reachable with cloud.domain.com. Now i want to get Paperwork to be reachable under web.domain.com/notes. The index.php of Paperwork lies in the subfolder "paperwork/frontend/public". This is my

How to create a RAR archive with date of the archived folder in archive file name?

妖精的绣舞 提交于 2019-12-24 05:41:10
问题 The cloud service Dropbox used by me does not preserve the original time stamp of uploaded folders. I have to use the WinRAR to compress the folder to backup in the cloud to keep the original folder date/time before I upload it to Dropbox. But I could not find an easy way to create the archive file name with the current last modification date of the folder in format YYYYMMDD in file name of archive file. The command line for %I in ("d:\doc\aatmp") do @echo %~tI executed in a command prompt

Azure AD On-Behalf-Of with oAuth & SAML

三世轮回 提交于 2019-12-23 12:55:42
问题 We're using the Azure AD On-Behalf-Of flow for connecting a user to several services through a single API gateway. Now we'd like to add another service (Nextcloud, synced through LDAP) which only supports SAML 2.0 and no oAuth2. Is it possible to somehow convert an oAuth-Token into a SAML-Token, maybe through an Azure AD API? Or is there some other way to connect this service I maybe haven't thought of? 回答1: This is not possible currently. Also the authentication libraries (ADAL/MSAL) do not

Using external storage, getting error while deleting a folder

让人想犯罪 __ 提交于 2019-12-22 07:00:11
问题 I'm using docker nextcloud. I created a clean instance and I want to use the application external storage. I managed to configure successfully a local storage using the following command : mount_id=$(docker exec --user 1000 nextcloud php occ files_external:create Home local null::null -c datadir=/var/www/data --output=json) docker exec --user 1000 nextcloud php occ files_external:applicable --add-user=foo "$mount_id" I can create/move/copy folder and files but when I want to delete a created

Nextcloud Desktop-Client build procedure

泪湿孤枕 提交于 2019-12-13 03:13:49
问题 Good day everybody. I used this instructions from Git on how to build the nextcloud client: https://github.com/nextcloud/desktop/wiki/How-to-compile-the-desktop-client I want to explain what I did and what tried to get the nextcloud client running: I created a new virtual machine with Windows 10 to get clean environment for my tests Installing Qt I downloaded the Qt installer from https://www.qt.io/download-qt-installer?hsCtaTracking=9f6a2170-a938-42df-a8e2-a9f0b1d6cdce%7C6cb0de4f-9bb5-4778

Docker container, local networking in Jelastic

旧城冷巷雨未停 提交于 2019-12-11 15:53:51
问题 I want to install collabora Online with NextCloud, in some Jelastic environment. Set up NextCloud was a peace of cake, I just pic the right docker image, access the public given url and voila. Now I can't make the Collabora Online server to work. In a regular dedicated server, I run docker run -t -d -p 9980:9980 -e "extra_params=--o:ssl.enable=false" collabora/code And I can access Collabora Server with http://ip-add:9980 I added a public IP to the node of the Collabora docker image. If I run

Jelastic - Collabora Online with Next Cloud without ssl (for testing)

*爱你&永不变心* 提交于 2019-12-11 12:32:51
问题 For testing purpose, I want to install Collabora online on a Jelastic environment. I'm trying to follow this basic steps : https://www.collaboraoffice.com/code/quick-tryout-nextcloud-docker/ First I configure the topology with the docker image given in the link. Next cloud is installed successfully after I went to the given URL. Then I add the variable extra_params=--o:ssl.enable=false as said in the instructions : Then I try to map port by adding a Endpoint: It map the port 9980 with the